/* ==========================================================================
   BSB ELEKTROMEKANİK — Tasarım Sistemi ve Stiller (v29)
   Her bölüm "=== Bölüm Adı Başla ===" ve "Bölüm Adı Bitir" yorumlarıyla ayrılmıştır.
   Bölümler: Fontlar · Tasarım Değişkenleri · Temel Stiller · Yerleşim · Ortak Bileşenler · Header · Dil Seçici · Açılır Menüler · Mobil Menü · Bölüm Başlıkları · Slider · Hizmetler · Neden BSB · Saha Uygulamaları · Nasıl Çalışıyoruz · Blog Kartları · Projeler · CTA Bandı · Kurumsal İçerik · Sayfa Başlığı ve Metin · Hizmet ve Blog Detay · Referanslar · İletişim Bilgileri · Galeri ve Lightbox · İletişim Formu ve Harita · 404 Sayfası · Footer · Animasyon · Yazdırma · Koyu Zemin Odak Halkası · Çerez Bildirimi
   ========================================================================== */

/* === Fontlar Başla === */
/* Fontlar: yerel barındırma (SIL OFL 1.1) — harici istek yok, KVKK dostu */
@font-face { font-family: "Lexend"; font-style: normal; font-display: swap; font-weight: 200 900; src: url("../fonts/lexend-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-011D,U+0120-012F,U+0131-015D,U+0160-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Lexend"; font-style: normal; font-display: swap; font-weight: 200 900; src: url("../fonts/lexend-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-display: swap; font-weight: 200 900; src: url("../fonts/source-sans-3-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-011D,U+0120-012F,U+0131-015D,U+0160-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-display: swap; font-weight: 200 900; src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* Türkçe harfler (Ğ ğ İ Ş ş) küçük ayrı dosyada: Türkçe sayfalar 34–60 KB'lık latin-ext dosyalarını indirmez (v26) */
@font-face { font-family: "Lexend"; font-style: normal; font-display: swap; font-weight: 200 900; src: url("../fonts/lexend-tr-ext-wght-normal.woff2") format("woff2"); unicode-range: U+011E-011F,U+0130,U+015E-015F; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-display: swap; font-weight: 200 900; src: url("../fonts/source-sans-3-tr-ext-wght-normal.woff2") format("woff2"); unicode-range: U+011E-011F,U+0130,U+015E-015F; }
/* Yedek fontlar web fontuyla aynı ölçüye getirildi: font yüklenirken yazılar kaymaz/zıplamaz (v26) */
@font-face { font-family: "Lexend Fallback"; src: local("Arial"), local("Helvetica"), local("Roboto"); size-adjust: 108%; ascent-override: 92.6%; descent-override: 23.1%; line-gap-override: 0%; }
@font-face { font-family: "Source Sans 3 Fallback"; src: local("Arial"), local("Helvetica"), local("Roboto"); size-adjust: 93.7%; ascent-override: 109.3%; descent-override: 42.7%; line-gap-override: 0%; }
/* Fontlar Bitir */

/* === Tasarım Değişkenleri Başla === */
:root {
  /* — Renkler: Adobe Color "My Color Theme" paleti — #023E73 · #024873 · #0A89A6 · #15AEBF
     (paletteki turuncu ton kullanılmaz). Nötrler bu renklerin beyaz/siyahla karışımından türetilmiştir.
     SADECE burayı değiştirerek tüm sitenin renk sistemi değişir. */
  --color-primary: #15aebf;        /* Turkuaz — vurgu: CTA zemini, aktif menü, etiket, ikon, çizgi */
  --color-primary-dark: #076f94;   /* = #0A89A6 %65 + #023E73 %35 — turkuaz METİN (beyazda 5.7:1) */
  --color-primary-light: #e8f7f9;  /* = #15AEBF %10 — ikon zemini, hover yüzeyi */
  --color-primary-hover: #38bac9;
  --color-primary-on-dark: #50c2cf; /* = #15AEBF %75 + beyaz — koyu lacivert zeminde küçük turkuaz metin (5.1:1) */  /* = #15AEBF %85 + beyaz — buton hover */
  --color-on-primary: #011c34;     /* Turkuaz üstü yazı (6.4:1) */
  --color-secondary: #0a89a6;      /* Petrol — ikincil vurgu */
  --color-accent: var(--color-primary);
  --color-navy: #023e73;           /* Lacivert — linkler, koyu buton */
  --color-dark-bg: #023e73;        /* Koyu bölümler: üst bar, hero, CTA */
  --color-dark-bg-2: #024873;      /* İkinci koyu ton */
  --color-footer: #01284b;         /* = #023E73 + %35 siyah — footer */
  --color-dark: #011c34;           /* = #023E73 + %55 siyah — başlıklar */
  --color-text: #1b3149;           /* = başlık %88 + beyaz — gövde (12:1) */
  --color-text-muted: #5a738a;     /* İkincil metin (4.9:1) */
  --color-muted: var(--color-text-muted);
  --color-white: #ffffff;
  --color-background: #ffffff;
  --color-surface: var(--color-white);
  --color-light: #f4f7f9;          /* = #023E73 %4 — açık bölüm zemini */
  --color-border: #dee6ed;         /* = #023E73 %13 */
  --color-on-dark: #ffffff;
  --color-on-dark-muted: #b8c9d8;  /* = #023E73 %28 + beyaz (6.4:1) */
  --color-line-dark: rgba(255, 255, 255, 0.14);
  --color-line-dark-strong: rgba(255, 255, 255, 0.35);
  --color-tint-dark: rgba(255, 255, 255, 0.06);
  --color-tint-dark-hover: rgba(255, 255, 255, 0.12);
  --color-overlay: rgba(1, 28, 52, 0.6);
  --color-overlay-hover: rgba(1, 28, 52, 0.18);
  --color-lightbox: rgba(1, 28, 52, 0.95);
  --color-focus: var(--color-primary-dark);
  --color-focus-on-dark: var(--color-primary);
  --color-success: #076f94;
  --color-error: #b3261e;

  /* — Tipografi — */
  --font-heading: "Lexend", "Lexend Fallback", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Source Sans 3", "Source Sans 3 Fallback", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-xs: 0.8125rem;   /* 13 */
  --fs-sm: 0.9375rem;   /* 15 */
  --fs-base: 1.0625rem; /* 17 */
  --fs-md: 1.1875rem;   /* 19 */
  --fs-lg: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-xl: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --fs-2xl: clamp(1.875rem, 1.45rem + 1.7vw, 2.75rem);
  --fs-3xl: clamp(2.125rem, 1.5rem + 2.8vw, 3.75rem);
  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-body: 1.65;

  /* — Boşluk (spacious ölçek) — */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-section: clamp(4rem, 3rem + 4vw, 7rem);

  /* — Layout — */
  --container-width: 1280px;
  --gutter: clamp(1rem, 0.6rem + 1.8vw, 2rem);
  --topbar-h: 40px;
  --mainbar-h: 80px;
  --header-h: calc(var(--topbar-h) + var(--mainbar-h));
  --logo-w: 150px;
  --dd-pad-top: 16px;              /* Açılır menülerin üst iç boşluğu */

  /* — Radius (bilinçli olarak küçük: teknik/kurumsal his) — */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;

  /* — Gölge — */
  --shadow-sm: 0 1px 2px rgba(1, 28, 52, 0.06);
  --shadow-md: 0 8px 24px -8px rgba(1, 28, 52, 0.14);
  --shadow-lg: 0 24px 48px -16px rgba(1, 28, 52, 0.22);

  /* — Motion — */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 150ms;
  --dur: 240ms;
  --dur-slow: 420ms;
}
/* Tasarım Değişkenleri Bitir */

/* === Temel Stiller Başla === */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
figure { margin: 0; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  color: var(--color-dark);
  margin: 0 0 var(--space-md);
  text-wrap: balance;
}
p { margin: 0 0 var(--space-md); }
a { color: var(--color-navy); text-underline-offset: 3px; }
a:hover { color: var(--color-primary-dark); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 1000;
  background: var(--color-dark); color: var(--color-on-dark); padding: 12px 18px;
  font-weight: 600; text-decoration: none; border-radius: var(--radius-md);
}
.skip-link:focus { top: 12px; color: var(--color-on-dark); }
.icon { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 18px; height: 18px; }
.icon--brand { fill: currentColor; stroke: none; }
/* Temel Stiller Bitir */

/* === Yerleşim Başla === */
.container {
  width: 100%;
  max-width: calc(var(--container-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--space-section); }
/* Çok geniş ekranlar (27" QHD / 32" 4K, %100 ölçek): tüm arayüz orantılı büyür; içerik ekranın ortasında küçük bir şerit gibi kalmaz (v26) */
@media (min-width: 2400px) { html { zoom: 1.25; } }
@media (min-width: 3200px) { html { zoom: 1.5; } }
.section--light { background: var(--color-light); }
.section--dark { background: var(--color-dark-bg); color: var(--color-on-dark-muted); }
.section--dark h2, .section--dark h3 { color: var(--color-on-dark); }
.grid { display: grid; gap: var(--space-lg); }
/* Yerleşim Bitir */

/* === Ortak Bileşenler Başla === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--font-heading); font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0.01em;
  text-decoration: none; border: 1.5px solid transparent; border-radius: var(--radius-md);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--primary { background: var(--color-primary); color: var(--color-on-primary); }
.btn--primary:hover { background: var(--color-primary-hover); color: var(--color-on-primary); }
.btn--outline { border-color: var(--color-border); color: var(--color-dark); background: transparent; }
.btn--outline:hover { border-color: var(--color-primary); color: var(--color-dark); background: var(--color-primary-light); }
.btn--ghost-light { border-color: var(--color-line-dark-strong); color: var(--color-on-dark); }
.btn--ghost-light:hover { border-color: var(--color-primary); color: var(--color-on-dark); background: var(--color-tint-dark); }
.btn--wa { background: var(--color-white); color: var(--color-navy); border-color: var(--color-white); }
.btn--wa .icon { width: 20px; height: 20px; }
.btn--wa:hover { background: var(--color-primary-light); border-color: var(--color-primary-light); color: var(--color-dark); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 0.875rem; }
.mobile-cta { display: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-heading); font-size: var(--fs-xs);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary-dark); font-weight: 600;
  margin-bottom: var(--space-md);
}
.eyebrow::before { content: "/"; color: var(--color-primary); font-weight: 700; }
.section--dark .eyebrow, .page-hero .eyebrow { color: var(--color-primary-on-dark); }


.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-family: var(--font-heading); font-size: var(--fs-sm); font-weight: 500;
  color: var(--color-navy); text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--color-primary-dark); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Görsel çerçevesi: aspect-ratio ile CLS önlenir */
.media { position: relative; overflow: hidden; background: var(--color-light); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--3x2 { aspect-ratio: 753 / 500; }
/* Ortak Bileşenler Bitir */

/* === Header Başla === */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: transform var(--dur-slow) var(--ease);
}
/* Scroll'da üst bar yukarı kayar (transform — layout shift yok); logo ve menü sabit */
.site-header.is-scrolled { transform: translateY(calc(var(--topbar-h) * -1)); }
.topbar { height: var(--topbar-h); background: var(--color-dark-bg); color: var(--color-on-dark-muted); font-size: 0.875rem; }
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); }
.topbar__info { margin: 0; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__links { list-style: none; display: flex; align-items: center; gap: var(--space-lg); }
.topbar a { color: var(--color-on-dark-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.topbar a:hover { color: var(--color-on-dark); }
.topbar .icon { width: 16px; height: 16px; color: var(--color-primary); }
.topbar__social { display: flex; gap: 4px; padding-left: var(--space-lg); border-left: 1px solid var(--color-line-dark); }
.topbar__social a { width: 32px; justify-content: center; }
.topbar__social .icon { color: var(--color-on-dark-muted); }
.topbar__social a:hover .icon { color: var(--color-primary); }

.mainbar { height: var(--mainbar-h); background: var(--color-surface); border-bottom: 1px solid var(--color-border); transition: box-shadow var(--dur) var(--ease); }
.site-header.is-scrolled .mainbar { box-shadow: var(--shadow-md); }
.mainbar__inner { height: 100%; display: flex; align-items: stretch; gap: var(--space-xl); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: var(--logo-w); height: auto; aspect-ratio: 414.4 / 166.64; } /* orijinal SVG oranı */

.primary-nav { display: flex; align-items: stretch; margin-inline: auto; }
.nav-list { list-style: none; display: flex; align-items: stretch; gap: clamp(0.25rem, 0.2vw + 0.1rem, 0.75rem); }
.nav-item { position: static; display: flex; }
.nav-item--rel { position: relative; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px;
  font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 500;
  color: var(--color-dark); text-decoration: none; background: none; border: 0; white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--color-primary); transform: scaleX(0); transform-origin: center;
  transition: transform var(--dur) var(--ease);
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--color-primary-dark); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--color-navy); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-link.is-active::after, .nav-link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-link .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }

.header-cta { display: flex; align-items: center; gap: var(--space-lg); flex: none; }
/* 1100–1279 px: 8 menü öğesi + Teklif butonu tek satıra sığsın (Projelerimiz eklendi, v22; menü iç boşluğu "Açılır Menüler" bölümünde) */
@media (min-width: 1100px) and (max-width: 1279px) {
  .mainbar__inner { gap: var(--space-md); }
  .header-cta .btn { padding-inline: 16px; }
  .header-cta .btn .icon { display: none; }
}
/* Header Bitir */

/* === Dil Seçici Başla === */
/* TR / EN — minimal yazı seçici. Aktif dil turkuaz daire içinde; pasif dil (EN) soluk ve tıklanamaz; alt çizgi yok (v27).
   Masaüstünde header üst şeridinde (sosyal medya ikonlarının solunda): menü satırı sıkışmaz; mobilde mobil menü başlığında. */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; flex: none; font-family: var(--font-heading); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; line-height: 1; }
.lang-switch__item {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0;
  margin: 0; border: 0; border-radius: 50%; background: none; font: inherit; letter-spacing: inherit;
  color: var(--color-text-muted); text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lang-switch__item:hover, .lang-switch__item:focus { text-decoration: none; }
.lang-switch__item.is-active { background: var(--color-primary); color: var(--color-on-primary); }
a.lang-switch__item:hover { background: var(--color-light); color: var(--color-navy); }
.lang-switch__item:disabled { opacity: 0.5; cursor: default; }
.lang-switch__sep { color: var(--color-border); font-weight: 400; user-select: none; }
/* Üst şerit (koyu zemin) */
.topbar__lang { display: flex; align-items: center; }
.lang-switch--header .lang-switch__item { width: 28px; height: 28px; color: var(--color-on-dark-muted); }
.lang-switch--header .lang-switch__item.is-active { background: var(--color-primary); color: var(--color-on-primary); }
.lang-switch--header a.lang-switch__item:hover { background: rgba(255, 255, 255, 0.1); color: var(--color-on-dark); }
.lang-switch--header .lang-switch__sep { color: var(--color-line-dark-strong); }
/* Mobil menü başlığı: logo ile kapat butonu arasında; daire 36 px, dokunma alanı 44 px */
.lang-switch--mobile { margin-left: auto; font-size: 0.8125rem; }
.lang-switch--mobile .lang-switch__item { width: 44px; height: 44px; padding: 4px; background-clip: content-box; }
/* Dil Seçici Bitir */

/* === Açılır Menüler Başla === */
/* Açılır menüler — Kurumsal: tek kademe; Hizmetler: kategori listesi + yan panelde kategorinin hizmetleri */
.dropdown {
  position: absolute; top: calc(100% + 1px); left: 0;
  background: var(--color-surface); border: 1px solid var(--color-border); box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.dropdown { min-width: 250px; padding: calc(var(--dd-pad-top) - 8px) 8px 8px; list-style: none; }
/* Ortak link/hover dili: açık zemin + solda turkuaz çizgi */
.dropdown a { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 8px 12px; border-radius: var(--radius-md); color: var(--color-text); text-decoration: none; font-size: var(--fs-sm); line-height: 1.35; transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--color-light); color: var(--color-primary-dark); box-shadow: inset 3px 0 0 var(--color-primary); }
.dropdown a[aria-current="page"] { font-weight: 600; }
.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s; }

/* Hizmetler: 1. kademe (kategoriler) */
.dropdown--svc { width: 344px; padding-bottom: 0; }
.dd-cats { list-style: none; display: grid; gap: 2px; }
.dd-cat__btn {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 8px 10px 8px 12px;
  background: none; border: 0; border-radius: var(--radius-md); text-align: left;
  font-family: var(--font-heading); font-size: var(--fs-sm); font-weight: 500; line-height: 1.3; color: var(--color-dark);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.dd-cat__icon { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--color-primary-light); color: var(--color-primary-dark); }
.dd-cat__icon .icon { width: 19px; height: 19px; }
.dd-cat__name { flex: 1; min-width: 0; }
.dd-cat__chev { color: var(--color-text-muted); transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
.dd-cat__btn:hover, .dd-cat__btn[aria-expanded="true"] { background: var(--color-light); color: var(--color-primary-dark); box-shadow: inset 3px 0 0 var(--color-primary); }
.dd-cat__btn:hover .dd-cat__chev, .dd-cat__btn[aria-expanded="true"] .dd-cat__chev { color: var(--color-primary-dark); transform: translateX(2px); }
.dd-cat.is-current .dd-cat__name { font-weight: 600; color: var(--color-navy); }
.dropdown .dd-foot { margin: 8px -8px 0; padding: 12px 20px; min-height: 48px; border-top: 1px solid var(--color-border); border-radius: 0 0 var(--radius-lg) var(--radius-lg); justify-content: space-between; font-family: var(--font-heading); font-weight: 500; color: var(--color-navy); }
.dropdown .dd-foot:hover { box-shadow: none; background: var(--color-light); color: var(--color-primary-dark); }

/* Hizmetler: 2. kademe (yan panel) — tüm paneller kategori listesinin yanında, aynı üst hizadan açılır; ekran dışına taşarsa sola açılır (.is-flip) */
.dd-sub {
  position: absolute; top: -1px; left: calc(100% - 1px); width: 336px; min-height: calc(100% + 2px);
  padding: calc(var(--dd-pad-top) - 4px) 8px 8px; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: 0 0 var(--radius-lg) 0; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateX(-6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility 0s linear var(--dur-fast);
}
.dd-cat.is-sub-open > .dd-sub { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility 0s; }
.dropdown--svc.is-flip .dd-sub { left: auto; right: calc(100% - 1px); border-radius: 0 0 0 var(--radius-lg); transform: translateX(6px); }
.dropdown--svc.is-flip .dd-cat.is-sub-open > .dd-sub { transform: none; }
.dd-sub__title { margin: 0 4px var(--space-xs); padding: 0 8px var(--space-sm); border-bottom: 2px solid var(--color-primary); font-family: var(--font-heading); font-size: var(--fs-sm); font-weight: 600; color: var(--color-dark); }
.dd-sub ul { list-style: none; }

.nav-toggle { display: none; margin-left: auto; align-self: center; width: 48px; height: 48px; align-items: center; justify-content: center; background: var(--color-light); border: 0; border-radius: var(--radius-md); color: var(--color-dark); }
.nav-toggle .icon { width: 24px; height: 24px; }

@media (max-width: 1279px) {
  .nav-link { padding-inline: 8px; }
  .nav-link::after { left: 8px; right: 8px; }
  .dropdown--svc { width: 330px; }
  .dd-sub { width: 320px; }
}
@media (max-width: 1099px) {
  :root { --topbar-h: 0px; --mainbar-h: 68px; --logo-w: 124px; }
  .topbar { display: none; }
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: 8px; }
  .mobile-cta { display: inline-flex; margin-left: auto; align-self: center; min-height: 44px; } /* dokunma alanı 44 px (v26) */
  .mainbar__inner { gap: 12px; } /* 320px'te menü butonu ekran dışına taşmasın */
}
@media (max-width: 479px) { :root { --mainbar-h: 64px; --logo-w: 114px; } }
/* Açılır Menüler Bitir */

/* === Mobil Menü Başla === */
/* Mobil off-canvas menü */
.mobile-menu { position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility 0s linear var(--dur-slow); }
.mobile-menu.is-open { visibility: visible; transition: visibility 0s; }
.mobile-menu__overlay { position: absolute; inset: 0; background: var(--color-overlay); opacity: 0; transition: opacity var(--dur-slow) var(--ease); }
.mobile-menu.is-open .mobile-menu__overlay { opacity: 1; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--color-surface); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform var(--dur-slow) var(--ease);
  box-shadow: var(--shadow-lg);
}
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  height: var(--header-h); padding-inline: var(--gutter); border-bottom: 1px solid var(--color-border); flex: none;
}
.mobile-menu__head img { width: 128px; height: auto; aspect-ratio: 414.4 / 166.64; }
.mobile-menu__close { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.mobile-menu__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: var(--space-xs) var(--gutter) var(--space-xl); }
.m-nav { list-style: none; }
.m-nav > li { border-bottom: 1px solid var(--color-border); }
.m-link, .m-acc {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 46px; padding: 8px 0; background: none; border: 0; text-align: left;
  font-family: var(--font-heading); font-size: 1.05rem; font-weight: 500; color: var(--color-dark); text-decoration: none;
}
.m-link[aria-current="page"] { color: var(--color-primary-dark); }
.m-acc .icon { transition: transform var(--dur) var(--ease); color: var(--color-text-muted); }
.m-acc[aria-expanded="true"] .icon { transform: rotate(180deg); }
.m-sub { list-style: none; padding: 0 0 var(--space-sm) 0; }
.m-sub[hidden] { display: none; }
.m-sub a {
  display: flex; align-items: center; min-height: 40px; padding: 6px 0 6px 14px;
  border-left: 2px solid var(--color-border); color: var(--color-text); text-decoration: none; font-size: var(--fs-sm);
}
.m-sub a:hover, .m-sub a[aria-current="page"] { border-color: var(--color-primary); color: var(--color-primary-dark); }
.m-group { padding-top: var(--space-xs); }
.m-group + .m-group { padding-top: var(--space-xs); }
/* Mobil menü: hizmet kategorileri ayrı, belirgin satırlar (açık zemin + turkuaz çizgi); açık kategori vurgulu,
   altındaki hizmetler içeriden hizalı. Ana menü öğelerinden küçük, alt linkler en küçük kademe. */
