:root {
    --burgundy: #722F37;
    --burgundy-dark: #5a252c;
    --amber: #D4A574;
    --amber-light: #E8C9A0;
    --olive: #5C5C3D;
    --cream: #FAF8F5;
    --cream-dark: #F0EDE8;
    --charcoal: #2C2C2C;
    --charcoal-light: #4A4A4A;
    --white: #FFFFFF;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, sans-serif;
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 15px 40px rgba(0,0,0,0.12);
    --transition: 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); line-height: 1.7; color: var(--charcoal); background: var(--cream); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===========================================
   NAVIGATION
   =========================================== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--cream); border-bottom: 1px solid rgba(114,47,55,0.1); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; position: relative; }
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo img { height: 50px; }
.logo-text { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; }
.nav-links { display: flex; gap: 2rem; position: static; }
.nav-links a { color: var(--charcoal-light); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--burgundy); }

/* Navigation Dropdown */
.nav-dropdown { position: relative; }
.dropdown-trigger { display: flex; align-items: center; gap: 0.25rem; }
.dropdown-arrow { font-size: 0.7rem; transition: transform 0.2s ease; }
.nav-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 280px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { margin: 0; }
.dropdown-menu a { display: block; padding: 0.75rem 1.25rem; color: var(--charcoal); text-decoration: none; font-size: 0.9rem; transition: background 0.2s ease; }
.dropdown-menu a:hover { background: var(--cream); color: var(--burgundy); }
.dropdown-menu a.coming-soon { color: var(--charcoal-light); cursor: default; display: flex; justify-content: space-between; align-items: center; }
.dropdown-menu a.coming-soon:hover { background: transparent; color: var(--charcoal-light); }
.soon-badge { font-size: 0.7rem; background: var(--cream-dark); color: var(--charcoal-light); padding: 0.15rem 0.5rem; border-radius: 4px; font-weight: 500; }

/* Mobile Menu - Hidden by default */
.mobile-menu { display: none; }
.mobile-menu-btn { display: none; }
.mobile-submenu a { padding-left: 2rem; font-size: 0.9rem; color: var(--charcoal-light); }
.mobile-submenu a:hover { color: var(--burgundy); }

/* ===========================================
   BUTTONS
   =========================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2rem; font-size: 0.95rem; font-weight: 600; border-radius: 4px; transition: var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--burgundy); color: var(--white); }
.btn-primary:hover { background: var(--burgundy-dark); }
.btn-secondary { background: transparent; color: var(--charcoal); border: 2px solid var(--charcoal); }
.btn-secondary:hover { background: var(--charcoal); color: var(--white); }
.btn-small { padding: 0.6rem 1.2rem; font-size: 0.85rem; }

/* ===========================================
   LAYOUT
   =========================================== */
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ===========================================
   HERO SECTION
   =========================================== */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 8rem 2rem 4rem; background: linear-gradient(135deg, var(--cream) 0%, rgba(212,165,116,0.08) 50%, var(--cream) 100%); }
.hero-container { max-width: 1200px; margin: 0 auto; text-align: center; }
.hero-tagline { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--burgundy); margin-bottom: 1.5rem; font-weight: 600; }
.hero h1 { font-size: clamp(3rem, 6vw, 5rem); margin-bottom: 1.5rem; line-height: 1.1; }
.hero h1 span { color: var(--burgundy); }
.hero-description { font-size: 1.2rem; color: var(--charcoal-light); margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===========================================
   BOOKS SHOWCASE
   =========================================== */
.books-showcase { padding: 6rem 2rem; background: var(--white); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.book-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.book-card { background: var(--cream); border-radius: 8px; overflow: hidden; transition: var(--transition); }
.book-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.book-card-image { display: block; padding: 2rem; background: var(--white); text-align: center; }
.book-card-image img { max-width: 200px; margin: 0 auto; box-shadow: var(--shadow-md); border-radius: 4px; }
.book-card-content { padding: 1.5rem 2rem 2rem; }
.book-card-label { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--burgundy); font-weight: 600; margin-bottom: 0.5rem; }
.book-card-label.coming { color: var(--olive); }
.book-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.book-card-subtitle { font-size: 0.95rem; color: var(--charcoal-light); font-style: italic; margin-bottom: 1rem; }
.book-card-description { font-size: 0.95rem; margin-bottom: 1.5rem; }
.placeholder-cover { padding: 3rem 2rem; border: 2px dashed var(--charcoal-light); border-radius: 4px; opacity: 0.6; }
.placeholder-cover span { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.placeholder-cover p { font-family: var(--font-heading); font-size: 1.5rem; }

/* ===========================================
   ABOUT PREVIEW
   =========================================== */
.about-preview { padding: 6rem 2rem; background: var(--cream); }
.about-preview-grid { display: grid; grid-template-columns: 1fr 300px; gap: 4rem; align-items: center; max-width: 900px; margin: 0 auto; }
.about-preview-content h2 { font-size: 2rem; margin-bottom: 1rem; }
.about-preview-content p { margin-bottom: 1rem; color: var(--charcoal-light); }
.about-preview-image img { border-radius: 8px; box-shadow: var(--shadow-lg); }

/* ===========================================
   FOOTER
   =========================================== */
.footer { padding: 4rem 2rem 2rem; background: var(--charcoal); color: rgba(255,255,255,0.7); }
.footer-container { max-width: 1200px; margin: 0 auto; width: 100%; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand a.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
}
.footer-brand a.footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}
.footer-brand a.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    white-space: nowrap;
}
.footer-tagline {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
}
.footer-links h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a:hover { color: var(--amber); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.9rem; }
.social-icons { display: flex; gap: 1rem; margin-top: 1rem; }
.social-icon { color: rgba(255,255,255,0.7); transition: var(--transition); }
.social-icon:hover { color: var(--amber); }

