.navbar {
    width: 100%;
    height: 100px;
    border-bottom: 1px solid rgba(120,120,120, 0.2);
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
}

.nav_wrapper {
    width: min(1460px, 90vw);
    display: flex;
    justify-content: space-between;
    justify-items: center;
    align-items: center;
}

.nav_logo_link {
    transform: translateX(-22px);
}

.nav_logo {
    width: 200px;
    transition: var(--transition-speed-fast) all linear;
    cursor: pointer;
}
.nav_logo:hover{
    
    transform: scale(1.15) rotate(-3deg);
}

.nav_link_box {
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
    gap: 32px;
}

.nav_link {
    color: var(--font-color-navlinks);
    transition: var(--transition-speed-fast) all linear;
    font-size: var(--font-size-base);
}
.nav_link:hover{
    cursor: pointer;
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3), 0 0 30px rgba(34, 109, 251, 0.4);
}

/* ── Hamburger (hidden on desktop) ── */
.nav_hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 1001;
    padding: 0;
}
.nav_hamburger span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav_hamburger span:nth-child(1) { top: 0; }
.nav_hamburger span:nth-child(2) { top: 11px; }
.nav_hamburger span:nth-child(3) { top: 22px; }

.nav_hamburger_open span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}
.nav_hamburger_open span:nth-child(2) {
    opacity: 0;
}
.nav_hamburger_open span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}

/* ── Mobile Menu (hidden by default) ── */
.nav_mobile {
    display: none;
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    background: var(--highlite-color);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav_mobile_open {
    max-height: 400px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav_mobile_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 5vw 32px;
    gap: 8px;
}

.nav_mobile_link {
    color: var(--font-color-navlinks);
    font-size: var(--font-size-lg);
    padding: 14px 0;
    width: 100%;
    text-align: center;
    border-radius: var(--border-radius);
    transition: color 0.3s ease, background 0.3s ease;
}
.nav_mobile_link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.04);
}

.nav_mobile_cta {
    margin-top: 12px;
    width: 100%;
    font-family: var(--font-family);
}

/* ── Responsive ── */
@media (max-width: 950px) {
    .nav_link_box,
    .nav_cta {
        display: none;
    }

    .nav_hamburger {
        display: block;
    }

    .nav_mobile {
        display: block;
    }

    .navbar {
        height: 70px;
    }

    .nav_mobile {
        top: 70px;
    }

    .nav_logo {
        width: 190px;
        transform: translateY(5px);
    }

    .nav_logo_link {
        transform: none;
    }
}
