﻿.mobile-nav {
    position:sticky;
    top: 0;
    z-index: 10000;
    display: flex;
    justify-content: flex-start;
    padding: 12px 12px;
    background: transparent;
}

.hamburger {
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    background: rgba(0,0,0,0.85);
    border-radius: 14px;
    cursor:pointer ;
    display: grid;
    place-items: center;
    backdrop-filter: blur(10px)
}

.hamburger-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 30px;
}

    .hamburger-lines > span {
        width: 100% !important;
        height: 3px;
        background: #fff;
        display: block;
    }

.hamburger.is-open .hamburger-lines > span:nth-child(1) {
    transform: translateY(11px) rotate(45deg)
}
.hamburger.is-open .hamburger-lines > span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-open .hamburger-lines > span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg)
}

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(12px);
    display: flex;
    animation: overlayFade .18s ease-out;
}

@keyframes overlayFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.nav-overlay-menu {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    animation: menuPop .22s ease-out;
}

@keyframes menuPop {
    from {
        transform: translateY(10px) scale(.98); 
        opacity: .6
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1
    }
}

.nav-overlay-menu .nav-link {
    margin: 0;
    padding: 10px 18px;
    font-size: clamp(22px, 6vw, 36px);
    letter-spacing: .5px;
}

.nav-overlay-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    font-size: 26px;
    border: 0;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}