/* MES Technoservice teması — mestechnoservice.com görünümü (default tabanlı) */

:root {
    --color-primary: #1b3a66;
    --color-primary-dark: #0a1628;
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-border: #e5e7eb;
    --color-bg: #ffffff;
    --color-soft: #f3f4f6;
    --color-navy: #0a1628; /* v2: footer ve kurumsal vurgu zemini */
    --color-accent: #e8a33d; /* v2: endüstriyel amber vurgu (world-map.svg ile aynı) */
    --color-ink: #0a1628; /* kart/liste bileşenlerinin vurgu rengi (v2: lacivert) */
    --radius: 8px;
    --container: 1180px; /* 20px iç boşlukla 1140px içerik (orijinal bootstrap container) */
    --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
.content iframe[src*="youtube"], .content iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
a { color: var(--color-primary); }
a:hover { color: var(--color-primary-dark); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-primary);
    color: #fff;
    padding: 8px 14px;
    z-index: 100;
}
.skip-link:focus { left: 10px; top: 10px; }

.btn {
    display: inline-block;
    border: 0;
    border-radius: var(--radius);
    padding: 10px 20px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }

.preview-banner {
    background: #fef3c7;
    color: #92400e;
    text-align: center;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
}

/* Header (v2): koyu lacivert, beyaz logo ve menü, sağda çizgiyle ayrılmış bayraklı dil seçici */
.site-header { position: relative; z-index: 50; background: var(--color-navy); color: #fff; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { font-size: 20px; font-weight: 700; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
/* logo PNG opak beyaz zeminli: ters çevrilip siyah zemin screen ile kaybolur */
.brand-logo { display: block; height: 44px; width: auto; max-width: 240px; object-fit: contain; filter: grayscale(1) invert(1); mix-blend-mode: screen; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.menu, .sub-menu { list-style: none; margin: 0; padding: 0; }
.menu-header { display: flex; gap: 0; }
.menu-header > li { position: relative; }
.menu-header a { display: block; padding: 10px 14px; color: rgba(255, 255, 255, .86); text-decoration: none; font-size: 15px; font-weight: 400; transition: color .2s; }
.menu-header a:hover, .menu-header li.active > a, .menu-header li:focus-within > a { color: #fff; }
.menu-header a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }

.menu-header .sub-menu { position: absolute; top: 100%; left: 0; min-width: 240px; padding: 10px 0; background: #fff; border-top: 3px solid var(--color-accent); box-shadow: 0 24px 48px -16px rgba(10, 22, 40, .45); display: none; }
.menu-header .sub-menu .sub-menu { top: -13px; left: 100%; }
.menu-header li:hover > .sub-menu,
.menu-header li:focus-within > .sub-menu { display: block; }

/* Dil seçici: bayrak + kod, aktif dil tam beyaz */
.lang-switcher { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; font-size: 12px; line-height: 1; }
.lang-switcher a { display: inline-flex; align-items: center; gap: 7px; padding: 8px; color: rgba(255, 255, 255, .55); font-weight: 600; letter-spacing: .08em; text-decoration: none; transition: color .2s; }
.lang-switcher a:hover { color: #fff; }
.lang-switcher .active a { color: #fff; }
.lang-switcher a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 0; }
.lang-flag { display: block; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; overflow: hidden; opacity: .55; transition: opacity .2s; }
.lang-switcher a:hover .lang-flag, .lang-switcher .active .lang-flag { opacity: 1; }
.lang-flag-code { display: grid; place-items: center; background: rgba(255, 255, 255, .2); color: #fff; font-size: 8px; letter-spacing: 0; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 24px; height: 2px; background: #fff; position: relative; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }

/* Breadcrumb */
.breadcrumb-bar { background: #f4f6f9; border-bottom: 1px solid #e3e7ee; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 14px 0; font-size: 13px; color: #6b7686; }
.breadcrumb li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 12px 2px 10px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.breadcrumb a { color: #6b7686; text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--color-navy); }
.breadcrumb [aria-current="page"] { color: var(--color-navy); font-weight: 600; }

/* İçerik */
.site-main { flex: 1; padding: 40px 0; }
.is-home .site-main { padding-top: 0; }

.hero {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: #fff;
    padding: 72px 0;
    margin-bottom: 40px;
}
.hero h1 { margin: 0 0 8px; font-size: clamp(30px, 5vw, 46px); line-height: 1.2; }
.hero-lead { margin: 0; font-size: 19px; opacity: .9; }

/* Başlık bandı (partials/page-header.php): görsel + lacivert örtü, breadcrumb ve h1 */
.has-page-header .site-main { padding-top: 0; }
.page-header { position: relative; display: flex; align-items: flex-end; min-height: 300px; margin-bottom: 56px; background: radial-gradient(120% 120% at 80% 0%, #13294a 0%, var(--color-navy) 65%); color: #fff; overflow: hidden; }
.page-header::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 22, 40, .92) 0%, rgba(10, 22, 40, .7) 45%, rgba(10, 22, 40, .25) 100%), linear-gradient(0deg, rgba(10, 22, 40, .6) 0%, rgba(10, 22, 40, 0) 50%); pointer-events: none; }
.page-header::after { content: ""; position: absolute; left: 0; bottom: 0; z-index: 2; width: 120px; height: 4px; background: var(--color-accent); }
.page-header-plain { min-height: 240px; }
.page-header-plain::before { background: linear-gradient(90deg, var(--color-navy) 25%, rgba(10, 22, 40, 0) 70%); }
.page-header-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-header-map { position: absolute; top: -20px; right: -60px; width: 760px; max-width: none; height: auto; opacity: .6; pointer-events: none; }
.page-header-inner { position: relative; z-index: 2; width: 100%; padding: 48px 0 44px; }
.page-header .breadcrumb-bar { background: none; border: 0; }
.page-header .breadcrumb { padding: 0 0 14px; color: rgba(255, 255, 255, .6); }
.page-header .breadcrumb a { color: rgba(255, 255, 255, .7); }
.page-header .breadcrumb a:hover { color: #fff; }
.page-header .breadcrumb [aria-current="page"] { color: var(--color-accent); font-weight: 600; }
.page-header-title { max-width: 820px; margin: 0; color: #fff; font-size: clamp(30px, 4.2vw, 48px); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; }

.page-title { position: relative; margin: 0 0 28px; padding-bottom: 18px; color: var(--color-navy); font-size: clamp(28px, 4vw, 40px); line-height: 1.2; letter-spacing: -.01em; }
.page-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; background: var(--color-accent); }
.content h2, .content h3 { line-height: 1.3; margin-top: 1.6em; }
.content img { border-radius: var(--radius); }
/* İçerik tabloları (v2): üstte amber şerit, zebra satırlar, hover; kaynaktan gelen <p> boşlukları sıfırlanır */
.content table { border-collapse: collapse; width: 100% !important; max-width: 100%; margin: 28px 0; background: #fff; color: var(--color-text) !important; font-size: 15px; line-height: 1.6; border: 1px solid #e3e7ee; border-top: 3px solid var(--color-accent); box-shadow: 0 12px 30px -24px rgba(10, 22, 40, .35); }
/* Kaynaktan gelen satır içi width/height değerleri mobilde taşmasın */
.content { overflow-wrap: break-word; }
.content td, .content th, .content a, .content span { overflow-wrap: anywhere; }
.content img { height: auto !important; }
.content td, .content th { height: auto !important; padding: 14px 20px; border: 0; border-bottom: 1px solid #e8ecf2; text-align: left; vertical-align: top; transition: background-color .2s; }
.content td + td, .content th + th { border-left: 1px solid #eef1f5; }
.content td > p, .content th > p { margin: 0; }
.content td > p + p, .content th > p + p { margin-top: 8px; }
.content tbody tr:nth-child(even) > td { background: #f7f9fc; }
.content tbody tr:last-child > td { border-bottom: 0; }
.content tbody tr:hover > td { background: #eef2f7; }
.content th, .content thead td { background: var(--color-navy); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
/* İki sütunlu bilgi tablosu (Sermaye / Lokasyon ...): sol sütun etiket */
.content tr:has(> td:nth-child(2):last-child) > td:first-child { width: 32%; color: var(--color-navy); font-weight: 600; }
/* Üç+ sütunlu tabloda ilk satır kalın yazılıysa başlık satırı gibi gösterilir */
.content tbody > tr:first-child:has(> td:nth-child(3)):has(> td strong) > td { background: var(--color-navy); color: #fff; font-size: 13px; letter-spacing: .03em; border-bottom: 0; }
.content tbody > tr:first-child:has(> td:nth-child(3)):has(> td strong) > td + td { border-left-color: rgba(255, 255, 255, .12); }
.content blockquote { margin: 1.5em 0; padding: 4px 20px; border-left: 4px solid var(--color-primary); color: var(--color-muted); }

.layout-sidebar { display: grid; gap: 56px; grid-template-columns: 290px minmax(0, 1fr); align-items: start; }
.layout-sidebar-right { grid-template-columns: minmax(0, 1fr) 290px; }

/* Sidebar (v2): lacivert başlıklı kart, aktif sayfada amber şerit */
.sidebar { position: sticky; top: 24px; background: #fff; border: 1px solid #e3e7ee; box-shadow: 0 18px 40px -28px rgba(10, 22, 40, .35); }
.sidebar-title { position: relative; margin: 0; padding: 20px 24px; background: var(--color-navy); color: #fff; font-size: 17px; font-weight: 700; line-height: 1.4; }
.sidebar-title::after { content: ""; position: absolute; left: 24px; bottom: 0; width: 32px; height: 3px; background: var(--color-accent); }
.sidebar-tree { list-style: none; margin: 0; padding: 6px 0; }
.sidebar-tree li + li { border-top: 1px solid #eef1f5; }
.sidebar-tree a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px 14px 21px; border-left: 3px solid transparent; font-size: 15px; line-height: 1.45; text-decoration: none; color: #4b5563; transition: color .2s, background-color .2s, border-color .2s; }
.sidebar-tree a::after { content: "\2192"; flex-shrink: 0; color: var(--color-accent); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.sidebar-tree a:hover { color: var(--color-navy); background: #f7f9fc; }
.sidebar-tree a:hover::after { opacity: 1; transform: none; }
.sidebar-tree .active a { color: var(--color-navy); font-weight: 700; background: #f4f6f9; border-left-color: var(--color-accent); }
.sidebar-tree .active a::after { opacity: 1; transform: none; }
.sidebar-tree a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* İletişim formu */
.contact-form { max-width: 760px; margin-top: 32px; }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row-full { grid-column: 1 / -1; }
.form-row label { font-weight: 600; font-size: 15px; }
.form-row input[type="text"], .form-row input[type="email"], .form-row input[type="password"], .form-row input[type="tel"], .form-row textarea {
    font: inherit;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: var(--radius);
    width: 100%;
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: transparent; }
.link-button { background: none; border: 0; color: var(--color-primary); cursor: pointer; font: inherit; font-size: 14px; padding: 0; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.checkbox-row input { margin-top: 5px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* İletişim sayfası: form + adresler */
.contact-layout { display: grid; gap: 48px; margin-top: 32px; align-items: start; }
.contact-layout.has-aside { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.contact-layout .contact-form { margin-top: 0; }
.contact-google iframe { display: block; width: 100%; height: var(--form-height, 1200px); border: 0; }
/* Dar ekranda Google Form alanları alt alta dizilir, içerik uzar */
@media (max-width: 560px) { .contact-google iframe { height: calc(var(--form-height, 1200px) * 1.12); } }
.contact-location { margin-bottom: 28px; }
.contact-location:last-child { margin-bottom: 0; }
.contact-location-title { font-size: 17px; margin: 0 0 8px; }
.contact-location p { margin: 0 0 6px; color: var(--color-muted); line-height: 1.7; }
.contact-location p strong { color: var(--color-text); }
.contact-map { display: block; width: 100%; height: 260px; border: 0; border-radius: var(--radius); margin-top: 12px; }

.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px; }
.alert-success { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }

/* 404 */
.not-found { text-align: center; padding: 40px 0; }
.not-found-code { font-size: 96px; font-weight: 800; color: var(--color-border); margin: 0; line-height: 1; }

/* Footer */
/* Footer (v2): koyu lacivert zemin, noktalı vektör dünya haritası, merkezden küresel bağlantı yayları */
.site-footer { position: relative; isolation: isolate; overflow: hidden; margin-top: 60px; background: radial-gradient(120% 90% at 75% 20%, #13294a 0%, var(--color-navy) 60%, #060d19 100%); color: #a9b6c9; font-size: 15px; line-height: 1.7; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--color-accent) 0 120px, rgba(255, 255, 255, .08) 120px); z-index: 1; }
/* Hero ayrı katman (z-index) oluşturmaz: logonun mix-blend-mode'u footer zeminini görebilsin */
.footer-hero { position: relative; display: flex; align-items: center; min-height: 440px; padding-top: 72px; padding-bottom: 56px; }
.footer-map { position: absolute; top: 24px; right: -120px; width: 900px; max-width: none; height: auto; opacity: .95; pointer-events: none; user-select: none; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%); mask-image: linear-gradient(90deg, transparent 0%, #000 14%); z-index: -1; }
.footer-legend { position: absolute; right: 20px; bottom: 28px; display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; color: #8494ab; font-size: 12px; letter-spacing: .03em; }
.footer-legend li { display: flex; align-items: center; gap: 8px; }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; }
.legend-sub { background: var(--color-accent); }
.legend-office { border: 2px solid var(--color-accent); }
.legend-partner { background: #c9d8ec; width: 7px; height: 7px; }
.footer-brand { max-width: 460px; }
.footer-main { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px 64px; padding-top: 48px; padding-bottom: 64px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-logo { display: inline-block; color: #fff; font-size: 22px; font-weight: 700; text-decoration: none; }
.footer-logo img { display: block; width: auto; max-width: 280px; max-height: 56px; filter: grayscale(1) invert(1); mix-blend-mode: screen; } /* logo PNG opak beyaz zeminli: ters çevrilip siyah zemin screen ile kaybolur */
.footer-eyebrow { margin: 32px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--color-accent); }
.footer-tagline { margin: 0; color: #fff; font-size: clamp(22px, 2.6vw, 32px); font-weight: 300; line-height: 1.45; }
.footer-heading { position: relative; margin: 0 0 24px; padding-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.footer-heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--color-accent); }
.menu-footer { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.menu-footer a { position: relative; display: inline-block; color: #c9d3e1; font-size: 16px; font-weight: 400; line-height: 1.4; text-decoration: none; transition: color .25s, transform .25s; }
.menu-footer a:hover, .menu-footer a:focus-visible { color: #fff; transform: translateX(4px); }
.menu-footer .sub-menu { display: none; }
.footer-office-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px 40px; }
.footer-office { position: relative; padding-left: 26px; }
.footer-office::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 5px rgba(232, 163, 61, .18); }
.footer-office-title { margin: 0 0 4px; color: #fff; font-size: 16px; font-weight: 600; line-height: 1.4; }
.footer-office p { margin: 0; }
.footer-office a { color: #c9d3e1; text-decoration: none; }
.footer-office a:hover { color: #fff; }
.footer-bar { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(3, 8, 16, .45); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px 32px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; font-size: 13px; color: #8494ab; }
.footer-bottom p { margin: 0; }
.footer-bottom p + p { margin-left: auto; }
.footer-bottom a { color: #a9b6c9; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-top { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .2); color: #fff !important; font-size: 16px; transition: background .25s, border-color .25s; }
.footer-top:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-navy) !important; }
.site-footer a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
@media (max-width: 960px) {
    .footer-hero { min-height: 0; padding-top: 220px; }
    .footer-legend { display: none; }
    .footer-map { top: 16px; right: 50%; width: 640px; transform: translateX(50%); -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 95%); mask-image: linear-gradient(180deg, #000 45%, transparent 95%); }
}
@media (max-width: 600px) {
    .footer-hero { padding-top: 170px; }
    .footer-map { width: 480px; }
    .footer-main { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom p + p { margin-left: 0; }
}

/* Çerez katmanı */
.cookie-banner {
    position: fixed;
    right: 30px; bottom: 30px;
    width: 350px;
    max-width: calc(100% - 32px);
    background: var(--color-navy);
    color: #fff;
    padding: 30px 20px;
    z-index: 90;
    border-top: 3px solid var(--color-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner .cookie-inner { display: block; padding: 0; max-width: none; }
.cookie-text { font-size: 13px; line-height: 1.7; }
.cookie-text p { margin: 0; }
.cookie-text a { color: #fff; text-decoration: underline; }
.cookie-text a:hover { color: var(--color-accent); }
.cookie-banner .btn-accept {
    margin-top: 20px;
    padding: 14px 24px;
    background: var(--color-accent);
    color: var(--color-navy);
    border: 0;
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}
.cookie-banner .btn-accept:hover { background: #fff; color: var(--color-navy); }
@media (max-width: 600px) {
    .cookie-banner { right: 16px; bottom: 16px; }
}

/* Menü, düzenden daha erken daralır: uzun menü başlıkları tablet genişliğinde satır kırmasın */
.menu-header > li > a { white-space: nowrap; }
@media (max-width: 1100px) {
    .nav-toggle { display: block; }
    .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--color-navy); border-top: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 18px 30px -10px rgba(0, 0, 0, .5); max-height: calc(100vh - 72px); overflow-y: auto; }
    .site-nav.open { display: flex; }
    .menu-header { flex-direction: column; }
    .menu-header > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .menu-header a { padding: 12px 0; }
    .menu-header > li > a { white-space: normal; }
    .menu-header .sub-menu { position: static; display: block; min-width: 0; padding: 0 0 8px 16px; background: none; border: 0; box-shadow: none; }
    .menu-header .sub-menu a { padding: 8px 0; font-size: 14px; color: rgba(255, 255, 255, .65); }
    .site-nav .lang-switcher { margin-top: 12px; margin-left: -8px; }
}

/* Masaüstü: tek satır; logo solda, menü + dikey çizgi + dil sağda */
@media (min-width: 1101px) {
    .header-inner { min-height: 96px; }
    .brand-logo { height: 52px; max-width: none; }
    .site-nav { gap: 20px; }
    .site-nav .lang-switcher { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .18); }

    .menu-header > li > a { position: relative; line-height: 76px; padding-top: 0; padding-bottom: 0; }
    .menu-header > .has-children > a { padding-right: 30px; }
    .menu-header .has-children > a::after { content: ""; position: absolute; right: 13px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; }

    /* Açılır menü (v2): beyaz panel, yumuşak kayarak açılır */
    .menu-header .sub-menu { display: block; width: max-content; min-width: 260px; visibility: hidden; opacity: 0; transform: translateY(10px); transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s; }
    .menu-header li:hover > .sub-menu, .menu-header li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; transition: opacity .22s ease, transform .22s ease, visibility 0s; }
    .menu-header > .has-children:hover > a::after, .menu-header > .has-children:focus-within > a::after { margin-top: -1px; transform: rotate(-135deg); }
    .menu-header .has-children > a::after { transition: transform .25s, margin-top .25s; }
    .menu-header .sub-menu li { position: relative; }
    .menu-header .sub-menu a { position: relative; padding: 11px 44px 11px 22px; font-size: 14px; line-height: 1.35; white-space: nowrap; color: #3b4658; transition: color .2s, background .2s, padding .25s; }
    .menu-header .sub-menu a::before { content: ""; position: absolute; left: 22px; top: 50%; width: 0; height: 2px; background: var(--color-accent); transition: width .25s; }
    .menu-header .sub-menu li:hover > a, .menu-header .sub-menu li:focus-within > a { color: var(--color-navy); background: #f4f6f9; padding-left: 38px; }
    .menu-header .sub-menu li:hover > a::before, .menu-header .sub-menu li:focus-within > a::before { width: 10px; }
    .menu-header .sub-menu li.active > a, .menu-header .sub-menu li > a[aria-current] { color: var(--color-navy); font-weight: 600; }
    .menu-header .sub-menu .has-children > a::after { right: 20px; margin-top: -3px; transform: rotate(-45deg); }

    /* Mega menü: alt menüsünün de alt menüsü olan öğe header genişliğinde sütunlu panel açar */
    .menu-header > li:has(> .sub-menu .sub-menu) { position: static; }
    .menu-header > li:has(> .sub-menu .sub-menu) > .sub-menu { left: 0; right: 0; width: auto; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0 48px; padding: 40px max(20px, calc((100% - 1140px) / 2)) 44px; border-top-width: 3px; }
    .menu-header > li:has(> .sub-menu .sub-menu) > .sub-menu > li > a { padding: 0 0 14px; margin-bottom: 10px; border-bottom: 1px solid #e3e7ee; color: var(--color-navy); font-size: 15px; font-weight: 700; white-space: normal; background: none; }
    .menu-header > li:has(> .sub-menu .sub-menu) > .sub-menu > li > a::before { top: auto; bottom: -1px; left: 0; width: 28px; height: 3px; }
    .menu-header > li:has(> .sub-menu .sub-menu) > .sub-menu > li:hover > a { padding-left: 0; background: none; color: var(--color-primary); }
    .menu-header > li:has(> .sub-menu .sub-menu) > .sub-menu > li:hover > a::before { width: 56px; }
    .menu-header > li:has(> .sub-menu .sub-menu) > .sub-menu > li > a::after { display: none; }
    .menu-header > li:has(> .sub-menu .sub-menu) .sub-menu .sub-menu { position: static; visibility: inherit; opacity: 1; transform: none; transition: none; width: auto; min-width: 0; padding: 0; border: 0; box-shadow: none; background: none; }
    .menu-header > li:has(> .sub-menu .sub-menu) .sub-menu .sub-menu a { padding: 8px 0; font-size: 14px; white-space: normal; background: none; color: #5b6778; }
    .menu-header > li:has(> .sub-menu .sub-menu) .sub-menu .sub-menu a::before { left: 0; }
    .menu-header > li:has(> .sub-menu .sub-menu) .sub-menu .sub-menu li:hover > a { padding-left: 16px; background: none; color: var(--color-navy); }

    /* Açılır menü görünürken sayfanın geri kalanı hafifçe kararır (header üstte kalır) */
    body::after { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, visibility .2s; }
    body:has(.menu-header > .has-children:hover)::after,
    body:has(.menu-header > .has-children:focus-within)::after { opacity: 1; visibility: visible; }
}
@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    body::after, .menu-header .sub-menu, .menu-header li:hover > .sub-menu, .menu-header .sub-menu a, .menu-header .sub-menu a::before { transition: none; }
    .menu-header .sub-menu { transform: none; }
}

@media (max-width: 860px) {
    .home-content.has-lead-carousel > .carousel:first-child .carousel-slide img { aspect-ratio: 16 / 9; }
    .layout-sidebar, .layout-sidebar-right { grid-template-columns: minmax(0, 1fr); }
    .layout-sidebar-left .sidebar { order: 2; }
    .sidebar { position: static; }
    .contact-layout.has-aside { grid-template-columns: minmax(0, 1fr); }
    .form-grid { grid-template-columns: 1fr; }
    .hero { padding: 48px 0; }
    .page-header { min-height: 220px; margin-bottom: 36px; }
    .page-header-inner { padding: 36px 0 30px; }
    .page-header-map { width: 520px; right: -140px; opacity: .4; }
    .brand-logo { height: 38px; max-width: 180px; }
}

/* ============================================================ Bileşenler (kısa kodlar) */
.block-missing { margin: 16px 0; padding: 10px 14px; border: 1px dashed #dc2626; background: #fef2f2; color: #991b1b; border-radius: var(--radius); font-size: 14px; }
.block-missing code { background: #fff; padding: 1px 6px; border-radius: 4px; }
.block-section { margin: 40px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.section-head-left { text-align: left; margin-left: 0; }
.section-eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-primary); }
.section-title { margin: 0 0 10px; font-size: clamp(26px, 4vw, 38px); line-height: 1.2; }
.section-lead { color: var(--color-muted); }
.section-lead p { margin: 0 0 8px; }

/* Carousel */
.carousel { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--color-soft); margin: 24px 0; outline: none; }
.carousel:focus-visible { outline: 2px solid var(--color-primary); }
.carousel-track { display: flex; transition: transform .5s ease; }
.carousel-slide { flex: 0 0 100%; margin: 0; position: relative; }
.carousel-slide img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 0; }
/* v2 caption: sol tarafta lacivert perde; aktif slaytta sıra no → başlık → metin → buton kademeli girer, görsel yavaşça yakınlaşır */
.carousel-caption { position: absolute; inset: 0; display: flex; align-items: center; color: #fff; background: linear-gradient(90deg, rgba(10, 22, 40, .88) 0%, rgba(10, 22, 40, .62) 38%, rgba(10, 22, 40, .12) 72%, rgba(10, 22, 40, 0) 100%); pointer-events: none; } /* görsel bağlantısı tıklanabilir kalır */
.carousel-caption-inner { width: 100%; max-width: calc(var(--container) - 40px + 152px); margin: 0 auto; padding: 0 76px 28px; display: flex; flex-direction: column; align-items: flex-start; }
.carousel-caption-inner > * { max-width: 600px; }
.carousel-caption-index { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--color-accent); }
.carousel-caption-index i { display: block; width: 44px; height: 2px; background: rgba(255, 255, 255, .45); }
.carousel-caption-title { display: block; margin-bottom: 14px; font-size: clamp(24px, 3.1vw, 46px); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; text-shadow: 0 2px 18px rgba(10, 22, 40, .35); }
.carousel-caption-text { display: block; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; color: rgba(255, 255, 255, .88); }
.carousel-caption-cta { pointer-events: auto; display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 13px 24px; background: var(--color-accent); color: var(--color-navy); font-size: 15px; font-weight: 700; text-decoration: none; transition: background .25s, color .25s, gap .25s; }
.carousel-caption-cta:hover, .carousel-caption-cta:focus-visible { background: #fff; color: var(--color-navy); gap: 16px; }
.carousel-caption-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@keyframes carousel-caption-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes carousel-line-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes carousel-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.carousel-caption-inner > * { opacity: 0; }
.carousel-slide.is-active .carousel-caption-inner > * { animation: carousel-caption-in .8s cubic-bezier(.2, .7, .2, 1) both; }
.carousel-slide.is-active .carousel-caption-index { animation-delay: .25s; }
.carousel-slide.is-active .carousel-caption-index i { transform-origin: left; animation: carousel-line-in .7s cubic-bezier(.2, .7, .2, 1) .45s both; }
.carousel-slide.is-active .carousel-caption-title { animation-delay: .4s; }
.carousel-slide.is-active .carousel-caption-text { animation-delay: .55s; }
.carousel-slide.is-active .carousel-caption-cta { animation-delay: .7s; }
.carousel:not(.carousel-mini) .carousel-slide { overflow: hidden; }
.carousel:not(.carousel-mini) .carousel-slide img { transform: scale(1); transition: transform .8s ease; }
.carousel.is-ready:not(.carousel-mini) .carousel-slide.is-active img { transform: scale(1.08); transition: transform calc(var(--carousel-interval, 6000ms) + 2s) linear; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--color-text); font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.carousel-btn:hover { background: #fff; }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .6); cursor: pointer; padding: 0; }
.carousel-dot.is-active { background: #fff; }
/* Büyük carousel: cam ok butonları, çizgi noktalar ve aktif noktada otomatik geçiş ilerleme çubuğu */
.carousel:not(.carousel-mini) .carousel-btn { width: 50px; height: 50px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 0; background: rgba(10, 22, 40, .25); color: #fff; font-size: 30px; backdrop-filter: blur(4px); transition: background .25s, border-color .25s, color .25s; }
.carousel:not(.carousel-mini) .carousel-btn:hover, .carousel:not(.carousel-mini) .carousel-btn:focus-visible { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-navy); }
.carousel:not(.carousel-mini) .carousel-dots { bottom: 26px; gap: 10px; }
.carousel:not(.carousel-mini) .carousel-dot { position: relative; width: 44px; height: 3px; border-radius: 0; background: rgba(255, 255, 255, .35); overflow: hidden; transition: width .3s; }
.carousel:not(.carousel-mini) .carousel-dot::before { content: ""; position: absolute; inset: -10px 0; } /* dokunma alanı */
.carousel:not(.carousel-mini) .carousel-dot.is-active { width: 72px; background: rgba(255, 255, 255, .35); }
.carousel:not(.carousel-mini) .carousel-dot::after { content: ""; position: absolute; inset: 0; background: var(--color-accent); transform: scaleX(0); transform-origin: left; }
.carousel:not(.carousel-mini) .carousel-dot.is-active::after { transform: scaleX(1); }
.carousel.is-playing:not(.carousel-mini) .carousel-dot.is-active::after { animation: carousel-progress var(--carousel-interval, 6000ms) linear both; }
@media (prefers-reduced-motion: reduce) {
    .carousel-caption-inner > *, .carousel-slide.is-active .carousel-caption-inner > *, .carousel-slide.is-active .carousel-caption-index i { opacity: 1; animation: none; }
    .carousel:not(.carousel-mini) .carousel-slide img, .carousel.is-ready:not(.carousel-mini) .carousel-slide.is-active img { transform: none; transition: none; }
}
.carousel-mini { margin: 0; border-radius: 0; }
.carousel-mini .carousel-slide img { aspect-ratio: 16 / 10; }
.carousel-mini .carousel-btn { width: 34px; height: 34px; font-size: 22px; }

/* İçerik kartı (BLOK) — v2: beyaz kart, temiz görsel, başlık gövdede vurgu çizgisiyle, "Devamı" alta sabit */
.block-cards { display: grid; gap: 28px; margin: 0; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.block-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.block-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.block-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.block-card { position: relative; display: flex; flex-direction: column; min-width: 0; margin: 0; background: #fff; border: 1px solid #e3e7ee; box-shadow: 0 1px 2px rgba(10, 22, 40, .04); transition: box-shadow .35s ease, transform .35s ease, border-color .35s ease; }
.block-card::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 3px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.block-card:hover, .block-card:focus-within { border-color: #d5dbe5; box-shadow: 0 24px 48px -24px rgba(10, 22, 40, .35); transform: translateY(-4px); }
.block-card:hover::after, .block-card:focus-within::after { transform: scaleX(1); }
.content > .block-card { margin: 24px 0; }
.block-card-media { position: relative; overflow: hidden; background: #f3f5f8; }
.block-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 40, 0) 55%, rgba(10, 22, 40, .35) 100%); pointer-events: none; z-index: 1; }
/* .content img { height: auto !important } kuralını ezmek için !important */
.block-card-media > img, .block-card-media > a > img, .block-card .carousel-mini .carousel-slide img { display: block; width: 100%; height: 240px !important; aspect-ratio: auto; object-fit: cover; border-radius: 0; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.block-card:hover .block-card-media img { transform: scale(1.05); }
.block-card-body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 26px; font-size: 15px; line-height: 1.7; color: #4b5563; }
.block-card .block-card-title { margin: 0 0 14px; color: var(--color-navy); font-size: 21px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.block-card .block-card-title::before { content: ""; display: block; width: 32px; height: 3px; margin-bottom: 16px; background: var(--color-accent); transition: width .45s cubic-bezier(.2, .7, .2, 1); }
.block-card:hover .block-card-title::before { width: 56px; }
.block-card-title a { color: inherit; text-decoration: none; transition: color .25s; }
.block-card-title a:hover { color: var(--color-primary); }
.block-card-body p { margin: 0 0 12px; }
.block-card-body p:last-child { margin-bottom: 0; }
.block-card-body .block-card-text:not(:last-child) { margin-bottom: 12px; } /* yerinde düzenleme sarmalayıcısı: son paragraf ile "Keşfedin" arası */
.block-card.is-fit .block-card-media { background: linear-gradient(180deg, #fff 0%, #f1f4f8 100%); }
.block-card.is-fit .block-card-media::after { display: none; }
.block-card.is-fit .carousel-mini { background: transparent; }
.block-card.is-fit .block-card-media img { object-fit: contain; background: transparent; padding: 48px 72px; box-sizing: border-box; mix-blend-mode: multiply; } /* logo dosyalarının opak beyaz zemini gradyana karışır */
.block-card.is-fit:hover .block-card-media img { transform: scale(1.03); }
.block-card .carousel-mini .carousel-btn { width: 36px; height: 36px; background: #fff; color: var(--color-navy); font-size: 22px; font-weight: 400; box-shadow: 0 4px 14px rgba(10, 22, 40, .15); opacity: 0; transition: opacity .3s, background .25s, color .25s; }
.block-card:hover .carousel-mini .carousel-btn, .block-card .carousel-mini .carousel-btn:focus-visible { opacity: 1; }
.block-card .carousel-mini .carousel-btn:hover { background: var(--color-navy); color: #fff; }
.block-card .carousel-mini .carousel-prev { left: 14px; }
.block-card .carousel-mini .carousel-next { right: 14px; }
.block-card .carousel-mini .carousel-dots { bottom: 14px; gap: 6px; }
.block-card .carousel-mini .carousel-dot { width: 18px; height: 3px; border-radius: 0; background: rgba(10, 22, 40, .2); transition: width .3s, background .3s; }
.block-card .carousel-mini .carousel-dot.is-active { width: 32px; background: var(--color-accent); }
.block-card:not(.is-fit) .carousel-mini .carousel-dot { background: rgba(255, 255, 255, .55); }
.block-card:not(.is-fit) .carousel-mini .carousel-dot.is-active { background: var(--color-accent); }
.block-card-slide-text[hidden] { display: none; }
.block-card-more { margin: auto 0 0 !important; padding-top: 22px; }
@media (hover: none) { .block-card .carousel-mini .carousel-btn { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .block-card, .block-card::after, .block-card-media img, .block-card-title::before, .card-more-arrow::before, .card-more-arrow svg { transition: none; }
    .block-card:hover, .block-card:focus-within, .block-card:hover .block-card-media img, .block-card:hover .card-more-arrow svg { transform: none; }
}

/* Ana sayfa: içerik carousel ile başlıyorsa tam genişlik */
.is-home .site-main { overflow-x: clip; }
.home-content.has-lead-carousel > .carousel:first-child { width: 100vw; margin: 0 calc(50% - 50vw) 40px; border-radius: 0; }
.home-content.has-lead-carousel > .carousel:first-child .carousel-slide img { aspect-ratio: 16 / 5; }
/* Dar ekranda caption sığsın diye slider yükselir (yukarıdaki 860px kuralı bu satırdan önce geldiği için burada) */
@media (max-width: 1100px) { .home-content.has-lead-carousel > .carousel:first-child .carousel-slide img { aspect-ratio: 16 / 7; } }
@media (max-width: 860px) { .home-content.has-lead-carousel > .carousel:first-child .carousel-slide img { aspect-ratio: 16 / 9; } }
@media (max-width: 560px) { .home-content.has-lead-carousel > .carousel:first-child .carousel-slide img { aspect-ratio: 4 / 3; } }

/* Kart listesi (KARTLAR) */
.cards-grid, .projects-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards-grid.cols-2, .projects-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-grid.cols-3, .projects-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-grid.cols-4, .projects-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-item { position: relative; border: 1px solid var(--color-border); border-radius: 0; background: #fff; display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .35s ease, transform .35s ease, border-color .35s ease; }
/* Alt kenar çizgisi: hover'da soldan sağa dolar */
.card-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1); z-index: 3; pointer-events: none; }
.card-item:hover, .card-item:focus-within { border-color: #d1d5db; box-shadow: 0 22px 40px -18px rgba(15, 23, 42, .35); transform: translateY(-5px); }
.card-item:hover::after, .card-item:focus-within::after { transform: scaleX(1); }
.card-media { position: relative; display: block; overflow: hidden; background: var(--color-soft); }
.card-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin: 0; border-radius: 0; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
/* Görsel: alttan koyu mavi ton + parlama süpürmesi */
.card-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .45) 100%); opacity: 0; transition: opacity .4s ease; z-index: 1; pointer-events: none; }
.card-media::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .38) 50%, rgba(255, 255, 255, 0) 100%); transform: skewX(-22deg); z-index: 2; pointer-events: none; }
.card-item:hover .card-media img, .card-item:focus-within .card-media img { transform: scale(1.07); }
.card-item:hover .card-media::before, .card-item:focus-within .card-media::before { opacity: 1; }
.card-item:hover .card-media::after, .card-item:focus-within .card-media::after { animation: card-shine .85s ease-out; }
@keyframes card-shine { to { left: 130%; } }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.card-body .card-title { margin: 0 0 10px; font-size: 19px; line-height: 1.3; }
/* Başlık üstü vurgu çizgisi */
.card-title::before { content: ""; display: block; width: 32px; height: 3px; margin-bottom: 14px; background: var(--color-accent); transition: width .45s cubic-bezier(.2, .7, .2, 1); }
.card-item:hover .card-title::before, .card-item:focus-within .card-title::before { width: 64px; }
.card-title a { color: inherit; text-decoration: none; transition: color .25s; }
.card-title a:hover, .card-item:hover .card-title a { color: var(--color-primary); }
.card-text { color: var(--color-muted); font-size: 15px; flex: 1; }
.card-text p:first-child { margin-top: 0; }
.card-text p:last-child { margin-bottom: 0; }
/* Kart eylemi (v2): ayraç + etiket + kare ok butonu; bağlantı kartın tamamını kaplar */
.card-more { position: static; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #e3e7ee; color: var(--color-navy); font-size: 15px; font-weight: 600; text-decoration: none; }
.block-card-more .card-more { margin-top: 0; }
.card-more::before { content: ""; position: absolute; inset: 0; z-index: 4; }
.card-more:hover { color: var(--color-navy); }
.card-more:focus-visible { outline: none; }
.card-more:focus-visible::before { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.card-more-label { transition: color .25s; }
.card-item:hover .card-more-label, .block-card:hover .card-more-label { color: var(--color-primary); }
.card-more-arrow { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; background: #f1f4f8; color: var(--color-navy); overflow: hidden; z-index: 0; }
.card-more-arrow::before { content: ""; position: absolute; inset: 0; background: var(--color-accent); transform: translateX(-101%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); z-index: -1; }
.card-more-arrow svg { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.card-item:hover .card-more-arrow::before, .block-card:hover .card-more-arrow::before, .card-more:focus-visible .card-more-arrow::before { transform: none; }
.card-item:hover .card-more-arrow svg, .block-card:hover .card-more-arrow svg, .card-more:focus-visible .card-more-arrow svg { transform: translateX(3px); }
/* Kartı kaplayan bağlantının üstünde kalması gereken etkileşimler */
.block-card .carousel-btn, .block-card .carousel-dot { z-index: 6; }
@media (prefers-reduced-motion: reduce) {
    .card-item, .card-item::after, .card-media img, .card-media::before, .card-title::before, .card-more-arrow::before, .card-more-arrow svg { transition: none; }
    .card-item:hover, .card-item:focus-within, .card-item:hover .card-media img, .card-item:focus-within .card-media img, .card-item:hover .card-more-arrow svg { transform: none; }
    .card-item:hover .card-media::after, .card-item:focus-within .card-media::after { animation: none; }
}

/* Logolar */
.logos-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.logos-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.logos-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.logos-grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.logos-grid.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.logo-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px; border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--color-text); transition: box-shadow .15s ease; }
a.logo-item:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.logo-item img { max-height: 90px; width: auto; max-width: 100%; object-fit: contain; border-radius: 0; }
.logo-name { font-size: 14px; color: var(--color-muted); text-align: center; }

/* Galeri */
.gallery-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.gallery-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-item { display: block; margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: var(--color-soft); }
.gallery-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; transition: transform .3s ease; }
a.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 14px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .9); display: flex; align-items: center; justify-content: center; padding: 48px; }
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox-figure img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 6px; }
.lightbox-figure figcaption { color: #e5e7eb; margin-top: 10px; font-size: 15px; }
.lightbox-close, .lightbox-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; border-radius: 50%; width: 46px; height: 46px; font-size: 30px; line-height: 1; display: grid; place-items: center; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .25); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
body.lightbox-open { overflow: hidden; }

/* Dosya listesi */
/* Dosya listesi (DOSYALAR): iki sütun, dosya ikonu + indir butonu */
.file-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.file-link { --file-color: #6b7280; position: relative; display: flex; align-items: center; gap: 18px; height: 100%; padding: 18px 18px 18px 22px; border: 1px solid #e3e7ee; border-radius: 0; background: #fff; color: var(--color-navy); text-decoration: none; overflow: hidden; transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.file-pdf { --file-color: #dc2626; }
.file-doc, .file-docx { --file-color: #2563eb; }
.file-xls, .file-xlsx { --file-color: #16a34a; }
.file-zip { --file-color: #d97706; }
.file-jpg, .file-jpeg, .file-png, .file-gif, .file-webp { --file-color: #7c3aed; }
/* Sol kenar şeridi yukarıdan aşağı dolar; parlama satırı süpürür */
.file-link::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--color-accent); transform: scaleY(0); transform-origin: top; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.file-link::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, 0) 100%); transform: skewX(-22deg); pointer-events: none; }
.file-link:hover, .file-link:focus-visible { color: var(--color-navy); border-color: #d5dbe5; box-shadow: 0 18px 36px -20px rgba(10, 22, 40, .35); outline: none; transform: translateY(-3px); }
.file-link:hover::before, .file-link:focus-visible::before { transform: scaleY(1); }
.file-link:hover::after, .file-link:focus-visible::after { animation: card-shine .8s ease-out; }
.file-icon { position: relative; flex-shrink: 0; width: 40px; height: 48px; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.file-icon svg { display: block; }
.file-icon-sheet { fill: #fff; stroke: var(--color-border); stroke-width: 1.5; transition: stroke .3s; }
.file-icon-fold { fill: var(--color-soft); stroke: var(--color-border); stroke-width: 1.5; stroke-linejoin: round; transition: fill .3s, stroke .3s; }
.file-link:hover .file-icon { transform: translateY(-2px) rotate(-4deg); }
.file-link:hover .file-icon-sheet { stroke: var(--file-color); }
.file-link:hover .file-icon-fold { fill: var(--file-color); stroke: var(--file-color); }
.file-badge { position: absolute; left: -6px; bottom: 7px; padding: 2px 5px; background: var(--file-color); color: #fff; font-size: 10px; font-weight: 800; line-height: 1.3; letter-spacing: .05em; }
.file-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.file-name { color: var(--color-navy); font-size: 16px; font-weight: 600; line-height: 1.35; transition: color .25s; }
.file-link:hover .file-name { color: var(--color-primary); }
.file-meta { margin-top: 3px; color: var(--color-muted); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
/* İndir (v2): kare ikon buton; metin yalnızca ekran okuyucuya, kartın tamamı bağlantı */
.file-action { position: relative; flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; background: #f1f4f8; color: var(--color-navy); overflow: hidden; z-index: 0; transition: color .3s ease; }
.file-action::before { content: ""; position: absolute; inset: 0; background: var(--color-accent); transform: translateY(101%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); z-index: -1; }
.file-action-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.file-action svg { transition: transform .35s ease; }
.file-link:hover .file-action, .file-link:focus-visible .file-action { color: var(--color-navy); }
.file-link:hover .file-action::before, .file-link:focus-visible .file-action::before { transform: translateY(0); }
.file-link:focus-visible .file-action { box-shadow: 0 0 0 2px var(--color-navy); }
.file-link:hover .file-action svg { animation: file-bounce .7s ease; }
@keyframes file-bounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(3px); } 70% { transform: translateY(-1px); } }

/* Referans listesi (KARTLAR, "alt alta liste" ayarı) */
.ref-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.ref-item { position: relative; display: grid; grid-template-columns: 260px minmax(0, 1fr); margin: 0; border: 1px solid var(--color-border); background: #fff; overflow: hidden; transition: border-color .35s ease, box-shadow .35s ease; }
.ref-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--color-accent); transform: scaleY(0); transform-origin: top; transition: transform .5s cubic-bezier(.2, .7, .2, 1); z-index: 2; }
.ref-item::after { content: ""; position: absolute; top: 0; left: -50%; width: 30%; height: 100%; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 100%); transform: skewX(-22deg); pointer-events: none; z-index: 3; }
.ref-item:hover { border-color: #d1d5db; box-shadow: 0 24px 44px -24px rgba(15, 23, 42, .35); }
.ref-item:hover::before { transform: scaleY(1); }
.ref-item:hover::after { animation: ref-shine 1.1s ease-out; }
@keyframes ref-shine { to { left: 130%; } }
.ref-logo { position: relative; display: flex; align-items: center; justify-content: center; padding: 32px; border-right: 1px solid #e3e7ee; background: #f5f7fa; transition: background-color .45s ease; }
.ref-item:hover .ref-logo { background: #fff; }
.ref-logo img { display: block; width: auto; max-width: 170px; max-height: 90px; margin: 0; border-radius: 0; filter: grayscale(1); opacity: .75; mix-blend-mode: multiply; transition: filter .45s ease, opacity .45s ease, transform .6s cubic-bezier(.2, .7, .2, 1); } /* logo dosyalarının opak beyaz zemini panele karışır */
.ref-item:hover .ref-logo img { filter: none; opacity: 1; transform: scale(1.08); }
.ref-body { position: relative; padding: 30px 36px 30px 34px; }
.ref-index { position: absolute; top: 14px; right: 24px; font-size: 64px; font-weight: 800; line-height: 1; color: var(--color-navy); opacity: .06; letter-spacing: -.03em; transition: opacity .4s ease, color .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.ref-item:hover .ref-index { color: var(--color-accent); opacity: .35; transform: translateY(-4px); }
.ref-body .ref-title { margin: 0 0 14px; padding-right: 80px; color: var(--color-navy); font-size: 21px; line-height: 1.3; }
.ref-title::after { content: ""; display: block; width: 32px; height: 3px; margin-top: 14px; background: var(--color-accent); transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.ref-item:hover .ref-title::after { width: 72px; }
.ref-title a { color: inherit; text-decoration: none; }
.ref-title a:hover { color: var(--color-primary); }
.ref-text { color: #4b5563; font-size: 15px; line-height: 1.75; }
.ref-text p { margin: 0 0 10px; }
.ref-text p:last-child { margin-bottom: 0; }

/* Kaydırınca belirme (main.js yalnızca JS varken .reveal-pending ekler) */
.reveal-pending { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal-pending.is-revealed { opacity: 1; transform: none; }

@media (max-width: 860px) {
    .file-list { grid-template-columns: 1fr; }
    .ref-item { grid-template-columns: 1fr; }
    .ref-logo { padding: 26px; border-right: 0; border-bottom: 1px solid var(--color-border); }
    .ref-body { padding: 24px 22px; }
}
@media (max-width: 480px) {
    .file-link { gap: 14px; padding: 16px; }
    .file-action { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .file-link, .file-link::before, .file-icon, .file-action::before, .ref-item, .ref-item::before, .ref-logo img, .ref-index, .ref-title::after { transition: none; }
    .file-link:hover, .file-link:hover .file-icon, .ref-item:hover .ref-logo img, .ref-item:hover .ref-index { transform: none; }
    .file-link:hover::after, .file-link:hover .file-action svg, .ref-item:hover::after { animation: none; }
}

/* SSS */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; }
.faq-question { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: "+"; font-size: 22px; color: var(--color-primary); flex-shrink: 0; }
.faq-item[open] .faq-question::after { content: "\2212"; }
.faq-answer { padding: 0 18px 16px; color: var(--color-muted); }
.faq-answer p:first-child { margin-top: 0; }
.faq-answer p:last-child { margin-bottom: 0; }

/* Projeler */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; justify-content: center; }
.chip { border: 1px solid var(--color-border); background: #fff; color: var(--color-text); border-radius: 999px; padding: 7px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.chip.is-active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.project-card { border: 1px solid var(--color-border); border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 6px 20px rgba(0, 0, 0, .04); border-top: 3px solid var(--color-primary); }
.project-card[hidden] { display: none; }
.project-cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.project-body { padding: 20px 22px 22px; }
.project-cat { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: #16a34a; }
.project-title { margin: 0 0 10px; font-size: 18px; line-height: 1.3; }
.project-title a { color: inherit; text-decoration: none; }
.project-text { margin: 0 0 12px; color: var(--color-muted); font-size: 15px; }
.project-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; color: var(--color-muted); font-size: 14px; }
.project-meta li { display: flex; align-items: center; gap: 8px; }
.project-meta svg { flex-shrink: 0; color: #9ca3af; }
.project-highlight { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--color-border); display: flex; align-items: center; gap: 8px; font-size: 14px; }
.project-highlight svg { color: #dc2626; flex-shrink: 0; }

@media (max-width: 860px) {
    .block-cards-2, .block-cards-3, .block-cards-4,
    .cards-grid.cols-2, .cards-grid.cols-3, .cards-grid.cols-4,
    .projects-grid.cols-2, .projects-grid.cols-3, .projects-grid.cols-4,
    .gallery-grid.cols-3, .gallery-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .logos-grid.cols-4, .logos-grid.cols-5, .logos-grid.cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .carousel-slide img { aspect-ratio: 16 / 9; }
    .lightbox { padding: 16px; }
}
@media (max-width: 560px) {
    .block-cards-2, .block-cards-3, .block-cards-4,
    .cards-grid.cols-2, .cards-grid.cols-3, .cards-grid.cols-4,
    .projects-grid.cols-2, .projects-grid.cols-3, .projects-grid.cols-4,
    .gallery-grid.cols-2, .gallery-grid.cols-3, .gallery-grid.cols-4 { grid-template-columns: minmax(0, 1fr); }
    .logos-grid.cols-3, .logos-grid.cols-4, .logos-grid.cols-5, .logos-grid.cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .carousel-caption { background: linear-gradient(90deg, rgba(10, 22, 40, .85) 0%, rgba(10, 22, 40, .55) 70%, rgba(10, 22, 40, .3) 100%); }
    .carousel-caption-inner { padding: 0 20px 22px; }
    .carousel-caption-index { margin-bottom: 8px; font-size: 11px; }
    .carousel-caption-index i { width: 28px; }
    .carousel-caption-title { margin-bottom: 0; font-size: 19px; }
    .carousel-caption-text { display: none; }
    .carousel-caption-cta { margin-top: 12px; padding: 8px 14px; font-size: 13px; }
    .carousel:not(.carousel-mini) .carousel-btn { display: none; } /* mobilde kaydırma + noktalar */
    .carousel:not(.carousel-mini) .carousel-dots { bottom: 12px; }
    .carousel:not(.carousel-mini) .carousel-dot { width: 26px; }
    .carousel:not(.carousel-mini) .carousel-dot.is-active { width: 44px; }
}

/* İletişim formu doğrulama hataları: üstte alana bağlantılı liste, alanın altında mesaj, kırmızı kenar */
.alert-list { margin: 0; padding-left: 20px; }
.alert-list li + li { margin-top: 4px; }
.alert-list a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.alert-list a:hover { text-decoration-thickness: 2px; }
.field-error { display: flex; align-items: flex-start; gap: 6px; margin: 2px 0 0; font-size: 14px; font-weight: 600; line-height: 1.4; color: #b91c1c; }
.field-error::before { content: "!"; flex-shrink: 0; display: grid; place-items: center; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: #b91c1c; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; }
.form-row.has-error input[type="text"], .form-row.has-error input[type="email"], .form-row.has-error input[type="password"], .form-row.has-error input[type="tel"], .form-row.has-error textarea { border-color: #dc2626; box-shadow: inset 0 0 0 1px #dc2626; }
.form-row.has-error .checkbox-row input { outline: 2px solid #dc2626; outline-offset: 2px; }

/* ============================================================ Blog (BLOG bileşeni) */
/* v2 dili: köşesiz beyaz kart, lacivert metin, amber vurgu çizgileri; kenar kutuları lacivert başlıklı */
.blog-layout.has-sidebar { display: grid; gap: 56px; grid-template-columns: minmax(0, 1fr) 290px; align-items: start; }
.blog-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.blog-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blog-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-card { position: relative; display: flex; flex-direction: column; border: 1px solid #e3e7ee; background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(10, 22, 40, .04); transition: box-shadow .35s ease, transform .35s ease, border-color .35s ease; }
.blog-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1); z-index: 3; pointer-events: none; }
.blog-card:hover, .blog-card:focus-within { border-color: #d5dbe5; box-shadow: 0 22px 40px -18px rgba(10, 22, 40, .35); transform: translateY(-5px); }
.blog-card:hover::after, .blog-card:focus-within::after { transform: scaleX(1); }
.blog-card-media { position: relative; display: block; overflow: hidden; background: #f3f5f8; }
.blog-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 40, 0) 55%, rgba(10, 22, 40, .35) 100%); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.blog-card-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin: 0; border-radius: 0; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.blog-card:hover .blog-card-media img, .blog-card:focus-within .blog-card-media img { transform: scale(1.05); }
.blog-card:hover .blog-card-media::after, .blog-card:focus-within .blog-card-media::after { opacity: 1; }
.blog-grid.cols-1 .blog-card { flex-direction: row; }
.blog-grid.cols-1 .blog-card:hover, .blog-grid.cols-1 .blog-card:focus-within { transform: none; }
.blog-grid.cols-1 .blog-card-media { flex: 0 0 36%; }
.blog-grid.cols-1 .blog-card-media img { aspect-ratio: auto; min-height: 220px; height: 100% !important; }
.blog-card-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 24px 28px 26px; }
.blog-meta { margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #6b7686; }
.blog-cat { position: relative; padding-left: 14px; color: var(--color-navy); font-weight: 700; text-decoration: none; transition: color .2s; }
.blog-cat::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--color-accent); }
.blog-cat:hover { color: var(--color-primary); }
.blog-badge { background: #fdf1dc; color: #7a4a06; padding: 2px 8px; font-size: 11px; font-weight: 700; }
.blog .blog-card-title { margin: 0 0 12px; color: var(--color-navy); font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.blog-card-title::before { content: ""; display: block; width: 32px; height: 3px; margin-bottom: 16px; background: var(--color-accent); transition: width .45s cubic-bezier(.2, .7, .2, 1); }
.blog-card:hover .blog-card-title::before, .blog-card:focus-within .blog-card-title::before { width: 56px; }
.blog-card-title a { color: inherit; text-decoration: none; transition: color .25s; }
.blog-card-title a:hover, .blog-card:hover .blog-card-title a { color: var(--color-primary); }
.blog-card-excerpt { margin: 0; color: #4b5563; font-size: 15px; line-height: 1.7; flex: 1; }
.blog-card-more { display: flex; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid #e3e7ee; color: var(--color-navy); font-size: 15px; font-weight: 600; text-decoration: none; transition: color .25s; }
.blog-card-more:hover, .blog-card:hover .blog-card-more { color: var(--color-primary); }
.blog-card-more:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.blog-all { text-align: center; margin: 36px 0 0; }
.blog-all .btn-primary { padding: 14px 28px; border-radius: 0; background: var(--color-navy); color: #fff; font-size: 15px; font-weight: 700; transition: background-color .25s, color .25s; }
.blog-all .btn-primary:hover, .blog-all .btn-primary:focus-visible { background: var(--color-accent); color: var(--color-navy); }
.blog-empty, .blog-search-info p { color: var(--color-muted); }
.blog-search-info { position: relative; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid #e3e7ee; }
.blog-search-info::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 3px; background: var(--color-accent); }
.blog .blog-search-title { margin: 0 0 4px; color: var(--color-navy); font-size: 26px; line-height: 1.25; }
.blog-search-info p { margin: 0; }

/* Tek yazı */
.blog .blog-post-cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 6px 0 30px; border-radius: 0; }
.blog-post-body { overflow-wrap: break-word; }
.blog-post-body > :first-child { margin-top: 0; }
.blog-post-body h2, .blog-post-body h3 { color: var(--color-navy); line-height: 1.3; margin-top: 1.6em; }
.blog-post-body blockquote { margin: 1.5em 0; padding: 6px 22px; border-left: 4px solid var(--color-accent); background: #f7f9fc; color: #4b5563; }
.blog-author { color: var(--color-navy); }
.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; }
.blog-tag { display: inline-block; padding: 5px 14px; border: 1px solid #e3e7ee; background: #f4f6f9; color: var(--color-navy); text-decoration: none; font-size: 14px; font-weight: 600; transition: background-color .2s, border-color .2s, color .2s; }
.blog-tag:hover { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }
.blog-tag.active { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-navy); }
.blog-tag:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.blog-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0 0; padding-top: 28px; border-top: 1px solid #e3e7ee; }
.blog-post-nav a { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; border: 1px solid #e3e7ee; background: #fff; text-decoration: none; color: var(--color-navy); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.blog-post-nav a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--color-accent); transform: scaleY(0); transform-origin: top; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.blog-post-nav a.blog-post-nav-newer::before { left: auto; right: 0; }
.blog-post-nav a:hover { color: var(--color-primary); border-color: #d5dbe5; box-shadow: 0 18px 36px -20px rgba(10, 22, 40, .35); }
.blog-post-nav a:hover::before { transform: scaleY(1); }
.blog-post-nav a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.blog-post-nav small { color: #6b7686; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.blog-post-nav span { font-weight: 600; line-height: 1.4; }
.blog-post-nav-newer { grid-column: 2; text-align: right; }
.blog-back { margin: 28px 0 0; }
.blog-back a { color: var(--color-navy); font-size: 15px; font-weight: 600; text-decoration: none; transition: color .2s; }
.blog-back a:hover { color: var(--color-primary); }

/* Sayfalama */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 44px 0 0; }
.page-link { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e3e7ee; background: #fff; color: var(--color-navy); text-decoration: none; font-size: 15px; font-weight: 600; transition: border-color .2s, color .2s, background-color .2s; }
a.page-link:hover { border-color: var(--color-navy); background: var(--color-navy); color: #fff; }
a.page-link:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.page-link.is-current { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-navy); }
.page-gap { padding: 0 4px; color: #6b7686; }

/* Yan sütun: sayfa kenar menüsüyle aynı kart (lacivert başlık, amber şerit) */
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }
.blog-widget { background: #fff; border: 1px solid #e3e7ee; box-shadow: 0 18px 40px -28px rgba(10, 22, 40, .35); }
.blog .blog-widget-title { position: relative; margin: 0; padding: 18px 24px; background: var(--color-navy); color: #fff; font-size: 16px; font-weight: 700; line-height: 1.4; }
.blog-widget-title::after { content: ""; position: absolute; left: 24px; bottom: 0; width: 32px; height: 3px; background: var(--color-accent); }
.blog-search { display: flex; padding: 16px; }
.blog-search input { flex: 1; min-width: 0; padding: 11px 12px; border: 1px solid #d5dbe5; border-right: 0; border-radius: 0; font: inherit; font-size: 15px; background: #fff; color: var(--color-text); }
.blog-search input:focus { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.blog-search button { border: 0; border-radius: 0; padding: 0 16px; background: var(--color-navy); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .25s, color .25s; }
.blog-search button:hover, .blog-search button:focus-visible { background: var(--color-accent); color: var(--color-navy); }
.blog-search button:focus-visible { outline: 2px solid var(--color-navy); outline-offset: 2px; }
.blog-recent, .blog-terms { list-style: none; margin: 0; padding: 6px 0; }
.blog-recent li + li, .blog-terms li + li { border-top: 1px solid #eef1f5; }
.blog-recent li { padding: 12px 24px 12px 21px; border-left: 3px solid transparent; transition: background-color .2s; }
.blog-recent li:hover { background: #f7f9fc; }
.blog-recent li.active { background: #f4f6f9; border-left-color: var(--color-accent); }
.blog-recent a { display: block; color: #374151; text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.4; transition: color .2s; }
.blog-recent a:hover, .blog-recent .active a { color: var(--color-navy); }
.blog-recent small { display: block; margin-top: 3px; color: #6b7686; font-size: 12px; }
.blog-terms li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 24px 11px 21px; border-left: 3px solid transparent; transition: background-color .2s; }
.blog-terms li:hover { background: #f7f9fc; }
.blog-terms li.active { background: #f4f6f9; border-left-color: var(--color-accent); }
.blog-terms a { color: #4b5563; text-decoration: none; font-size: 15px; line-height: 1.45; transition: color .2s; }
.blog-terms a:hover, .blog-terms .active a { color: var(--color-navy); }
.blog-terms .active a { font-weight: 700; }
.blog-recent a:focus-visible, .blog-terms a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.blog-count { min-width: 28px; padding: 0 6px; text-align: center; background: #f1f4f8; color: var(--color-navy); font-size: 12px; font-weight: 700; line-height: 22px; }
.blog-terms .active .blog-count { background: var(--color-accent); color: var(--color-navy); }
.blog-sidebar .blog-tags { margin: 0; padding: 18px 24px 22px; gap: 6px; }
.blog-sidebar .blog-tag { font-size: 13px; padding: 3px 10px; }

@media (prefers-reduced-motion: reduce) {
    .blog-card, .blog-card::after, .blog-card-media img, .blog-card-media::after, .blog-card-title::before, .blog-post-nav a::before { transition: none; }
    .blog-card:hover, .blog-card:focus-within, .blog-card:hover .blog-card-media img, .blog-card:focus-within .blog-card-media img { transform: none; }
}
@media (max-width: 860px) {
    .blog-layout.has-sidebar { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .blog-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .blog-grid.cols-2, .blog-grid.cols-3 { grid-template-columns: 1fr; }
    .blog-grid.cols-1 .blog-card { flex-direction: column; }
    .blog-grid.cols-1 .blog-card-media { flex: none; }
    .blog-grid.cols-1 .blog-card-media img { min-height: 0; aspect-ratio: 16 / 10; }
    .blog-card-body { padding: 22px 22px 24px; }
    .blog-post-nav { grid-template-columns: 1fr; }
    .blog-post-nav-newer { grid-column: auto; }
}

/* ---------------------------------------------------------------- Ürün kataloğu (KATALOG) */
.product-catalog .product-count { margin-left: 8px; font-size: .5em; font-weight: 500; opacity: .6; white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid rgba(0, 0, 0, .1); border-radius: 10px; background: #fff; color: #1f2937; overflow: hidden; }
.product-media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 14px; background: #f7f7f7; }
.product-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-code { position: absolute; top: 10px; left: 10px; padding: 4px 7px; border-radius: 6px; background: #111; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; }
.product-body { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; padding: 14px 16px 16px; }
.product-body p, .product-body h3, .product-body ul { margin: 0; }
.product-brand { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; opacity: .75; }
.product-title { font-size: 16px; line-height: 1.3; }
.product-subtitle, .product-sku { font-size: 13px; opacity: .75; }
.product-features { padding-left: 18px !important; font-size: 13px; line-height: 1.45; }
.product-variants { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto !important; padding: 8px 0 0 !important; list-style: none; }
.product-variants li { display: inline-flex; border: 1px solid rgba(0, 0, 0, .12); border-radius: 6px; overflow: hidden; font-size: 12px; line-height: 1; }
.product-variants li span, .product-variants li b { padding: 5px 7px; }
.product-variants li b { background: #111; color: #fff; }
@media (max-width: 900px) { .product-grid, .product-grid.cols-3, .product-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .product-grid, .product-grid.cols-2, .product-grid.cols-3, .product-grid.cols-4 { grid-template-columns: minmax(0, 1fr); } }