#m-hizmetler { padding-bottom: var(--space-sm); }
.m-group { padding-top: 6px; }
.m-group + .m-group { padding-top: 6px; }
.m-acc--sub {
  min-height: 44px; padding: 8px 12px; gap: var(--space-xs);
  background: var(--color-light); border-left: 3px solid var(--color-primary); border-radius: var(--radius-md);
  font-size: 0.9375rem; color: var(--color-dark); letter-spacing: 0; text-transform: none; font-weight: 600;
}
.m-acc--sub[aria-expanded="true"] { background: var(--color-primary-light); color: var(--color-primary-dark); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.m-acc--sub .icon { width: 16px; height: 16px; flex: none; }
.m-acc--sub[aria-expanded="true"] .icon { color: var(--color-primary-dark); }
.m-group .m-sub { padding: 4px 0 var(--space-xs) 15px; }
.m-sub .m-sub a { font-size: 0.8125rem; min-height: 40px; }
.mobile-menu__foot { flex: none; padding: var(--space-md) var(--gutter) calc(var(--space-md) + env(safe-area-inset-bottom)); border-top: 1px solid var(--color-border); display: grid; gap: var(--space-sm); background: var(--color-light); }
/* Kısa ekran (yatay telefon): alt butonlar paneli daraltmasın; panelin tamamı kaydırılır */
@media (max-height: 500px) {
  .mobile-menu__panel { overflow-y: auto; overscroll-behavior: contain; }
  .mobile-menu__head { height: 56px; position: sticky; top: 0; z-index: 1; background: var(--color-surface); }
  .mobile-menu__body { flex: none; overflow: visible; }
  .mobile-menu__foot { grid-template-columns: 1fr 1fr; }
}
/* Mobil Menü Bitir */

/* === Bölüm Başlıkları Başla === */
.label {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: var(--space-md);
  font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-primary-dark);
}
.label::before { content: "/"; color: var(--color-primary); font-weight: 700; }
.section--dark .label, .slider .label { color: var(--color-primary-on-dark); }
.section--dark .label::before, .slider .label::before { color: var(--color-on-dark-muted); }

