.navbar {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1000;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding-bottom: 4px;
    transition: 0.3s;
}

.nav-links a.active {
    border-bottom: 3px solid #00E5FF;
    color: #00E5FF;
}

/* Hide hamburger on desktop */
.hamburger {
    display: none;
}

/* Hamburger base */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    margin: 6px 0;
    transition: 0.4s;
}

/* Mobile menu hidden by default */
.nav-links {
    transition: max-height 0.4s ease;
    overflow: hidden;
}

/* ============================
   MOBILE NAV + HAMBURGER
   ============================ */
@media (max-width: 768px) {

    .hamburger {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        background: rgba(0,0,0,0.6);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: max-height 0.4s ease;
    }

    .nav-links.open {
        max-height: 500px; /* enough space for all links */
    }

    .nav-links a {
        padding: 12px 0;
        display: block;
        position: relative;
        z-index: 999;
    }

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

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.site-footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 0.9rem;
}

.site-footer p {
    margin: 0;
}