/* --- BRAND DESIGN SYSTEM & RESET --- */
:root {
    --primary-dark: #123B23;
    --primary-light: #EBF1ED;
    --accent-gold: #D4AF37;
    --text-dark: #2A362E;
    --text-muted: #5A6B60;
    --bg-cream: #FAF9F5;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

button, .btn {
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
}

/* --- GLOBAL REUSABLE STYLES --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--primary-dark);
    font-weight: 500;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 12px 28px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #1a4f31;
}

.btn-underline {
    background: none;
    color: var(--primary-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border-bottom: 1px solid var(--primary-dark);
    padding-bottom: 2px;
}

/* --- ANNOUNCEMENT BAR --- */
.announcement-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 24px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.announcement-bar span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.desktop-ticker-item { display: none; }
/* --- HEADER NAVIGATION --- */
header {
    background-color: var(--white);
    border-bottom: 1px solid rgba(18, 59, 35, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    text-align: center;
}

.nav-logo h1 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: var(--primary-dark);
    line-height: 1;
}

.nav-logo p {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-top: 4px;
}

.desktop-nav { display: none; }

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

.desktop-nav a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--text-dark);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-icon-btn {
    background: none;
    font-size: 1.2rem;
    color: var(--primary-dark);
}

.mobile-menu-toggle {
    background: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--primary-dark);
}

/* Mobile Slide-Out Drawer Navigation */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    padding: 40px 24px;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-drawer.open { left: 0; }

.drawer-close {
    align-self: flex-end;
    background: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.mobile-drawer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-drawer a {
    font-size: 1.1rem;
    font-family: var(--font-serif);
    color: var(--primary-dark);
}

.drawer-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

/* --- HERO SECTION WITH SEAMLESS IMAGE TEXT OVERLAY --- */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.15)), 
                url('/images/hero-products.jpg') no-repeat center center;
    background-size: cover;
    min-height: 520px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-content {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0;
    max-width: 580px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 16px;
    font-weight: 400;
}

.hero-title em {
    font-family: var(--font-serif);
    font-style: italic;
}

.hero-text {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}
/* --- BRAND DIFFERENCE & INGREDIENTS LAYOUT --- */
.difference-section {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.difference-intro {
    max-width: 600px;
    margin: 0 auto 48px auto;
}

.difference-intro p {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 60px;
}

.pillar-card {
    padding: 24px;
    background-color: var(--bg-cream);
    border-radius: 4px;
}

.pillar-card h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 12px;
    color: var(--primary-dark);
}

.ingredients-container {
    max-width: var(--max-width);
    margin: 40px auto 0 auto;
    padding: 0;
    text-align: center;
}

.ingredients-section-header {
    margin-bottom: 40px;
}

.ingredient-horizontal-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    justify-content: center;
}

.ingredient-grid-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 280px;
}

.ingredient-text-placeholder {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px dashed rgba(18, 59, 35, 0.25);
}

.ingredient-grid-card h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
    font-weight: 500;
}

.ingredient-grid-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* --- TRUST BADGES GRID SYSTEM --- */
.trust-badges {
    background-color: var(--white);
    border-bottom: 1px solid rgba(18, 59, 35, 0.05);
    padding: 30px 0;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    text-align: center;
}

.badges-grid .badge-item:last-child {
    grid-column: span 2;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
}

.badge-emoji {
    font-size: 1.6rem;
    line-height: 1;
}

.badge-text {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.3;
}

/* --- UNIVERSAL REUSABLE CAROUSEL SYSTEM --- */
.carousel-container, .testimonial-carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.carousel-track-container, .testimonial-track-container {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}

.carousel-track, .testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-arrow:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.arrow-left { left: -15px; }
.arrow-right { right: -15px; }

/* --- BESTSELLERS CAROUSEL CONFIGURATIONS --- */
.bestsellers { padding: 60px 0; }
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}
.carousel-track .product-card {
    flex: 0 0 85%;
    margin-right: 16px;
    background-color: var(--white);
    padding: 16px;
}
.product-image-container {
    background-color: var(--bg-cream);
    position: relative;
    padding-bottom: 110%;
    margin-bottom: 12px;
}
.product-img-placeholder {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #f0ede6;
}
.product-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.product-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    min-height: 40px;
}
.product-rating { color: var(--accent-gold); font-size: 0.75rem; }
.product-rating span { color: var(--text-muted); font-size: 0.7rem; margin-left: 2px; }
.product-price { font-weight: 600; font-size: 0.9rem; color: var(--primary-dark); }
.view-all-container { text-align: center; margin-top: 32px; }
.view-all-container .btn { width: 100%; }

