.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(17, 24, 39, .08);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(18px);
}

.site-container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.site-topbar {
    background: #111827;
    color: #e5e7eb;
    font-size: 13px;
    font-weight: 700;
}

.site-topbar-inner {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.site-topbar-inner span:last-child {
    color: #fecaca;
}

.site-header-main {
    background: #ffffff;
}

.site-header-inner {
    display: grid;
    grid-template-columns: auto minmax(280px, 520px) 1fr;
    min-height: 82px;
    align-items: center;
    gap: 22px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #111827;
    text-decoration: none;
}

.site-logo img {
    max-height: 44px;
    width: auto;
}

.site-logo-mark {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #dc2626, #7f1d1d);
    color: #ffffff;
    font-weight: 950;
    box-shadow: 0 12px 28px rgba(220, 38, 38, .22);
}

.site-logo-text {
    display: grid;
    gap: 2px;
}

.site-logo-text strong {
    color: #111827;
    font-size: 23px;
    font-weight: 950;
    letter-spacing: -.04em;
}

.site-logo-text em {
    color: #6b7280;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.site-search {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 48px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #f9fafb;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.site-search:focus-within {
    border-color: rgba(220, 38, 38, .55);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, .10);
}

.site-search input {
    min-width: 0;
    height: 48px;
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    outline: 0;
    padding: 0 18px;
}

.site-search input::placeholder {
    color: #9ca3af;
}

.site-search button {
    height: 40px;
    margin-right: 4px;
    border: 0;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    padding: 0 18px;
    transition: background .18s ease, transform .18s ease;
}

.site-search button:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.site-nav-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a,
.site-action {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #374151;
    font-size: 14px;
    font-weight: 850;
    padding: 0 13px;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

.site-nav a:hover,
.site-action:hover {
    background: #f3f4f6;
    color: #111827;
}

.site-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-actions a:last-child,
.site-action-primary {
    background: #dc2626;
    color: #ffffff;
}

.site-actions a:last-child:hover,
.site-action-primary:hover {
    background: #991b1b;
    color: #ffffff;
}

.site-language {
    position: relative;
}

.site-language-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #ffffff;
    color: #374151;
    cursor: pointer;
    font-weight: 900;
    padding: 0 12px;
}

.site-language-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    display: none;
    min-width: 170px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .16);
}

.site-language:hover .site-language-menu,
.site-language:focus-within .site-language-menu {
    display: grid;
}

.site-language-menu a {
    color: #374151;
    font-weight: 800;
    padding: 11px 13px;
    text-decoration: none;
}

.site-language-menu a:hover {
    background: #fef2f2;
    color: #dc2626;
}

.site-menu-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    cursor: pointer;
}

.site-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #111827;
}

.site-menu-toggle em,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.site-main {
    min-height: 62vh;
}

.page-section {
    padding: 52px 0;
}

.page-head {
    margin-bottom: 28px;
}

.page-head h1 {
    margin-bottom: 8px;
    color: #111827;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 950;
    letter-spacing: -.045em;
}



.site-footer {
    border-top: 1px solid rgba(15, 23, 42, .08);
    background: #0f172a;
    color: #cbd5e1;
}

.site-footer-inner {
    display: grid;
    grid-template-columns: minmax(220px, .9fr) minmax(280px, 1.4fr) auto;
    align-items: center;
    gap: 22px;
    min-height: 86px;
    padding-block: 18px;
}

.site-footer-brand strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -.025em;
}

.site-footer-brand p {
    max-width: 390px;
    margin: 5px 0 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.45;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
}

.site-footer-links a {
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.3;
    text-decoration: none;
}

.site-footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer-copy {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}


/* Desktop header: arama alanını daralt, menü linklerini tek satırda tut */
@media (min-width: 1181px) {
    .site-header-inner {
        grid-template-columns: auto minmax(220px, 360px) minmax(0, 1fr);
        gap: 14px;
    }

    .site-search {
        width: 100%;
        max-width: 360px;
        min-height: 44px;
    }

    .site-search input {
        height: 44px;
        padding: 0 14px;
        font-size: 13px;
    }

    .site-search button {
        height: 36px;
        margin-right: 4px;
        padding: 0 14px;
        font-size: 13px;
    }

    .site-nav-wrap {
        min-width: 0;
        justify-content: flex-end;
    }

    .site-nav {
        min-width: 0;
        flex-wrap: nowrap;
        justify-content: flex-end;
        white-space: nowrap;
    }

    .site-nav a,
    .site-action {
        min-height: 38px;
        padding: 0 9px;
        font-size: 13px;
        white-space: nowrap;
    }
}

@media (min-width: 1181px) and (max-width: 1320px) {
    .site-header-inner {
        grid-template-columns: auto minmax(200px, 320px) minmax(0, 1fr);
        gap: 12px;
    }

    .site-search {
        max-width: 320px;
    }

    .site-nav a,
    .site-action {
        padding: 0 8px;
        font-size: 12.5px;
    }
}
