/* ─── Apple-style Design System ─────────────────────────────────────── */

:root {
    --bg: #e5e9eb;
    --surface: #fff;
    --text: #1d1d1f;
    --muted: #86868b;
    --accent: #0071e3;
    /* Display (vitrin) fontu: hero başlığı vb. Görünüm'de font çifti seçiliyse
       _Layout bu token'ı seçili başlık fontuyla ezer. */
    --font-display: 'Playfair Display', Georgia, serif;
    --border: rgba(0, 0, 0, .08);
    --radius: 18px;
    --shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);

    --bs-primary: var(--accent);
    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
    --bs-font-sans-serif: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
    --bs-border-radius: var(--radius);
    --bs-card-border-color: var(--border);
    --bs-card-bg: var(--surface);
}

[data-theme="dark"] {
    --bg: #000;
    --surface: #1d1d1f;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --accent: #2997ff;
    --border: rgba(255, 255, 255, .1);
    --shadow: 0 1px 3px rgba(0, 0, 0, .5);

    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
}

/* ─── Base ───────────────────────────────────────────────────────────── */

/* Geniş ekranda içerik alanı 1440px'e kadar açılır (banner-shell ile hizalı) */
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1440px;
    }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', var(--bs-font-sans-serif);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background .3s cubic-bezier(.4, 0, .2, 1), color .3s cubic-bezier(.4, 0, .2, 1);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color .25s cubic-bezier(.4, 0, .2, 1);
}

a:hover { color: var(--accent); opacity: .8; }

img { max-width: 100%; display: block; }

/* ─── Glass effect ───────────────────────────────────────────────────── */

.glass {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--border);
}

[data-theme="dark"] .glass {
    background: rgba(0, 0, 0, .6);
}

/* ─── Bootstrap overrides ────────────────────────────────────────────── */

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: box-shadow .3s cubic-bezier(.4, 0, .2, 1), transform .3s cubic-bezier(.4, 0, .2, 1);
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .06), 0 16px 40px rgba(0, 0, 0, .1);
    transform: translateY(-2px);
}

[data-theme="dark"] .card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .6), 0 16px 40px rgba(0, 0, 0, .7);
}

.card-body { padding: 1.75rem; }

.btn {
    border-radius: 999px;
    font-weight: 500;
    letter-spacing: -.01em;
    padding: .55rem 1.4rem;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s cubic-bezier(.4, 0, .2, 1), background .2s, border-color .2s;
}

.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(.98); }

.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    border-radius: 999px;
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    opacity: .88;
    box-shadow: 0 4px 16px rgba(0, 113, 227, .35);
}

[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 4px 16px rgba(41, 151, 255, .4);
}

.btn-outline-primary {
    color: var(--accent);
    border-color: var(--accent);
    border-radius: 999px;
}

.btn-outline-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.02);
}

.btn-secondary {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
    border-radius: 999px;
}

.btn-secondary:hover {
    background: var(--bg);
    border-color: var(--muted);
    color: var(--text);
    transform: scale(1.02);
}

/* ─── Form controls ──────────────────────────────────────────────────── */

.form-control,
.form-select {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    transition: border-color .25s, box-shadow .25s;
}

.form-control:focus,
.form-select:focus {
    background: var(--surface);
    border-color: var(--accent);
    color: var(--text);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, .15);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    box-shadow: 0 0 0 3px rgba(41, 151, 255, .2);
}

.form-control::placeholder { color: var(--muted); }

/* ─── Navbar ─────────────────────────────────────────────────────────── */

.navbar {
    background: rgba(255, 255, 255, .8) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: background .3s;
}

[data-theme="dark"] .navbar {
    background: rgba(0, 0, 0, .75) !important;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--text) !important;
}

.nav-link {
    color: var(--text) !important;
    font-weight: 400;
    opacity: .85;
    transition: opacity .2s;
    border-radius: 8px;
    padding: .4rem .75rem !important;
}

.nav-link:hover { opacity: 1; background: var(--border); }
.nav-link.active { opacity: 1; font-weight: 600; }

/* ─── Dropdown ───────────────────────────────────────────────────────── */

.dropdown-menu {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: .5rem;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.dropdown-item {
    color: var(--text);
    border-radius: 8px;
    padding: .45rem .85rem;
    font-size: .9375rem;
    transition: background .15s;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--bg);
    color: var(--text);
}

/* ─── Section / Container helpers ───────────────────────────────────── */

section {
    padding: 5rem 0;
}

.section-sm { padding: 3rem 0; }
.section-lg { padding: 8rem 0; }

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.15;
    color: var(--text);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ─── Typography ─────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
    color: var(--text);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.375rem, 2.5vw, 2rem); }
h4 { font-size: 1.375rem; }

p { line-height: 1.75; }

.text-muted { color: var(--muted) !important; }

/* ─── Hero ───────────────────────────────────────────────────────────── */

.hero {
    padding: 7rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 113, 227, .12) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="dark"] .hero::before {
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(41, 151, 255, .15) 0%, transparent 70%);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.05;
}

.hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--muted);
    max-width: 640px;
    margin: 1.25rem auto 2.5rem;
    line-height: 1.6;
}

/* ─── Product card ───────────────────────────────────────────────────── */

.product-card {
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .3s cubic-bezier(.4, 0, .2, 1), transform .3s cubic-bezier(.4, 0, .2, 1);
}

.product-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .06), 0 16px 40px rgba(0, 0, 0, .12) !important;
    transform: translateY(-4px);
}

.product-card img {
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.product-card:hover img { transform: scale(1.04); }

/* ─── Category card ──────────────────────────────────────────────────── */

.category-card {
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s cubic-bezier(.4, 0, .2, 1);
}

.category-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .14) !important;
}

/* ─── Badge ──────────────────────────────────────────────────────────── */

.badge {
    border-radius: 999px;
    font-weight: 500;
    letter-spacing: .01em;
    padding: .35em .75em;
}

.badge-accent {
    background: rgba(0, 113, 227, .1);
    color: var(--accent);
}

[data-theme="dark"] .badge-accent {
    background: rgba(41, 151, 255, .15);
}

/* ─── Blog ───────────────────────────────────────────────────────────── */

.blog-content h1,
.blog-content h2,
.blog-content h3 {
    margin-top: 2rem;
    margin-bottom: .75rem;
}

.blog-content p { line-height: 1.85; }

.blog-content img { border-radius: 14px; margin: 1.5rem 0; }

.blog-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ─── Prose ──────────────────────────────────────────────────────────── */

.prose img { border-radius: 14px; }

/* ─── Footer ─────────────────────────────────────────────────────────── */

footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3.5rem 0 2rem;
    color: var(--muted);
    font-size: .9375rem;
}

footer a { color: var(--muted); transition: color .2s; }
footer a:hover { color: var(--text); }