/* Bölüm başlığı */
.head { display: grid; gap: var(--space-lg); margin-bottom: var(--space-2xl); align-items: end; }
.head h2 { font-size: var(--fs-2xl); margin: 0; max-width: 26ch; }


@media (max-width: 639px) {
  .head { margin-bottom: var(--space-xl); }
  .head .btn { justify-self: start; }
}
/* Bölüm Başlıkları Bitir */

/* === Slider Başla === */
/* Hero slider — tam genişlik görsel; yazılar page-hero ile aynı container içinde, solda koyu lacivert alan */
.slider { position: relative; background: var(--color-dark); color: var(--color-on-dark-muted); overflow: hidden; isolation: isolate; }
.slider__track { position: relative; height: clamp(520px, 72vh, 680px); }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 700ms var(--ease), visibility 0s linear 700ms; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 700ms var(--ease), visibility 0s; z-index: 1; }
.slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; transform: scale(1.04); transition: transform 6s linear; }
.slide.is-active .slide__bg { transform: scale(1); }
/* sol: koyu lacivert yazı alanı → sağ: görsel açık kalır */
.slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1, 28, 52, 0.96) 0%, rgba(2, 62, 115, 0.9) 34%, rgba(2, 62, 115, 0.55) 58%, rgba(2, 62, 115, 0.08) 82%); }
.slide__inner { position: relative; width: 100%; }
.slide__panel { position: relative; max-width: 620px; padding-block: var(--space-2xl) calc(var(--space-3xl) + 40px); }
.slide__panel::before { content: ""; display: block; width: 56px; height: 3px; margin-bottom: var(--space-lg); background: var(--color-primary); }
.slider .label { color: var(--color-primary-on-dark); }
.slider .label::before { color: var(--color-on-dark-muted); }
.slide__title { color: var(--color-on-dark); font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); line-height: 1.08; letter-spacing: -0.025em; max-width: 16ch; margin-bottom: var(--space-lg); text-shadow: 0 1px 24px rgba(1, 28, 52, 0.35); }
.slide__title em { font-style: normal; color: var(--color-primary); }
.slide__text { font-size: var(--fs-md); max-width: 44ch; margin-bottom: var(--space-xl); color: var(--color-on-dark); opacity: .88; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.slider__controls { position: absolute; left: 0; right: 0; bottom: var(--space-xl); z-index: 3; display: flex; align-items: center; justify-content: flex-end; pointer-events: none; }
.slider__controls > * { pointer-events: auto; }
.slider__arrows { display: flex; align-items: center; gap: var(--space-sm); }
.slider__btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.06); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border: 1px solid rgba(255, 255, 255, 0.45); color: var(--color-on-dark); transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.slider__btn:hover { background: rgba(21, 174, 191, 0.16); border-color: var(--color-primary); color: var(--color-primary); }
.slider__btn .icon { width: 20px; height: 20px; }
@media (max-width: 1023px) {
  .slide::before { background: linear-gradient(90deg, rgba(1, 28, 52, 0.95) 0%, rgba(2, 62, 115, 0.86) 50%, rgba(2, 62, 115, 0.35) 100%); }
}
@media (max-width: 767px) {
  .slider__track { height: auto; min-height: 560px; display: grid; }
  .slide { position: relative; grid-area: 1 / 1; align-items: flex-end; }
  .slide__bg { object-position: 60% 30%; }
  /* Telefonda her slaytın anlamlı bölümü görünsün: 1 izolatörler ve gökyüzü, 2 ölçüm yapan el, 3 kontrol paneli */
  .slide:nth-child(1) .slide__bg { object-position: 92% 30%; }
  .slide:nth-child(2) .slide__bg { object-position: 38% 50%; }
  .slide:nth-child(3) .slide__bg { object-position: 76% 60%; }
  /* mobil: görsel üstte görünür, yazı alanı koyu lacivert */
  .slide::before { background: linear-gradient(180deg, rgba(1, 28, 52, 0.15) 0%, rgba(1, 28, 52, 0.55) 30%, rgba(2, 40, 75, 0.95) 52%, var(--color-dark) 100%); }
  .slide__panel { padding-block: 200px 104px; }
  .slide__text { font-size: var(--fs-base); margin-bottom: var(--space-lg); }
  /* İki buton yan yana, eşit genişlikte: alt alta dizilip slaytı uzatmaz */
  .slider .hero-actions { flex-wrap: nowrap; gap: var(--space-xs); }
  .slider .hero-actions .btn { flex: 1 1 0; min-width: 0; padding-inline: 8px; font-size: 0.875rem; white-space: normal; text-align: center; line-height: 1.2; }
  .slider .hero-actions .btn .icon { display: none; } /* dar ekranda ok ikonu yer kaplamasın, etiket tek satırda kalsın */
  .slider__btn { width: 44px; height: 44px; }
}
/* Kısa ekranlı telefonlar (ör. 320×568): görsel alanı kısalır, yazı ve butonlar ilk ekrana yaklaşır (v26) */
@media (max-width: 767px) and (max-height: 700px) and (orientation: portrait) {
  .slider__track { min-height: 0; }
  .slide__panel { padding-block: 132px 96px; }
}
/* Yatay tutulan telefon / katlanabilir (yükseklik ≤ 500 px): mobil dikey düzen yerine yan yana düzen; slider iki ekran boyu uzamaz (v26) */
@media (max-width: 1023px) and (max-height: 500px) and (orientation: landscape) {
  .slider__track { height: auto; min-height: 0; display: grid; }
  .slide { position: relative; grid-area: 1 / 1; align-items: center; }
  .slide::before { background: linear-gradient(90deg, rgba(1, 28, 52, 0.96) 0%, rgba(2, 62, 115, 0.88) 45%, rgba(2, 62, 115, 0.35) 100%); }
  .slide__panel { padding-block: var(--space-md) var(--space-lg); max-width: 62%; }
  .slide__panel::before { display: none; } /* v28: kısa yatay ekranda butonlar ilk ekrana sığsın */
  .slider .label { margin-bottom: var(--space-xs); }
  .slide__title { font-size: clamp(1.375rem, 0.9rem + 2vw, 1.875rem); margin-bottom: var(--space-xs); }
  .slide__text { font-size: var(--fs-sm); line-height: 1.5; margin-bottom: var(--space-sm); }
  .slider .hero-actions .btn { flex: 0 1 auto; }
  .slider__controls { bottom: var(--space-md); } /* oklar sağ altta, yazı alanının (sol %62) dışında */
}
/* Slider Bitir */

