
        :root {
            --color-cream: #FAF7F2;
            --color-warm-white: #FFFEFA;
            --color-charcoal: #2C2C2C;
            --color-muted: #6B6B6B;

            --color-border: #E8E4DD;
            --font-serif: 'Cormorant Garamond', Georgia, serif;
            --font-sans: 'Montserrat', system-ui, sans-serif;
        }

        * {
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-sans);
            background-color: var(--color-cream);
            color: var(--color-charcoal);
            line-height: 1.7;
            font-weight: 300;
        }

        /* Navigation */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(122, 112, 95, 0);
            backdrop-filter: blur(10px);
           
            transition: all 0.3s ease;
        }

        header.scrolled {
            box-shadow: 0 2px 20px rgba(0,0,0,0.05);
        }

        nav {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1.25rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        

    .logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: black;
    text-decoration: none;
    letter-spacing: 0.02em;
}

        .nav-links {
            display: flex;
            gap: 2.5rem;
            list-style: none;
        }

        .nav-links a {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: #000000;
            text-decoration: none;
            font-weight: 400;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 1px;
            background: var(--color-accent);
            transition: width 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--color-charcoal);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .mobile-menu-btn {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 5px;
        }

        .mobile-menu-btn span {
            width: 24px;
            height: 2px;
            background: var(--color-charcoal);
            transition: all 0.3s ease;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 8rem 2rem 4rem;
            background: linear-gradient(180deg, var(--color-warm-white) 0%, var(--color-cream) 100%);
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 20%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(196, 167, 125, 0.1) 0%, transparent 70%);
            border-radius: 50%;
        }

        .hero-content {
            max-width: 1200px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6rem;
            align-items: center;
        }

        .hero-text {
            animation: fadeInUp 1s ease;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-subtitle {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            color: var(--color-accent);
            margin-bottom: 1.5rem;
            font-weight: 500;
        }

        .hero-title {
            font-family: var(--font-serif);
            font-size: clamp(3rem, 6vw, 4.5rem);
            font-weight: 400;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            color: var(--color-warm-white);
        }

        .hero-description {
            font-size: 1.1rem;
            color: var(--color-muted);
            margin-bottom: 2.5rem;
            max-width: 480px;
        }

        .hero-image {
            position: relative;
            animation: fadeInUp 1s ease 0.2s both;
        }

      


        .hero-image::before {
            content: '';
            position: absolute;
            top: -20px;
            left: -20px;
            right: 20px;
            bottom: 20px;
            
            z-index: -1;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem 2rem;
            font-family: var(--font-sans);
            font-size: 0.6rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            text-decoration: none;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-primary {
            background:#00bcd4;
            color: var(--color-cream);
        }

        .btn-primary:hover {
            background: var(--color-accent);
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(44,44,44,0.2);
        }

        .btn-outline {
            background: transparent;
            color: var(--color-charcoal);
            border: 1px solid var(--color-charcoal);
        }

        .btn-outline:hover {
            background: var(--color-charcoal);
            color: var(--color-cream);
        }

        /* Section Styles */
        section {
            padding: 7rem 2rem;
        }

        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }

    .section-label {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 700;
}

        .section-title {
            font-family: var(--font-serif);
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 400;
            color: var(--color-charcoal);
        }

        /* Books Section */
        .books {
            background:#d0e7e9;
        }

        .books-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
        }

        .book-card {
            background: var(--color-cream);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.4s ease;
            cursor: pointer;
        }

        .book-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 30px 60px rgba(0,0,0,0.1);
        }

        .book-cover {
            position: relative;
            padding-top: 140%;
            background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
            overflow: hidden;
        }

        .book-cover img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .book-card:hover .book-cover img {
            transform: scale(1.05);
        }

        .book-info {
            padding: 2rem;
        }

        .book-genre {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: var(--color-accent);
            margin-bottom: 0.75rem;
            font-weight: 500;
        }

        .book-title {
            font-family: var(--font-serif);
            font-size: 1.5rem;
            margin-bottom: 0.75rem;
            color: var(--color-charcoal);
        }

        .book-description {
            font-size: 0.95rem;
            color: var(--color-muted);
            margin-bottom: 1.5rem;
        }

        .book-link {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--color-charcoal);
            text-decoration: none;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: color 0.3s ease;
        }

        .book-link:hover {
            color: var(--color-accent);
        }

        .book-link svg {
            transition: transform 0.3s ease;
        }

        .book-link:hover svg {
            transform: translateX(5px);
        }

        /* About Section */
        .about {
            background: var(--color-cream);
        }

        .about-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 5rem;
            align-items: center;
        }

        .about-image {
            position: relative;
        }




        .about-image::after {
            content: '"';
            position: absolute;
            top: -30px;
            right: -20px;
            font-family: var(--font-serif);
            font-size: 12rem;
            color: var(--color-accent-light);
            opacity: 0.3;
            line-height: 1;
        }

        .about-text h3 {
            font-family: var(--font-serif);
            font-size: 2rem;
            font-weight: 400;
            margin-bottom: 1.5rem;
            color: var(--color-charcoal);
        }

        .about-text p {
            color: var(--color-muted);
            margin-bottom: 1.5rem;
            font-size: 1.05rem;
        }

        .about-signature {
            font-family: var(--font-serif);
            font-size: 2rem;
            font-style: italic;
            color: var(--color-accent);
            margin-top: 2rem;
        }

        /* Testimonials */
        .testimonials {
            background: var(--color-charcoal);
            color: var(--color-cream);
        }

        .testimonials .section-label {
            color: var(--color-accent-light);
        }

        .testimonials .section-title {
            color: var(--color-cream);
        }

        .testimonials-slider {
            max-width: 900px;
            margin: 0 auto;
            position: relative;
        }

        .testimonial {
            text-align: center;
            padding: 2rem;
        }

        .testimonial-quote {
            font-family: var(--font-serif);
            font-size: clamp(1.3rem, 3vw, 1.75rem);
            font-style: italic;
            line-height: 1.6;
            margin-bottom: 2rem;
            color: var(--color-cream);
            opacity: 0.95;
        }

        .testimonial-author {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: var(--color-accent-light);
        }

        /* Newsletter */
        .newsletter {
            background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-warm-white) 100%);
            text-align: center;
        }

        .newsletter-content {
            max-width: 600px;
            margin: 0 auto;
        }

        .newsletter-form {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
        }

        .newsletter-form input {
            flex: 1;
            padding: 1rem 1.5rem;
            font-family: var(--font-sans);
            font-size: 0.95rem;
            border: 1px solid var(--color-border);
            border-radius: 4px;
            background: var(--color-warm-white);
            color: var(--color-charcoal);
            outline: none;
            transition: border-color 0.3s ease;
        }

        .newsletter-form input:focus {
            border-color: var(--color-accent);
        }

        .newsletter-form input::placeholder {
            color: var(--color-muted);
        }

        /* Events */
        .events {
            background: var(--color-warm-white);
        }

        .events-list {
            max-width: 900px;
            margin: 0 auto;
        }

        .event-item {
            display: grid;
            grid-template-columns: auto 1fr auto;
            gap: 3rem;
            align-items: center;
            padding: 2rem 0;
            border-bottom: 1px solid var(--color-border);
            transition: all 0.3s ease;
        }

        .event-item:hover {
            padding-left: 1rem;
        }

        .event-date {
            text-align: center;
            min-width: 80px;
        }

        .event-day {
            font-family: var(--font-serif);
            font-size: 2.5rem;
            color: var(--color-accent);
            line-height: 1;
        }

        .event-month {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--color-muted);
        }

        .event-details h4 {
            font-family: var(--font-serif);
            font-size: 1.4rem;
            font-weight: 400;
            margin-bottom: 0.5rem;
            color: var(--color-charcoal);
        }

        .event-location {
            font-size: 0.9rem;
            color: var(--color-muted);
        }

        /* Contact */
        .contact {
            background: var(--color-cream);
        }

        .contact-grid {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
        }

        .contact-info h3 {
            font-family: var(--font-serif);
            font-size: 1.75rem;
            margin-bottom: 1.5rem;
        }

        .contact-info p {
            color: var(--color-muted);
            margin-bottom: 2rem;
        }

        .contact-details {
            list-style: none;
        }

        .contact-details li {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
            color: var(--color-muted);
        }

        .contact-details svg {
            color: var(--color-accent);
        }

        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            font-family: var(--font-sans);
            font-size: 0.95rem;
            border: 1px solid var(--color-border);
            border-radius: 4px;
            background: var(--color-warm-white);
            color: var(--color-charcoal);
            outline: none;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: var(--color-accent);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 150px;
        }

        /* Footer */
        footer {
            background: #152524;
            color: var(--color-cream);
            padding: 4rem 2rem 2rem;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 2rem;
        }

        .footer-logo {
            font-family: var(--font-serif);
            font-size: 1.8rem;
        }

        .social-links {
            display: flex;
            gap: 1.5rem;
        }

        .social-links a {
            color: var(--color-cream);
            opacity: 0.7;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            opacity: 1;
            color: var(--color-accent-light);
        }

        .footer-bottom {
            max-width: 1200px;
            margin: 3rem auto 0;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            text-align: center;
            font-size: 0.85rem;
            color: rgba(255,255,255,0.5);
        }

        /* Responsive Design */
        @media (max-width: 968px) {
            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 3rem;
            }

            .hero-text {
                order: 2;
            }

            .hero-image {
                order: 1;
                display: flex;
                justify-content: center;
            }

            .hero-image img {
                max-width: 300px;
            }

            .hero-description {
                margin-left: auto;
                margin-right: auto;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .contact-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: var(--color-cream);
                flex-direction: column;
                padding: 2rem;
                gap: 1.5rem;
                border-bottom: 1px solid var(--color-border);
            }

            .nav-links.active {
                display: flex;
            }

            .mobile-menu-btn {
                display: flex;
            }

            .event-item {
                grid-template-columns: auto 1fr;
                gap: 1.5rem;
            }

            .event-item .btn {
                grid-column: 1 / -1;
                justify-self: start;
            }

            .newsletter-form {
                flex-direction: column;
            }

            .footer-content {
                flex-direction: column;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            section {
                padding: 4rem 1.5rem;
            }

            .hero {
                padding: 6rem 1.5rem 3rem;
            }

            .books-grid {
                grid-template-columns: 1fr;
            }
        }
    



        .flipbook-container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}

