/* ============================================================
   RADHA KRISHNA MANDIR — Header
   Single sticky bar: logo left | nav center/right | hamburger
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #190303;
    box-shadow: 0 1px 0 rgba(197, 160, 89, 0.45), 0 4px 28px rgba(0, 0, 0, 0.55);
}

/* ── Main Row ──────────────────────────────────────────────── */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
    height: 110px;
}

@media (min-width: 768px) {
    .header-inner {
        padding: 0 2rem;
    }
}

/* ── Logo ──────────────────────────────────────────────────── */
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    flex-shrink: 0;
    opacity: .9;
    transition: opacity 0.2s;
}

.header-logo:hover {
    opacity: 1;
}

.header-logo-img {
    width: 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(197, 160, 89, 0.45));
    flex-shrink: 0;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .header-logo-img {
        width: 100px;
    }
}
@media (min-width: 1024px) {
     .header-logo-img:hover {
     	height: 120px;
     	width: 120px;
     }
}


.header-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.header-logo-name {
    font-family: var(--font-heading);
    font-size: clamp(0.92rem, 2.8vw, 1.15rem);
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 2rem;
}

.header-logo-sub {
    font-family: var(--font-body);
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(197, 160, 89, 0.85);
    white-space: nowrap;
    line-height: 1.2rem;
}
@media (min-width: 768px) {
    .header-logo-sub {
        font-size: 0.78rem;
        line-height: 1rem;
    }
}

/* ── Desktop Nav ───────────────────────────────────────────── */
.main-nav {
    display: none;
    align-items: center;
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
    }
}

.nav-link {
    display: inline-block;
    padding: 1.3rem 0.7rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 249, 229, 0.72);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0.7rem;
    right: 0.7rem;
    height: 1.5px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
    border-radius: 1px;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
    color: var(--gold);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* ── Hamburger ─────────────────────────────────────────────── */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.2s;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.07);
}

@media (min-width: 1024px) {
    .hamburger-btn {
        display: none;
    }
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
    transition: all 0.24s ease;
}

.nav-open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Mobile Drawer ─────────────────────────────────────────── */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: #120202;
    border-top: 1px solid rgba(197, 160, 89, 0.15);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav-open .mobile-nav {
    display: flex;
    max-height: 500px;
}

@media (min-width: 1024px) {
    .mobile-nav {
        display: none !important;
    }
}

.mobile-nav .nav-link {
    padding: 0.7rem 1.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(197, 160, 89, 0.07);
    border-radius: 0;
}

.mobile-nav .nav-link:last-child {
    border-bottom: none;
}

.mobile-nav .nav-link::after {
    display: none;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
    background: rgba(197, 160, 89, 0.09);
    padding-left: 2rem;
}

/* ── Language Toggle ──────────────────────────────────────── */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 999px;
    padding: 2px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all 0.2s;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.lang-toggle:hover {
    border-color: var(--gold);
    background: rgba(197, 160, 89, 0.12);
}

.lang-label-en,
.lang-label-ne {
    padding: 4px 10px;
    border-radius: 999px;
    color: rgba(255, 249, 229, 0.5);
    transition: all 0.2s;
    line-height: 1;
}

.lang-label-en.active,
.lang-label-ne.active {
    background: var(--gold);
    color: #1A0505;
}

/* Always visible in header bar (desktop + mobile) */
.header-inner .lang-toggle {
    display: inline-flex;
}

/* Hide duplicate inside mobile drawer since it's always in header */
.mobile-nav .lang-toggle {
    display: none;
}

/* ── Desktop Nav Dropdown ─────────────────────────────────── */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-trigger {
    cursor: default;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 150px;
    background: #1e0606;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    padding: 0.4rem 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger {
    color: var(--gold);
}

.nav-dropdown-item {
    display: block;
    padding: 0.6rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 249, 229, 0.72);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    transition: all 0.15s;
}

.nav-dropdown-item:hover {
    color: var(--gold);
    background: rgba(197, 160, 89, 0.1);
}

/* ── Mobile Nav Dropdown ──────────────────────────────────── */
.nav-dropdown-mobile {
    display: flex;
    flex-direction: column;
}

.nav-dropdown-trigger-mobile {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 0.4rem;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(197, 160, 89, 0.07);
    cursor: pointer;
    font-family: var(--font-body);
    text-align: left;
}

.dropdown-arrow {
    font-size: 0.7em;
    transition: transform 0.2s;
    opacity: 0.6;
}

.nav-dropdown-mobile.open .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.2);
}

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

.nav-dropdown-mobile-item {
    padding-left: 2.5rem !important;
    font-size: 0.72rem !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.04) !important;
}

.nav-dropdown-mobile-item::after {
    display: none;
}

@media (min-width: 1024px) {
    .nav-dropdown-mobile {
        display: none !important;
    }
}