/* ─── Divider ────────────────────────────────────────────────────────── */

hr {
    border: none;
    border-top: 1px solid var(--border);
    opacity: 1;
}

/* ─── Scrollbar (webkit) ─────────────────────────────────────────────── */

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ─── Utilities ──────────────────────────────────────────────────────── */

.surface { background: var(--surface); }
.bg-surface { background: var(--surface) !important; }
.text-accent { color: var(--accent) !important; }
.border-subtle { border-color: var(--border) !important; }
.radius { border-radius: var(--radius) !important; }
.radius-sm { border-radius: 10px !important; }
.radius-xs { border-radius: 6px !important; }
.shadow-card { box-shadow: var(--shadow) !important; }

/* ─── Alert ──────────────────────────────────────────────────────────── */

.alert {
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
}

/* ─── Table ──────────────────────────────────────────────────────────── */

.table {
    color: var(--text);
}

.table > :not(caption) > * > * {
    background-color: transparent;
    border-bottom-color: var(--border);
    color: var(--text);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(0, 0, 0, .02);
    color: var(--text);
}

[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(255, 255, 255, .03);
}

/* ─── Modal ──────────────────────────────────────────────────────────── */

.modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .25);
}

.modal-header {
    border-bottom-color: var(--border);
}

.modal-footer {
    border-top-color: var(--border);
}

/* ─── Pagination ─────────────────────────────────────────────────────── */

.page-link {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
    border-radius: 8px !important;
    margin: 0 2px;
    transition: background .2s, color .2s;
}

.page-link:hover {
    background: var(--bg);
    border-color: var(--accent);
    color: var(--accent);
}

.page-item.active .page-link {
    background: var(--accent);
    border-color: var(--accent);
}

/* ─── Responsive grid helpers ────────────────────────────────────────── */

@media (max-width: 575.98px) {
    section { padding: 3rem 0; }
    .hero { padding: 4rem 0 3rem; }
    .card-body { padding: 1.25rem; }
    h1 { letter-spacing: -.03em; }
}

@media (max-width: 767.98px) {
    .section-lg { padding: 5rem 0; }
    .navbar .btn { display: none; }
}

@media (min-width: 992px) {
    .hero { padding: 9rem 0 7rem; }
}

/* ─── Smooth page transition ─────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
    .fade-up {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity .5s cubic-bezier(.4, 0, .2, 1), transform .5s cubic-bezier(.4, 0, .2, 1);
    }

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* ─── Floating Header ────────────────────────────────────────────────── */

:root { --header-h: 64px; --ann-h: 0px; }
@media (min-width: 992px) { :root { --header-h: 80px; } }

/* --ann-h: header üstü duyuru çubuğu yüksekliği. Çubuk yoksa 0 (DuyuruCubugu bileşeni aktifken
   :root'u 44px'e çeker; kapatılınca JS 0'a döndürür). Header ve body bu değişkenle kayar. */
body { padding-top: calc(var(--header-h) + var(--ann-h)); }

.site-header-float {
    position: fixed;
    top: var(--ann-h);
    left: 0;
    right: 0;
    z-index: 1040;
    padding-top: 8px;
}

.site-header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
    border-radius: 24px;
    border: 1px solid transparent;
    transition: background .35s cubic-bezier(.4,0,.2,1), border-color .35s, backdrop-filter .35s;
}

@media (min-width: 992px) { .site-header-inner { padding: 0 3rem; } }

/* Kaydırılınca buzlu siyah cam — logo ve linkler beyaz kalır (her iki temada aynı) */
.site-header-float.scrolled .site-header-inner {
    background: rgba(12, 12, 14, .62);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-color: rgba(255, 255, 255, .12);
}

.site-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 0;
    transition: padding .2s cubic-bezier(.4,0,.2,1);
}

@media (min-width: 992px) {
    .site-header-row { padding: 1.375rem 0; gap: 3.5rem; }
    .site-header-float.scrolled .site-header-row { padding: .875rem 0; }
}

.site-header-logo { flex-shrink: 0; text-decoration: none !important; }

.site-header-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.site-header-link {
    font-size: .875rem;
    color: #fff;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color .15s, opacity .15s;
}
.site-header-link:hover { color: #fff; opacity: .75; }

/* Ana menü dropdown — Çalışmalar / Hizmetler alt listeleri */
.site-header-dd { position: relative; }
.site-header-dd-ok { font-size: .55rem; margin-left: .1rem; display: inline-block; transition: transform .2s; }
.site-header-dd:focus-within .site-header-dd-ok,
.site-header-dd.is-open .site-header-dd-ok { transform: rotate(180deg); }
.site-header-dd-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    min-width: 230px;
    padding: .5rem;
    margin: 0;
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 30;
}
/* Link ile panel arasındaki 10px boşlukta hover kopmasın diye görünmez köprü */
.site-header-dd-panel::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}
/* Fare varsa üzerine gelince açılır. Dokunmatikte hover diye bir şey yok —
   orada ilk dokunuş .is-open ekler (Header.cshtml), ikinci dokunuş sayfaya gider. */
@media (hover: hover) and (pointer: fine) {
    .site-header-dd:hover .site-header-dd-panel {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    .site-header-dd:hover .site-header-dd-ok { transform: rotate(180deg); }
}
.site-header-dd:focus-within .site-header-dd-panel,
.site-header-dd.is-open .site-header-dd-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
/* Panel hiçbir zaman ekranın dışına taşmasın */
.site-header-dd-panel { max-width: calc(100vw - 2rem); }
.site-header-dd-panel a { min-height: 44px; display: flex; align-items: center; }
.site-header-dd-panel a {
    display: block;
    padding: .5rem .85rem;
    font-size: .875rem;
    color: var(--text);
    text-decoration: none;
    border-radius: 10px;
    white-space: nowrap;
}
.site-header-dd-panel a:hover { background: var(--bg); }

/* Not: mobil menü artık kendi beyaz zeminine (--surface) sahip, bu yüzden
   "scrolled" durumunda linkleri beyaza çeviren eski kurallar kaldırıldı —
   beyaz zemin üstünde beyaz yazı görünmez oluyordu. Hamburger de her zaman
   beyaz çizgili cam zemin kullandığı için ayrı bir scrolled kuralına gerek yok. */

.site-header-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}

/* Bölünmüş menü: logo ortada, ana menü sağ-sol yarım (yalnız desktop; mobilde hamburger).
   Grid 1fr|auto|1fr → yan içerikler eşit olmasa da logo daima tam merkezde. */
.site-header-side-right { display: flex; align-items: center; gap: 1.5rem; min-width: 0; }
@media (min-width: 992px) {
    .site-header-row { display: grid; grid-template-columns: 1fr auto 1fr; }
    .site-header-menu-left  { justify-content: flex-end; }  /* öğeler logoya yaslanır */
    .site-header-menu-right { justify-content: flex-start; }
}

