/* =========================================================
   NAVBAR — FULLY RESPONSIVE (6 nav items)
========================================================= */

/* ========== HEADER SHELL ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    color: #fff;
    transition: .35s ease;
}

.site-header.scrolled {
    background: rgba(4, 17, 31, .96);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* ========== NAVBAR ========== */
.navbar {
    width: 100%;
    transition: .35s ease;
}

.nav-container {
    width: 92%;
    max-width: 1480px;
    min-height: 84px;
    margin: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

/* ========== LOGO ========== */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: max-content;
}

.logo img {
    width: 145px;
    height: auto;
    object-fit: contain;
}

/* ========== DESKTOP MENU ========== */
.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    min-width: 0;
    flex-wrap: nowrap;
}

.nav-menu li { flex-shrink: 0; }

.nav-menu a {
    position: relative;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .2px;
    white-space: nowrap;
    padding: 8px 0;
    transition: .25s;
    display: inline-block;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--gold-light);
    transition: .3s;
}

.nav-menu a:hover,
.nav-menu a.active { color: var(--gold-light); }

.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }

/* ========== NAV RIGHT ========== */
.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex-shrink: 0;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .7);
    font-size: 10px;
}

.language {
    background: none;
    border: 0;
    color: rgba(255, 255, 255, .55);
    cursor: pointer;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .5px;
    padding: 4px 2px;
    transition: .25s;
    text-decoration: none;
    display: inline-block;
}

.language.active,
.language:hover { color: #fff; }

.language-switcher > span {
    color: rgba(255, 255, 255, .25);
    font-size: 10px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gold);
    color: #fff;
    min-height: 42px;
    padding: 0 18px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .7px;
    white-space: nowrap;
    transition: .3s;
    text-decoration: none;
}

.nav-cta:hover {
    background: #c29c5d;
    transform: translateY(-1px);
}

.nav-cta i { font-size: 9px; }

/* ========== MOBILE TOGGLE ========== */
.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--gold-light);
    background: rgba(4, 20, 36, .7);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
}

.mobile-toggle span {
    width: 17px;
    height: 1.5px;
    background: #fff;
    transition: .3s;
}

.mobile-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ========== MOBILE MENU PANEL ========== */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 18px 6% 26px;
    background: rgba(4, 17, 31, .99);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(215, 189, 135, .2);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .3);
    flex-direction: column;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu > a {
    padding: 15px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .82);
    font-size: 13.5px;
    font-weight: 400;
    transition: .25s;
    display: block;
}

.mobile-menu > a:hover,
.mobile-menu > a.mobile-active {
    color: var(--gold-light);
    padding-left: 12px;
}

.mobile-language {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 6px 14px;
    color: rgba(255, 255, 255, .35);
    font-size: 11px;
}

.mobile-language .language { font-size: 12px; }

.mobile-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    margin-top: 8px;
    background: var(--gold);
    color: #fff !important;
    border: 0 !important;
    font-size: 10px !important;
    font-weight: 600;
    letter-spacing: .8px;
    text-align: center;
    padding: 0 16px !important;
    text-decoration: none;
}

/* =========================================================
   BREAKPOINT 1: 1400px - 1200px
   Slightly tighter spacing
========================================================= */
@media(max-width: 1400px) {
    .nav-container { width: 94%; gap: 18px; }
    .nav-menu { gap: 22px; }
    .nav-menu a { font-size: 11.5px; }
    .nav-right { gap: 16px; }
    .logo img { width: 135px; }
}

/* =========================================================
   BREAKPOINT 2: 1200px - 1050px
   Even tighter
========================================================= */
@media(max-width: 1200px) {
    .nav-container { width: 95%; gap: 15px; }
    .nav-menu { gap: 16px; }
    .nav-menu a { font-size: 11px; }
    .nav-right { gap: 12px; }

    .nav-cta {
        min-height: 40px;
        padding: 0 14px;
        font-size: 9.5px;
        letter-spacing: .5px;
    }

    .nav-cta i { display: none; }
}

/* =========================================================
   BREAKPOINT 3: 1050px and below
   SWITCH TO HAMBURGER MENU
========================================================= */
@media(max-width: 1050px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        min-height: 72px;
        width: 92%;
        gap: 15px;
    }

    .logo img { width: 145px; }

    /* Hide desktop menu + right */
    .nav-menu,
    .nav-right { display: none; }

    /* Show hamburger */
    .mobile-toggle { display: flex; }

    /* Show mobile menu panel */
    .mobile-menu { display: flex; }

    /* Navbar background always visible on mobile */
    .navbar { background: rgba(4, 17, 31, .35); }
}

/* =========================================================
   BREAKPOINT 4: 600px and below
   Smaller everything
========================================================= */
@media(max-width: 600px) {
    .nav-container { width: 94%; min-height: 68px; }
    .logo img { width: 130px; }
    .mobile-toggle { width: 42px; height: 42px; }
    .mobile-toggle span { width: 16px; }

    .mobile-menu { padding: 14px 5% 22px; }
    .mobile-menu > a { font-size: 13px; padding: 14px 5px; }
    .mobile-language .language { font-size: 11px; }
}

/* =========================================================
   BREAKPOINT 5: 420px and below
   Ultra small phones
========================================================= */
@media(max-width: 420px) {
    .nav-container { width: 95%; min-height: 64px; }
    .logo img { width: 120px; }
    .mobile-toggle { width: 40px; height: 40px; }

    .mobile-menu > a { font-size: 12.5px; padding: 13px 4px; }
    .mobile-cta { min-height: 46px; font-size: 9.5px !important; }
}