.flipbook-container iframe {
width: 100%;
height: 800px;
border: none;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}



.video-container {
    max-width: 1100px;
    margin: 0 auto;
}

.video-container video {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.featured-book {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: 400px 1fr;
gap: 5rem;
align-items: center;
}

.featured-book-cover img {
width: 100%;
border-radius: 16px;

transition: transform 0.4s ease;
}

.featured-book-cover img:hover {
transform: translateY(-8px);
}

.featured-book-content h3 {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    color: var(--color-charcoal);

    margin-top: 0;
    margin-bottom: 0.1rem;

    line-height: 1.2;
}

.featured-book-content .book-genre {
color: var(--color-accent);
text-transform: uppercase;
letter-spacing: 2px;
margin-bottom: 1rem;
}

.featured-book-content .book-description {
font-size: 1.1rem;
line-height: 1.9;
color: #000;
margin-bottom: 2rem;
}

.book-buttons {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}

@media (max-width: 768px) {
.featured-book {
grid-template-columns: 1fr;
text-align: center;
}


.featured-book-cover {
    max-width: 350px;
    margin: 0 auto;
}

.book-buttons {
    justify-content: center;
}


}

.featured-book-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin: 0 0 0.rem 0;
    line-height: 1.10;
    letter-spacing: 0.3px;
}


