/* ==========================================================================
   AKD TRANS - Site stilleri
   brand.css'ten SONRA yuklenir. Renkler icin yalnizca brand.css tokenlari
   kullanilir; bu dosyada ham hex yoktur.
   Bolumler: 1 Font  2 Temel  3 Yerlesim  4 Tipografi  5 Buton  6 Header
             7 Hero  8 Bolum bilesenleri  9 Form  10 Footer  11 Yardimci
   ========================================================================== */

/* ---------- 1. Fontlar (yerel barindirma, Turkce+Latin altkumesi) --------
   Dosyalar pyftsubset ile U+0000-00FF, U+0100-017F (Turkce ğ ş ı İ dahil)
   ve yaygin tipografik karakterlere indirildi; latin/latin-ext ayrimi ve
   unicode-range gerekmiyor - her agirlik tek dosya. Kaynak: assets/fonts/_src/
   (TTF, web'de kullanilmaz). Boyut: 14 dosya/492 KB -> 7 dosya/158 KB.     */

@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/Archivo-600.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/Archivo-700.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("/assets/fonts/Archivo-800.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/IBMPlexSans-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/IBMPlexSans-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/IBMPlexSans-600.woff2") format("woff2");
}

/* El yazisi - YALNIZCA slogan ve kisa vurgu cumlelerinde. */
@font-face {
  font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/Caveat-600.woff2") format("woff2");
}

/* ---------- 2. Temel ---------- */

:root {
  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --sec-y: clamp(4rem, 8vw, 7rem);

  --fs-h1: clamp(2.3rem, 5.2vw, 4rem);
  --fs-h2: clamp(1.75rem, 3.2vw, 2.6rem);
  --fs-h3: clamp(1.15rem, 1.6vw, 1.4rem);
  --fs-lead: clamp(1.05rem, 1.5vw, 1.25rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68;
  overflow-x: hidden;
}

img, picture, svg { max-width: 100%; }
img { height: auto; display: block; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--surface-brand);
  color: var(--text-on-brand);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Yerlesim ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sec-y); }
.section--muted { background: var(--surface-muted); }
.section--paper { background: var(--surface-paper); }

.section__head {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section__head p { color: var(--text-muted); font-size: var(--fs-lead); }
.on-dark .section__head p,
.on-brand .section__head p { color: inherit; opacity: 0.86; }

/* ---------- 4. Tipografi ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }

p { margin: 0; }
.prose > * + * { margin-top: 1.15rem; }
.prose p { max-width: 68ch; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  /* 12-13 px kucuk metin: kirik beyaz zeminde de AA gecen ton secildi. */
  color: var(--akd-orange-750);
  margin: 0;
}
.on-dark .eyebrow  { color: var(--color-accent); }      /* 5.89:1 / #142228 */
.on-brand .eyebrow { color: var(--akd-orange-300); }    /* 5.95:1 / petrol  */

.slogan {
  font-family: var(--font-hand);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  font-weight: 600;
}
.slogan--sm { font-size: 1.5rem; }

.lead { font-size: var(--fs-lead); color: var(--text-muted); max-width: 60ch; }
.on-dark .lead, .on-brand .lead { color: inherit; opacity: 0.9; }

a { text-decoration: none; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

/* ---------- 5. Butonlar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 0.95rem 1.6rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn svg { flex: none; }
.btn-primary:hover, .btn-secondary:hover, .btn-outline:hover { text-decoration: none; }
.btn--sm { padding: 0.65rem 1.1rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

.linkarrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}
.linkarrow svg { transition: transform 0.18s ease; }
.linkarrow:hover svg { transform: translateX(4px); }

/* ---------- 6. Ust serit ve header ---------- */

.topbar { font-size: 0.85rem; }
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 0.6rem;
}
.topbar__note { color: var(--text-on-dark-muted); letter-spacing: 0.02em; }
.topbar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.topbar__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-on-dark);
  text-decoration: none;
  font-weight: 500;
}
.topbar__links a:hover { color: var(--color-accent); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-header);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: clamp(170px, 22vw, 224px); height: auto; }