/* Hamburger — üç çizgi X'e dönüşür. Kendi buzlu cam zemini var: header hero
   görselinin üstünde şeffaf olduğu için düz siyah ikon koyu görsellerde
   kayboluyordu. Zemin sayesinde her arka planda okunur. Hedef 44x44. */
.site-header-burger {
    position: relative;
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    background: rgba(18, 18, 20, .45);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    transition: background .25s, border-color .25s;
}
.site-header-burger:hover,
.site-header-burger[aria-expanded="true"] {
    background: rgba(18, 18, 20, .68);
    border-color: rgba(255, 255, 255, .6);
}
.burger-cizgi {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), opacity .2s ease;
}
.site-header-burger[aria-expanded="true"] .burger-cizgi:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header-burger[aria-expanded="true"] .burger-cizgi:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.site-header-burger[aria-expanded="true"] .burger-cizgi:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .burger-cizgi { transition: none; } }

.site-header-mobile-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height .35s cubic-bezier(.4,0,.2,1);
}
/* Sabit 640px sınırı listenin altını kesiyordu (koleksiyon + hizmet sayısı
   değişken). Ekran yüksekliğine bağlanır ve panel kendi içinde kaydırılır. */
.site-header-mobile-panel.open {
    max-height: calc(100dvh - var(--header-h) - var(--ann-h) - 1.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* Menünün kendi zemini olmalı: header hero üstünde şeffaf olduğu için panel
   arkasındaki görsel maddelerin arasından görünüyor ve metin okunmuyordu. */
.site-header-mobile-menu {
    list-style: none;
    padding: .5rem .9rem;
    margin: .25rem 0 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.site-header-mobile-oge + .site-header-mobile-oge { border-top: 1px solid var(--border); }

.site-header-mobile-satir { display: flex; align-items: center; gap: .5rem; }
.site-header-mobile-link {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 48px;
    color: var(--text);
    font-size: .9375rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: color .15s;
}
.site-header-mobile-link:hover { color: var(--accent); opacity: 1; }

/* Alt listeyi açan ok — ana linke basmak sayfaya gider, ok listeyi açar */
.site-header-mobile-ac {
    width: 44px;
    min-height: 44px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    padding: 0;
    color: var(--muted);
    cursor: pointer;
}
.site-header-mobile-ac i { transition: transform .25s cubic-bezier(.4, 0, .2, 1); }
.site-header-mobile-oge.acik .site-header-mobile-ac i { transform: rotate(180deg); }

/* Alt liste: kapalı başlar, sol çizgiyle ana maddeye bağlanır (hiyerarşi) */
.site-header-mobile-alt-liste {
    list-style: none;
    margin: 0 0 0 .35rem;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    border-left: 2px solid var(--border);
    transition: max-height .3s cubic-bezier(.4, 0, .2, 1);
}
.site-header-mobile-oge.acik .site-header-mobile-alt-liste {
    max-height: 60vh;
    overflow-y: auto;
    margin-bottom: .5rem;
}
.site-header-mobile-alt {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: .25rem 0 .25rem 1rem;
    color: var(--muted);
    font-size: .875rem;
    text-decoration: none !important;
}
.site-header-mobile-alt:hover { color: var(--text); }
@media (prefers-reduced-motion: reduce) {
    .site-header-mobile-panel, .site-header-mobile-alt-liste,
    .site-header-mobile-ac i { transition: none; }
}

.site-header-mobile-auth { padding: .75rem 0 .25rem; }

/* ─── Hero v2 (video / image background) ────────────────────────────── */

.hero-v2 {
    position: relative;
    overflow: hidden;
    background: var(--bg);
    margin-top: calc(-1 * var(--header-h));
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 5rem;
    /* svh = adres çubuğu açıkken görünen yükseklik; 100vh mobilde taşar ve
       kaydırma sırasında zıplar. vh satırı destek vermeyen tarayıcılar için. */
    min-height: 100vh;
    min-height: 100svh;
}

@media (min-width: 768px)  { .hero-v2 { padding-top: calc(var(--header-h) + 5rem); padding-bottom: 7rem; } }
@media (min-width: 992px)  { .hero-v2 { padding-top: calc(var(--header-h) + 10rem); padding-bottom: 9rem; } }

.hero-v2-bg {
    position: absolute;
    inset: 4px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,.08);
}
@media (min-width: 992px) { .hero-v2-bg { border-radius: 48px; } }
[data-theme="dark"] .hero-v2-bg { border-color: rgba(255,255,255,.05); }

.hero-v2-bg video {
    width: 100%; height: 100%; object-fit: cover; display: block;
    opacity: .5; filter: invert(1);
}
[data-theme="dark"] .hero-v2-bg video { opacity: .35; filter: invert(0); }
@media (min-width: 992px) { [data-theme="dark"] .hero-v2-bg video { opacity: .75; } }

.hero-v2-bg img {
    width: 100%; height: 100%; object-fit: cover; display: block; opacity: .3;
}
[data-theme="dark"] .hero-v2-bg img { opacity: .2; }

.hero-v2-content {
    position: relative;
    z-index: 10;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 992px) { .hero-v2-content { padding: 0 3rem; } }

.hero-v2-text { max-width: 42rem; text-align: center; margin: 0 auto; }
@media (min-width: 992px) { .hero-v2-text { text-align: left; margin: 0; max-width: 100%; } }

.hero-v2-h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1.05;
    max-width: 32rem;
    margin: 0 auto 2rem;
    color: var(--text);
}
@media (min-width: 992px) { .hero-v2-h1 { margin: 0 0 2rem; } }

.hero-v2-lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--muted);
    max-width: 36rem;
    margin: 0 auto 2.5rem;
}
@media (min-width: 992px) { .hero-v2-lead { margin: 0 0 2.5rem; } }

.hero-v2-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    margin-bottom: 0;
}
@media (min-width: 576px) { .hero-v2-btns { flex-direction: row; justify-content: center; } }
@media (min-width: 992px) { .hero-v2-btns { justify-content: flex-start; } }

/* ─── Hero caption (carousel) ───────────────────────────────────────────
   Editoryal düzen: içerik alta toplanır — küçük display başlık, hemen
   altında alt başlık + açıklama (sol) ve sosyal linkler (sağ).
   Kapsayıcı tüm slaytı kaplar; tıklamayı engellememesi için pointer-events
   kapalı, içindeki link/butonlarda açık. */
.hero-caption {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    padding: clamp(1.5rem, 4vw, 4.5rem);
    text-align: left;
    color: #fff;
    pointer-events: none;
}
.hero-caption a, .hero-caption .btn { pointer-events: auto; }