/* ===========================================
   PAGE HEADER
   =========================================== */
.page-header { 
    padding: 10rem 2rem 4rem; 
    background: rgba(45, 45, 45, 0.7);
    color: var(--white); 
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
}
.page-header.has-bg-image {
    background-blend-mode: overlay;
}
.page-header h1 { 
    font-size: clamp(2.5rem, 5vw, 3.5rem); 
    margin-bottom: 1rem; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.page-header p { 
    font-size: 1.2rem; 
    opacity: 0.95; 
    max-width: 600px; 
    margin: 0 auto; 
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* ===========================================
   BOOK PAGES
   =========================================== */
.book-hero { padding: 8rem 2rem 4rem; background: var(--cream); display: flex; align-items: center; }
.book-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; max-width: 1200px; margin: 0 auto; width: 100%; }
.book-hero-image { display: flex; justify-content: center; }
.book-hero-image img { max-width: 380px; border-radius: 4px; box-shadow: var(--shadow-lg); }
.book-label { display: inline-block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--burgundy); font-weight: 600; margin-bottom: 1rem; }
.book-hero-content h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; line-height: 1.15; }
.book-subtitle { font-size: 1.1rem; color: var(--charcoal-light); font-style: italic; margin-bottom: 1rem; max-width: none; }
.book-author { margin-bottom: 2rem; }
.book-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.book-formats { font-size: 0.9rem; color: var(--charcoal-light); margin-bottom: 1.5rem; }
.book-cover-shadow { box-shadow: 8px 8px 20px rgba(0,0,0,0.3); }
.book-meta { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--cream-dark); }
.book-meta-item { display: flex; flex-direction: column; }
.meta-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--charcoal-light); margin-bottom: 0.25rem; }
.meta-value { font-size: 0.95rem; color: var(--charcoal); }
.book-benefits { margin: 1.5rem 0; padding-left: 1.5rem; }
.book-benefits li { position: relative; padding-left: 0.5rem; margin-bottom: 0.75rem; list-style: none; }
.book-benefits li::before { content: "✓"; position: absolute; left: -1.25rem; color: var(--burgundy); font-weight: bold; }
.book-not-list { margin: 1.5rem 0; padding-left: 1.5rem; }
.book-not-list li { position: relative; padding-left: 0.5rem; margin-bottom: 0.75rem; list-style: none; color: var(--charcoal-light); }
.book-not-list li::before { content: "✗"; position: absolute; left: -1.25rem; color: var(--charcoal-light); }
.book-description { padding: 4rem 2rem; background: var(--white); }
.book-description-content { max-width: 700px; margin: 0 auto; }
.book-description-content h2 { font-size: 1.8rem; margin-bottom: 1.5rem; }
.book-description-content p { margin-bottom: 1rem; }

/* ===========================================
   METHOD PREVIEW
   =========================================== */
.method-preview { padding: 4rem 2rem; background: var(--cream); text-align: center; }
.method-preview h2 { font-size: 2rem; margin-bottom: 2rem; }
.method-steps { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.method-step { background: var(--white); padding: 1.5rem; border-radius: 8px; min-width: 150px; }
.step-number { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--amber); }
.method-step h3 { font-size: 1.1rem; margin: 0.5rem 0 0.25rem; }
.method-step p { font-size: 0.85rem; color: var(--charcoal-light); }

/* ===========================================
   RESOURCES CTA
   =========================================== */
.resources-cta { padding: 5rem 2rem; background: var(--burgundy); color: var(--white); text-align: center; }
.resources-cta h2 { color: var(--white); font-size: 2rem; margin-bottom: 1rem; }
.resources-cta p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 2rem; }
.email-form { display: flex; gap: 1rem; max-width: 500px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.email-form input[type="email"] { flex: 1; min-width: 250px; padding: 1rem; font-size: 1rem; border: none; border-radius: 4px; }
.email-form .btn { background: var(--amber); color: var(--charcoal); }
.form-note { font-size: 0.85rem; margin-top: 1rem; opacity: 0.7; }

/* ===========================================
   BUY CTA
   =========================================== */
.buy-cta { padding: 4rem 2rem; background: var(--white); text-align: center; }
.buy-cta h2 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.buy-cta p { color: var(--charcoal-light); margin-bottom: 1.5rem; }

/* ===========================================
   COMING SOON
   =========================================== */
.coming-soon-hero { min-height: 70vh; display: flex; align-items: center; padding: 10rem 2rem 4rem; background: var(--cream); text-align: center; }
.coming-soon-content { max-width: 600px; margin: 0 auto; }
.coming-label { display: inline-block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--burgundy); font-weight: 600; margin-bottom: 1rem; }
.coming-soon-hero h1 { font-size: 3rem; margin-bottom: 1rem; }
.coming-subtitle { font-size: 1.2rem; color: var(--charcoal-light); margin-bottom: 2rem; }