.nav { display: flex; align-items: stretch; gap: clamp(1rem, 2.5vw, 2rem); }
.nav__list {
  display: flex;
  align-items: stretch;
  gap: clamp(0.9rem, 2vw, 1.9rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list a {
  display: flex;
  align-items: center;
  height: 100%;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-strong);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav__list a:hover { color: var(--color-brand); border-bottom-color: var(--color-accent); }
.nav__list a[aria-current="page"] { color: var(--color-brand); border-bottom-color: var(--color-accent); }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid var(--border-input);
  color: var(--text-strong);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.nav-toggle:hover { background: var(--surface-muted); border-color: var(--border-strong); }
.nav-toggle:active { transform: scale(0.92); }
.nav-toggle:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.nav-toggle__open,
.nav-toggle__close {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: rotate(0deg);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-toggle__close { opacity: 0; transform: rotate(-90deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { opacity: 0; transform: rotate(90deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { opacity: 1; transform: rotate(0deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    z-index: 1;
    inset: 0 0 0 auto;
    width: min(360px, 88vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 5.5rem 1.75rem 2rem;
    background: var(--surface);
    border-left: 1px solid var(--border);
    box-shadow: -16px 0 40px rgba(20, 34, 40, 0.18);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
  }
  .nav[data-open="true"] { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a {
    display: block;
    height: auto;
    padding: 0.95rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-soft);
  }
  .nav__list a:hover { border-bottom-color: var(--border-soft); }
  .nav__list a[aria-current="page"] { border-bottom-color: var(--color-accent); }
  .nav__cta { margin-top: 1.5rem; }
  .nav__cta .btn { width: 100%; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 34, 40, 0.55);
    border: 0;
    padding: 0;
    z-index: 99;
    opacity: 0;
    transition: opacity 0.25s ease;
  }
  .nav-backdrop.is-visible { opacity: 1; }
  body[data-nav="open"] { overflow: hidden; }
}

/* ---------- 7. Hero ---------- */

.hero {
  position: relative;
  background: var(--surface-dark);
  color: var(--text-on-dark);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__bg picture,
.hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__bg img {
  object-fit: cover;
  object-position: center;
}
/* Ortu: dekoratif rota cizgisi metnin uzerinden gecip okunurlugu dusurmesin.
   Metin sutunu tarafi tam koyu, gorsel tarafi acik kalir. */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(var(--akd-night-rgb), 1) 0%,
    rgba(var(--akd-night-rgb), 0.95) 32%,
    rgba(var(--akd-night-rgb), 0.55) 54%,
    rgba(var(--akd-night-rgb), 0.12) 76%,
    rgba(var(--akd-night-rgb), 0) 100%
  );
}
@media (max-width: 880px) {
  /* Mobilde gorsel ustte, metin altta oldugu icin ortu dikey calisir. */
  .hero__bg::after {
    background: linear-gradient(
      180deg,
      rgba(var(--akd-night-rgb), 0.45) 0%,
      rgba(var(--akd-night-rgb), 0.9) 38%,
      rgba(var(--akd-night-rgb), 1) 62%
    );
  }
  .hero__bg img { object-position: center top; }
  .hero__inner {
    min-height: 780px;
    align-items: end;
    padding-top: 20rem;
    padding-bottom: 3.25rem;
  }
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: clamp(600px, 72vh, 760px);
  padding-block: clamp(4rem, 9vw, 7rem);
}
.hero h1 { color: var(--text-on-dark); }
.hero__text { display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start; max-width: 680px; }
.hero__text .lead { max-width: 46ch; }
.hero__slogan { color: var(--color-accent); }

/* Rota panosu - fotograf yerine markali, gercek icerik tasiyan kompozisyon */
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; display: block; }

.routeboard {
  background: var(--surface-brand);
  border: 1px solid var(--akd-teal-400);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.routeboard__title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--akd-teal-200);
}
.routeboard__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.routeboard__row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-block: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.routeboard__row:first-child { border-top: 0; }
.routeboard__icon { color: var(--color-accent); display: inline-flex; flex: none; }
/* Ozgullugu bilerek .routeboard ile yukseltildi: hero .on-dark baglaminda
   oldugu icin brand.css'teki ".on-dark a:not(.btn)" kurali aksi halde bu
   baglantilari turuncuya cevirir ve petrol zeminde 3.43:1'e duser. */
.routeboard .routeboard__row a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-on-brand);        /* 9.48:1 / petrol */
  text-decoration: none;
  white-space: nowrap;
}
.routeboard .routeboard__row a:hover { color: var(--akd-orange-300); }
.routeboard__line {
  flex: 1 1 auto;
  min-width: 20px;
  height: 1px;
  background-image: linear-gradient(to right, rgba(255,255,255,0.5) 50%, transparent 50%);
  background-size: 7px 1px;
  background-repeat: repeat-x;
}
.routeboard__dot { width: 9px; height: 9px; background: var(--color-accent); flex: none; }
.routeboard__note { font-size: 0.88rem; color: var(--akd-teal-200); }
.routeboard .routeboard__note a { color: var(--akd-orange-300); }  /* 5.95:1 */

@media (max-width: 560px) {
  .hero__inner { min-height: 740px; padding-top: 17rem; }
}

/* ---------- 8. Bolum bilesenleri ---------- */

/* Guven seridi */
.trust { border-bottom: 1px solid var(--border); }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 0;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: clamp(1.15rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem);
  border-left: 1px solid var(--border);
}
.trust__item:first-child { border-left: 0; }
.trust__item svg { color: var(--color-brand); }
.trust__item h3 { font-size: 1.05rem; }
.trust__item p { font-size: 0.93rem; color: var(--text-muted); }
@media (max-width: 720px) {
  .trust__item { border-left: 0; border-top: 1px solid var(--border); }
  .trust__item:first-child { border-top: 0; }
}

/* Iki sutunlu anlatim */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--top { align-items: start; }

/* Hizmet kartlari */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: clamp(1.75rem, 3vw, 2.4rem);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.18s ease;
}
.service:hover { background: var(--surface-muted); }
.service:hover h3 { color: var(--color-brand); }
.service__media { width: 100%; margin-bottom: 0.35rem; }
.service__media img { transition: transform 0.35s ease; }
.service:hover .service__media img { transform: scale(1.025); }
.service__icon { color: var(--color-brand); }
.service p { font-size: 0.94rem; color: var(--text-muted); flex: 1 1 auto; }
/* Kart hover'da zemin acik griye doner; 750 tonu her iki zeminde de AA gecer. */
.service .linkarrow { color: var(--akd-orange-750); margin-top: 0.35rem; }

