/* =========================================================
   HEADER & MAIN NAVIGATION
   ========================================================= */

.site-header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.06));
    background: rgba(11, 13, 16, 0.94);
    backdrop-filter: blur(8px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 120px;
}


/* BRAND & LOGO */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    display: block;
    color: var(--text, #fff);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

.brand-name span {
    color: var(--gold);
}

.brand-text small {
    display: block;
    margin-top: 3px;
    color: var(--muted, #8d98a4);
    font-size: 15px;
    line-height: 1.2;
}


/* MAIN NAVIGATION */
.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: var(--muted, #8d98a4);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold-light);
}


/* =========================================================
   EXPANSION SELECTOR
   ========================================================= */

.expansion-selector {
    position: relative;
}

.expansion-selector select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 220px;
    padding: 10px 10px 10px 14px;
    border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
    border-radius: 6px;
    background: linear-gradient(
        180deg,
        rgba(35, 39, 45, 0.96),
        rgba(20, 23, 27, 0.96)
    );
    color: #e8e8e8;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

/* CUSTOM ARROW */
.expansion-selector::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: translateY(-60%) rotate(45deg);
    pointer-events: none;
    transition: transform 0.2s ease;
}

/* STATES (HOVER / FOCUS / OPEN) */
.expansion-selector select:hover {
    border-color: var(--gold);
}

.expansion-selector select:focus {
    border-color: var(--gold);
    box-shadow: 
        0 0 0 1px color-mix(in srgb, var(--gold) 20%, transparent),
        0 4px 18px rgba(0, 0, 0, 0.35);
}

.expansion-selector:focus-within::after {
    transform: translateY(-20%) rotate(225deg);
}

.expansion-selector select option {
    padding: 8px;
    background: #171a1f;
    color: #e8e8e8;
}


/* RESPONSIVE DESIGN */
@media (max-width: 850px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .main-nav {
        order: 3;
        width: 100%;
        gap: 18px;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .expansion-selector select {
        min-width: 170px;
        font-size: 12px;
    }
}

@media (max-width: 500px) {
    .brand-text small {
        display: none;
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-logo {
        width: 34px;
        height: 34px;
    }
}
