/*
 * navigation.css — Announcement Bar, Desktop Nav, Hamburger, Mobile Menu
 * HuaHinExpats.info
 */

/* ── Announcement Bar ── */
.announce {
    background: var(--orange);
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
}

.announce a {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 700;
}

/* ── Desktop Navigation ── */
nav {
    position: fixed;
    top: 36px; /* Below announcement bar */
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--blue);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
}

/* ── Site Logo Bar (below nav, above page content) ── */
.site-logo-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white);
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
}

.site-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-logo-bar img,
.site-logo-bar svg {
    height: 90px;
    width: auto;
    max-width: 400px;
    filter: drop-shadow(0 2px 8px rgba(21, 101, 192, 0.15));
}

.nav-links {
    display: flex;
    gap: 6px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--yellow);
}

.nav-links a.active,
.nav-links .current-menu-item a,
.nav-links .current-page-ancestor a {
    background: var(--orange);
    color: white;
}

.nav-cta-btn,
.nav-links .menu-advertise a {
    background: var(--yellow) !important;
    color: var(--dark) !important;
    font-weight: 700 !important;
    padding: 8px 18px !important;
}

.nav-cta-btn:hover,
.nav-links .menu-advertise a:hover {
    background: #FFD54F !important;
}

/* ── Hamburger Button ── */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

/* ── Mobile Menu Overlay ── */
.mobile-menu {
    display: none;
    position: fixed;
    top: 106px; /* announcement bar (36px) + nav (70px) */
    left: 0;
    right: 0;
    background: var(--blue);
    z-index: 190;
    padding: 20px;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

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

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 16px;
    border-radius: 6px;
    transition: background 0.2s;
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.mobile-menu a.mobile-cta {
    background: var(--yellow);
    color: var(--dark);
    font-weight: 700;
    margin-top: 8px;
    text-align: center;
    justify-content: center;
}
