/* =========================================
   CSS Variables & Theme
   ========================================= */
:root {
    /* Colors */
    --color-primary: #2c422c;      /* Deep Forest Green */
    --color-primary-light: #436343;
    --color-secondary: #8da47e;    /* Muted Sage */
    --color-accent: #d2b99b;       /* Soft Sand/Gold */
    --color-bg: #f9f7f2;           /* Warm Earthy Body Background */
    --color-bg-alt: #ffffff;
    --color-text: #222a22;
    --color-text-light: #5e6b5e;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Effects */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-soft: 0 10px 40px -10px rgba(44, 66, 44, 0.08);
    --shadow-hover: 0 20px 50px -10px rgba(44, 66, 44, 0.12);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-primary);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* =========================================
   Abstract Background Shapes
   ========================================= */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
}

.shape-1 {
    width: 40vw;
    height: 40vw;
    background: var(--color-secondary);
    top: -10vw;
    right: -10vw;
}

.shape-2 {
    width: 30vw;
    height: 30vw;
    background: var(--color-accent);
    bottom: 20%;
    left: -10vw;
}

/* =========================================
   Glass Panel Utility (Glassmorphism)
   ========================================= */
.glass-panel {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-soft);
}

/* =========================================
   Typography Utilities
   ========================================= */
.eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-secondary);
    display: block;
    margin-bottom: 1rem;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(44, 66, 44, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn-text {
    background: transparent;
    color: var(--color-primary);
    padding: 1rem 0;
    border-bottom: 1px solid transparent;
    border-radius: 0;
}

.btn-text:hover {
    border-bottom: 1px solid var(--color-primary);
    transform: translateX(5px);
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(249, 247, 242, 0.85); /* Matches bg color */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    bottom: -4px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu Styles */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 10px;
    transition: var(--transition);
    transform-origin: left;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title em {
    font-style: italic;
    color: var(--color-secondary);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(44, 66, 44, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image-wrapper {
    position: relative;
    height: 70vh;
    border-radius: var(--radius-lg);
}

.image-backdrop {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.floating-badge {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
}

.badge-icon {
    font-size: 2rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* =========================================
   Benefits Section
   ========================================= */
.benefits {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-description {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-primary);
}

.benefit-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.benefit-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* =========================================
   Banner Section
   ========================================= */
.banner {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Extra height for parallax */
    z-index: -1;
}

.parallax-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateY(0);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 66, 44, 0.4);
}

.banner-content {
    text-align: center;
    color: white;
    z-index: 1;
}

.banner-content h2 {
    color: white;
    font-size: 4rem;
    margin-bottom: 1rem;
}

.banner-content p {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* =========================================
   Ingredients Section
   ========================================= */
.ingredients {
    padding: var(--spacing-xl) 0;
}

.ingredients-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.ingredient-list {
    margin-top: 2rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ingredient-item {
    display: flex;
    gap: 1rem;
    align-items:flex-start;
}

.bullet {
    width: 8px;
    height: 8px;
    background: var(--color-secondary);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.ingredient-item strong {
    display: block;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.ingredient-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.ingredients-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.gallery-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mt-4 {
    margin-top: 3rem;
}

.gallery-img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
    height: 300px;
    width: 100%;
    transition: var(--transition);
}

.gallery-img:hover {
    transform: scale(1.02);
}

.experience-card {
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    background: var(--color-accent);
    color: var(--color-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    border: none;
}

.experience-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* =========================================
   CTA Section
   ========================================= */
.cta {
    padding: var(--spacing-lg) 0 var(--spacing-xl);
}

.cta-container {
    padding: 5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    background-color: rgba(141, 164, 126, 0.1);
    border: 1px solid rgba(141, 164, 126, 0.3);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.cta-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(44, 66, 44, 0.2);
    font-family: var(--font-body);
    font-size: 1rem;
    background: white;
    outline: none;
    transition: var(--transition);
}

.cta-form input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(44, 66, 44, 0.1);
}

/* =========================================
   Footer
   ========================================= */
footer {
    background-color: var(--color-primary);
    color: white;
    padding: var(--spacing-xl) 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.link-group a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.socials {
    display: flex;
    gap: 1.5rem;
}

.socials a:hover {
    color: white;
}

/* =========================================
   Animations & Reveals
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
    .hero-container, .ingredients-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image-wrapper {
        height: 50vh;
        grid-row: 1;
    }
    
    .floating-badge {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--color-bg-alt);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
        transition: var(--transition);
        z-index: 1000;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-family: var(--font-heading);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .ingredients-gallery {
        grid-template-columns: 1fr;
    }
    
    .mt-4 {
        margin-top: 0;
    }
    
    .cta-container {
        padding: 3rem 1.5rem;
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Testimonials Section */
.testimonials {
    position: relative;
    z-index: 1;
}

.testimonial-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card .stars {
    letter-spacing: 2px;
}

.customer-info h4 {
    margin-bottom: 0.2rem;
}
/* =========================================
   Lightbox Modal
   ========================================= */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(44, 66, 44, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    animation: zoom 0.6s;
}

@keyframes zoom {
    from {transform:scale(0.8); opacity: 0;}
    to {transform:scale(1); opacity: 1;}
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #f1f1f1;
    font-size: 60px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--color-accent);
    text-decoration: none;
    cursor: pointer;
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 20px 0;
    font-family: var(--font-body);
}

/* Custom Gallery Grid Adjustments */
.ingredients-gallery {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
}

.gallery-img {
    cursor: pointer;
    background: #eee;
}