/* =========================
   Dropdown Menu
========================= */

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;

    min-width: 220px;

    background: #fff;

    border-radius: 10px;

    padding: 10px 0;
    margin-top: 10px;

    list-style: none;

    box-shadow: 0 10px 30px rgba(0,0,0,0.15);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition: all 0.3s ease;

    z-index: 999;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Book Description */
.book-description {
    text-align: justify;
    text-indent: 2em;
    line-height: 1.8;
}

/* About the Author text */
.about-text p {
    text-align: justify;
    text-indent: 2em;
    line-height: 1.8;
}
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.about-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-image img {
    display: block;
}

.about-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* ensures vertical alignment consistency */
    text-align: center;
}

/* Image stays centered */
.about-image img {
    display: block;
    margin: 0 auto;
}

/* Name perfectly aligned under image */
.about-signature {
    margin-top: 12px;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.4rem;
    color: #6b6b6b;
    text-align: center;
    width: 100%; /* ensures alignment is relative to image container */
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;          /* FULL SCREEN HERO */
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* VIDEO BACKGROUND */
.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* KEY: fills entire section */
    object-position: center;

    transform: scale(1.15);   /* avoids edge gaps */
    filter: blur(10px) brightness(0.65);
}

/* DARK OVERLAY (cinematic look like reference site) */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

