/* ==========================================
   VARIABLES & GLOBAL RESETS
   ========================================== */
:root {
    --primary-green: #2e7d32;   /* Deep Forest Green */
    --accent-green: #4caf50;    /* Bright Leaf Green */
    --sky-blue: #3498db;        /* Climate/Air Blue */
    --light-bg: #f4f9f4;        /* Minty White */
    --text-dark: #1a202c;       /* Soft Black */
    --text-gray: #4a5568;       /* Readable Gray */
    --card-white: rgba(255, 255, 255, 0.95);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --dark-overlay: rgba(26, 32, 44, 0.75);
}

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

body {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    background-color: var(--light-bg);
    color: var(--text-dark);
}

/* ==========================================
   NAVBAR CONTAINER
   ========================================== */

.navbar {
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--primary-green) 100%);
    padding: 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

/* ==========================================
   BRAND/LOGO SECTION
   ========================================== */

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.brand:hover {
    transform: scale(1.05);
}

.logo {
    font-size: 2rem;
    line-height: 1;
}

.site-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

/* ==========================================
   NAVIGATION LINKS
   ========================================== */

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover Effect - Underline Animation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Active Link Style */
.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

/* ==========================================
   HAMBURGER MENU (Mobile)
   ========================================== */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger Animation when Active */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablet and Mobile */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    /* Show Hamburger Menu */
    .hamburger {
        display: flex;
    }

    /* Hide Navigation Links by Default */
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, var(--sky-blue) 0%, var(--primary-green) 100%);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 0;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
        transition: right 0.4s ease;
        overflow-y: auto;
    }

    /* Show Navigation Links when Active */
    .nav-links.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        margin-bottom: 0.5rem;
        border-radius: 8px;
        font-size: 1.1rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(5px);
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

    .site-name {
        font-size: 1.25rem;
    }

    .logo {
        font-size: 1.75rem;
    }

    .nav-links {
        max-width: 250px;
    }
}

/* Large Screens */
@media (min-width: 1400px) {
    .nav-container {
        max-width: 1400px;
    }

    .nav-links {
        gap: 2.5rem;
    }
}