/* ============================================================
   NAVBAR — Fixed navigation with glassmorphism
   ============================================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-nav);
    padding: 2rem 0;
    background: transparent;
    transition: padding 0.6s ease, background 0.6s ease, backdrop-filter 0.6s ease, border-bottom 0.6s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.nav-left {
    display: flex;
    justify-content: flex-start;
}

.nav-right {
    display: flex;
    justify-content: flex-end;
}

.logo {
    font-size: 2rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: invert(1);
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.82rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    color: var(--text-color);
    font-weight: 500;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold);
}

/* ── Mobile Menu Toggle ─── */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

/* ── Mobile Nav Drawer ─── */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--bg-color);
    z-index: 999;
    padding: 100px var(--space-lg) var(--space-lg);
    transition: right 0.5s var(--ease-out);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a {
    display: block;
    padding: var(--space-sm) 0;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-color);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-fast);
}

.mobile-nav a:hover {
    color: var(--gold);
    padding-left: 10px;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-overlay.open {
    opacity: 1;
}