/* Surec adimlari - sirali oldugu icin numaralandirma anlamli */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(1.75rem, 3vw, 2.5rem);
  counter-reset: adim;
}
.process__item { display: flex; flex-direction: column; gap: 0.6rem; }
.process__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent-strong);
  padding-bottom: 0.7rem;
  border-bottom: 3px solid var(--color-accent);
}
.on-dark .process__num  { color: var(--color-accent); }
.on-brand .process__num { color: var(--akd-orange-300); }
.process__item p { font-size: 0.94rem; color: var(--text-muted); }
.on-dark .process__item p { color: var(--text-on-dark); opacity: 0.86; }

/* Neden biz - liste */
.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.reason { display: flex; gap: 0.9rem; }
.reason__mark { color: var(--color-accent); flex: none; margin-top: 0.2rem; }
.reason h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.reason p { font-size: 0.93rem; color: var(--text-muted); }

/* Kapsam listesi (hizmet detay) */
.scope {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
}
.scope__item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  padding-right: clamp(1rem, 3vw, 2.5rem);
}
.scope__item h3 { display: flex; gap: 0.6rem; align-items: baseline; font-size: 1rem; margin-bottom: 0.35rem; }
.scope__item h3 svg { color: var(--color-accent); flex: none; align-self: center; }
.scope__item p { font-size: 0.93rem; color: var(--text-muted); }

