/* ============================================================
   Site Header — Halloween Seixal
   New header component (2026 rebuild). Rendered by header.js from
   nav-config.js into <div id="site-header">. Built entirely on
   tokens.css custom properties — no hardcoded colors/spacing here.
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background: #000;
    border-bottom: 1px solid rgb(250 229 162 / 52%);
    box-shadow: var(--shadow-soft);
}

/* ------------------------------------------------------------
   Logo row (above nav icons)
   ------------------------------------------------------------ */
.header-logo-row {
    display: flex;
    justify-content: center;
    padding: var(--space-2) var(--space-4) 0;
}

.header-logo {
    height: 55px;
    width: auto;
}

/* ------------------------------------------------------------
   Nav icons row
   ------------------------------------------------------------ */
.nav-icons-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(var(--space-2), 4vw, var(--space-5));
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-2) var(--space-4);
    overflow-x: auto;
    scrollbar-width: none;
    min-height: var(--header-h);
}

.nav-icons-row::-webkit-scrollbar {
    display: none;
}

.nav-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    flex: 0 0 auto;
}

.nav-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #2a2a2a;
    border: 1px solid #595757;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.nav-icon-circle:hover,
.nav-icon-circle:focus-visible {
    box-shadow: 0 4px 12px rgba(238, 138, 4, 0.4);
}

.nav-icon-circle svg,
.nav-icon-circle img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    object-fit: contain;
}

.nav-icon-label {
    margin: 0;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
}

/* ------------------------------------------------------------
   Small screens: tighten spacing, shrink wordmark
   ------------------------------------------------------------ */
@media (max-width: 480px) {
    .nav-icon-label {
        white-space: normal;
        max-width: 56px;
        font-size: 0.65rem;
        line-height: 1.15;
    }
}

/* ------------------------------------------------------------
   Desktop: space-between stretches the icons too far apart across
   the full 900px row, so switch to a centered, fixed, tighter gap.
   ------------------------------------------------------------ */
@media (min-width: 1025px) {
    .nav-icons-row {
        justify-content: center;
        gap: var(--space-6);
    }
}
