/* --- NAVBAR & MOBILE MENU --- */

/* Default Transparent State */
/* Default Dark Charcoal State (Match Hero) */
.navbar {
    background: rgba(30, 30, 36, 0.95) !important;
    /* Charcoal match */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    height: 55px;
    /* Desktop Default */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Tablet Height */
@media (max-width: 991px) {
    .navbar {
        height: 50px;
    }
}

/* Mobile Height */
@media (max-width: 575px) {
    .navbar {
        height: 45px;
    }

    .logo img {
        width: 30px;
        /* Slightly smaller for 45px header */
        height: 30px;
    }

    .logo span {
        font-size: 1rem !important;
    }
}

/* Scrolled State (Glass Effect) */
.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85) !important;
    /* Dark background with transparency */
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    /* Gold border */
}

/* --- LOGO GLOW --- */
.logo a {
    transition: all 0.3s ease;
}

.logo a:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.logo .text-gold {
    text-shadow: 0 0 15px rgba(197, 160, 89, 0.5);
}

/* Force Header Content to 1200px (tighter than body 1280px) */
@media (min-width: 1350px) {
    .navbar .container {
        max-width: 1200px !important;
    }
}

.nav-link {
    color: #fff !important;
    /* White Text */
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link.active {
    color: #c5a059 !important;
    /* Bloom Gold */
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.4);
    transform: scale(1.05);
    opacity: 1 !important;
}

.btn-outline-gold {
    color: #c5a059;
    border-color: #c5a059;
}

.btn-outline-gold:hover {
    background-color: #c5a059;
    color: #000;
}

/* --- MOBILE NAVIGATION --- */
@media (max-width: 991px) {
    .hamburger {
        cursor: pointer;
        display: flex;
        flex-direction: column;
        gap: 6px;
        z-index: 1002;
        transition: all 0.3s ease;
    }
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
#mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    /* Deep Dark */
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#mobile-nav a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

#mobile-nav a:hover {
    color: #c5a059 !important;
    /* Bloom Gold */
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.6);
    transform: scale(1.05);
}

/* Explicit Fix: Ensure hamburger is hidden on desktop (LG+), matching Bootstrap's d-lg-none */
@media (min-width: 992px) {
    .hamburger {
        display: none !important;
    }
}

/* Language Pill Styling */
.lang-pill a {
    color: #fff !important;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.lang-pill a:hover,
.lang-pill a.text-gold {
    color: #c5a059 !important;
    opacity: 1;
}

.lang-pill span {
    opacity: 0.3;
}