/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(2, 7, 2, 0.1);
}

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

.nav-logo h1 {
    font-family: 'Gilda Display', serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--very-dark-green);
}

.nav-logo a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo a:hover {
    transform: scale(1.05);
    color: var(--gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--very-dark-green);
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a.active {
    color: var(--gold);
}

.nav-menu a:hover {
    color: var(--gold);
}


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

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--very-dark-green);
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

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

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

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

/* Dark Mode Navigation */



/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-logo a {
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
        border-top: 1px solid var(--light-gray);
    }


    .nav-menu.active {
        left: 0;
    }

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

    .nav-menu a {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
        color: var(--very-dark-green);
        font-weight: 500;
    }

}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
    }

    .nav-logo h1 {
        font-size: 1.5rem;
    }

    .nav-logo a {
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
    }

    /* Touch-friendly improvements */
    .hamburger {
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        border-radius: 8px;
    }

    .hamburger:hover {
        background: rgba(168, 135, 26, 0.1);
        transform: scale(1.05);
    }

    .hamburger:active {
        transform: scale(0.95);
    }

    .hamburger span {
        width: 20px;
        height: 2px;
        transition: all 0.3s ease;
    }


    /* Better spacing for mobile */
    .nav-menu {
        padding: 1rem 0;
    }

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

    .nav-menu a {
        padding: 0.75rem 1rem;
        display: block;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--very-dark-green);
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        background-color: rgba(168, 135, 26, 0.1);
        color: var(--gold);
    }

    .nav-menu a.active {
        color: var(--gold);
        background-color: rgba(168, 135, 26, 0.1);
    }

}