/* Gorsel alani / markali panel */
.media {
  margin: 0;
  position: relative;
  aspect-ratio: var(--ratio, 3 / 2);
  overflow: hidden;
  background: var(--surface-muted);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  background: var(--surface-brand);
  color: var(--text-on-brand);
  border: 0;
}
.media__grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 34px 34px;
}
.media__mark { position: relative; color: var(--color-accent); }
.media__caption {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding-inline: 1.5rem;
  color: var(--text-on-brand);
}
.media--dark { background: var(--surface-dark); color: var(--text-on-dark); }
.media--dark .media__caption { color: var(--text-on-dark); }

/* Operasyon agi haritasi */
.netmap { position: relative; }
.netmap svg { width: 100%; height: auto; display: block; }
.netlist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
}
.netlist__item { padding: 1.4rem clamp(1rem, 2vw, 2rem) 1.4rem 0; border-bottom: 1px solid var(--border); }
.netlist__item h3 { display: flex; align-items: center; gap: 0.55rem; font-size: 1rem; margin-bottom: 0.3rem; }
.netlist__item h3 svg { color: var(--color-accent); flex: none; }
.netlist__item p { font-size: 0.93rem; color: var(--text-muted); }

/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  background-color: var(--surface-dark);
  background-image:
    linear-gradient(90deg, rgba(var(--akd-night-rgb), 0.98) 0%, rgba(var(--akd-night-rgb), 0.90) 44%, rgba(var(--akd-night-rgb), 0.42) 72%, rgba(var(--akd-night-rgb), 0.28) 100%),
    url("/assets/images/cta-gece.jpg");
  background-image:
    linear-gradient(90deg, rgba(var(--akd-night-rgb), 0.98) 0%, rgba(var(--akd-night-rgb), 0.90) 44%, rgba(var(--akd-night-rgb), 0.42) 72%, rgba(var(--akd-night-rgb), 0.28) 100%),
    image-set(
      url("/assets/images/cta-gece.avif") type("image/avif"),
      url("/assets/images/cta-gece.webp") type("image/webp"),
      url("/assets/images/cta-gece.jpg") type("image/jpeg")
    );
  background-size: cover;
  background-position: center;
}
.cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta__text { display: flex; flex-direction: column; gap: 0.75rem; }
.cta__text p:not(.eyebrow) { max-width: 52ch; opacity: 0.92; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.cta__phone { width: 100%; font-size: 0.92rem; opacity: 0.9; }
.cta__phone span { display: block; margin-bottom: 0.2rem; }
/* Petrol zeminde turuncu-500 yalnizca 2.96:1 verir; 300 tonu kullanilir. */
.cta__phone a { color: var(--akd-orange-300); font-weight: 600; }
@media (max-width: 720px) {
  .cta {
    background-position: 68% center;
    background-image:
      linear-gradient(180deg, rgba(var(--akd-night-rgb), 0.66) 0%, rgba(var(--akd-night-rgb), 0.96) 58%, rgba(var(--akd-night-rgb), 1) 100%),
      url("/assets/images/cta-gece.webp");
  }
}

/* Iletisim kartlari */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.contact-card {
  background: var(--surface);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-card h3 { display: flex; align-items: center; gap: 0.55rem; font-size: 1rem; }
.contact-card h3 svg { color: var(--color-brand); flex: none; }
.contact-card a { font-weight: 500; }
.contact-card address { font-style: normal; color: var(--text-muted); }
.contact-card--brand { background: var(--surface-brand); color: var(--text-on-brand); }
.contact-card--brand h3,
.contact-card--brand p { color: var(--text-on-brand); }

.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.contact-list svg { flex: none; margin-top: 0.25rem; color: var(--color-accent); }
.contact-list address { font-style: normal; }

/* Yonetici karti */
.manager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
  border-left: 4px solid var(--color-accent);
}
.manager__id { display: flex; flex-direction: column; gap: 0.2rem; }
.manager__id strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--text-strong); }
.manager__id span { font-size: 0.92rem; color: var(--text-muted); }
.manager__links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-left: auto; }

