/* ============================================
   NAVBAR — Navigation
   ============================================ */

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease);
}

.navbar.scrolled {
    background: rgba(15, 13, 10, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    color: var(--gold);
    font-size: 1.4rem;
}

.logo-text-wrapper { display: flex; flex-direction: column; }

.logo-sub {
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.8;
    line-height: 1;
}

.logo-main {
    font-family: var(--font-accent);
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 700;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease);
    letter-spacing: 0.3px;
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.nav-cta {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold)) !important;
    color: var(--night) !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease);
}

.nav-phone:hover {
    background: rgba(212, 168, 83, 0.1);
    border-color: var(--gold);
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--sunset));
    z-index: 1001;
    transition: width 0.05s linear;
    box-shadow: 0 0 8px rgba(212, 168, 83, 0.5);
}

/* Language toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 36px;
    padding: 0 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(212, 168, 83, 0.4);
    background: rgba(255,255,255,0.08);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.lang-toggle:hover {
    background: rgba(212, 168, 83, 0.18);
    border-color: var(--gold);
    transform: translateY(-1px);
    box-shadow: 0 2px 12px rgba(212, 168, 83, 0.2);
}

.lang-toggle:active {
    transform: scale(0.95);
}

.lang-globe {
    width: 15px;
    height: 15px;
    color: var(--gold);
    flex-shrink: 0;
}

.lang-text {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Language transition overlay */
.lang-transitioning [data-i18n] {
    transition: opacity 0.2s ease;
    opacity: 0.3;
}

.lang-flag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.5px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s var(--ease);
    border-radius: 2px;
}
