/* ============================================================
   Sir Sigorta – HEADER (Footer ile uyumlu sade kurumsal stil)
============================================================ */

:root {
    --insurance-red: #9B0A0A;
    --insurance-black: #0D0D0D;
    --insurance-text: #333333;
    --insurance-border: #e5e5e5;
    --insurance-header-height: 80px;

    /* Ana content container ile aynı genişlik */
    --insurance-container-width: 1200px;
}

/* HEADER WRAPPER */

.insurance-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--insurance-header-height);
    background-color: #ffffff;
    border-bottom: 1px solid var(--insurance-border);
    z-index: 1000;

    display: flex;
    align-items: center;
}

.insurance-header-inner {
    width: 100%;
    max-width: var(--insurance-container-width);  /* .insurance-container ile aynı */
    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* LOGO */

.insurance-header-logo img {
    height: 40px;
    width: auto;
    display: block;
    transform: translateY(-2px);
}

/* NAVIGATION */

.insurance-header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

.insurance-header-nav-link {
    font-size: 14px;
    color: var(--insurance-text);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color .2s ease;
}

.insurance-header-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--insurance-red);
    transition: width .2s ease;
}

.insurance-header-nav-link:hover {
    color: var(--insurance-black);
}

.insurance-header-nav-link:hover::after {
    width: 100%;
}

/* RIGHT SIDE (LANG + BURGER) */

.insurance-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: 24px;
}

/* LANGUAGE SWITCH */

.insurance-header-lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #777;
}

.insurance-header-lang {
    padding: 4px 8px;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.insurance-header-lang-active {
    background-color: rgba(155, 10, 10, 0.12);
    color: var(--insurance-red);
    font-weight: 600;
}

.insurance-header-lang-separator {
    color: #aaa;
}

/* BURGER BUTTON – DESKTOP HIDDEN */

.insurance-header-menu-toggle {
    display: none;
    width: 30px;
    height: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.insurance-header-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #222;
    margin: 4px 0;
    transition: transform .25s ease, opacity .25s ease;
}

/* BURGER OPEN STATE */

.insurance-header-menu-toggle.insurance-header-menu-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.insurance-header-menu-toggle.insurance-header-menu-open span:nth-child(2) {
    opacity: 0;
}

.insurance-header-menu-toggle.insurance-header-menu-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 960px) {

    .insurance-header {
        height: 70px;
    }

    .insurance-header-inner {
        max-width: 100%;
        padding: 0 16px;
        gap: 16px;
    }

    .insurance-header-logo img {
        height: 34px;
        transform: translateY(-1px);
    }

    .insurance-header-menu-toggle {
        display: block;
    }

    .insurance-header-right {
        margin-left: 12px;
    }

    .insurance-header-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 1px solid var(--insurance-border);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform .25s ease, opacity .25s ease;
        z-index: 900;
    }

    .insurance-header-nav-list {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px 20px;
        gap: 10px;
    }

    .insurance-header-nav-link {
        font-size: 14px;
    }

    .insurance-header.insurance-header-nav-open .insurance-header-nav {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

/* Menü açıkken body scroll kilidi */

body.insurance-body-nav-open {
    overflow: hidden;
}