.hero-caption-title {
    margin: auto 0 1.25rem;   /* üst auto → başlık alt bloğun hemen üstüne oturur */
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(.95rem, 1.2vw, 1.2rem);
    line-height: 1.2;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: #fff;
}
.hero-caption-satir { display: block; }

.hero-caption-bottom {
    /* Başlık varsa boşluğu o iter; başlık yoksa blok yine dibe yaslanır */
    margin-top: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}
.hero-caption-bottom:first-child { margin-top: auto; }
.hero-caption-alt {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.5vw, 1.75rem);
    line-height: 1.35;
    text-transform: uppercase;
    margin: 0 0 1.25rem;
    color: #fff;
}
.hero-caption-desc {
    max-width: 30rem;
    font-size: .95rem;
    line-height: 1.9;
    margin: 0;
    color: rgba(255, 255, 255, .72);
}
/* Hero butonu — sprite-mask hover efekti: beyaz pill buton hover'da 70 karelik
   organik mask animasyonuyla eriyip alttaki ghost (kenarlıklı, beyaz metin)
   katmanı gösterir. Mask desteklemeyen tarayıcıda düz btn-light kalır. */
.hero-btn-mask {
    position: relative;
    display: inline-block;
    margin-top: 1.5rem;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 1rem;
    overflow: hidden;
    pointer-events: auto;
}
.hero-btn-mask-alt {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    letter-spacing: .01em;
    pointer-events: none;
}
.hero-btn-mask .hero-caption-btn { display: block; margin: 0; border-radius: 1rem; }

