.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--navbar-height);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--clay);
    text-decoration: none;
    font-family: var(--font-heading);
}

.logo span {
    color: var(--terracotta);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: clamp(1rem, 1.8vw, 2rem);
}

.nav-links a {
    text-decoration: none;
    color: var(--slate);
    font-weight: 500;
    white-space: nowrap;
    transition: color var(--transition-normal);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--clay);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-links a:hover {
    color: var(--clay);
}

.nav-divider {
    width: 1px;
    height: 20px;
    background-color: var(--sand);
    margin: 0 0.5rem;
}

.nav-auth {
    color: var(--clay) !important;
}

.nav-auth .icon {
    margin-right: 5px;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--clay);
    background: none;
    border: none;
    padding: 0.5rem;
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: var(--navbar-height);
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: left var(--transition-normal);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        max-height: calc(100vh - var(--navbar-height));
        max-height: calc(100dvh - var(--navbar-height));
        overflow-y: auto;
    }

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

    .nav-links li {
        margin: 1rem 0;
        margin-left: 0;
    }

    .nav-divider {
        display: none;
    }

    .hamburger {
        display: block;
    }

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

@media (max-width: 1200px) {
    .nav-links li {
        margin-left: 1.25rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }
}