/* === Hizmetler Başla === */
/* Hizmetler — yalnız ana kategoriler; her kart kategorinin ilk alt hizmet sayfasına gider */
.svc-section { padding-block: clamp(3rem, 2.25rem + 2.5vw, 4.5rem); }
.svc-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-md) var(--space-xl); margin-bottom: var(--space-xl); }
.svc-intro .label { margin-bottom: var(--space-xs); }
.svc-intro h2 { font-size: var(--fs-xl); max-width: 28ch; margin: 0; }
.svc-intro .btn { min-height: 44px; padding-block: 10px; }
.svc-cats { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
.svc-cat { display: flex; scroll-margin-top: calc(var(--mainbar-h) + 24px); }
.svc-tile {
  position: relative; display: grid; width: 100%; align-items: center;
  grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "icon name arrow" "icon meta arrow";
  gap: 0 var(--space-md); padding: 12px 16px; overflow: hidden;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  color: var(--color-text); text-decoration: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.svc-tile::before { content: ""; position: absolute; top: 0; left: 16px; width: 32px; height: 3px; border-radius: 0 0 3px 3px; background: var(--color-primary); transition: width var(--dur) var(--ease); }
.svc-tile__icon { grid-area: icon; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--color-primary-light); color: var(--color-primary-dark); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.svc-tile__icon .icon { width: 22px; height: 22px; }
.svc-tile__num { display: none; grid-area: num; font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 600; color: var(--color-text-muted); }
.svc-tile__name { grid-area: name; margin: 0; font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; color: var(--color-dark); transition: color var(--dur) var(--ease); }
.svc-tile__meta { grid-area: meta; font-size: var(--fs-xs); color: var(--color-text-muted); }
.svc-tile__arrow { grid-area: arrow; color: var(--color-primary-dark); transition: transform var(--dur) var(--ease); }
.svc-tile:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.svc-tile:hover::before { width: calc(100% - 32px); }
.svc-tile:hover .svc-tile__icon { background: var(--color-primary); color: var(--color-on-primary); }
.svc-tile:hover .svc-tile__name { color: var(--color-navy); }
.svc-tile:hover .svc-tile__arrow { transform: translateX(3px); }
@media (min-width: 600px) and (max-width: 1023px) {
  .svc-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-cat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* Masaüstü: 5 kategori tek satırda, dikey kart */
@media (min-width: 1024px) {
  .svc-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-md); }
  .svc-tile {
    grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto; grid-template-areas: "icon num" "name name" "meta arrow";
    align-items: start; gap: var(--space-sm) var(--space-xs); padding: var(--space-lg) var(--space-lg) var(--space-md);
  }
  .svc-tile::before { left: var(--space-lg); }
  .svc-tile:hover::before { width: calc(100% - 2 * var(--space-lg)); }
  .svc-tile__icon { width: 44px; height: 44px; margin-bottom: var(--space-xs); }
  .svc-tile__num { display: block; justify-self: end; }
  .svc-tile__name { font-size: var(--fs-base); min-height: 2.6em; }
  .svc-tile__meta, .svc-tile__arrow { align-self: center; }
  .svc-tile:hover { transform: translateY(-2px); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .svc-tile { padding-inline: var(--space-md); }
  .svc-tile::before { left: var(--space-md); }
  .svc-tile:hover::before { width: calc(100% - 2 * var(--space-md)); }
  .svc-tile__name { font-size: var(--fs-sm); }
}
@media (prefers-reduced-motion: reduce) { .svc-tile, .svc-tile::before { transition: none; } .svc-tile:hover { transform: none; } }
/* Hizmetler Bitir */

/* === Neden BSB Başla === */
/* Neden BSB — başlık kolonu + ikonlu 3×2 matris (kart yerine ince çizgili ızgara) */
.why-layout { display: grid; gap: var(--space-2xl); }
.why__head h2 { font-size: var(--fs-2xl); max-width: 12ch; margin: 0 0 var(--space-xl); }
.why__head blockquote { margin: 0; padding-left: var(--space-lg); border-left: 2px solid var(--color-primary); font-family: var(--font-heading); font-size: var(--fs-md); color: var(--color-on-dark); line-height: 1.4; max-width: 24ch; }
.why__head blockquote small { display: block; margin-top: 6px; font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-on-dark-muted); }
.why-matrix { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--color-line-dark); border-left: 1px solid var(--color-line-dark); }
.why-cell { position: relative; display: flex; flex-direction: column; gap: var(--space-md); padding: var(--space-xl) var(--space-lg); border-right: 1px solid var(--color-line-dark); border-bottom: 1px solid var(--color-line-dark); transition: background-color var(--dur) var(--ease); }
.why-cell::before { content: ""; position: absolute; left: -1px; top: -1px; height: 2px; width: 0; background: var(--color-primary); transition: width var(--dur-slow) var(--ease); }
.why-cell:hover { background: var(--color-tint-dark); }
.why-cell:hover::before { width: calc(100% + 2px); }
.why-cell__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--radius-md); background: rgba(21, 174, 191, 0.12); color: var(--color-primary); border: 1px solid rgba(21, 174, 191, 0.35); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.why-cell__icon .icon { width: 26px; height: 26px; }
.why-cell:hover .why-cell__icon { background: var(--color-primary); color: var(--color-on-primary); }
.why-cell h3 { font-size: var(--fs-md); margin: 0 0 6px; color: var(--color-on-dark); }
.why-cell p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; }
@media (min-width: 1024px) { .why-layout { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--space-3xl); } .why__head { position: sticky; top: calc(var(--mainbar-h) + 32px); align-self: start; } }
@media (max-width: 1023px) { .why-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); } .why__head h2 { max-width: none; } }
@media (max-width: 599px) {
  .why-matrix { grid-template-columns: 1fr; }
  .why-cell { flex-direction: row; align-items: flex-start; padding: var(--space-lg) var(--space-md); }
  .why-cell__icon { width: 44px; height: 44px; flex: none; }
  .why-cell__icon .icon { width: 22px; height: 22px; }
}
/* Neden BSB Bitir */

