:root {
    --deep-plum: #4A2A38;
    --dusty-rose: #D1899C;
    --blush-pink: #F2D1D5;
    --cream: #FFFDF3;
    --rose-gold: #C58B8B;
    --old-gold: #CFB53B;
}
/* =========================================
   STICKY PROMO BANNER
   ========================================= */
.promo-banner {
    background-color: var(--deep-plum);
    color: var(--cream);
    text-align: center;
    padding: 10px 20px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.9em;
    letter-spacing: 0.5px;
    
    /* 🛠️ THE FIX: Added the Apple-specific code for iPhones */
    position: -webkit-sticky; 
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.promo-banner a {
    color: var(--rose-gold);
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.promo-banner a:hover {
    color: var(--blush-pink);
    text-decoration: underline;
}

/* 🛠️ THE FIX: Makes the text fit elegantly on narrow phone screens */
@media (max-width: 768px) {
    .promo-banner {
        font-size: 0.8em;
        padding: 8px 12px;
        line-height: 1.4;
    }
    
    .promo-banner a {
        display: inline-block; /* Prevents the arrow from breaking onto its own line */
        margin-left: 5px;
    }
}
/* ==========================================================================
   GLOBAL BASE STYLES
   ========================================================================== */
body {
    font-family: 'Lora', 'Georgia', serif;
    color: var(--deep-plum);
    background-color: var(--cream);
    margin: 0;
    padding: 0;
    line-height: 1.8;
}

h1, h2, h3, h4 {
    font-family: 'Dancing Script', cursive;
    color: var(--deep-plum);
    font-weight: normal;
    margin-top: 0;
}

/* ==========================================================================
   UTILITY TYPOGRAPHY (The Fix for the Font & Drop-Cap Headaches)
   ========================================================================== */

/* 1. Add class="brand-title" to any header to safely apply the Lora font on desktop */
.brand-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 2.8em;
    font-weight: 700;
    font-style: normal;
    color: var(--deep-plum);
    margin-bottom: 15px;
}

/* 2. Add class="drop-cap" directly to the specific paragraph you want stylized */
.drop-cap::first-letter {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5em;
    float: left;
    line-height: 0.8;
    margin-top: 10px;
    margin-right: 12px;
    color: var(--rose-gold);
    font-weight: bold;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header {
    background-color: var(--cream);
    border-bottom: 2px solid var(--blush-pink);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--deep-plum);
    padding: 8px 30px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.top-bar a {
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.2s ease;
}

.top-bar a:hover {
    color: var(--rose-gold);
    transform: translateY(-2px);
}

.top-bar svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.header-content {
    text-align: center;
    padding: 30px 0 0 0;
    position: relative;
}

.logo-link {
    display: block;
    margin: 0 auto;
    padding: 0;
    text-decoration: none;
    cursor: pointer;
}

.logo-img {
    max-height: 200px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

nav {
    background-color: var(--dusty-rose);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 20px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    position: relative;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--deep-plum);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    font-weight: 300; /* Forces the 3 lines to stay thin */
    -webkit-font-smoothing: antialiased; /* Keeps the symbol crisp on Apple devices */
}


.nav-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
}

.nav-links a {
    color: var(--deep-plum);
    text-decoration: none;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--cream);
    transform: translateY(-2px);
}

/* ==========================================================================
   BUTTONS (CTA)
   ========================================================================== */
.cta {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--old-gold);
    color: var(--deep-plum);
    text-decoration: none;
    border-radius: 30px;
    font-family: sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 1.5px;
    transition: transform 0.2s, background-color 0.2s;
    border: none;
    cursor: pointer;
}

.cta:hover {
    background-color: var(--dusty-rose);
    color: var(--cream);
    transform: translateY(-2px);
}

/* ==========================================================================
   GLOBAL LAYOUT WRAPPERS
   ========================================================================== */
.section-container {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 30px;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--rose-gold);
    margin: 15px auto 0;
}

/* ==========================================================================
   BOOK COVER EFFECTS
   ========================================================================== */
.book-cover img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-cover:hover img {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(74, 42, 56, 0.25);
}

/* ==========================================================================
   FOOTER & NEWSLETTER
   ========================================================================== */
footer {
    background-color: var(--deep-plum);
    color: var(--cream);
    text-align: center;
    padding: 60px 20px 30px;
    margin-top: 80px;
}

.newsletter-box {
    max-width: 600px;
    margin: 0 auto 40px;
}

.newsletter-box h3 {
    color: var(--dusty-rose);
    font-size: 2em;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.newsletter-form input[type="email"],
.newsletter-form input[type="text"] {
    padding: 15px 20px;
    width: 60%;
    border: none;
    border-radius: 30px;
    font-family: sans-serif;
    font-size: 1em;
    box-sizing: border-box;
}

.footer-bottom {
    font-family: sans-serif;
    font-size: 0.85em;
    opacity: 0.7;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (Phones & Small Tablets)
   ========================================================================== */
@media (max-width: 768px) {
    /* Converts the Lora serif header cleanly to Dancing Script on phones */
    .brand-title {
        font-family: 'Dancing Script', cursive;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .newsletter-form input[type="email"],
    .newsletter-form input[type="text"] {
        width: 100%;
        max-width: 400px;
    }

    .logo-img {
        max-height: 120px;
        max-width: 90%;
    }

    .top-bar {
        justify-content: center;
    }

    nav {
        justify-content: center;
        padding: 2px 20px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--dusty-rose);
        padding: 0px 0 !important;
        text-align: center;
        z-index: 1000;
        gap: 0;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-links a {
        display: block;
        padding: 5px 0 !important; /* Restored your slim 5px padding */
        font-size: 1.05em; /* Restored the slightly scaled-down text */
        border-bottom: 1px solid rgba(74, 42, 56, 0.1);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        transform: none;
        background-color: rgba(255, 253, 243, 0.15);
    }

    .nav-links.active {
        display: flex;
    }
}