/* --- BANNER BREAK & STORY --- */
.escape-banner {
    background: linear-gradient(rgba(18,59,35,0.4), rgba(18,59,35,0.4)), #2a4d37;
    color: var(--white);
    padding: 80px 24px;
    text-align: center;
}
.escape-banner h2 { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 400; margin-bottom: 12px; }
.escape-banner p { max-width: 500px; margin: 0 auto; font-size: 0.95rem; opacity: 0.9; }
.story-section { padding: 60px 0; background-color: var(--white); }
.story-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.story-img-placeholder { width: 100%; height: 300px; background-color: #dcdcd8; }
.story-content h3 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--primary-dark); margin-bottom: 16px; line-height: 1.3; }
.story-content p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }

/* --- TESTIMONIAL CAROUSEL CONFIGURATIONS --- */
.testimonials { padding: 60px 0; background-color: var(--white); border-top: 1px solid rgba(18, 59, 35, 0.06); text-align: center; }
.testimonial-carousel-container { max-width: 750px; }
.testimonial-track .testimonial-slide { flex: 0 0 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 40px; }
.stars { color: var(--accent-gold); font-size: 0.9rem; }
.testimonial-text { font-family: var(--font-serif); font-size: 1.2rem; color: var(--primary-dark); font-style: italic; }
.testimonial-author { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }

/* --- NEWSLETTER SIGNUP --- */
.newsletter { background-color: var(--primary-light); padding: 60px 24px; text-align: center; }
.newsletter h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: var(--primary-dark); margin-bottom: 8px; }
.newsletter p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 24px; }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; max-width: 450px; margin: 0 auto; }
.newsletter-form input { padding: 14px 16px; border: 1px solid rgba(18, 59, 35, 0.2); font-family: var(--font-sans); font-size: 0.9rem; }
.newsletter-form button { background-color: var(--primary-dark); color: var(--white); padding: 14px; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; font-size: 0.85rem; }
/* --- HIGH-END SYMMETRICAL BRAND FOOTER --- */
.site-footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 0 0;
    font-family: var(--font-sans);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Flex layout that stacks vertically on mobile devices */
.footer-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-column {
    width: 100%;
}

/* Brand Logo Panel Box Geometry Rules */
.footer-brand-info {
    max-width: 380px;
}

.footer-logo-block h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    line-height: 1.1;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
    margin-bottom: 20px;
}

.footer-brand-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

/* Minimal Vector Social Circles Matrix Layout */
.footer-social-row {
    display: flex;
    gap: 14px;
}

.social-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: transparent;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.social-circle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.social-circle:hover {
    background-color: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.social-circle:hover svg {
    transform: scale(1.06);
}

/* Category Link Lists Headers & Anchors Formatting */
.footer-links-block h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links-block ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links-block a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    display: inline-block;
    transition: all 0.25s ease;
}

.footer-links-block a:hover {
    color: var(--white);
    transform: translateX(4px);
}

/* Copyright Row Separation Layout Rules */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 28px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-flex {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.footer-legal-links {
    display: flex;
    gap: 28px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* --- MEDIA QUERIES FOR DESKTOP VIEWPORTS --- */
@media (min-width: 768px) {
    .desktop-ticker-item { display: inline-block; }
    .mobile-menu-toggle { display: none; }
    .desktop-nav { display: block; }

    .hero { min-height: 660px; }
    .hero-container { padding-top: 0; padding-bottom: 0; }
    .hero-title { font-size: 3.6rem; }

    .badges-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0 16px;
    }
    .badges-grid .badge-item:last-child { grid-column: auto; }
    .badge-text { font-size: 0.75rem; }
    
    .pillars-grid { grid-template-columns: repeat(3, 1fr); }
    
    .ingredient-horizontal-grid {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 20px;
    }
    .ingredient-grid-card { flex: 1; }

    .carousel-track .product-card {
        flex: 0 0 calc(25% - 12px);
        margin-right: 16px;
    }
    .arrow-left { left: -40px; }
    .arrow-right { right: -40px; }
    .view-all-container .btn { width: auto; }

    .story-grid { grid-template-columns: repeat(2, 1fr); gap: 60px; }
    .newsletter-form { flex-direction: row; max-width: 550px; }
    .newsletter-form input { flex: 1; }
    
    /* 🌟 DESKTOP STYLING UPGRADES: FORCES FLUID FOOTER ITEMS INTO PERFECT SYMMETRICAL COLUMNS */
    .footer-container {
        display: grid;
        grid-template-columns: 2fr repeat(3, 1fr); /* Brand column gets more space, links get perfect equal fractions */
        gap: 40px;
        align-items: flex-start;
    }
    
    .footer-column {
        width: 100%;
    }
    
    .footer-bottom-flex {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}
