/* Luxury Fullscreen Overlay Menu */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    z-index: 9000;
    display: none; /* Hide completely when not active */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    padding: 40px 5%;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 80px;
    margin: 20px 0;
    text-align: center;
}

.nav-overlay.active {
    display: flex;
    opacity: 1;
    z-index: 12000; /* Above everything when open */
}

.nav-overlay .menu-link {
    font-family: var(--font-fashion);
    font-size: 1.1rem;
    color: var(--accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin: 3px 0;
    position: relative;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

.nav-overlay.active .menu-link {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for menu items */
.nav-overlay.active .menu-link:nth-child(1) { transition-delay: 0.1s; }
.nav-overlay.active .menu-link:nth-child(2) { transition-delay: 0.15s; }
.nav-overlay.active .menu-link:nth-child(3) { transition-delay: 0.2s; }
.nav-overlay.active .menu-link:nth-child(4) { transition-delay: 0.25s; }
.nav-overlay.active .menu-link:nth-child(5) { transition-delay: 0.3s; }
.nav-overlay.active .menu-link:nth-child(6) { transition-delay: 0.35s; }
.nav-overlay.active .menu-link:nth-child(7) { transition-delay: 0.4s; }
.nav-overlay.active .menu-link:nth-child(8) { transition-delay: 0.45s; }
.nav-overlay.active .menu-link:nth-child(9) { transition-delay: 0.5s; }
.nav-overlay.active .menu-link:nth-child(10) { transition-delay: 0.55s; }

.nav-overlay .menu-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.nav-overlay .menu-link:hover {
    color: var(--accent);
    letter-spacing: 8px;
}

.nav-overlay .menu-link:hover::after {
    width: 100%;
}

/* Updated Overlay Toggle Button */
.overlay-toggle {
    position: fixed;
    left: 40px;
    top: 22px;
    z-index: 13000; /* Must be above the 12000 z-index open overlay so it can be closed */
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.4s ease;
}

.menu-label {
    font-family: var(--font-fashion);
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.overlay-toggle:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.overlay-toggle .hamburger-lines {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.overlay-toggle span {
    width: 20px;
    height: 2px;
    background: var(--accent);
    margin: 2px 0;
    transition: 0.4s;
}

.overlay-toggle:hover span {
    background: #000;
}

.nav-overlay.active ~ .overlay-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: #fff; }
.nav-overlay.active ~ .overlay-toggle span:nth-child(2) { opacity: 0; }
.nav-overlay.active ~ .overlay-toggle span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); background: #fff; }