/* Degerler */
.values { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.values li {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border-strong);
  color: var(--text-strong);
}

/* Galeri */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
}
.gallery__link { display: block; position: relative; }
.gallery__filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.gallery__filters button {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-strong);
  cursor: pointer;
}
.gallery__filters button[aria-pressed="true"] {
  background: var(--surface-brand);
  border-color: var(--surface-brand);
  color: var(--text-on-brand);
}
.empty-state {
  border: 1px solid var(--border);
  border-left: 4px solid var(--color-accent);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 62ch;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(20, 34, 40, 0.94);
}
.lightbox[data-open="true"] { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox__caption { color: var(--text-on-dark); text-align: center; margin-top: 1rem; font-size: 0.92rem; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: transparent;
  border: 1px solid var(--border-on-dark);
  color: var(--text-on-dark);
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav--prev { left: 1rem; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lightbox__nav--next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Sayfa basligi */
.pagehead {
  background: var(--surface-dark);
  color: var(--text-on-dark);
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.pagehead h1 { color: var(--text-on-dark); max-width: 20ch; }
.pagehead__inner { position: relative; display: flex; flex-direction: column; gap: 1rem; }
.pagehead .lead { max-width: 58ch; }
.pagehead__rule { width: 56px; height: 3px; background: var(--color-accent); border: 0; margin: 0; }

.crumbs { font-size: 0.85rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.crumbs li::after { content: "/"; margin-left: 0.4rem; opacity: 0.5; }
.crumbs li:last-child::after { content: ""; }
/* opacity ile soluklastirmak kontrasti 4.18:1'e dusuruyordu; token kullanilir. */
.crumbs a { color: var(--text-on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--color-accent); }
.crumbs [aria-current] { color: var(--color-accent); }

/* Hizmet detayindaki hizli iletisim kutusu */
.quickcontact {
  border: 1px solid var(--border);
  border-top: 3px solid var(--color-accent);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.quickcontact h3 { font-size: 1rem; }

/* Uyari / not blogu */
.note-block {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.15rem 1.35rem;
  background: var(--surface-muted);
  border-left: 4px solid var(--color-brand);
  font-size: 0.94rem;
  color: var(--text-muted);
  max-width: 72ch;
}
.note-block svg { flex: none; color: var(--color-brand); margin-top: 0.15rem; }

/* Hukuki metin sayfalari */
.legal { max-width: 46rem; }
.legal h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.legal > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal ul { margin: 0; padding-left: 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; }
.legal li { max-width: 66ch; }
.legal__addr {
  padding: 1.15rem 1.35rem;
  background: var(--surface-muted);
  border-left: 4px solid var(--color-accent);
  font-size: 0.94rem;
}

/* Tablo */
.tablewrap { overflow-x: auto; border: 1px solid var(--border); }
.datatable { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.92rem; }
.datatable th, .datatable td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}
.datatable thead th {
  background: var(--surface-muted);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-strong);
}
.datatable tbody tr:last-child td { border-bottom: 0; }

/* ---------- 9. Form ---------- */

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.25rem;
}
.form-grid .field-row--full { grid-column: 1 / -1; }
.field-row { display: flex; flex-direction: column; gap: 0.4rem; }
.field-label { font-size: 0.88rem; font-weight: 600; }
.field-label .req { color: var(--state-error); }
.field {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.8rem 0.9rem;
  width: 100%;
}
textarea.field { min-height: 150px; resize: vertical; }
select.field { appearance: none; background-image: none; }
.field-hint, .field-error { font-size: 0.83rem; }
.field-error:empty { display: none; }
.checkline { display: flex; gap: 0.7rem; align-items: flex-start; }
.checkline input { margin-top: 0.35rem; width: 18px; height: 18px; accent-color: var(--color-brand); flex: none; }
.checkline label { font-size: 0.9rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--color-brand);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}
.form-note--error { border-left-color: var(--state-error); }
.form-note--success { border-left-color: var(--state-success); }
.form-note ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.75rem; }
.form-actions p { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- 10. Footer ---------- */

.site-footer { background: var(--surface-footer); }
.site-footer__top {
  display: grid;
  /* min(100%, ...) olmadan izler dar ekranda kucumsenemez ve yatay tasma olur. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
/* Genis ekranda marka sutunu digerlerinden genis dursun. */
@media (min-width: 1000px) {
  .site-footer__top { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; }
}
.site-footer__brand { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.site-footer__brand img { width: 210px; }
.site-footer__brand .slogan { color: var(--color-accent); }
.site-footer__about { font-size: 0.92rem; color: var(--text-on-dark-muted); max-width: 40ch; }
.site-footer__col h2 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer__col a { color: var(--text-on-dark); text-decoration: none; font-size: 0.93rem; }
.site-footer__col a:hover { color: var(--color-accent); }
.site-footer__contact .contact-list a { color: var(--text-on-dark); }
.site-footer__contact .contact-list a:hover { color: var(--color-accent); }
.site-footer__contact address { color: var(--text-on-dark-muted); font-size: 0.93rem; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--border-on-dark);
  font-size: 0.86rem;
  color: var(--text-on-dark-muted);
}
.site-footer__bottom a { color: var(--color-accent); text-decoration: none; font-weight: 600; }
.site-footer__bottom a:hover { color: var(--text-on-dark); }

/* Sabit hizli erisim kontrolleri */
.floating-actions {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}
.wa-fab,
.back-top {
  position: absolute;
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(20, 34, 40, 0.18), 0 4px 6px -4px rgba(20, 34, 40, 0.18);
  pointer-events: auto;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background-color 0.2s ease;
}
.wa-fab:hover,
.back-top:hover {
  box-shadow: 0 20px 25px -5px rgba(20, 34, 40, 0.22), 0 8px 10px -6px rgba(20, 34, 40, 0.22);
  transform: scale(1.1);
}
.wa-fab:active,
.back-top:active { transform: scale(0.9); }
.wa-fab:focus-visible,
.back-top:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }

/* Her buton kendi rengini --fab-color ile verir; ping katmani ayni degeri kullanir */
.wa-fab {
  left: max(1rem, env(safe-area-inset-left));
  --fab-color: #25d366;
  background: var(--fab-color);
}
.wa-fab:hover { background: #1fb857; }
.wa-fab__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.back-top {
  right: max(1rem, env(safe-area-inset-right));
  --fab-color: var(--color-brand);
  background: var(--fab-color);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.5) translateY(20px);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.3s ease,
    background-color 0.2s ease, visibility 0s linear 0.2s;
}
.back-top:hover { background: var(--color-brand-strong); }
.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.3s ease,
    background-color 0.2s ease, visibility 0s linear 0s;
}
.back-top.is-visible:hover { transform: scale(1.1); }
.back-top.is-visible:active { transform: scale(0.9); }
.back-top svg { position: relative; z-index: 1; transform: rotate(-90deg); }

/* Tailwind "animate-ping" ile birebir: 75%'e kadar sabit, sonra ani buyume + sonme */
.wa-fab::after,
.back-top::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--fab-color);
  opacity: 0.2;
  animation: fab-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}
@keyframes fab-ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
@media (max-width: 960px) {
  body { padding-bottom: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .service__media img, .back-top { transition: none; }
  .wa-fab::after, .back-top::after { animation: none; }
  .nav, .nav-backdrop, .nav-toggle, .nav-toggle__open, .nav-toggle__close { transition: none; }
}

/* ---------- 11. Yardimci ---------- */

.stack { display: flex; flex-direction: column; }
.stack--sm { gap: 0.75rem; }
.stack--md { gap: 1.25rem; }
.stack--lg { gap: 2rem; }
.rule-accent { margin-bottom: 1.25rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.text-center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
