/* ══════════════════════════════════════════════════════════════
   LENSLOOP  —  getlensloop.navbar.floating.css
   Dark floating pill navbar.
   Requires: getlensloop.site.css  +  getlensloop.footer.css
   ══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════
   NAVBAR  — floating pill
   ══════════════════════════════ */
.nav {
    position: sticky;
    top: 18px;
    z-index: 1000;
    padding: 0 18px;
}

.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-radius: 18px;
    background: rgba(22, 59, 58, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: box-shadow .25s ease;
}

.nav.scrolled .nav-inner {
    box-shadow: 0 15px 40px rgba(0, 0, 0, .2);
}

.logo {
    height: 42px;
}

    .logo img {
        height: 100%;
        width: auto;
    }

.nav-links {
    display: flex;
    gap: 28px;
}

    .nav-links a {
        color: rgba(255, 255, 255, .72);
        text-decoration: none;
        font-size: 16px;
        transition: color .2s;
    }

        .nav-links a:hover {
            color: #fff;
        }

/* ── Hamburger ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

    .hamburger span {
        width: 26px;
        height: 2px;
        background: #fff;
        display: block;
    }

/* ── Mobile menu ── */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 18px;
    max-width: var(--max);
    margin: 12px auto 0;
    padding: 22px;
    border-radius: 18px;
    background: rgba(22, 59, 58, .97);
}

    .mobile-menu.open {
        display: flex;
    }

    .mobile-menu a {
        color: #fff;
        text-decoration: none;
        font-size: 16px;
    }

/* ══════════════════════════════
   RESPONSIVE  ≤ 900px
   ══════════════════════════════ */
@media (max-width: 900px) {

    .nav {
        padding: 0 14px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* ══════════════════════════════
   RESPONSIVE  ≤ 600px
   ══════════════════════════════ */
@media (max-width: 600px) {

    .nav-inner {
        padding: 14px 18px;
        border-radius: 16px;
    }

    .logo {
        height: 36px;
    }
}
