/* =========================================
   CHORWA BARINGO HONEY - LANDING PAGE CSS
   Harmonized with Shop Theme
   ========================================= */

:root {
    /* --- Extracted from your existing shop --- */
    --color-primary-green: #1B5E20;   /* Deep header/footer green */
    --color-secondary-green: #2E7D32; /* Button green */
    --color-accent-yellow: #FFC107;   /* Add to cart / honey gold */
    --color-bg-cream: #FFFDF5;        /* Soft page background */
    --color-card-white: #FFFFFF;      /* Card backgrounds */
    --color-text-dark: #212121;       /* Main text */
    --color-text-muted: #757575;      /* Secondary text */
    --color-border: #E0E0E0;          /* Subtle borders */
    
    --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-bg-cream);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-primary-green);
    margin-bottom: 1rem;
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   1. LANDING PAGE HEADER (Matches Shop)
   ========================================= */
.landing-header {
    background: var(--color-card-white);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 55px; /* Constrains the logo so it doesn't take over the page */
    width: auto;
    object-fit: contain;
    display: block;
}

.header-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-weight: 700;
    color: var(--color-primary-green);
    font-size: 1.1rem;
}

.brand-tagline {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.header-nav {
    margin-left: auto;
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary-green);
}

/* =========================================
   2. LANDING PAGE HERO SECTION
   (Scoped to avoid collision with shop hero)
   ========================================= */
.landing-hero {
    position: relative;
    height: 75vh;
    min-height: 500px;
    background-image: url('../images/landing/hero-acacia.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(27, 94, 32, 0.55); /* Green tint overlay */
}

.landing-hero .hero-content {
    position: relative;
    z-index: 1;
    color: white;
    padding: 2rem;
    max-width: 800px;
}

.landing-hero .hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.landing-hero .hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
}

/* Primary Button (Matches your "Add to Cart" yellow) */
.btn-primary {
    display: inline-block;
    background-color: var(--color-accent-yellow);
    color: var(--color-text-dark);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* =========================================
   3. ORIGIN SECTION
   ========================================= */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.origin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--color-card-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.origin img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.origin p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

/* =========================================
   4. PROCESS SECTION
   ========================================= */
.process {
    background-color: var(--color-card-white);
    text-align: center;
    padding: 5rem 2rem;
    max-width: 100%;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.process h2 {
    margin-bottom: 1rem;
}

.process p {
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto 2rem;
}

.process-grid img {
    border-radius: 8px;
    height: 300px;
    object-fit: cover;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.process p strong {
    color: var(--color-primary-green);
    font-size: 1.1rem;
}

/* =========================================
   5. PROOF SECTION
   ========================================= */
.proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.proof img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.proof p {
    color: var(--color-text-muted);
}

.proof strong {
    color: var(--color-primary-green);
}

/* =========================================
   6. LIFESTYLE SECTION
   ========================================= */
.lifestyle {
    text-align: center;
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.lifestyle p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.lifestyle-grid img {
    border-radius: 8px;
    height: 250px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.lifestyle-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* =========================================
   7. PRODUCTS CTA SECTION
   ========================================= */
.section-cta {
    text-align: center;
    background: var(--color-primary-green);
    color: white;
    max-width: 100%;
    padding: 4rem 2rem;
}

.section-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.section-cta p {
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.section-cta img {
    max-width: 600px;
    margin: 0 auto 2rem;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* =========================================
   LANDING PAGE - MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; gap: 0.75rem; }
    .header-nav { margin-left: 0; width: 100%; justify-content: space-around; }
    .landing-hero .hero-content h1 { font-size: 2rem; }
    .origin, .proof { grid-template-columns: 1fr; padding: 2rem; }
    .process-grid { grid-template-columns: 1fr; }
    .lifestyle-grid { grid-template-columns: 1fr 1fr; }
}


/* =========================================
   SHOP PAGE NAV (Harmonized with Landing Page)
   ========================================= */

.container.header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

.container.header-inner .brand {
    flex-shrink: 0;
}

.shop-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-shrink: 0;
}

.shop-nav a {
    text-decoration: none;
    color: #212121;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s ease;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.shop-nav a:hover {
    color: #1B5E20;
}

.shop-nav a.active {
    color: #1B5E20;
    font-weight: 700;
}

.shop-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1B5E20;
    border-radius: 2px;
}

.container.header-inner .search-wrap {
    flex: 1 1 auto;
    min-width: 100px;
    max-width: 400px;
}

.container.header-inner .header-actions {
    flex-shrink: 0;
}

/* =========================================
   SHOP NAV - MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
    .container.header-inner {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .container.header-inner .brand {
        flex: 1 1 auto;
    }
    .container.header-inner .search-wrap {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
    }
    .shop-nav {
        order: 2;
        gap: 1rem;
    }
    .container.header-inner .header-actions {
        order: 1;
    }
}

@media (max-width: 600px) {
    .shop-nav {
        flex: 1 1 100%;
        justify-content: space-around;
        padding-top: 0.5rem;
        border-top: 1px solid #eee;
        order: 4;
    }
    .container.header-inner .search-wrap {
        order: 3;
    }
}