/* === Saha Uygulamaları Başla === */
/* Saha uygulamaları — kompakt */
.saha { display: grid; gap: var(--space-2xl); align-items: center; }
.saha__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--color-border); }
.saha__media img { width: 100%; height: 100%; object-fit: cover; }
.saha h2 { font-size: var(--fs-2xl); max-width: 20ch; }
.saha__lead { color: var(--color-text-muted); font-size: var(--fs-sm); margin-bottom: var(--space-lg); }
.field-list { list-style: none; border-top: 1px solid var(--color-border); }
.field-item { border-bottom: 1px solid var(--color-border); }
.field-item summary { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: var(--space-sm); align-items: center; min-height: 56px; padding: 10px 0; cursor: pointer; list-style: none; font-family: var(--font-heading); font-weight: 500; font-size: var(--fs-base); color: var(--color-dark); }
.field-item summary::-webkit-details-marker { display: none; }
.field-item summary:hover { color: var(--color-navy); }
.field-item__num { font-size: var(--fs-xs); font-weight: 600; color: var(--color-primary-dark); }
.field-item summary .icon { color: var(--color-text-muted); transition: transform var(--dur) var(--ease); }
.field-item[open] summary .icon { transform: rotate(180deg); color: var(--color-primary-dark); }
.field-item p { margin: 0 0 var(--space-md) 44px; font-size: var(--fs-sm); color: var(--color-text-muted); line-height: 1.65; }
@media (min-width: 1024px) { .saha { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3xl); } }
/* Saha Uygulamaları Bitir */

/* === Nasıl Çalışıyoruz Başla === */
/* Nasıl çalışıyoruz — solda başlık + görsel, sağda dikey akış hattı (bağlantısız) */
.proc__grid { display: grid; gap: var(--space-2xl); align-items: start; }
.proc__intro h2 { font-size: var(--fs-2xl); max-width: 16ch; margin: 0 0 var(--space-xl); }
.proc__media { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--color-dark-bg); }
.proc__media img { width: 100%; height: 100%; object-fit: cover; }
.proc__media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40%; height: 4px; background: var(--color-primary); }
.proc__list { list-style: none; position: relative; margin: 0; padding: 0; }
/* dikey hat: numaraların merkezinden geçer */
.proc__step:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: calc(var(--space-lg) + 56px); bottom: calc((var(--space-lg) + var(--space-xs)) * -1); width: 2px; background: linear-gradient(var(--color-primary), var(--color-navy)); }
.proc__step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-lg); align-items: start; padding: var(--space-lg) var(--space-lg) var(--space-lg) 0; border-radius: var(--radius-lg); transition: background-color var(--dur) var(--ease); }
.proc__step + .proc__step { margin-top: var(--space-xs); }
.proc__step:hover { background: var(--color-light); }
.proc__num { position: relative; z-index: 1; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--color-surface); border: 2px solid var(--color-navy); color: var(--color-navy); font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-base); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.proc__step:first-child .proc__num { border-color: var(--color-primary); color: var(--color-primary-dark); }
.proc__step:hover .proc__num { background: var(--color-navy); color: var(--color-on-dark); border-color: var(--color-navy); }
.proc__body { padding-top: 4px; }
.proc__body h3 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-md); line-height: 1.3; margin: 0 0 6px; }
.proc__body p { margin: 0; font-size: var(--fs-sm); line-height: 1.65; color: var(--color-text-muted); }
.proc__icon { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--color-primary-light); color: var(--color-primary-dark); }
.proc__icon .icon { width: 17px; height: 17px; }
@media (min-width: 1024px) {
  .proc__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); }
  .proc__intro { position: sticky; top: calc(var(--mainbar-h) + 32px); }
}
@media (max-width: 1023px) { .proc__media { aspect-ratio: 16 / 7; } .proc__intro h2 { max-width: none; } }
@media (max-width: 599px) {
  .proc__media { display: none; }
  .proc__intro h2 { margin-bottom: var(--space-md); }
  .proc__step:not(:last-child)::before { left: 21px; top: calc(var(--space-md) + 44px); bottom: calc((var(--space-md) + var(--space-xs)) * -1); }
  .proc__step { grid-template-columns: 44px minmax(0, 1fr); gap: var(--space-md); padding: var(--space-md) 0; }
  .proc__num { width: 44px; height: 44px; font-size: var(--fs-sm); }
  .proc__step:hover { background: none; }
}
/* Nasıl Çalışıyoruz Bitir */

/* === Blog Kartları Başla === */
/* Blog kartları */
.post-grid { display: grid; gap: var(--space-xl) var(--space-lg); grid-template-columns: 1fr; }
.post-card { display: flex; flex-direction: column; height: 100%; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.post-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.post-card__media { display: block; }
.post-card h2 a:focus-visible, .post-card h3 a:focus-visible, .post-card .more:focus-visible { outline-offset: 3px; }
.post-card .media img { transition: transform var(--dur-slow) var(--ease); }
.post-card:hover .media img { transform: scale(1.05); }
.post-card__body { display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-lg); flex: 1; }
.post-card__tag { font-family: var(--font-heading); font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-primary-dark); }
.post-card h2, .post-card h3 { font-size: 1.0625rem; font-weight: 600; margin: 0; line-height: 1.35; }
.post-card h2 a, .post-card h3 a { display: inline-block; padding-block: 2px; color: var(--color-dark); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--color-primary-dark); text-decoration: none; }
.post-card p { color: var(--color-text-muted); font-size: var(--fs-sm); margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .more { text-decoration: none; font-family: var(--font-heading); font-size: var(--fs-sm); font-weight: 500; color: var(--color-navy); display: inline-flex; gap: 8px; align-items: center; min-height: 40px; margin-top: 2px; align-self: flex-start; }
.post-card .more:hover, .post-card:hover .more { color: var(--color-primary-dark); }
@media (pointer: coarse) { .post-card .more { min-height: 44px; } } /* dokunmatik ekranda en az 44 px dokunma alanı (v26) */
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
/* Tüm kartlar eşit: son satırda tek kalan kart da genişlemez. Başlık en fazla 2, açıklama en fazla 3 satır
   yer kaplar; görsel oranı sabit (3:2, kırpılır). Yeni yazı veya görsel eklendiğinde kart boyutu değişmez. */
.post-card h2, .post-card h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2 * 1.35em + 4px); }
.post-card p { min-height: calc(3 * var(--lh-body) * 1em); }
/* Blog Kartları Bitir */