/* CONTENT ABOVE VIDEO */
.hero-content {
    position: relative;
    z-index: 2;

    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
}

/* REMOVE PAGE GAPS */
body {
    margin: 0;
    padding: 0;
}

.hero-feature {
    position: relative;
    width: 100%;
    height: 100vh; /* full screen section */
    overflow: hidden;
}

/* BACKGROUND VIDEO */
.hero-feature .bg-video {
    position: absolute;
    top: 50%;
    left: 50%;

    min-width: 100%;
    min-height: 100%;

    width: auto;
    height: auto;

    transform: translate(-50%, -50%) scale(1.1);

    object-fit: cover;
    object-position: center;

    z-index: 0;

    filter: blur(1px) brightness(0.5);
}

/* OPTIONAL OVERLAY LAYER (dark fade for readability) */
.hero-feature .overlay,
.hero-feature .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: rgba(0, 0, 0, 0.35);
}

/* CONTENT SHOULD SIT ABOVE VIDEO */
.hero-feature > *:not(.bg-video):not(.overlay):not(.hero-overlay) {
    position: relative;
    z-index: 2;
}

/* =========================
   TRAILER MODAL
========================= */

.trailer-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.trailer-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.trailer-modal-content video {
    width: 100%;
    display: block;
}

.trailer-close {
    position: absolute;
    top: 10px;
    right: 18px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10;
}

.trailer-close:hover {
    opacity: 0.7;
}
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

.book-buttons .btn-outline {
    background: #383535;
    color: #ffffff;
    border: 2px solid #383535;
    transition: all 0.3s ease;
}

.book-buttons .btn-outline:hover {
    background: #ff9900; /* Amazon-style orange */
    border-color: #ff9900;
    color: #ffffff;
}




.about-text p {
    line-height: 2.5;
    font-size: 1.05rem;
    color: #444;
    max-width: 700px;
}s

.hero-image {
    perspective: 1200px;
}

