/* ============================================================
   header.css — contact bar + main site navigation
   ============================================================ */

/* ---- Override Notice Banner ------------------------------- */

.header-notice {
    padding: 14px 0;
    font-size: 26px;
    font-weight: 500;
    text-align: center;
}

.header-notice__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-notice__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* white — subtle notice */
.header-notice--white {
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
}

/* yellow — upcoming */
.header-notice--yellow {
    background: #7a5c00;
    color: #ffe066;
}

.header-notice--yellow .header-notice__icon {
    color: #ffe066;
}

/* red — imminent closure */
.header-notice--red {
    background: #7a1a1a;
    color: #ffcccc;
}

.header-notice--red .header-notice__icon {
    color: #ff6b6b;
}

/* ---- Contact Bar ------------------------------------------ */

.header-contact-bar {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 0;
    font-size: 13px;
}

.header-contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-contact-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.header-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-contact-item:hover {
    color: #d4874f;
}

.header-contact-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.header-contact-item span {
    white-space: nowrap;
}

.header-contact-item.working-hours {
    cursor: default;
    pointer-events: none;
    color: #555;
}

.header-contact-item.working-hours .hours-text {
    font-weight: 600;
}

/* ---- Main Site Header ------------------------------------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Logo row */
.site-header-logo-row {
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.site-logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

.site-logo-text {
    font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f5f5f5;
    letter-spacing: -0.01em;
}

/* Nav row */
.site-header-nav-row {
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

/* Desktop navigation */
.primary-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 8px 14px;
    color: #f5f5f5;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current-page-ancestor > a,
.nav-menu .current_page_item > a {
    color: #d4874f;
    background-color: rgba(212, 135, 79, 0.12);
}

/* Mobile toggle button */
.mobile-menu-toggle {
    display: none;
    padding: 8px;
    border: none;
    background: none;
    cursor: pointer;
    color: #f5f5f5;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #d4874f;
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    display: block;
}

.mobile-menu-toggle .close-icon { display: none; }
.mobile-menu-toggle.is-active .hamburger-icon { display: none; }
.mobile-menu-toggle.is-active .close-icon { display: block; }

/* Mobile nav drawer */
.mobile-nav {
    display: none;
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav.is-open {
    display: block;
}

.mobile-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px 16px;
}

.mobile-nav .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
}

.mobile-nav .nav-menu a {
    font-size: 1rem;
    padding: 10px 14px;
    border-radius: 6px;
}

/* ---- Responsive ------------------------------------------- */

@media (max-width: 768px) {
    .primary-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .site-header-nav-inner {
        justify-content: flex-end;
    }

    /* Contact bar mobile */
    .header-contact-bar {
        padding: 10px 0;
        font-size: 12px;
    }

    .header-contact-items {
        gap: 20px;
        row-gap: 0;
    }

    .header-contact-item svg {
        width: 24px;
        height: 24px;
    }

    /* Hide text labels on mobile, show icons only */
    .header-contact-item span,
    .header-contact-item .with-text,
    .header-contact-item .icon-label {
        display: none;
    }

    /* Working hours row spans full width on mobile */
    .header-contact-item.working-hours {
        order: 10;
        width: 100%;
        justify-content: center;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 10px;
        pointer-events: auto;
    }

    .header-contact-item.working-hours svg {
        width: 18px;
        height: 18px;
    }

    .header-contact-item.working-hours .hours-text {
        display: inline;
        font-size: 14px;
    }

    .header-contact-item.working-hours .hours-range {
        display: inline;
    }
}

@media (max-width: 480px) {
    .header-contact-items {
        gap: 25px;
    }

    .header-contact-item svg {
        width: 28px;
        height: 28px;
    }
}
