
.site-header {
    border-bottom: 1px solid rgba(16, 47, 89, .08);
    background:
            linear-gradient(
                    135deg,
                    rgba(255,255,255,.96),
                    rgba(248,250,253,.90)
            );
    box-shadow:
            0 1px 0 rgba(255,255,255,.8) inset,
            0 8px 35px rgba(16,47,89,.055);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
}

/* Header altında çok ince marka çizgisi */
.site-header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    pointer-events: none;
    background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(16,47,89,.18) 20%,
            rgba(215,25,32,.70) 50%,
            rgba(16,47,89,.18) 80%,
            transparent 100%
    );
    opacity: .65;
}

/* Logo */
.site-header .brand {
    position: relative;
    padding-right: 24px;
}

.site-header .brand::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 28px;
    background: linear-gradient(
            to bottom,
            transparent,
            rgba(16,47,89,.16),
            transparent
    );
    transform: translateY(-50%);
}

.site-header .brand-logo {
    transition:
            transform .25s ease,
            filter .25s ease;
}

.site-header .brand:hover .brand-logo {
    transform: translateY(-1px);
    filter: drop-shadow(0 5px 8px rgba(16,47,89,.10));
}


/* ==============================
   NAVIGATION
   ============================== */

.site-header .main-nav {
    gap: 7px;
}

.site-header .nav-link {
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #596a7f;
    font-weight: 700;
    transition:
            color .2s ease,
            background .2s ease,
            border-color .2s ease,
            transform .2s ease,
            box-shadow .2s ease;
}

.site-header .nav-link::after {
    right: 12px;
    bottom: 5px;
    left: 12px;
    width: auto;
    height: 2px;
    border-radius: 20px;
    background: var(--red);
    opacity: 0;
    transform: scaleX(.35);
    transform-origin: center;
    transition:
            opacity .2s ease,
            transform .25s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible {
    border-color: rgba(16,47,89,.07);
    background: rgba(16,47,89,.045);
    color: var(--navy);
    transform: translateY(-1px);
}

.site-header .nav-link:hover::after,
.site-header .nav-link:focus-visible::after,
.site-header .nav-link.is-active::after {
    width: auto;
    opacity: 1;
    transform: scaleX(1);
}

.site-header .nav-link.is-active {
    border-color: rgba(215,25,32,.08);
    background: rgba(215,25,32,.045);
    color: var(--navy);
}


/* ==============================
   DROPDOWN TOGGLE
   ============================== */

.site-header .nav-dropdown-toggle {
    padding-inline: 12px;
}

.site-header .nav-dropdown.is-open .nav-dropdown-toggle {
    border-color: rgba(16,47,89,.09);
    background: #f5f7fa;
    box-shadow: 0 6px 16px rgba(16,47,89,.06);
}


/* ==============================
   MEGA MENU
   ============================== */

.site-header .nav-dropdown > [data-dropdown-menu] {
    padding: 28px;
    border: 1px solid rgba(16,47,89,.09);
    border-radius: 20px;

    background:
            radial-gradient(
                    circle at 100% 0%,
                    rgba(16,47,89,.055),
                    transparent 32%
            ),
            radial-gradient(
                    circle at 0% 100%,
                    rgba(215,25,32,.035),
                    transparent 28%
            ),
            rgba(255,255,255,.985);

    box-shadow:
            0 30px 80px rgba(16,47,89,.14),
            0 8px 25px rgba(16,47,89,.06);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}


/* Mega menu item */
.mega-item {
    margin: 2px -8px;
    padding: 9px 8px;
    border-radius: 12px;
}

.mega-item:hover,
.mega-item:focus-visible {
    border-color: rgba(16,47,89,.08);
    background: rgba(16,47,89,.04);
    box-shadow: 0 6px 18px rgba(16,47,89,.045);
    transform: translateX(2px);
}


/* ==============================
   CTA
   ============================== */

.site-header .header-cta {
    position: relative;
    min-height: 44px;
    padding: 0 19px;
    overflow: hidden;
    border: 1px solid rgba(150,10,17,.10);
    border-radius: 12px;

    background:
            linear-gradient(
                    135deg,
                    #e52a31 0%,
                    #d71920 58%,
                    #c7131a 100%
            );

    box-shadow:
            0 8px 20px rgba(215,25,32,.20),
            inset 0 1px rgba(255,255,255,.22);

    letter-spacing: .055em;

    transition:
            transform .22s ease,
            box-shadow .22s ease;
}

.site-header .header-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -70%;
    width: 45%;
    height: 200%;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.25),
            transparent
    );
    transform: rotate(18deg);
    transition: left .55s ease;
}

.site-header .header-cta:hover::before {
    left: 130%;
}

.site-header .header-cta:hover,
.site-header .header-cta:focus-visible {
    background:
            linear-gradient(
                    135deg,
                    #ed343b,
                    #d71920
            );

    box-shadow:
            0 12px 28px rgba(215,25,32,.27),
            inset 0 1px rgba(255,255,255,.25);

    transform: translateY(-2px);
}


