/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--deep-forest), var(--forest-green));
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px var(--shadow);
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex; /* Make logo a flex container */
    align-items: center; /* Vertically align items */
    color: var(--cream); /* Keep color for tagline */
    font-weight: bold; /* Keep font-weight for tagline */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* Keep text-shadow for tagline */
}

.logo img {
    height: 30px; /* Adjust as needed for your logo size */
    margin-right: 10px; /* Space between logo and tagline */
}

.tagline {
    font-size: 1.2rem; /* Adjust as needed */
    color: var(--cream); /* Ensure tagline color matches */
    margin-left: 5px; /* Space between logo and tagline */
}

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

.nav-menu a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-menu a:hover {
    background: rgba(135, 169, 107, 0.2);
    color: var(--light-sage);
    transform: translateY(-2px);
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1100; /* Above nav-menu */
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--cream);
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Responsive adjustments for navigation */
@media (max-width: 1200px) { /* Changed from 768px to 1200px */
    nav {
        padding: 0 1rem;
    }

    .hamburger-menu {
        display: flex; /* Show hamburger on mobile */
    }

    .nav-menu {
        display: none; /* Hide nav menu by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, var(--deep-forest), var(--forest-green));
        box-shadow: 0 4px 20px var(--shadow);
        padding: 1rem 0;
        text-align: center;
        transition: all 0.3s ease-in-out;
        opacity: 0;
        pointer-events: none;
    }

    .nav-menu.active {
        display: flex; /* Show nav menu when active */
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .nav-menu a {
        padding: 0.8rem 1rem;
        display: block;
    }

    /* Hamburger animation */
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

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

    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
}

/* The previous 769px to 1200px adjustment is now covered by the main media query */