/* === Projeler Başla === */
/* Projelerimiz — liste kartları blog kartlarıyla aynı aile (.post-card); detay: kapak, metin + teknik bilgiler, galeri */
.proj-card .proj-card__btn { align-self: flex-start; margin-top: var(--space-xs); }
.proj-badge { display: inline-flex; align-items: center; margin-bottom: var(--space-md); padding: 4px 12px; border-radius: 999px; background: var(--color-primary-light); color: var(--color-primary-dark); font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 600; }
.proj-specs-card { padding: var(--space-lg); border: 1px solid var(--color-border); border-top: 3px solid var(--color-primary); border-radius: var(--radius-lg); background: var(--color-surface); }
.proj-specs-card h2 { font-size: var(--fs-md); margin: 0 0 var(--space-sm); }
.proj-specs { margin: 0; }
.proj-specs div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-sm); padding: 10px 0; border-bottom: 1px solid var(--color-border); font-size: var(--fs-sm); }
.proj-specs div:last-child { border-bottom: 0; }
.proj-specs dt { color: var(--color-text-muted); }
.proj-specs dd { margin: 0; color: var(--color-dark); font-weight: 600; overflow-wrap: anywhere; }
.proj-gallery-title { font-size: var(--fs-xl); margin: 0 0 var(--space-lg); }
/* Proje fotoğrafları: masaüstünde 5 sütun (tablet 3, telefon 2 sütun genel galeri kuralından) */
@media (min-width: 1024px) { .gallery.proj-gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-md); } }
/* Proje detay — hizmet detayıyla aynı düzen (v29): solda teknik bilgiler, sağda kapak görseli ve altında açıklamalar.
   Izgara .svc-layout'tan gelir; DOM'da önce içerik, sonra yan sütun (telefonda içerik üstte). */
.proj-aside { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); align-content: start; }
.proj-main__media { margin: 0 0 var(--space-xl); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--color-light); }
.proj-main__media picture, .proj-main__media img { display: block; width: 100%; height: 100%; }
.proj-main__media img { object-fit: cover; }
.proj-main h1 { font-size: var(--fs-2xl); line-height: 1.15; margin: 0 0 var(--space-lg); overflow-wrap: break-word; hyphens: auto; }
.proj-main .prose { max-width: none; }
.proj-main .prose .lead { font-size: var(--fs-md); line-height: 1.6; }
.proj-main .prose > h2:first-of-type { margin-top: var(--space-xl); }
.proj-gallery-wrap { margin-top: var(--space-3xl); }
@media (min-width: 1024px) {
  .proj-main { grid-column: 2; grid-row: 1; }
  .proj-aside { grid-column: 1; grid-row: 1; position: sticky; top: calc(var(--mainbar-h) + 24px); }
}
/* Kısa masaüstü ekranda yan sütun ekrandan uzunsa yapışkan olmasın (alt kısmı kesilmesin) */
@media (min-width: 1024px) and (max-height: 680px) { .proj-aside { position: static; } }
/* Tablet (2 sütun): son satırda tek kalan proje kartı tam genişlikte, yatay kart olur (ör. 3 proje: 2+1) */
@media (min-width: 640px) and (max-width: 1023px) {
  .proj-grid > .post-card:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; }
  .proj-grid > .post-card:last-child:nth-child(odd) .post-card__media { flex: 0 0 calc((100% - var(--space-lg)) / 2); aspect-ratio: auto; }
  .proj-grid > .post-card:last-child:nth-child(odd) .post-card__body { justify-content: center; }
}
/* Projeler Bitir */

/* === CTA Bandı Başla === */
/* Kompakt CTA (footer öncesi) */
.cta-wrap { padding-block: var(--space-2xl) 0; position: relative; z-index: 2; background: linear-gradient(var(--color-surface) 62%, var(--color-footer) 62%); }
.section--light + .cta-wrap { background: linear-gradient(var(--color-light) 62%, var(--color-footer) 62%); }
.cta-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg); padding: var(--space-xl) clamp(1.5rem, 1rem + 2vw, 3rem); border-radius: var(--radius-lg); background: var(--color-dark-bg); border-left: 4px solid var(--color-primary); }
.cta-bar h2 { color: var(--color-on-dark); font-size: var(--fs-xl); margin: 0; }
.cta-bar__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
@media (max-width: 599px) { .cta-bar__actions { width: 100%; } .cta-bar__actions .btn { flex: 1 1 100%; } }
/* CTA Bandı Bitir */

/* === Kurumsal İçerik Başla === */
/* Kurumsal sayfalar — görsel / metin 50/50 */
.corp { display: grid; gap: var(--space-2xl); align-items: start; }
.corp__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--color-light); }
.corp__media img { width: 100%; height: 100%; object-fit: cover; }
.corp__text h2 { font-size: var(--fs-2xl); text-align: left; }
.corp__text .prose { max-width: none; }
.prose--justify p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.prose--justify h2, .prose--justify h3 { text-align: left; }
@media (min-width: 1024px) { .corp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3xl); } .corp__media { position: sticky; top: calc(var(--mainbar-h) + 32px); } }
/* Kurumsal İçerik Bitir */

/* === Sayfa Başlığı ve Metin Başla === */
.page-hero { background: var(--color-dark-bg); color: var(--color-on-dark-muted); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45;
  background-image: linear-gradient(var(--color-line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--color-line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000, transparent 75%); -webkit-mask-image: linear-gradient(90deg, #000, transparent 75%);
}
.page-hero__inner { padding-block: clamp(1.75rem, 1.2rem + 2vw, 3rem); }
.page-hero h1, .page-hero .page-hero__cat { color: var(--color-on-dark); font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.625rem, 1.25rem + 1.4vw, 2.375rem); line-height: 1.15; letter-spacing: -0.015em; margin: var(--space-sm) 0 0; max-width: 28ch; }
.page-hero p { max-width: 62ch; margin: 0; font-size: var(--fs-md); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: var(--fs-sm); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--color-line-dark-strong); }
.breadcrumb a { color: var(--color-on-dark-muted); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.breadcrumb a:hover { color: var(--color-on-dark); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--color-on-dark); }

.prose.prose--full { max-width: 78ch; } /* yasal metinler: geniş ekranda satır 130+ karaktere uzamasın (v26) */
.prose { max-width: 70ch; font-size: var(--fs-md); line-height: 1.75; }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--space-2xl); }
.prose h3 { font-size: var(--fs-lg); margin-top: var(--space-xl); }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 var(--space-lg); }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--color-primary); }
.prose strong { color: var(--color-dark); font-weight: 600; }
.prose .lead { font-size: var(--fs-lg); color: var(--color-dark); line-height: 1.55; font-family: var(--font-heading); font-weight: 400; }
/* Sayfa Başlığı ve Metin Bitir */

