/* --- PC VERSION --- */
.header-nav {
    position: absolute;
    width: 100%;
    z-index: 100;
}

.header-nav.on-banner {
    top: 82%;
    left: 50%;
    transform: translateX(-50%);
}

.header-nav .nav-menu {
    display: flex;
    justify-content: center;
    list-style: none !important;
    gap: 50px;
}

.header-nav a {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    position: relative;
    padding: 10px 0;
}

.header-nav a:hover, 
.header-nav a.active {
    color: var(--primary);
    text-shadow: 0 0 15px var(--accent-glow);
}

/* --- MOBIL VERSION (Dold som standard) --- */
@media (max-width: 900px) {
    .header-nav {
        display: none; /* Hide floating links on mobile. */
    }

    /* Display only after the Menu control is activated. */
    .header-nav.nav-active {
        display: flex;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        z-index: 9998;
        justify-content: center;
        align-items: center;
        transform: none;
    }

    .header-nav.nav-active .nav-menu {
        flex-direction: column;
        gap: 35px;
    }

    .header-nav.nav-active a {
        font-size: 1.6rem;
    }
}