/* =====================================
   NAT'S PROJECTS - NAVBAR
   ===================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 5%;
    background: rgba(9,9,9,.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

/* ===== LOGO ===== */

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    transition: var(--transition);
}

.logo:hover {
    color: var(--green);
}

/* ===== LINKS ===== */

.navbar nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar nav a {
    position: relative;
    color: var(--text-secondary);
    font-weight: 600;
}

.navbar nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: width var(--transition);
}

.navbar nav a:hover {
    color: white;
}

.navbar nav a:hover::after {
    width: 100%;
}

/* ===== MOBILE MENU PREPARATION ===== */

.menu-button {
    display: none;

    cursor: pointer;

    font-size: 1.5rem;
    color: white;
}

/* ===== GLASS VARIANT ===== */

.navbar.glass {
    background: rgba(255,255,255,.05);
}
