/* === Header: Logo + Language Switcher === */

/* ══ LOGO IMAGE ════════════════════════════════ */
.header-logo img, .footer-logo img { display: block; height: 36px; width: auto; }
.footer-logo img { height: 32px; margin-bottom: 16px; }

/* ══ LANGUAGE SWITCHER ═════════════════════════ */
.header-right { display: flex; align-items: center; gap: 16px; }
.lang-switcher, .mobile-lang, .footer-lang { display: flex; gap: 4px; }
a.lang-sw {
    
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--muted);
    padding: 4px 8px;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.2s ease;
}
a.lang-sw:hover { color: var(--text); border-color: var(--card-border); }
a.lang-sw.active { color: var(--teal); border-color: var(--teal); }

/* ══ FOOTER MENU LIST ══════════════════════════ */
.footer-menu-list { list-style: none; padding: 0; margin: 0; }
.footer-menu-list li { margin-bottom: 10px; }
.footer-menu-list li a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-menu-list li a:hover { color: var(--text); }

/* ══ FOOTER BOTTOM LANG ════════════════════════ */
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-lang a.lang-sw { font-size: 10px; }

/* ══ MOBILE LANG ═══════════════════════════════ */
.mobile-lang { padding: 16px 20px 0; border-top: 1px solid var(--card-border); margin-top: 12px; }
.mobile-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 0 0;
    padding: 10px 28px;
    background: transparent;
    color: var(--teal);
    border: 1px solid var(--teal);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 2px;
    width: auto;
}

/* ══ WP NAV MENU — header ══════════════════════ */
.header-nav ul { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.header-nav ul li a {
    display: block;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}
.header-nav ul li a:hover {
    color: var(--teal);
}

/* ── Active / current page indicator ────────── */
.header-nav ul li.current-menu-item > a,
.header-nav ul li.current-menu-parent > a,
.header-nav ul li.current-menu-ancestor > a {
    color: var(--teal) !important;
    position: relative;
}

/* teal underline dot below active link */
.header-nav ul li.current-menu-item > a::after,
.header-nav ul li.current-menu-parent > a::after,
.header-nav ul li.current-menu-ancestor > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--teal);
    border-radius: 2px;
}

/* ══ WP NAV MENU — mobile ══════════════════════ */
.mobile-nav { list-style: none; margin: 0; padding: 0; }
.mobile-nav li a { display: block; padding: 14px 20px; font-size: 15px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--card-border); transition: color .2s; }
.mobile-nav li a:hover { color: var(--teal); }
.mobile-nav li.current-menu-item > a,
.mobile-nav li.current-menu-parent > a {
    color: var(--teal);
    font-weight: 600;
    padding-left: 24px;
    border-left: 3px solid var(--teal);
}

/* ══ MOBILE MENU OVERLAY ════════════════════════
   #mobileMenu is always hidden by default.
   JS adds .open when burger is clicked.
════════════════════════════════════════════════ */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100vh; height: 100dvh;
    background: #061220;
    z-index: 200;
    flex-direction: column;
    padding: 90px 32px 40px;
    overflow-y: auto;
}
.mobile-menu.open { display: flex; }

/* Desktop: hide mobile-only elements */
@media (min-width: 769px) {
    .mobile-menu { display: none !important; }
}

/* Mobile: hide desktop nav, show burger */
@media (max-width: 768px) {
    /* Completely disable old header-nav overlay behaviour —
       #mobileMenu takes over as the full-screen overlay */
    .header-nav { display: none !important; }
    .header-nav.open { display: none !important; }
    /* Keep header-right visible for the lang switcher pill on desktop */
    .header-right .lang-switcher { display: none; }
}