@supports ((-webkit-mask-size: 7100% 100%) or (mask-size: 7100% 100%)) {
    .hero-btn-mask .hero-caption-btn {
        -webkit-mask: url('../img/mask-sprite.png');
        mask: url('../img/mask-sprite.png');
        -webkit-mask-size: 7100% 100%;
        mask-size: 7100% 100%;
        -webkit-animation: heroMaskIn .7s steps(70) forwards;
        animation: heroMaskIn .7s steps(70) forwards;
    }
    .hero-btn-mask .hero-caption-btn:hover,
    .hero-btn-mask .hero-caption-btn:focus-visible {
        -webkit-animation: heroMaskOut .7s steps(70) forwards;
        animation: heroMaskOut .7s steps(70) forwards;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-btn-mask .hero-caption-btn,
    .hero-btn-mask .hero-caption-btn:hover,
    .hero-btn-mask .hero-caption-btn:focus-visible {
        -webkit-mask: none;
        mask: none;
        -webkit-animation: none;
        animation: none;
    }
}

/* Açık zemin (banner kartları) varyantı: maske efekti birebir aynı,
   yalnız renkler ters — siyah pill, hover'da koyu kenarlıklı ghost. */
.hero-btn-mask--koyu {
    border-color: rgba(0, 0, 0, .65);
    margin-top: 1.5rem;
}
.hero-btn-mask--koyu .hero-btn-mask-alt { color: var(--text); }
@-webkit-keyframes heroMaskOut {
    from { -webkit-mask-position: 0 0; mask-position: 0 0; }
    to   { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
}
@keyframes heroMaskOut {
    from { -webkit-mask-position: 0 0; mask-position: 0 0; }
    to   { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
}
@-webkit-keyframes heroMaskIn {
    from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
    to   { -webkit-mask-position: 0 0; mask-position: 0 0; }
}
@keyframes heroMaskIn {
    from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
    to   { -webkit-mask-position: 0 0; mask-position: 0 0; }
}

/* ─── Hero hizmet destesi — sağ üstte yelpaze kart carousel ─────────────
   Kartlar Hizmetler'den beslenir; aktif kart önde, arkadakiler sağa doğru
   yelpaze gibi açılır ve hero kenarında kırpılır. Metin paneli aktif kartın
   başlık + kısa açıklamasını gösterir. */
.hero-deck {
    position: absolute;
    top: 50%;
    right: 4vw;
    transform: translateY(-50%);
    z-index: 6;
    /* display artık burada: eskiden Bootstrap'in d-lg-flex sınıfından geliyordu,
       çark mobilde de görünsün diye o sınıf kaldırıldı. */
    display: flex;
    align-items: center;
    gap: 2.75rem;
    pointer-events: auto;
}

.hero-deck-nav { display: flex; gap: .6rem; margin-top: 1.15rem; }
.hero-deck-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.hero-deck-nav button:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .8); }
.hero-deck-stack { touch-action: pan-y; }

.hero-deck-text { width: 280px; text-align: left; }
.hero-deck-text > * { transition: opacity .32s ease, transform .32s ease; }
.hero-deck.degis .hero-deck-text > *,
.hero-deck-text.degis > * { opacity: 0; transform: translateY(8px); }
.hero-deck-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 .75rem;
}
.hero-deck-desc {
    font-size: .9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .72);
    margin: 0 0 1rem;
}
.hero-deck-link {
    color: #fff;
    font-size: .875rem;
    text-decoration: underline !important;
    text-underline-offset: 4px;
}
.hero-deck-link:hover { color: #fff; opacity: .75; }

.hero-deck-stack { position: relative; width: 240px; height: 330px; flex-shrink: 0; }
.hero-deck-card {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: 22px;
    border: 2px solid rgba(255, 255, 255, .92);
    overflow: hidden;
    background: #16130e;
    /* Çarkın dönme merkezi kartın epey altında — küçük açılar geniş bir yay çizer */
    transform-origin: 50% 240%;
    transition: transform .45s cubic-bezier(.22, .61, .21, 1), opacity .32s ease, filter .45s ease;
    will-change: transform;
}
.hero-deck-card picture, .hero-deck-img { display: block; width: 100%; height: 100%; }
.hero-deck-img { object-fit: cover; }
.hero-deck-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55));
}
.hero-deck-card-ad {
    position: absolute;
    left: 1.1rem;
    right: 1.1rem;
    bottom: 1rem;
    z-index: 2;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.hero-deck-ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 5rem;
    color: rgba(255, 255, 255, .16);
    background: radial-gradient(120% 120% at 20% 0%, #2b261e, #121009);
}

/* Çark: tüm kartlar aynı uzak merkez (50% 240%) etrafında döner. Konumlar saf
   rotasyon olduğu için ilerleyince deste bir dişli gibi tek parça çevrilir. */
.hero-deck-card.pos-0 { transform: rotate(0deg); z-index: 5; }
.hero-deck-card.pos-1 { transform: rotate(11deg); z-index: 4; filter: brightness(.58); }
.hero-deck-card.pos-2 { transform: rotate(22deg); z-index: 3; filter: brightness(.4); }
.hero-deck-card.pos-3 { transform: rotate(33deg); z-index: 2; filter: brightness(.28); opacity: .85; }
.hero-deck-card.pos-gizli {
    transform: rotate(44deg) scale(.94);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}
.hero-deck-card.cikis {
    transform: rotate(-16deg) scale(.96);
    opacity: 0;
    z-index: 6;
}

/* ── Çark mobil/tablet düzeni ─────────────────────────────────────────────
   Hero'nun içeriğini artık çark taşıyor (slayt yazısı kaldırıldı), bu yüzden
   dar ekranda gizlenmez; alta ortalanır. Geniş yay 375px'e sığmayacağı için
   burada kartlar yerinde dönen kompakt bir deste hâlini alır. */
@media (max-width: 991.98px) {
    .hero-deck {
        top: auto;
        right: auto;
        left: 50%;
        bottom: 6%;
        transform: translateX(-50%);
        flex-direction: column-reverse;
        align-items: center;
        gap: 1.1rem;
        width: min(92vw, 440px);
    }
    .hero-deck-text { width: 100%; text-align: center; }
    .hero-deck-nav { justify-content: center; }
    .hero-deck-stack { width: 138px; height: 190px; }
    .hero-deck-title { font-size: 1.15rem; margin-bottom: .4rem; }
    .hero-deck-desc {
        font-size: .8125rem;
        line-height: 1.55;
        margin-bottom: .6rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .hero-deck-card { border-width: 1.5px; border-radius: 16px; transform-origin: 50% 50%; }
    .hero-deck-card-ad { left: .7rem; right: .7rem; bottom: .6rem; font-size: .8125rem; }
    /* Yerinde dönen deste: yatay kayma 42px'i geçmez, dar ekranda taşmaz */
    .hero-deck-card.pos-0 { transform: none; }
    .hero-deck-card.pos-1 { transform: translate(14px, -9px) rotate(6deg) scale(.97); }
    .hero-deck-card.pos-2 { transform: translate(28px, -18px) rotate(12deg) scale(.94); }
    .hero-deck-card.pos-3 { transform: translate(42px, -27px) rotate(18deg) scale(.91); }
    .hero-deck-card.pos-gizli { transform: translate(52px, -34px) rotate(23deg) scale(.88); }
    .hero-deck-card.cikis { transform: translate(-40px, 10px) rotate(-12deg) scale(.9); }
}

@media (max-width: 1399.98px) {
    .hero-deck { gap: 2rem; }
    .hero-deck-stack { width: 200px; height: 280px; }
    .hero-deck-text { width: 240px; }
    .hero-deck-title { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-deck-card, .hero-deck-text > * { transition: none; }
}

/* ─── Ana sayfa Çalışmalar bölümü — banner bantlarının devamı ──────────── */
.vitrin-calismalar { padding: 3rem 0 0; background: var(--bg); }
.vitrin-calismalar-ust {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 2.5rem;
    margin-bottom: .75rem;
}
.vitrin-calismalar-ozet { max-width: 26rem; }
.vitrin-calismalar .hero-btn-mask--koyu { margin-top: 2.25rem; }

/* ─── Footer — beyaz zemin, siyah linkler ──────────────────────────────── */
.site-footer {
    background: var(--surface);
    color: var(--text);
    border-top: 1px solid var(--border);
    border-radius: 24px 24px 0 0;
    overflow: hidden;
}
/* Bootstrap'in .container'ı mobilde yalnızca .75rem yan boşluk bırakıyor; header
   (1.5rem / 3rem) ve içerik panelleriyle aynı yatay ritmi tuttururuz. */
.site-footer > .container { padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 992px) {
    .site-footer > .container { padding-left: 3rem; padding-right: 3rem; }
}
.site-footer-baslik {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 1rem;
}
.site-footer-link { color: rgba(0, 0, 0, .65); text-decoration: none; font-size: .875rem; transition: color .2s; }
.site-footer-link:hover { color: #000; }
.site-footer-iletisim li { font-size: .875rem; color: rgba(0, 0, 0, .65); }
.site-footer-sosyal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .15);
    color: rgba(0, 0, 0, .7);
    text-decoration: none;
    transition: background .2s, color .2s;
}
.site-footer-sosyal:hover { background: #000; color: #fff; }

/* Bülten: tek satır pill — input + gömülü yuvarlak gönder butonu */
.bulten-kutu {
    display: flex;
    align-items: center;
    gap: .4rem;
    max-width: 320px;
    width: 100%;
    background: var(--bg);
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: 50rem;
    padding: 4px 4px 4px 1.1rem;
    transition: border-color .2s, box-shadow .2s;
}
.bulten-kutu:focus-within { border-color: rgba(0, 0, 0, .55); box-shadow: 0 0 0 3px rgba(0, 0, 0, .06); }
.bulten-input {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    border: 0;
    background: transparent;
    font-size: .9rem;
    color: var(--text);
    outline: none;
    box-shadow: none;
    border-radius: 50rem;
}
/* Odak halkası kapsülde (focus-within) — input'un kendi tarayıcı halkası kapatılır */
.bulten-input:focus,
.bulten-input:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
    background: transparent;
}
.bulten-input::placeholder { color: rgba(0, 0, 0, .4); }
.bulten-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity .2s, transform .2s;
}
.bulten-btn:hover { opacity: .85; transform: scale(1.05); }
.bulten-btn:active { transform: scale(.96); }
.bulten-btn:disabled { opacity: .5; cursor: default; }

/* ─── İletişim — satırlar ve tam genişlik harita ───────────────────────── */
.iletisim-satir { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: .8rem; }
.iletisim-satir i { color: var(--text); font-size: 1.05rem; flex-shrink: 0; margin-top: .1rem; }
.iletisim-satir a { color: var(--muted); text-decoration: none; }
.iletisim-satir a:hover { color: var(--text); }
.iletisim-satir span { color: var(--muted); }
.iletisim-harita {
    line-height: 0;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.iletisim-harita iframe { width: 100%; height: 560px; border: 0; display: block; }
@media (max-width: 768px) { .iletisim-harita iframe { height: 320px; } }

/* ─── Blog detay — etiketler, yazar kutusu, CTA (E-E-A-T) ──────────────── */
.blog-etiketler { display: flex; flex-wrap: wrap; gap: .5rem; }
.blog-etiket {
    padding: .25rem .8rem;
    border: 1px solid var(--border);
    border-radius: 50rem;
    background: var(--surface);
    color: var(--muted);
    font-size: .8rem;
}
.blog-yazar-kutu {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--text);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.4rem 1.6rem;
    font-size: .95rem;
}
.blog-yazar-baslik { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.blog-yazar-baslik i { font-size: 1.6rem; color: var(--text); }
.blog-yazar-liste { margin: 0; padding-left: 1.2rem; }
.blog-yazar-liste li { margin-bottom: .35rem; }
.blog-cta {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
}
.blog-cta-butonlar { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ─── Ana sayfa Sanat'a Dair (blog) bölümü — carousel ──────────────────── */
.blog-vitrin { padding: 3rem 0 0; background: var(--bg); }
.blog-vitrin-sag { display: flex; align-items: flex-end; gap: 1.75rem; }
.blog-vitrin-nav { display: flex; gap: .6rem; flex-shrink: 0; }
.blog-vitrin-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .3);
    background: transparent;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.blog-vitrin-nav button:hover { background: rgba(0, 0, 0, .06); border-color: rgba(0, 0, 0, .6); }

.blog-vitrin-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem 2px .5rem;
    scrollbar-width: none;
}
.blog-vitrin-track::-webkit-scrollbar { display: none; }

.blog-vitrin-kart {
    flex: 0 0 85%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s;
}
.blog-vitrin-kart:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
@media (min-width: 768px) { .blog-vitrin-kart { flex-basis: calc((100% - 1.5rem) / 2); } }
@media (min-width: 992px) { .blog-vitrin-kart { flex-basis: calc((100% - 4.5rem) / 4); } }

.blog-vitrin-resim { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #14110c; }
.blog-vitrin-resim picture, .blog-vitrin-img { display: block; width: 100%; height: 100%; }
.blog-vitrin-img { object-fit: cover; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.blog-vitrin-kart:hover .blog-vitrin-img { transform: scale(1.04); }
.blog-vitrin-ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: rgba(255, 255, 255, .16);
}
.blog-vitrin-govde { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.blog-vitrin-tarih { font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.blog-vitrin-baslik { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; line-height: 1.35; margin: 0 0 .5rem; }
.blog-vitrin-baslik a { color: var(--text); text-decoration: none; }
.blog-vitrin-ozet {
    color: var(--muted);
    font-size: .875rem;
    line-height: 1.65;
    margin: 0 0 .9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-vitrin .hero-btn-mask--koyu { margin-top: 2rem; }

/* ─── Çalışmalar — koleksiyon kartları ─────────────────────────────────── */
.calismalar-giris {
    max-width: 46rem;
    margin: 0 auto 3rem;
    text-align: center;
}
.calismalar-giris-metin { color: var(--muted); line-height: 1.85; margin-bottom: 1.5rem; }

.calisma-kart {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s;
}
.calisma-kart:hover { transform: translateY(-6px); }
.calisma-kart-resim { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #14110c; }
.calisma-kart-resim picture, .calisma-kart-img { display: block; width: 100%; height: 100%; }
.calisma-kart-img { object-fit: cover; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.calisma-kart:hover .calisma-kart-img { transform: scale(1.04); }
.calisma-kart-ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 4.5rem;
    color: rgba(255, 255, 255, .16);
}
.calisma-kart-sayi {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: .3rem .85rem;
    border-radius: 50rem;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: .8rem;
    letter-spacing: .02em;
}
.calisma-kart-govde { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.calisma-kart-baslik { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin: 0 0 .4rem; }
.calisma-kart-baslik a { color: var(--text); text-decoration: none; }
.calisma-kart-ozet {
    color: var(--muted);
    font-size: .875rem;
    line-height: 1.65;
    margin: 0 0 .9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.calisma-kart-cta {
    margin-top: auto;
    align-self: flex-start;
    color: var(--text);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: 1px solid var(--text);
    padding-bottom: 2px;
    transition: opacity .2s;
}
.calisma-kart-cta:hover { color: var(--text); opacity: .65; }

/* GEO özet kutusu — girişten sonra 2-3 cümlelik alıntılanabilir özet */
.calisma-ozet-kutu {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--text);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.1rem 1.4rem;
    margin: 1.75rem 0 2.25rem;
    color: var(--muted);
    line-height: 1.8;
}
.calisma-ozet-kutu strong { color: var(--text); }

/* ─── Yan panel — sayfa kayarken ekranda sabit kalır, listesi kendi içinde
       kaydırılır (tüm yazılar/hizmetler listelendiği için) ──────────────── */
.yan-panel {
    position: sticky;
    top: calc(var(--header-h) + var(--ann-h) + 1rem);
    max-height: calc(100vh - var(--header-h) - var(--ann-h) - 2rem);
    max-height: calc(100dvh - var(--header-h) - var(--ann-h) - 2rem);
    display: flex;
    flex-direction: column;
}
.yan-panel > .card-body {
    display: flex;
    flex-direction: column;
    min-height: 0;      /* flex çocuğun taşmasını engeller — iç liste kaydırılabilsin */
    overflow: hidden;
}
.yan-panel-liste {
    overflow-y: auto;
    overscroll-behavior: contain;   /* liste bitince sayfa zıplamasın */
    min-height: 0;
    margin-right: -.5rem;
    padding-right: .5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
/* Küçük görsel <picture> ile sarılıdır — flex kutusunda 56px sabit kalmalı */
.yan-panel-liste picture {
    flex: 0 0 56px;
    display: block;
    width: 56px;
    height: 56px;
    border-radius: .375rem;
    overflow: hidden;
}
.yan-panel-liste picture img { width: 100%; height: 100%; object-fit: cover; }

.yan-panel-liste::-webkit-scrollbar { width: 6px; }
.yan-panel-liste::-webkit-scrollbar-track { background: transparent; }
.yan-panel-liste::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.yan-panel-liste::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* Mobil/tablet: tek sütuna inince sabitleme anlamsız — normal akış, liste kısa tutulur */
@media (max-width: 991.98px) {
    .yan-panel { position: static; max-height: none; }
    .yan-panel-liste { max-height: 24rem; }
}

/* ─── Beyaz içerik paneli — çalışma/hizmet/blog detay ortak düzeni ───── */
.calisma-panel,
.icerik-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem;
}
@media (min-width: 992px) { .calisma-panel, .icerik-panel { padding: 2.75rem 2.5rem; } }

/* ─── Çalışma detay — çerçeveli premium galeri ─────────────────────────── */
.calisma-galeri { margin-top: 0; padding: 0; }
.calisma-galeri-baslik { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; text-align: center; margin: 0 0 .35rem; }
.calisma-galeri-alt { text-align: center; color: var(--muted); font-size: .9rem; margin: 0 0 1.75rem; }
.calisma-galeri-grid { columns: 2; column-gap: 1.5rem; }
@media (min-width: 992px) { .calisma-galeri-grid { columns: 4; column-gap: 1.75rem; } }
/* Atölye galerisi: geniş ekranda 3 sütunlu masonry (kareler daha büyük görünür) */
@media (min-width: 992px) { .galeri-atolye-grid { columns: 3; column-gap: 2rem; } }

/* Çerçeve: koyu ahşap ton + paspartu + iç gölge → duvarda asılı eser hissi */
.calisma-cerceve {
    break-inside: avoid;
    margin: 0 0 1.75rem;
    padding: 13px;
    border-radius: 3px;
    background: linear-gradient(150deg, #40372a 0%, #241f18 55%, #191510 100%);
    box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .07);
    cursor: zoom-in;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s;
}
.calisma-cerceve:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 44px -16px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.calisma-cerceve-ic {
    background: #f8f6f1;   /* paspartu */
    padding: clamp(10px, 2.2vw, 22px);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, .2);
}
.calisma-cerceve-ic picture { display: block; }
.calisma-cerceve-img { width: 100%; height: auto; display: block; box-shadow: 0 1px 5px rgba(0, 0, 0, .28); }

.calisma-benzer { display: block; text-decoration: none !important; }
.calisma-benzer picture { display: block; border-radius: var(--radius); overflow: hidden; }
/* Standart kart boyutu: tüm görseller aynı oranda kırpılır (4:3) */
.calisma-benzer-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: var(--radius); transition: transform .4s; }
.calisma-benzer:hover .calisma-benzer-img { transform: scale(1.03); }
.calisma-benzer-ad { display: block; margin-top: .75rem; color: var(--text); font-weight: 600; }

/* Lightbox */
.calisma-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 9, 7, .92);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem;
}
.calisma-lightbox[hidden] { display: none; }
.clb-cerceve {
    margin: 0;
    max-width: min(1100px, 88vw);
    max-height: 86vh;
    padding: 16px;
    background: linear-gradient(150deg, #40372a, #191510);
    border-radius: 3px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
}
.clb-cerceve img {
    display: block;
    max-width: 100%;
    max-height: calc(86vh - 64px);
    background: #f8f6f1;
    padding: 14px;
    box-sizing: border-box;
}
.calisma-lightbox button {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
}
.calisma-lightbox button:hover { background: rgba(255, 255, 255, .2); }
.clb-kapat { top: 1.25rem; right: 1.25rem; }
.clb-geri { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.clb-ileri { right: 1.25rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 767.98px) {
    .calisma-lightbox { padding: 1rem; }
    .clb-geri { left: .5rem; }
    .clb-ileri { right: .5rem; }
}
/* Yatay telefon: ekran ~390px yüksekliğinde — 3.5rem'lik çerçeve görseli boğar */
@media (max-height: 500px) {
    .calisma-lightbox { padding: 1rem; }
    .clb-kapat { top: .5rem; right: .5rem; }
    .clb-geri { left: .5rem; }
    .clb-ileri { right: .5rem; }
}

/* ─── Hizmet detay — uzun içerik (makale) tipografisi ─────────────────── */
/* Hizmetler vitrini — 4'lü dikey kartlar */
.hizmet-kart-resim { display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.hizmet-kart-resim picture, .hizmet-kart-img { display: block; width: 100%; height: 100%; }
.hizmet-kart-img { object-fit: cover; }

/* Panelden gelen zengin metin gövdesi — hizmet detayı ve yasal metinler ortak */
.hizmet-govde, .yasal-icerik { font-size: 1rem; line-height: 1.85; color: var(--text); }
.hizmet-govde p, .yasal-icerik p { margin: 0 0 1.1rem; }
.hizmet-govde h2, .yasal-icerik h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
}
.hizmet-govde h3, .yasal-icerik h3 { font-weight: 600; font-size: 1.15rem; margin: 1.75rem 0 .75rem; }
.yasal-icerik h4 { font-weight: 600; font-size: 1rem; margin: 1.5rem 0 .6rem; }
.hizmet-govde ul, .hizmet-govde ol,
.yasal-icerik ul, .yasal-icerik ol { margin: 0 0 1.25rem; padding-left: 1.35rem; }
.hizmet-govde li, .yasal-icerik li { margin-bottom: .4rem; }
.hizmet-govde table, .yasal-icerik table { margin: 1.25rem 0 1.75rem; }
.hizmet-govde .table, .yasal-icerik .table { --bs-table-bg: transparent; }
.hizmet-govde a, .yasal-icerik a { text-decoration: underline; text-underline-offset: 3px; }
/* İlk başlık panelin üstüne yapışmasın diye üst boşluğu sıfırlanır */
.yasal-icerik > :first-child { margin-top: 0; }

/* Panelden gelen HTML'i tarayıcıya bırakamayız: uzun URL / geniş tablo / gömülü
   iframe mobilde tüm sayfayı yatay kaydırır. İçerik kendi kutusunda taşar. */
.hizmet-govde, .yasal-icerik, .blog-content { overflow-wrap: anywhere; }
.hizmet-govde table, .yasal-icerik table, .blog-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.hizmet-govde pre, .yasal-icerik pre, .blog-content pre {
    max-width: 100%;
    overflow-x: auto;
}
.hizmet-govde img, .yasal-icerik img, .blog-content img { max-width: 100%; height: auto; }
.hizmet-govde iframe, .yasal-icerik iframe, .blog-content iframe { max-width: 100%; }

/* ─── Banner bölümleri (Banner 1: Hakkımda / Banner 2: Kurslar) ─────────
   Editoryal iki kolonlu düzen: serif display başlıklar, letterspaced kicker,
   soluk '|' ayraçları, bol beyaz alan. İçerik admin/BannerAdmin'den gelir. */
.banner-hakkimda, .banner-kurslar { padding: 3rem 0 0; background: var(--bg); }
.banner-hakkimda + .banner-kurslar, .banner-kurslar + .banner-hakkimda { padding-top: 3rem; }

.banner-shell {
    max-width: min(1440px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    background: var(--surface);
    border-radius: 24px;
    box-shadow: var(--shadow);
}
@media (min-width: 992px) { .banner-shell { padding: 3.5rem 3rem; } }

.banner-kicker {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text);
    margin: 0 0 1.75rem;
}
.banner-sep { color: var(--muted); opacity: .55; margin: 0 .5em; font-weight: 400; }

.banner-baslik {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.25rem, 3.4vw, 3.4rem);
    line-height: 1.12;
    letter-spacing: -.01em;
    color: var(--text);
    margin: 0 0 1.75rem;
}
.banner-baslik-satir {
    display: block;
    font-size: clamp(1.05rem, 1.4vw, 1.4rem);
    line-height: 1.3;
}
.banner-kurs-baslik { font-size: clamp(1.9rem, 2.8vw, 2.75rem); margin-bottom: 1.25rem; }

.banner-paragraf {
    color: var(--muted);
    line-height: 1.85;
    max-width: 30rem;
    margin: 0 0 2.5rem;
}

.banner-profil { display: flex; align-items: center; gap: .9rem; }
.banner-profil-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.banner-profil-ad { font-family: var(--font-display); font-size: 1.05rem; color: var(--text); }
.banner-profil-unvan { font-size: .8rem; color: var(--muted); }

.banner-madde-baslik { font-size: .95rem; font-weight: 700; color: var(--text); margin: 0 0 1.1rem; }
.banner-madde-metin { font-size: .9rem; color: var(--muted); line-height: 1.85; margin: 0 0 2.5rem; }

.banner-kurs-figur { margin: 0 0 2.5rem; }
/* Görsel kendi doğal oranında akar — sabit aspect-ratio dikey dev kutular yaratıyordu */
.banner-kurs-gorsel { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.banner-kurs-gorsel-genis { margin-top: .5rem; }

/* ─── Logo Slider ────────────────────────────────────────────────────── */

.logo-slider-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: .25rem 0 .75rem;
}

.logo-slider-wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}
@media (min-width: 768px) {
    .logo-slider-wrap { flex-direction: row; padding: 0 3rem; }
}

.logo-slider-label {
    font-size: .8125rem;
    color: var(--muted);
    white-space: nowrap;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .logo-slider-label { min-width: 8rem; text-align: right; padding-right: 1.5rem; border-right: 1px solid var(--border); }
}

.logo-slider-track-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 1.25rem 0;
    min-width: 0;
}

.logo-slider-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    animation: logo-scroll 36s linear infinite;
}
.logo-slider-track:hover { animation-play-state: paused; }

@keyframes logo-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.logo-slider-track img {
    height: 20px;
    width: auto;
    flex-shrink: 0;
    display: inline-block;
    opacity: .55;
    filter: grayscale(1);
    transition: opacity .2s, filter .2s;
}
[data-theme="dark"] .logo-slider-track img { filter: grayscale(1) invert(1); }
.logo-slider-track img:hover { opacity: 1; filter: none; }

.logo-slider-fade-l {
    position: absolute; inset-y: 0; left: 0; width: 4rem;
    background: linear-gradient(to right, var(--bg), transparent);
    pointer-events: none; z-index: 1;
}
.logo-slider-fade-r {
    position: absolute; inset-y: 0; right: 0; width: 4rem;
    background: linear-gradient(to left, var(--bg), transparent);
    pointer-events: none; z-index: 1;
}

/* ─── Faz 8.5: Accessibility (WCAG AA) ─────────────────────────── */
/* Focus ring — keyboard kullanıcıları için belirgin */
:focus-visible {
    outline: 3px solid #0071e3;
    outline-offset: 2px;
    border-radius: 2px;
}
/* Mouse click'te outline gözükmesin */
:focus:not(:focus-visible) {
    outline: none;
}
/* Skip-link odaklanınca görünür */
.visually-hidden-focusable:focus,
.visually-hidden-focusable:focus-within {
    position: fixed !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
}
/* Reduced motion — kullanıcı animasyon istemiyorsa kapat */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* Form input renk kontrastı — light mode */
input::placeholder, textarea::placeholder {
    color: #6c757d;
    opacity: 1;
}

/* ── Ürün detay: sağ kenarda sabit hızlı aksiyonlar (Yazdır / Teklif İste) ── */
.urun-fixed-actions {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1030;
    flex-direction: column;
    align-items: flex-end;
    gap: .6rem;
    max-width: 100vw;
}
.urun-fixed-actions .uf-print {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.15rem;
    margin-right: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.urun-fixed-actions .uf-teklif {
    display: flex;
    align-items: center;
    border-radius: 2rem 0 0 2rem;
    font-weight: 600;
    padding: .7rem 1.2rem;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

/* ── WhatsApp yüzen buton efekti (SET projesindeki .wa-fab'dan) ──
   Hafif yukarı-aşağı süzülme + yeşil nabız halkası */
.wa-fab { animation: waFloat 3s ease-in-out infinite; }
.wa-fab::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid #25d366; animation: waPulse 2.4s ease-out infinite; pointer-events: none;
}
@keyframes waFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(1.75); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-fab, .wa-fab::before { animation: none; } }

/* ─── Mobil/tablet güvenlik katmanı ────────────────────────────────────────
   Yayın öncesi responsive denetiminde çıkan, bileşene özel olmayan kurallar.
   Tek yerde toplandı ki ileride bir bileşen eklenince gözden kaçmasın. */

/* iOS Safari, font-size'ı 16px'in altında olan bir alana odaklanınca sayfayı
   zorla yakınlaştırır ve geri uzaklaştırmaz. Küçük form alanları da 16px olmalı. */
input.form-control-sm,
select.form-select-sm,
textarea.form-control-sm { font-size: 1rem; }

/* Sayfalama okları parmakla rahat basılabilsin */
.page-link {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Cloudflare Turnstile widget'ı sabit ~300px — dar telefonlarda taşar */
.cf-turnstile { max-width: 100%; overflow-x: auto; }

/* Yan panel liste linkleri: satırın tamamı tıklanabilir ve en az 44px yüksek */
.yan-panel-liste .yan-panel-satir {
    display: flex;
    gap: .5rem;
    align-items: center;
    min-height: 44px;
    padding: .35rem 0;
    text-decoration: none;
    color: var(--text);
}
.yan-panel-liste .yan-panel-satir:hover { color: var(--accent); }

/* Yatay telefonda (yükseklik ~390px) tam ekran kaplayan katmanlar kendi
   içinde kaydırılabilir olmalı; yoksa onay/kapat butonuna hiç ulaşılamaz. */
@media (max-height: 560px) {
    .sp-box, .aism-dialog { max-height: calc(100dvh - 2rem); overflow-y: auto; }
    #cookieBanner { max-height: calc(100dvh - 1rem); overflow-y: auto; }
}

/* Atölye notu + ilgili içerik blokları: yazarın kendi denemesi değil, site
   tarafından eklenen yönlendirme metni. Görsel olarak da ayrışmalı ki okuyucu
   ikisini karıştırmasın. */
.blog-content .blog-atolye-not,
.blog-content .blog-ilgili-ek {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.blog-content .blog-atolye-not h2,
.blog-content .blog-ilgili-ek h2 {
    font-size: 1.15rem;
    letter-spacing: .01em;
    margin-top: 1.5rem;
}
.blog-content .blog-atolye-not > h2:first-child,
.blog-content .blog-ilgili-ek > h2:first-child { margin-top: 0; }
.blog-content .blog-atolye-not p { color: var(--muted); }

/* Blog listeleme kartı görseli — PictureImage <picture> ile sardığı için
   sabit yükseklik yerine oran kutusu kullanılır (tüm kartlar aynı kırpma). */
.blog-kart-resim { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.blog-kart-resim picture, .blog-kart-img { display: block; width: 100%; height: 100%; }
.blog-kart-img { object-fit: cover; }

/* Panelden yüklenen geniş bir logo dar ekranda hamburger butonunu itmesin */
.site-header-logo img { max-width: 42vw; object-fit: contain; }
.site-footer img { max-width: 60vw; object-fit: contain; }
