.top-bar {
    background: #d0b36e;
    height: 30px;
}

.top-bar a {
    color: #2f2a26;
    text-decoration: none;
}

.top-bar a:hover {
    text-decoration: underline;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(76, 102, 82, 0.8);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    height: 100px;
    backdrop-filter: blur(10px);
    transition: all 0.2s;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

nav.scrolled {
    top: 0;
    background: #4c6652;
    backdrop-filter: none;
    height: 75px;
}

nav.scrolled .logo-wrapper img.logo-bw {
    display: block;
    width: 80px;
}

nav .logo-wrapper {
    padding: 0 30px;
    width: 100px;
}

nav .logo-wrapper img {
    display: block;
    width: 100px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0 30px;
    display: flex;
    gap: 25px;
}

nav ul li a {
    font-family: 'DM Serif Display', 'Arial', sans-serif;
    text-decoration: none;
    color: #f5f3eb;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 1.2em;
    letter-spacing: 0.6px;
}

nav ul li a:hover {
    border-bottom: 2px solid #d0b36e;
}

/* Hamburger button */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #f5f3eb;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile nav overlay */
@media (max-width: 768px) {
    nav {
        height: 75px;
    }

    nav .logo-wrapper img {
        width: 75px;
    }

    .menu-toggle {
        display: flex;
        z-index: 9999;
    }

    .site-nav {
        display: none;
        position: fixed;
        height: 100vh;
        inset: 0;
        background-color: rgba(76, 102, 82, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        transition: opacity 0.3s ease;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    .site-nav a {
        font-size: 1.5rem;
        color: #f5f3eb;
    }

    /* Hamburger animation when open */
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}