.hero-image img {
    animation: rotateBook 5s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes rotateBook {
    0% {
        transform: rotateY(-35deg);
    }
    50% {
        transform: rotateY(35deg);
    }
    100% {
        transform: rotateY(-35deg);
    }
}

.about {
    padding: 80px 20px;
    background:#f7f7f7;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

/* IMAGE SECTION */
.about-image {
    flex: 0 0 280px;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.about-signature {
    margin-top: 12px;
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}

/* TEXT SECTION */
.about-text {
    flex: 1;
}

.about-text .section-label {
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 15px;
}

/* MAIN PARAGRAPH STYLE (your requested typography) */

/* OPTIONAL: nicer first paragraph indent */
.about-text p:not(.section-label) {
    text-indent: 2em;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text p {
        text-align: justify;
    }

    .about-image {
        margin: 0 auto;
    }
}
.about {
    display: flex;
    justify-content: center;  /* centers horizontally */
    padding: 100px 20px;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1100px;
    width: 100%;
}
.book-description,
.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #000000;
    text-align: justify;
}

/* Optional: better paragraph indentation ONLY for About section */
.about-text p {
    text-indent: 2em;
}

/* Book description slightly more “airy” for storytelling feel */
.book-description {
    line-height: 2.2;
    max-width: 700px;
}

/* Ensure both behave consistently in layout */
.book-description,
.about-text {
    max-width: 700px;
}

/* Initial state */
.about-image,
.about-text {
    opacity: 0;
    transition: all 0.9s ease;
}

/* Image starts from left */
.about-image {
    transform: translateX(-100px);
}

/* Text starts from right */
.about-text {
    transform: translateX(100px);
}

/* When visible */
.about-image.show,
.about-text.show {
    opacity: 1;
    transform: translateX(0);
}

/* Slight delay for text */
.about-text.show {
    transition-delay: 0.25s;
}



.featured-book-content h3 {
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.book-genre {
    margin: 8px 0 20px;
    padding: 0;
    line-height: 1.4;
}




.hero-title {
    opacity: 0;
    transform: scale(0.9);
    animation: heroZoom 1.5s ease forwards;
    animation-delay: 0.4s;
}

@keyframes heroZoom {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}






.footer-contact {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.contact-item svg {
    color: rgba(255,255,255,0.75);
    flex-shrink: 0;
}

.footer-contact a {
    color:#ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-contact a:hover {
    color: #ffffff;
}


.footer-bottom p {
    margin: 0.25rem 0;
     color: #ffffff;
}




.footer-copy {
    margin-top: 10px;
    font-size: 1rem;
    color: #ffffff;
}


.footer-bottom a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
    text-decoration: underline;
}




.footer-copy a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-copy a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-logo a {
    color: inherit;
    text-decoration: none;
}

.footer-logo a:hover {
    opacity: 0.8;
}
.about-text .section-label {
    margin-bottom: 50px;
    display: block;
}
.about-signature {
    font-family: inherit; /* Uses the same font as the description */
    font-style: normal;
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
    text-align: center;
    margin-top: 15px;
}

.flipbook-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0;
}

.flipbook-container iframe {
    width: 100%;
    height: 900px;
    border: none;
    border-radius: 12px;
}



footer {
    font-family: 'Montserrat', sans-serif;
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 600;
}

.contact-item,
.contact-item a,
.footer-bottom,
.footer-bottom a,
.footer-copy {
    font-size: 0.95rem;
    font-weight: 400;
}
























/* =========================
   FULL RESPONSIVE FIX (FINAL CLEAN VERSION)
========================= */

/* TABLET */
@media (max-width: 1024px) {

  .hero-content {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  .featured-book {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  .about-container {
    flex-direction: column !important;
    text-align: center !important;
  }
}

/* MOBILE */
@media (max-width: 768px) {

  /* NAVIGATION FIX */
  nav {
    flex-direction: column !important;
    gap: 10px !important;
    text-align: center !important;
  }

  .nav-links {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }

  /* HERO FIX (NO CUT OFF + CENTERED) */
  .hero {
    height: auto !important;
    min-height: 100vh !important;
    padding: 120px 20px 80px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 20px !important;
    height: auto !important;
  }

  .hero-title {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }

  .hero-image img {
    width: 200px !important;
    max-width: 80% !important;
    height: auto !important;
  }

  /* BOOK SECTION */
  .featured-book {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 20px !important;
  }

  .featured-book-cover img {
    max-width: 240px !important;
  }

  .book-buttons {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  /* ABOUT SECTION */
  .about-container {
    flex-direction: column !important;
    text-align: center !important;
  }

  .about-image img {
    max-width: 220px !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  .about-text p {
    text-align: justify !important;
    font-size: 1rem !important;
  }

  /* FLIPBOOK */
  .flipbook-container iframe {
    height: 450px !important;
  }

  /* PREVENT SIDE SCROLL */
  body {
    overflow-x: hidden !important;
  }
}

/* SMALL PHONES */
@media (max-width: 480px) {

  .hero-title {
    font-size: 1.4rem !important;
  }

  .hero-image img {
    width: 170px !important;
  }

  .featured-book-cover img {
    max-width: 180px !important;
  }

  .flipbook-container iframe {
    height: 380px !important;
  }
}











/* =========================
   FIX HORIZONTAL WHITE GAP (MOBILE SWIPE ISSUE)
========================= */

html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

/* Force all elements to stay inside screen */
* {
  box-sizing: border-box;
}

/* Fix hero video causing overflow */
.hero-bg-video,
.hero-bg-video video {
  max-width: 100% !important;
  overflow: hidden !important;
}

/* Fix images that may overflow */
img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

/* Fix grids/flex containers */
.hero-content,
.featured-book,
.about-container,
nav {
  max-width: 100% !important;
}
/* =========================
   CENTER ABOUT SECTION HEADER
========================= */

.about-text .section-label {
  text-align: center !important;
  width: 100% !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}