/* --- VARIABLES & RESET --- */
:root {
    --primary-bg: #122922;      /* Deep Boreal Green */
    --secondary-bg: #0d1f1a;    /* Darker Green */
    --card-bg: #1a3830;         /* Card Background */
    --text-light: #E0F2F1;      /* Glacial Mist */
    --accent: #B87333;          /* Copper/Amber */
    --white: #ffffff;
    --font-head: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

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

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { width: 100%; display: block; }

/* --- NAVIGATION --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(18, 41, 34, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo .highlight { color: var(--accent); }

.nav-links { display: flex; gap: 2rem; }
.nav-links a { 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}
.nav-links a:hover { color: var(--accent); }

.nav-icons { display: flex; gap: 1.5rem; align-items: center; cursor: pointer; }

/* Hamburger Menu */
.hamburger { display: none; cursor: pointer; }
.hamburger .line {
    width: 25px; height: 2px; background: var(--white); margin: 5px;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1518098268026-4e1877a1c1d4?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
    background-attachment: fixed; /* Parallax Magic */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(18, 41, 34, 0.5); /* Green Tint */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    color: var(--accent);
}

.hero-content h1 {
    font-family: var(--font-head);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn-primary {
    padding: 15px 40px;
    border: 1px solid var(--white);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

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

/* --- SECTIONS GENERAL --- */
section { padding: 5rem 5%; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title {
    font-family: var(--font-head);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}
.section-subtitle {
    text-align: center;
    color: var(--accent);
    margin-bottom: 4rem;
    font-style: italic;
}

/* --- ABOUT / ADVANTAGE --- */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.text-block, .image-block { flex: 1; }

.text-block h2 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.separator {
    width: 60px; height: 3px; background: var(--accent); margin-bottom: 1.5rem;
}

.image-block img { border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }

/* --- PRODUCT GRID --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.product-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.badge {
    position: absolute;
    top: 10px; right: 10px;
    background: var(--accent);
    color: var(--white);
    padding: 4px 10px;
    font-size: 0.7rem;
    text-transform: uppercase;
    border-radius: 20px;
    z-index: 10;
}

.product-image { height: 300px; overflow: hidden; }
.product-image img { 
    height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.product-card:hover .product-image img { transform: scale(1.1); }

.product-info { padding: 1.5rem; text-align: center; }
.product-info h3 { font-family: var(--font-head); font-size: 1.4rem; }
.botanical-name { color: var(--accent); font-size: 0.8rem; font-style: italic; margin-bottom: 0.5rem; }
.desc { font-size: 0.9rem; opacity: 0.8; margin-bottom: 1.5rem; min-height: 3em; }

.price-row {
    display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem;
}
.price { font-weight: 600; font-size: 1.1rem; }
.add-btn {
    background: transparent; border: 1px solid var(--accent); color: var(--accent);
    padding: 8px 15px; cursor: pointer; transition: 0.3s;
}
.add-btn:hover { background: var(--accent); color: var(--white); }

/* --- JOURNAL --- */
.journal { background: var(--secondary-bg); }
.journal-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem;
}
.journal-card {
    display: flex; background: var(--card-bg); border-radius: 8px; overflow: hidden;
}
.journal-img { flex: 1; min-width: 150px; }
.journal-img img { height: 100%; object-fit: cover; }
.journal-content { flex: 2; padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.tag { font-size: 0.7rem; text-transform: uppercase; color: var(--accent); letter-spacing: 1px; }
.journal-content h4 { font-family: var(--font-head); font-size: 1.2rem; margin: 0.5rem 0; }
.read-more { font-size: 0.8rem; margin-top: 1rem; color: var(--white); text-decoration: underline; }

/* --- FOOTER --- */
footer {
    background: #081411;
    padding: 4rem 5% 1rem;
    text-align: center;
}
.footer-content {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 3rem; margin-bottom: 1rem;
}
.brand h3 { font-family: var(--font-head); }
.links a { display: block; margin: 0.5rem 0; opacity: 0.7; }
.links a:hover { opacity: 1; color: var(--accent); }
.newsletter form { margin-top: 1rem; display: flex; }
.newsletter input {
    padding: 10px; border: none; outline: none; background: #222; color: white;
}
.newsletter button {
    padding: 10px 20px; background: var(--accent); color: white; border: none; cursor: pointer;
}
.copyright { opacity: 0.5; font-size: 0.8rem; }

/* --- ANIMATIONS (Fade In) --- */
.hidden { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.show { opacity: 1; transform: translateY(0); }

/* --- MOBILE RESPONSIVE --- */
/* =========================================
   ADD THIS TO THE BOTTOM OF STYLE.CSS
   (Replace the previous @media section)
   ========================================= */

/* 1. First, hide the mobile menu globally so it doesn't show on desktop */
.mobile-menu {
    display: none; 
}

/* 2. Mobile Responsive Rules */
@media (max-width: 768px) {
    /* Hide the desktop nav links */
    .nav-links { 
        display: none; 
    }
    
    /* Show the hamburger icon */
    .hamburger { 
        display: block; 
    }

    /* Adjust Hero Text Size */
    .hero-content h1 { 
        font-size: 2.5rem; 
    }

    /* Stack the split sections vertically */
    .split-layout { 
        flex-direction: column; 
    }

    /* Stack journal cards vertically */
    .journal-card { 
        flex-direction: column; 
    }

    .journal-img { 
        height: 200px; 
    }
    
    /* Now, configure the Mobile Menu to only work here */
    .mobile-menu {
        display: flex; /* Turn it on for mobile only */
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100%; 
        height: 100vh;
        background: var(--primary-bg); 
        flex-direction: column;
        justify-content: center; 
        align-items: center; 
        gap: 2rem;
        transform: translateX(100%); /* Start hidden off-screen */
        transition: 0.3s ease-in-out; 
        z-index: 999;
    }

    .mobile-menu.active { 
        transform: translateX(0); /* Slide in when active */
    }

    .mobile-menu a { 
        font-size: 1.5rem; 
        font-family: var(--font-head);
        color: var(--text-light); 
    }
}
