/**
 * Organism: Site Header
 *
 * Reference (saha.org.tr):
 *   Position: absolute, full width, hero üzerinde.
 *   Container: max-width 1600px, padding 0 40px.
 *   Logo: 82×82px.
 *   Actions: lang switcher + search + hamburger.
 *   Transparent variant: beyaz logo/ikonlar.
 *   Solid variant: beyaz bg, siyah logo/ikonlar.
 *
 * @package Saha
 */

.saha-site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--saha-z-header, 100);
    width: 100%;
}

.saha-site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--saha-container-max);
    margin-inline: auto;
    padding: 0 var(--saha-container-padding);
    height: 90px;
}

/* ========================
   Logo
   ======================== */

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

.saha-site-header__logo img {
    width: 90px;
    height: 90px;
    display: block;
}

/* ========================
   Actions
   ======================== */

.saha-site-header__actions {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Buttons (search, menu) */
.saha-site-header__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    color: inherit;
}

/* Search icon: 19×19 */
.saha-site-header__btn--search {
    margin-left: 20px;
    margin-right: 22px;
}

.saha-site-header__btn--search .saha-icon {
    width: 19px;
    height: 19px;
}

/* Hamburger icon: 30×15 */
.saha-site-header__btn--menu .saha-icon {
    width: 30px;
    height: 15px;
}

/* ========================
   Language Switcher
   ======================== */

.saha-site-header__lang {
    display: flex;
    align-items: center;
    gap: 0;
}

.saha-site-header__lang-item {
    font-family: var(--saha-font-primary);
    font-weight: 700;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: uppercase;
    color: inherit;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    margin: 0 5px;
}

.saha-site-header__lang-item.is-active {
    opacity: 1;
}

.saha-site-header__lang-item:hover {
    opacity: 1;
}

/* ========================
   Variant: Transparent
   ======================== */

.saha-site-header--transparent {
    color: #FFFFFF;
}

/* ========================
   Variant: Solid
   ======================== */

.saha-site-header--solid {
    background-color: #FFFFFF;
    color: var(--saha-color-text-primary);
    position: relative;
    padding-top: 45px;
    margin-bottom: 45px;
}

/* ========================
   Responsive
   ======================== */

@media (max-width: 767px) {
    .saha-site-header__inner {
        height: 60px;
        padding: 0 20px;
    }

    .saha-site-header__logo img {
        width: 60px;
        height: 60px;
    }

    .saha-site-header__actions {
        gap: 16px;
    }

    .saha-site-header__btn--search {
        margin-left: 12px;
        margin-right: 12px;
    }

    .saha-site-header__lang {
        display: none;
    }
}
