.hamburger {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 1rem;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

/* Hide hamburger on desktop */
@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
}

/* Hide desktop nav on mobile */
@media (max-width: 767px) {
    .nav-links {
        display: none !important;
    }
}

/* ================================
   OVERLAY MENU
================================ */

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;

    clip-path: circle(0% at 0 0);
    transition: clip-path 0.6s ease-in-out;

    pointer-events: none;
}

/* Active state */
.menu-overlay.active {
    clip-path: circle(150% at 0 0);
    pointer-events: auto;
}
/* ================================
   CLOSE BUTTON
================================ */

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;

    width: 48px;
    height: 48px;

    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    color: white;

    font-size: 24px;
    cursor: pointer;

    z-index: 1002;
}
/* ================================
   OVERLAY LINKS
================================ */

.overlay-links {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;

    /* Center-based reveal */
    transform: translateY(10px);
    transition: transform 0.4s ease 0.25s;
}

.menu-overlay.active .overlay-links {
    transform: translateY(0);
}

.overlay-links a {
    color: white;
    font-size: 2rem;
    text-decoration: none;

    opacity: 0;
    transform: translateY(20px);

    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

/* Reveal links when menu opens */
.menu-overlay.active .overlay-links a {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   STAGGERED ANIMATION
================================ */

.overlay-links a:nth-child(1) {
    transition-delay: 0.25s;
}

.overlay-links a:nth-child(2) {
    transition-delay: 0.3s;
}

.overlay-links a:nth-child(3) {
    transition-delay: 0.35s;
}

.overlay-links a:nth-child(4) {
    transition-delay: 0.4s;
}

.overlay-links a:nth-child(5) {
    transition-delay: 0.45s;
}