/* static/css/navbar.css */
/* This file contains only navbar-specific styles.
   The main header layout is already in header.css.
   Here we refine the nav-link appearance. */

/* static/css/navbar.css */
.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2vw, 24px);
    flex: 1 1 auto;
    min-width: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

@media (max-width: 992px) {
    .navbar {
        display: none;
    }
}