/* ===========================================
   CONTACT
   =========================================== */
.contact-section { padding: 4rem 2rem; background: var(--white); }
.contact-content { max-width: 600px; margin: 0 auto; }
.contact-form { text-align: left; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--charcoal); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.875rem; font-size: 1rem; border: 1px solid var(--cream-dark); border-radius: 4px; font-family: var(--font-body); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--burgundy); }
.form-group textarea { resize: vertical; }
.contact-form .btn { width: 100%; }
.contact-alt { margin-top: 2rem; text-align: center; color: var(--charcoal-light); }
.contact-alt a { color: var(--burgundy); }

/* ===========================================
   ABOUT
   =========================================== */
.about-section { padding: 4rem 2rem; background: var(--white); }
.about-content { max-width: 800px; margin: 0 auto; }
.about-content h2 { font-size: 2rem; margin-bottom: 1rem; }
.about-content p { margin-bottom: 1rem; }
.authors-section { padding: 4rem 2rem; background: var(--cream); }
.author-card { display: grid; grid-template-columns: 200px 1fr; gap: 2.5rem; margin-top: 2rem; align-items: start; }
.author-image img { border-radius: 8px; box-shadow: var(--shadow-lg); width: 100%; }
.author-info h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.author-info p { margin-bottom: 1rem; }
.author-social { margin-top: 1.5rem; }
.author-social-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--burgundy); color: var(--white); border-radius: 50%; transition: var(--transition); }
.author-social-link:hover { background: var(--burgundy-dark); }
.author-social-link svg { width: 20px; height: 20px; }

/* ===========================================
   RESOURCES
   =========================================== */
.resources-section { padding: 4rem 2rem; background: var(--white); }
.resources-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.resource-card { background: var(--cream); padding: 2rem; border-radius: 8px; text-align: center; transition: var(--transition); }
.resource-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.resource-card.coming { opacity: 0.7; }
.resource-card.coming:hover { transform: none; box-shadow: none; }
.resource-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.resource-card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.resource-card p { font-size: 0.95rem; color: var(--charcoal-light); margin-bottom: 1.5rem; }
.coming-badge { display: inline-block; padding: 0.5rem 1rem; background: var(--charcoal-light); color: var(--white); font-size: 0.8rem; border-radius: 4px; }

/* ===========================================
   ERROR PAGES
   =========================================== */
.error-section { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 4rem 2rem; }
.error-content { text-align: center; }
.error-content h1 { font-size: 6rem; color: var(--burgundy); margin-bottom: 1rem; }
.error-content p { margin-bottom: 2rem; }

/* ===========================================
   FLASH MESSAGES
   =========================================== */
.flash-messages { position: fixed; top: 80px; left: 50%; transform: translateX(-50%); z-index: 1000; }
.flash-message { background: var(--white); padding: 1rem 2rem; border-radius: 4px; box-shadow: var(--shadow-md); margin-bottom: 0.5rem; }

/* ===========================================
   RESPONSIVE - TABLET
   =========================================== */
@media (max-width: 968px) {
    .book-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .book-hero-image { max-width: 300px; margin: 0 auto; }
    .book-actions { justify-content: center; }
    .about-preview-grid { grid-template-columns: 1fr; text-align: center; }
    .about-preview-image { max-width: 280px; margin: 0 auto; order: -1; }
    .author-grid { grid-template-columns: 1fr; text-align: center; }
    .author-image { max-width: 250px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ===========================================
   RESPONSIVE - MOBILE
   =========================================== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
    }
    .mobile-menu-btn span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--charcoal);
        transition: var(--transition);
    }
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    .mobile-menu.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cream);
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(114,47,55,0.1);
    }
    .mobile-menu ul {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    .mobile-menu a {
        display: block;
        padding: 0.5rem 0;
        color: var(--charcoal);
    }
    .author-card { grid-template-columns: 1fr; text-align: center; }
    .author-image { max-width: 200px; margin: 0 auto; }
    .author-social { justify-content: center; display: flex; }
    .footer { padding: 2rem 1.5rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; margin-bottom: 1.5rem; }
    .footer-brand { align-items: center; }
    .footer-brand a.footer-logo { justify-content: center; }
    .footer-links h4 { margin-bottom: 0.5rem; }
    .footer-links li { margin-bottom: 0.25rem; }
    .footer-bottom { padding-top: 1rem; }
    .social-icons { justify-content: center; }
    .email-form { flex-direction: column; }
    .email-form input[type="email"] { min-width: 100%; }
}