/* === Hizmet ve Blog Detay Başla === */
/* Hizmet & blog detay — kurumsal detay sayfası düzeni */
.page-hero .breadcrumb span:not([aria-current]) { color: var(--color-on-dark-muted); }
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); align-items: start; }
@media (min-width: 1024px) { .svc-layout { grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: var(--space-3xl); } .svc-aside { position: sticky; top: calc(var(--mainbar-h) + 24px); grid-column: 1; grid-row: 1; } .svc-main { grid-column: 2; grid-row: 1; } }
/* DOM sırası: önce içerik (H1), sonra hızlı menü — mobilde içerik üstte kalır */
.svc-aside { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
.quick-menu { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); overflow: hidden; }
.qm-title { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px var(--space-md); border-bottom: 1px solid var(--color-border); font-size: 0.9375rem; line-height: 1.3; color: var(--color-dark); }
/* Uzun kategori adları (özellikle İngilizce) kesilmez, alt satıra geçer */
.qm-title__text { min-width: 0; overflow-wrap: anywhere; }
.qm-title__icon { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--color-light); color: var(--color-navy); }
.qm-title__icon .icon { width: 18px; height: 18px; }
.qm-links { list-style: none; padding: var(--space-sm); }
.qm-links a { display: flex; align-items: center; min-height: 40px; padding: 8px 12px; border-radius: var(--radius-md); font-size: var(--fs-sm); color: var(--color-text); text-decoration: none; line-height: 1.35; transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.qm-links a:hover, .qm-links a[aria-current="page"] { background: var(--color-light); color: var(--color-primary-dark); box-shadow: inset 3px 0 0 var(--color-primary); }
.qm-links a[aria-current="page"] { font-weight: 600; }
@media (pointer: coarse) { .qm-links a { min-height: 44px; } } /* dokunmatik ekranda en az 44 px dokunma alanı (v26) */
.aside-contact { padding: var(--space-lg); border-radius: var(--radius-lg); background: var(--color-dark-bg); color: var(--color-on-dark-muted); border-top: 3px solid var(--color-primary); }
.aside-contact h2 { font-size: var(--fs-md); color: var(--color-on-dark); margin: 0 0 var(--space-xs); }
.aside-contact p { font-size: var(--fs-sm); margin: 0 0 var(--space-md); }
.aside-contact .btn { width: 100%; }
.aside-contact :focus-visible { outline-color: var(--color-focus-on-dark); }
.svc-main__media, .detail__media { margin: 0 0 var(--space-xl); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--color-light); }
.svc-main__media img, .detail__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-main h1, .detail__text h1 { font-size: var(--fs-2xl); line-height: 1.15; margin: 0 0 var(--space-lg); overflow-wrap: break-word; hyphens: auto; }
.svc-main .prose, .detail__text .prose { max-width: none; }
.prose--justify .lead { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.svc-main .prose .lead, .detail__text .prose .lead { font-size: var(--fs-md); line-height: 1.6; }
.svc-why2 { margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: 2px solid var(--color-dark); }
.svc-why2 h2 { font-size: var(--fs-xl); margin-bottom: var(--space-lg); }
.svc-why2 ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.svc-why2 li { padding: var(--space-lg); background: var(--color-light); border-radius: var(--radius-md); border-left: 3px solid var(--color-primary); }
.svc-why2 h3 { font-size: var(--fs-base); margin-bottom: 6px; }
.svc-why2 p { margin: 0; font-size: var(--fs-sm); color: var(--color-text-muted); }
@media (max-width: 1279px) { .svc-why2 ul { grid-template-columns: 1fr; } }
.detail { display: grid; gap: var(--space-2xl); align-items: start; }
.detail__media { margin: 0; }
.detail__back { margin: var(--space-2xl) 0 0; }
@media (min-width: 1024px) { .detail { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); } .detail__media { position: sticky; top: calc(var(--mainbar-h) + 32px); } }
/* Hizmet ve Blog Detay Bitir */

/* === Referanslar Başla === */
/* Referanslar — sektör filtresi + eşit logo kartları */
.ref-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.ref-card figure { margin: 0; height: 100%; display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.ref-card figure:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.ref-card__logo { height: 128px; padding: var(--space-lg); display: flex; align-items: center; justify-content: center; }
.ref-card__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter var(--dur-slow) var(--ease), opacity var(--dur-slow) var(--ease); }
.ref-card figure:hover .ref-card__logo img { filter: grayscale(0); opacity: 1; }
/* dokunmatik cihazlarda hover yok: logolar renkli gösterilir */
@media (hover: none) { .ref-card__logo img { filter: none; opacity: 1; } }
.ref-card figcaption { margin-top: auto; padding: var(--space-sm) var(--space-md) var(--space-md); border-top: 1px solid var(--color-border); font-size: var(--fs-sm); font-family: var(--font-heading); font-weight: 500; color: var(--color-dark); line-height: 1.35; }
@media (max-width: 1023px) { .ref-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .ref-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); } .ref-card__logo { height: 104px; padding: var(--space-md); } .ref-card figcaption { padding: var(--space-sm); font-size: var(--fs-xs); } }
/* Referanslar Bitir */

/* === İletişim Bilgileri Başla === */
/* İletişim sol kolon */
.contact-panel h2 { font-size: var(--fs-xl); max-width: 22ch; margin-bottom: var(--space-lg); }
.contact-social { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-xl); padding: var(--space-md) var(--space-lg); background: var(--color-light); border-radius: var(--radius-md); color: var(--color-dark); }
.contact-social > span { font-family: var(--font-heading); font-size: var(--fs-sm); font-weight: 500; }
.contact-social .socials a { border-color: var(--color-border); color: var(--color-navy); background: var(--color-surface); }
@media (min-width: 1024px) { .contact-panel { position: sticky; top: calc(var(--mainbar-h) + 32px); align-self: start; } }

.note { font-size: var(--fs-sm); color: var(--color-text-muted); }
/* İletişim Bilgileri Bitir */

/* === Galeri ve Lightbox Başla === */
/* Galeri */
.gallery { list-style: none; display: grid; gap: var(--space-lg); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--color-light); border-radius: var(--radius-md); overflow: hidden; position: relative; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.gallery button::after { content: ""; position: absolute; inset: 0; background: transparent; transition: background-color var(--dur) var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.gallery button:hover::after { background: var(--color-overlay-hover); }
.gallery .zoom { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; background: var(--color-surface); color: var(--color-dark); border-radius: var(--radius-md); opacity: 0; transform: translateY(4px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.gallery button:hover .zoom, .gallery button:focus-visible .zoom { opacity: 1; transform: none; }
/* Galeri: masaüstünde 4 eşit sütun; tablette 3 sütun; telefonda 2 sütun, ilk görsel geniş (1 + 4×2) */
@media (min-width: 1024px) { .gallery:not(.proj-gallery) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); } }
@media (max-width: 599px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
  .gallery > li:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
  .gallery .zoom { width: 32px; height: 32px; right: 8px; bottom: 8px; }
}
/* Fare olmayan cihazlarda büyütme simgesi hover beklemeden görünür */
@media (hover: none) { .gallery .zoom { opacity: 1; transform: none; } }

/* <picture> sarmalayıcısı düzeni etkilemesin: img, eskisi gibi doğrudan kapsayıcının çocuğu gibi davranır */
picture { display: contents; }

.lightbox { border: 0; padding: 0; margin: 0; inset: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: var(--color-lightbox); color: var(--color-on-dark); }
.lightbox::backdrop { background: var(--color-lightbox); }
.lightbox__stage { position: absolute; inset: 72px 72px 64px; display: grid; place-items: center; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; background: var(--color-tint-dark); color: var(--color-on-dark); border: 1px solid var(--color-line-dark-strong); border-radius: var(--radius-md); transition: background-color var(--dur) var(--ease); }
.lightbox__btn:hover { background: var(--color-tint-dark-hover); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: var(--fs-sm); color: var(--color-on-dark-muted); }
@media (max-width: 640px) { .lightbox__stage { inset: 72px 12px 96px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; } .lightbox__count { bottom: 34px; } }
/* Galeri ve Lightbox Bitir */

/* === İletişim Formu ve Harita Başla === */
/* İletişim */
.contact-grid { display: grid; gap: var(--space-2xl); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: var(--space-3xl); } }
.contact-cards { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--color-border); }
.contact-card { display: grid; grid-template-columns: 48px 1fr; gap: var(--space-md); padding: var(--space-lg) 0; border-bottom: 1px solid var(--color-border); align-items: start; }
.contact-card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--color-light); color: var(--color-primary); }
.contact-card h3 { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-muted); margin: 0 0 4px; }
.contact-card a, .contact-card address { display: block; font-style: normal; font-family: var(--font-heading); font-size: var(--fs-md); color: var(--color-dark); text-decoration: none; line-height: 1.45; word-break: break-word; }
.contact-card a { min-height: 32px; }
@media (pointer: coarse) { .contact-card a { min-height: 44px; display: flex; align-items: center; } }
.contact-card a:hover { color: var(--color-primary-dark); }
.contact-card small { display: block; color: var(--color-text-muted); font-size: var(--fs-xs); }
.socials { display: flex; gap: var(--space-xs); list-style: none; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: var(--radius-md); color: inherit; opacity: .85; transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.socials a:hover { opacity: 1; color: var(--color-primary); border-color: var(--color-primary); }
.socials .icon { width: 20px; height: 20px; }

.form-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: clamp(1.25rem, 0.8rem + 2vw, 2.5rem); }
.form-card h2 { font-size: var(--fs-xl); }
.form-grid { display: grid; gap: var(--space-lg); grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-family: var(--font-heading); font-size: var(--fs-sm); font-weight: 500; color: var(--color-dark); }
.field label .req { color: var(--color-primary-dark); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--color-text);
  background: var(--color-surface); border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--color-text-muted); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-focus); outline-offset: 1px; border-color: var(--color-navy); box-shadow: 0 0 0 4px var(--color-primary-light); }
