/* ===========================================
   DESKTOP NAVBAR — UNCHANGED
   =========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    height: 50px;
    padding: 0 50px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgb(13, 16, 28, 0.85); /* transparent */
    backdrop-filter: blur(30px);        /* frosted glass */
    -webkit-backdrop-filter: blur(30px);

    /*border-bottom: 1px solid rgba(255,255,255,0.1);*/

    z-index: 1000;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-family: "Poppins", sans-serif;;
    transition: .3s;
}

.nav-links a:hover {
    color: #c5c5c5;
}

/* ===========================================
   HAMBURGER BUTTON (HIDDEN ON DESKTOP)
   =========================================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.3s;
}

/* ===========================================
   MOBILE NAVBAR
   =========================================== */
@media (max-width: 900px) {

    /* Show hamburger on mobile */
    .hamburger {
        display: flex;
    }

    /* Hide normal nav links */
    .nav-links {
        display: none;
        position: absolute;
        top: 65px;
        right: 20px;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(10px);
        flex-direction: column;
        width: 180px;
        padding: 15px 0;
        border-radius: 8px;
        text-align: left;
    }

    .nav-links li {
        padding: 12px 20px;
    }

    .nav-links a {
        font-size: 16px;
        display: block;
    }

    /* When menu is active */
    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    /* Hamburger animation */
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Fade animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}