/* =========================================
   1. CORE VARIABLES (The Honey/Bio Palette)
   ========================================= */
:root {
    --honey-gold: #d4af37;      
    --honey-dark: #b8860b;      
    --bio-green: #4a5d23;       
    --text-main: #2c2a25;       
    --text-light: #59554b;      
    --bg-page: #fdfcf8;         
    --bg-section: #f4f1ea;      
    --white: #ffffff;
    --max-width: 1200px;
}

/* =========================================
   2. RESET & TYPOGRAPHY
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; 
    color: var(--text-main);
    background-color: var(--bg-page);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

a {
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* =========================================
   3. GLOBAL HEADER & NAVIGATION
   ========================================= */
header {
    background-color: var(--white);
    border-bottom: 2px solid var(--honey-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--honey-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--honey-dark);
}

.lang-toggle a {
    color: var(--text-light);
    font-weight: 700;
    padding: 0.25rem 0.5rem;
}

.lang-toggle a.active {
    color: var(--bio-green);
    border-bottom: 2px solid var(--bio-green);
}

/* =========================================
   4. HERO SECTIONS (Dynamic Backgrounds)
   ========================================= */
/* Base Hero Styles applied to all hero sections */
.hero, .hero-bulk, .hero-inventory {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding: 8rem 2rem;
    border-bottom: 1px solid #e6e0d4;
}

.hero h1, .hero-bulk h1, .hero-inventory h1 {
    font-size: 3rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero p, .hero-bulk p, .hero-inventory p {
    font-size: 1.25rem;
    color: #fdfcf8;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Specific Background Images */
.hero {
    /* Homepage Background */
    background-image: linear-gradient(rgba(44, 42, 37, 0.6), rgba(44, 42, 37, 0.6)), url('../images/hive.jpg');
}

.hero-bulk {
    /* Bulk Honey Page Background */
    background-image: linear-gradient(rgba(44, 42, 37, 0.6), rgba(44, 42, 37, 0.6)), url('../images/barrel.jpg');
}

.hero-inventory {
    /* Beekeeping Inventory Page Background */
    background-image: linear-gradient(rgba(44, 42, 37, 0.6), rgba(44, 42, 37, 0.6)), url('../images/beekeeper.jpg');
}

/* =========================================
   5. UTILITY CLASSES (Map & UI elements)
   ========================================= */
/* Optional CSS map background (if not using the HTML <img> tag) */
.map-bg-container {
    background-image: url('../images/map.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--honey-gold);
    color: var(--white);
    font-weight: 600;
    border-radius: 4px;
    margin-top: 1rem;
}

.btn:hover {
    background-color: var(--honey-dark);
}

.btn.bio {
    background-color: var(--bio-green);
}

.btn.bio:hover {
    background-color: #38471a;
}

/* =========================================
   6. GLOBAL FOOTER
   ========================================= */
footer {
    background-color: var(--text-main);
    color: var(--bg-page);
    text-align: center;
    padding: 2rem;
    margin-top: auto; 
}

/* =========================================
   7. RESPONSIVE DESIGN (Mobile)
   ========================================= */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero h1, .hero-bulk h1, .hero-inventory h1 {
        font-size: 2rem;
    }
}