.field [aria-invalid="true"] { border-color: var(--color-error); }
.field .error { color: var(--color-error); font-size: var(--fs-sm); min-height: 0; margin: 0; }
.field .error:empty { display: none; }
.field .hint { color: var(--color-text-muted); font-size: var(--fs-xs); margin: 0; }
.form-status { margin-top: var(--space-md); font-size: var(--fs-sm); padding: var(--space-md); border-radius: var(--radius-md); }
.form-status:empty { display: none; }
.form-privacy { margin: var(--space-sm) 0 0; font-size: var(--fs-sm); color: var(--color-text-muted); }
.form-status.is-ok { background: var(--color-primary-light); color: var(--color-success); }
.form-status.is-err { background: var(--color-light); color: var(--color-error); }

.map-wrap { margin-top: var(--space-3xl); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-border); aspect-ratio: 16 / 7; background: var(--color-light); position: relative; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-link { margin: var(--space-sm) 0 0; }
/* Harita izni: onay verilene kadar Google'a istek gönderilmez (v26) */
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-sm); padding: var(--space-lg); text-align: center; }
.map-consent p { margin: 0; max-width: 52ch; font-size: var(--fs-sm); color: var(--color-text-muted); }
.map-consent .map-consent__note { font-size: var(--fs-xs); }
.map-consent__icon { width: 32px; height: 32px; color: var(--color-primary-dark); }
.map-wrap.is-loaded .map-consent { display: none; }
.field--captcha { max-width: 360px; }
.captcha-q { display: inline-block; margin-left: 4px; padding: 2px 10px; border-radius: var(--radius-md); background: var(--color-light); border: 1px solid var(--color-border); font-weight: 600; color: var(--color-navy); letter-spacing: .02em; }
@media (max-width: 720px) { .map-wrap { aspect-ratio: 4 / 3; } }


@media (max-width: 520px) { .map-wrap { aspect-ratio: auto; min-height: 340px; } }
@media (max-width: 400px) {
  .contact-card a, .contact-card address { font-size: 0.98rem; }
}
/* Harita penceresi klavyeyle odaklanınca görünür halka — odak harita belgesine geçtiği için iframe :focus ile eşleşmez; main.js .is-focused sınıfını ekler */
.map-wrap:focus-within, .map-wrap.is-focused { outline: 3px solid var(--color-focus); outline-offset: 3px; }
/* İletişim Formu ve Harita Bitir */

/* === 404 Sayfası Başla === */
/* 404 */
.notfound { text-align: center; padding-block: var(--space-section); }
.notfound .code { font-family: var(--font-heading); font-size: clamp(4rem, 3rem + 6vw, 8rem); color: var(--color-secondary); line-height: 1; font-weight: 700; margin: 0; }
/* 404 Sayfası Bitir */

/* === Footer Başla === */
.site-footer { background: var(--color-footer); color: var(--color-on-dark-muted); font-size: var(--fs-sm); padding-top: var(--space-3xl); }

.footer-top { display: grid; gap: var(--space-2xl); padding-bottom: var(--space-2xl); grid-template-columns: 1fr; }
.footer-brand img { width: 160px; height: auto; aspect-ratio: 414.4 / 166.64; margin-bottom: var(--space-lg); }
.footer-brand p { max-width: 40ch; margin-bottom: var(--space-lg); }
.footer-col h2 { font-size: var(--fs-sm); color: var(--color-on-dark); margin-bottom: var(--space-md); font-weight: 600; }
.footer-col ul { list-style: none; display: grid; gap: 0; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; color: var(--color-on-dark-muted); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover { color: var(--color-primary); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--color-primary); margin-top: 9px; }
.footer-contact address { font-style: normal; padding-block: 6px; line-height: 1.5; }
.footer-bottom { position: relative; padding-block: var(--space-lg); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); align-items: center; font-size: var(--fs-xs); }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--color-line-dark); }
.footer-bottom p { margin: 0; color: var(--color-on-dark-muted); }
.footer-bottom a { color: var(--color-on-dark-muted); text-decoration: none; transition: color var(--dur) var(--ease); }
.footer-bottom a:hover, .footer-bottom a:focus-visible { color: var(--color-white); text-decoration: none; }
.site-footer .socials { gap: 6px; flex-wrap: wrap; }
.site-footer .socials a { width: 36px; height: 36px; border-color: var(--color-line-dark-strong); }
.site-footer .socials .icon { width: 16px; height: 16px; }
@media (min-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .footer-top { grid-template-columns: 1.05fr 0.85fr 1.15fr 1.55fr; gap: var(--space-2xl); } }


@media (max-width: 639px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-xl) var(--space-lg); }
  .footer-brand, .footer-top > .footer-col:last-child { grid-column: 1 / -1; }
}
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
.footer-legal a { display: inline-flex; min-height: 32px; align-items: center; }
/* Dokunmatik ekran: bağlantılar en az 44px yükseklikte */
@media (pointer: coarse) {
  .footer-col a, .footer-legal a { min-height: 44px; }
  .site-footer .socials a { width: 44px; height: 44px; }
}
/* Footer Bitir */

/* === Animasyon Başla === */
/* Yalnız ilk ekranın altındaki öğeler gizlenip kaydırınca belirir (JS "reveal-wait" ekler);
   ilk ekrandaki içerik hiç gizlenmez: açılışta yanıp sönme olmaz, LCP gecikmez (v26). JS yoksa her şey görünür. */
[data-reveal] { transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.js [data-reveal].reveal-wait { opacity: 0; transform: translateY(14px); }
.js [data-reveal].reveal-wait.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal].reveal-wait { opacity: 1; transform: none; }
}
/* Animasyon Bitir */

/* === Yazdırma Başla === */
/* Yazdırma */
@media print {
  .site-header, .mobile-menu, .site-footer, .cta-wrap, .nav-toggle { display: none !important; }
  body { padding-top: 0; }
}
/* Yazdırma Bitir */

/* === Koyu Zemin Odak Halkası Başla === */
/* Koyu zeminlerde odak halkası turkuaz */
.topbar :focus-visible, .slider :focus-visible, .page-hero :focus-visible, .section--dark :focus-visible, .cta-bar :focus-visible, .site-footer :focus-visible,  .lightbox :focus-visible { outline-color: var(--color-focus-on-dark); }
/* Koyu Zemin Odak Halkası Bitir */

/* === Çerez Bildirimi Başla === */
/* Çerez bildirimi */
.cookie { position: fixed; left: var(--gutter); bottom: var(--gutter); z-index: 150; width: min(420px, calc(100% - var(--gutter) * 2)); padding: var(--space-lg); background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-border); border-top: 3px solid var(--color-primary); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); transform: translateY(16px); opacity: 0; transition: transform var(--dur-slow) var(--ease), opacity var(--dur-slow) var(--ease); }
.cookie.is-visible { transform: none; opacity: 1; }
.cookie[hidden] { display: none; }
.cookie h2 { font-size: var(--fs-base); margin: 0 0 6px; }
.cookie p { font-size: var(--fs-sm); color: var(--color-text-muted); margin: 0 0 var(--space-md); }
.cookie__actions { display: flex; gap: var(--space-xs); }
.cookie__actions .btn { flex: 1; min-height: 44px; padding: 8px 14px; }
@media (max-width: 599px) {
  .cookie { left: 0; right: 0; bottom: 0; width: 100%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: var(--space-sm) var(--gutter) calc(var(--space-sm) + env(safe-area-inset-bottom)); }
  .cookie h2 { font-size: var(--fs-sm); margin-bottom: 2px; }
  .cookie p { font-size: 0.875rem; line-height: 1.45; margin-bottom: var(--space-sm); }
  .cookie__actions .btn { min-height: 40px; padding-block: 6px; }
}
/* Yatay telefon ve kısa ekranlar: tek satırlık ince şerit — içeriğin yarısını kapatmasın */
@media (max-height: 500px) and (min-width: 480px) {
  .cookie { left: 0; right: 0; bottom: 0; width: 100%; display: flex; align-items: center; gap: var(--space-md); border-radius: 0; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); }
  .cookie h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cookie p { flex: 1; margin: 0; font-size: 0.8125rem; line-height: 1.4; }
  .cookie__actions { flex: none; }
  .cookie__actions .btn { flex: none; min-height: 40px; padding: 6px 14px; }
}
/* Çerez Bildirimi Bitir */

/* === Sunucu Ekleri Başla === */
/* zFramework sürümünde eklenenler: iletişim formunun bot tuzağı (görünmez alan) ve blog sayfa numaraları */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pager { margin-top: var(--space-2xl); }
.pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 var(--space-sm); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-white); color: var(--color-navy); font-family: var(--font-heading); font-weight: 600; text-decoration: none; }
.pager a:hover { border-color: var(--color-primary); background: var(--color-primary-light); }
.pager span[aria-current] { border-color: var(--color-navy); background: var(--color-navy); color: var(--color-on-dark); }
/* Sunucu Ekleri Bitir */