/* ==============================
   MOBILE
   ============================== */

@media (max-width: 1050px) {

    .site-header .brand {
        padding-right: 0;
    }

    .site-header .brand::after {
        display: none;
    }

    .site-header .main-nav {
        padding: 10px;
        border: 1px solid rgba(16,47,89,.10);
        border-radius: 18px;

        background:
                linear-gradient(
                        145deg,
                        rgba(255,255,255,.99),
                        rgba(247,249,252,.98)
                );

        box-shadow:
                0 25px 60px rgba(16,47,89,.16);

        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
    }

    .site-header .nav-link {
        min-height: 46px;
        padding: 0 13px;
        border-radius: 11px;
    }

    .site-header .nav-link::after {
        display: none;
    }

    .site-header .mobile-menu-button {
        border-color: rgba(16,47,89,.10);
        background: rgba(16,47,89,.045);
        box-shadow: inset 0 1px rgba(255,255,255,.8);
        transition:
                background .2s ease,
                transform .2s ease;
    }

    .site-header .mobile-menu-button:hover {
        background: rgba(16,47,89,.08);
    }

    .site-header .mobile-menu-button[aria-expanded="true"] {
        background: var(--navy);
        color: #fff;
        transform: rotate(2deg);
    }
}

@media (max-width: 520px) {

    .site-header {
        background: rgba(255,255,255,.94);
    }

    .site-header::after {
        opacity: .45;
    }
}

/* =========================================================
   YEDIIKLIM — TWO LEVEL HEADER
   ========================================================= */

.site-header {
    height: auto !important;
    background: rgba(255,255,255,.96) !important;
}

/* ---------- TOP BAR ---------- */

.header-topbar {
    height: 32px;
    background: #102f59;
    color: #fff;
}

.header-topbar__inner {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-topbar__brand,
.header-topbar__right {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.header-topbar__brand strong {
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .10em;
}

.header-topbar__location {
    padding-left: 10px;
    border-left: 1px solid rgba(255,255,255,.20);
    color: rgba(255,255,255,.68);
    font-size: 10px;
    font-weight: 600;
}

.header-topbar__dot {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #e52a31;
    box-shadow: 0 0 0 4px rgba(229,42,49,.15);
}

.header-topbar__right {
    color: rgba(255,255,255,.66);
    font-size: 10px;
    font-weight: 600;
}

.header-topbar__right a {
    padding-left: 12px;
    border-left: 1px solid rgba(255,255,255,.20);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
}

.header-topbar__right a:hover {
    color: #ff7d82;
}


/* ---------- MAIN HEADER ---------- */

.site-header .header-container {
    height: 76px;
}

.site-header .brand {
    padding-right: 26px;
}

.site-header .brand-logo {
    width: 145px;
}

.site-header .main-nav {
    align-self: stretch;
}

.site-header .nav-link {
    align-self: center;
}


/* ---------- CTA ---------- */

.site-header .header-cta {
    min-height: 44px;
    padding-inline: 20px;
}


/* Header altındaki eski aşırı glow'u sakinleştir */
.site-header::after {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(215,25,32,.20) 25%,
        #d71920 50%,
        rgba(215,25,32,.20) 75%,
        transparent
    );
}


/* ---------- BODY OFFSET ---------- */
/* Fixed header artık 32 + 76 = 108px */

body {
    padding-top: 108px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 1050px) {

    .header-topbar {
        height: 28px;
    }

    .header-topbar__inner {
        height: 28px;
    }

    .header-topbar__brand strong {
        font-size: 9px;
    }

    .header-topbar__location {
        display: none;
    }

    .header-topbar__right > span {
        display: none;
    }

    .header-topbar__right a {
        border: 0;
        padding: 0;
        font-size: 10px;
    }

    .site-header .header-container {
        height: 68px;
    }

    .site-header .brand-logo {
        width: 125px;
    }

    .site-header .main-nav {
        top: 96px !important;
        max-height: calc(100vh - 108px) !important;
    }

    body {
        padding-top: 96px;
    }
}


@media (max-width: 520px) {

    .header-topbar__brand strong {
        font-size: 8px;
        letter-spacing: .06em;
    }

    .header-topbar__dot {
        width: 5px;
        height: 5px;
    }

    .header-topbar__right a {
        font-size: 9px;
    }

    .site-header .header-container {
        height: 62px;
    }

    .site-header .brand-logo {
        width: 112px;
    }

    .site-header .main-nav {
        top: 90px !important;
        max-height: calc(100vh - 102px) !important;
    }

    body {
        padding-top: 90px;
    }
}


/* =========================================================
   YEDIIKLIM — TWO LEVEL HEADER
   ========================================================= */

.site-header {
    height: auto !important;
    background: rgba(255,255,255,.96) !important;
}

/* ---------- TOP BAR ---------- */

.header-topbar {
    height: 32px;
    background: #102f59;
    color: #fff;
}

.header-topbar__inner {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-topbar__brand,
.header-topbar__right {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.header-topbar__brand strong {
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .10em;
}

.header-topbar__location {
    padding-left: 10px;
    border-left: 1px solid rgba(255,255,255,.20);
    color: rgba(255,255,255,.68);
    font-size: 10px;
    font-weight: 600;
}

.header-topbar__dot {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #e52a31;
    box-shadow: 0 0 0 4px rgba(229,42,49,.15);
}

.header-topbar__right {
    color: rgba(255,255,255,.66);
    font-size: 10px;
    font-weight: 600;
}

.header-topbar__right a {
    padding-left: 12px;
    border-left: 1px solid rgba(255,255,255,.20);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
}

.header-topbar__right a:hover {
    color: #ff7d82;
}


/* ---------- MAIN HEADER ---------- */

.site-header .header-container {
    height: 76px;
}

.site-header .brand {
    padding-right: 26px;
}

.site-header .brand-logo {
    width: 145px;
}

.site-header .main-nav {
    align-self: stretch;
}

.site-header .nav-link {
    align-self: center;
}


/* ---------- CTA ---------- */

.site-header .header-cta {
    min-height: 44px;
    padding-inline: 20px;
}


/* Header altındaki eski aşırı glow'u sakinleştir */
.site-header::after {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(215,25,32,.20) 25%,
        #d71920 50%,
        rgba(215,25,32,.20) 75%,
        transparent
    );
}


/* ---------- BODY OFFSET ---------- */
/* Fixed header artık 32 + 76 = 108px */

body {
    padding-top: 108px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 1050px) {

    .header-topbar {
        height: 28px;
    }

    .header-topbar__inner {
        height: 28px;
    }

    .header-topbar__brand strong {
        font-size: 9px;
    }

    .header-topbar__location {
        display: none;
    }

    .header-topbar__right > span {
        display: none;
    }

    .header-topbar__right a {
        border: 0;
        padding: 0;
        font-size: 10px;
    }

    .site-header .header-container {
        height: 68px;
    }

    .site-header .brand-logo {
        width: 125px;
    }

    .site-header .main-nav {
        top: 96px !important;
        max-height: calc(100vh - 108px) !important;
    }

    body {
        padding-top: 96px;
    }
}


@media (max-width: 520px) {

    .header-topbar__brand strong {
        font-size: 8px;
        letter-spacing: .06em;
    }

    .header-topbar__dot {
        width: 5px;
        height: 5px;
    }

    .header-topbar__right a {
        font-size: 9px;
    }

    .site-header .header-container {
        height: 62px;
    }

    .site-header .brand-logo {
        width: 112px;
    }

    .site-header .main-nav {
        top: 90px !important;
        max-height: calc(100vh - 102px) !important;
    }

    body {
        padding-top: 90px;
    }
}


/* === TWO LEVEL HEADER GEOMETRY FIX === */

body {
    padding-top: 0 !important;
}

.site-header {
    top: 0 !important;
    height: 108px !important;
}

.site-header .header-container {
    height: 76px !important;
    min-height: 76px !important;
}

.site-header .brand {
    height: 76px;
    display: flex;
    align-items: center;
}

.site-header .brand-logo {
    width: 138px !important;
    height: 52px !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
}

.site-header .main-nav {
    height: 76px;
    display: flex;
    align-items: center;
}

.site-header .header-actions {
    height: 76px;
    align-items: center;
}

@media (max-width: 1050px) {
    .site-header {
        height: 96px !important;
    }

    .site-header .header-container,
    .site-header .brand,
    .site-header .header-actions {
        height: 68px !important;
    }

    .site-header .main-nav {
        height: auto;
    }

    .site-header .brand-logo {
        width: 120px !important;
        height: 46px !important;
    }
}

@media (max-width: 520px) {
    .site-header {
        height: 90px !important;
    }

    .site-header .header-container,
    .site-header .brand,
    .site-header .header-actions {
        height: 62px !important;
    }
}


/* === HEADER NAV RECOVERY === */

@media (min-width: 1051px) {
    .site-header .main-nav {
        display: flex !important;
        align-items: center;
        height: 76px;
        overflow: visible;
    }

    .site-header .nav-dropdown > [data-dropdown-menu] {
        display: none !important;
    }

    .site-header .nav-dropdown.is-open > [data-dropdown-menu] {
        display: grid !important;
    }

    .site-header .mobile-education-links {
        display: none !important;
    }
}

@media (max-width: 1050px) {
    .site-header .main-nav {
        display: none !important;
        height: auto !important;
    }

    .site-header .main-nav.is-open {
        display: grid !important;
    }

    .site-header .nav-dropdown > [data-dropdown-menu],
    .site-header .nav-dropdown.is-open > [data-dropdown-menu],
    .site-header .education-mega-menu {
        display: none !important;
    }

    .site-header .nav-dropdown.is-open > .mobile-education-links {
        display: grid !important;
    }
}

