/* Anadolu Selçuklu Turizm — kurumsal renkler logo sunumundan alınmıştır */
:root {
  --navy: #222c54;
  --navy-2: #2f3c70;
  --navy-deep: #151b36;
  --gold: #c0a05e;
  --gold-2: #d6bd84;
  --gold-soft: #f7f1e3;
  --gold-soft-2: #f1e6cc;
  --gold-ink: #7a5f26;
  --ink: #171c30;
  --muted: #5d6478;
  --line: #e3e6ee;
  --line-2: #d3d8e3;
  --bg: #ffffff;
  --bg-alt: #f5f6fa;
  --wa: #10803f;    /* WhatsApp yeşilinin koyu tonu: üzerindeki beyaz yazı 4.5:1 üstünde okunur */
  --wa-2: #0c6b35;
  --danger: #c2322a;
  --danger-soft: #fdecea;
  /* anlamsal renkler: koyu temada yeniden tanımlanır */
  --surface: #ffffff;          /* kartlar, hesaplama kutusu, açılır liste */
  --surface-2: #f5f6fa;        /* giriş kutuları */
  --surface-hover: #eef0f6;
  --heading: #222c54;          /* başlık ve vurgulu yazı */
  --link: #222c54;
  --accent: #222c54;           /* adım numarası, bilgi simgesi, seçili rozet zemini */
  --accent-ink: #ffffff;
  --focus: #222c54;            /* odak çerçevesi */
  --placeholder: #697086;
  --glass: rgba(255,255,255,.96);
  --chip-bg: #eef0f6;
  --chip-ink: #2f3c70;
  --ghost-bg: #222c54;
  --desen-renk: #9a7a3a;       /* sayfa zemini deseni: renk ve görünürlük */
  --desen-opak: .14;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(21, 27, 54, .06), 0 2px 8px rgba(21, 27, 54, .05);
  --shadow: 0 30px 60px -25px rgba(21, 27, 54, .35), 0 10px 24px -12px rgba(21, 27, 54, .18);
  --font-display: "Kanit", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
a { color: var(--link); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; color: var(--heading); font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 500; }
button { font: inherit; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: var(--gold-ink); margin: 0 0 .75rem; }

/* ---------- logo ---------- */
.kartal {
  display: inline-block; width: 40px; aspect-ratio: 203.5 / 197.7; background: var(--gold);
  -webkit-mask: url("../img/kartal.svg") center / contain no-repeat;
          mask: url("../img/kartal.svg") center / contain no-repeat;
}
.logo { display: inline-flex; align-items: flex-end; gap: 10px; text-decoration: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); font-style: italic; }
.logo-text em { font-weight: 600; font-size: .8rem; color: var(--gold); }
.logo-text strong { font-weight: 800; font-size: 1.25rem; color: #fff; letter-spacing: .01em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--navy); transition: background .25s, box-shadow .25s, backdrop-filter .25s; }
.home .site-header { position: fixed; left: 0; right: 0; background: transparent; }
.home .site-header.scrolled, .site-header.scrolled { background: rgba(26, 33, 66, .92); backdrop-filter: blur(12px); box-shadow: 0 8px 30px -12px rgba(0,0,0,.4); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a:not(.btn) { white-space: nowrap; color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.main-nav a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.1); }
.header-phone { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--gold); color: var(--navy-deep); font-weight: 700; font-size: .9rem; text-decoration: none; transition: background .2s; }
.header-phone:hover { background: var(--gold-2); }
.header-phone svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 12px; padding: 13px 22px;
  font: 700 .98rem var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background .2s, box-shadow .2s, opacity .2s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-sm { padding: 8px 16px; font-size: .88rem; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 168, 85, .7); }
.btn-wa:hover { background: var(--wa-2); }
.btn-wa.is-disabled { opacity: .45; box-shadow: none; cursor: not-allowed; }
.btn-ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; opacity: .85; }
.btn-ghost:hover { opacity: 1; }
.btn-outline { background: var(--surface); color: var(--heading); border: 1.5px solid var(--line-2); }
.btn-outline:hover { border-color: var(--focus); }

/* ---------- hero ---------- */
/* Hero kısa tutulur: siteye girilince ilk görünen şey fiyat hesaplama kutusu olsun */
/* Zemin: lacivert geçiş + altın Selçuklu yıldızı (girih) deseni (sağa doğru belirginleşir) + kartal.
   Desen: static/img/selcuklu-deseni.svg, tools/yildiz_deseni.py ile üretilir */
.hero { position: relative; isolation: isolate; color: #fff; padding: 96px 0 92px; overflow: hidden;
  background: radial-gradient(900px 420px at 85% 30%, rgba(192,160,94,.16), transparent 65%),
              linear-gradient(115deg, var(--navy-deep) 0%, #1b2349 45%, var(--navy) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .26; will-change: transform;  /* ayrı katman: tema değişince yeniden çizilmez */
  background: url("../img/selcuklu-deseni.svg") right top / 2000px 520px no-repeat;
  -webkit-mask-image: linear-gradient(100deg, transparent 15%, #000 75%);
          mask-image: linear-gradient(100deg, transparent 15%, #000 75%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: -1;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-2) 70%, transparent); opacity: .7; }
/* Kartal, hero'nun görünen şeridinde dikeyde ortalanır: üstte sabit menü (72px), altta hesaplama kutusunun
   bindiği kısım (64px) hariç tutulur; top + bottom + margin auto ile ortalanır */
.hero-kartal { position: absolute; z-index: -1; right: max(28px, calc(50% - 570px)); top: 72px; bottom: 64px; margin: auto 0;
  height: 136px; aspect-ratio: 203.5 / 197.7; pointer-events: none;
  /* opak: arkadaki desen kartalın içinden görünmesin. Renkler, eski %62 saydamlığın lacivert zemindeki tonu */
  background: linear-gradient(160deg, color-mix(in srgb, #e6d3a3 62%, #222b55), color-mix(in srgb, var(--gold) 62%, #222b55) 70%);
  -webkit-mask: url("../img/kartal.svg") center / contain no-repeat;
          mask: url("../img/kartal.svg") center / contain no-repeat; }
.hero-inner { max-width: 1200px; }

/* Sayfa zemini: hero ekrandan çıkınca aynı desen tüm sayfanın arkasında saydam olarak belirir (site.js "desen-zemin").
   Desen: static/img/selcuklu-deseni-zemin.svg (tools/yildiz_deseni.py ile, 1920x1200) */
.home::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--desen-renk);
  -webkit-mask: url("../img/selcuklu-deseni-zemin.svg") center / cover no-repeat;
          mask: url("../img/selcuklu-deseni-zemin.svg") center / cover no-repeat;
  opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 1.4s var(--ease); }
.home.desen-zemin::before { opacity: var(--desen-opak); transform: none; }
.home .section-alt { background: color-mix(in srgb, var(--bg-alt) 80%, transparent); }
@media (prefers-reduced-motion: reduce) { .home::before { transform: none; transition: opacity .3s; } }
.hero h1 { color: #fff; font-size: clamp(1.45rem, 3vw, 2.2rem); margin: 0 0 14px; }
.hero h1 span { color: var(--gold-2); }
.hero-sub { margin: -4px 0 22px; max-width: 760px; color: rgba(255,255,255,.82); font-size: clamp(.95rem, 1.4vw, 1.08rem); }
.hero-sub a { color: #fff; font-weight: 600; text-decoration: none; transition: color .2s; }
.hero-sub a:hover, .hero-sub a:focus-visible { color: var(--gold-2); }
.chip-gold { display: inline-block; margin: 0 0 1.2rem; padding: 6px 14px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-2); background: rgba(192,160,94,.14); border: 1px solid rgba(192,160,94,.4); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.8); max-width: 34em; margin: 0; }

/* ---------- hazır turlar: tek satır, sadece isimler ---------- */
.tour-bar { display: flex; align-items: center; gap: 8px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; padding: 2px 0; }
.tour-bar::-webkit-scrollbar { display: none; }
.tour-bar-label { flex-shrink: 0; margin-right: 4px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
.tour-card { flex-shrink: 0; padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.1);
  color: #fff; font: 600 .9rem var(--font-body); cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, border-color .2s, color .2s; }
.tour-card:hover { background: rgba(255,255,255,.2); border-color: rgba(214,189,132,.7); }
.tour-card:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.tour-card[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }

/* ---------- calculator ---------- */
.calc-section { margin-top: -64px; position: relative; z-index: 5; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 380px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.calc-main { padding: 32px 36px 36px; display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.step-head h3 { margin: 0; font-size: 1.2rem; }
.step-no { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 600 .85rem var(--font-display); }
.badge { margin-left: auto; padding: 4px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); font-weight: 700; font-size: .85rem; }

/* güzergâh: dikey durak çizgisi */
.route { position: relative; display: flex; flex-direction: column; gap: 12px; }
.stops { display: flex; flex-direction: column; gap: 12px; }
.stops:empty { display: none; }
.place { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: end; column-gap: 10px; min-width: 0; animation: placeIn .25s var(--ease); }
.place.is-open { z-index: 20; }
.place.is-leaving { opacity: 0; transform: translateX(-8px); transition: opacity .18s, transform .18s; }
@keyframes placeIn { from { opacity: 0; transform: translateY(-6px); } }
.place-body { min-width: 0; }
.place-dot { position: relative; align-self: end; height: 58px; display: grid; place-items: center; }
.place-dot::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); box-sizing: border-box; position: relative; z-index: 1; }
.place-start .place-dot::before { background: var(--accent); }
.place-end .place-dot::before { width: 16px; height: 16px; border: 0; background: var(--gold); box-shadow: 0 0 0 4px rgba(192,160,94,.25); }
.place-stop .place-dot::before { width: 12px; height: 12px; border-width: 2.5px; border-color: var(--gold); }
/* noktaları birleştiren çizgi */
.place:not(.place-end) .place-dot::after { content: ""; position: absolute; left: 50%; top: 50%; height: calc(100% + 12px + 26px); border-left: 2px dashed var(--line-2); transform: translateX(-1px); }
/* durak düğmeleri: yukarı / aşağı / kaldır (tek varış noktası varken gizli) */
.stop-actions { align-self: end; height: 58px; display: none; align-items: center; gap: 2px; }
.stops.is-multi .stop-actions { display: flex; }
.stop-btn { width: 32px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.stop-btn:hover:not(:disabled) { background: var(--surface-hover); color: var(--heading); }
.stop-btn:disabled { opacity: .25; cursor: default; }
.stop-btn.remove-stop:hover { background: var(--danger-soft); color: var(--danger); }
.stop-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.drag-handle { cursor: grab; touch-action: none; }
.drag-handle svg { fill: currentColor; stroke: none; }
.drag-handle:active { cursor: grabbing; }
.stops { position: relative; }
/* sürüklenen durağın asıl yeri: soluk ve kesik çerçeveli */
.place.is-drag-source .place-body, .place.is-drag-source .stop-actions { opacity: .35; }
.place.is-drag-source .combo-input { outline: 2px dashed var(--line-2); outline-offset: -2px; }
/* imleci/parmağı takip eden kart: seçilen durak açıkça görünür */
.drag-ghost { position: fixed; z-index: 100; pointer-events: none; display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--ghost-bg); color: #fff;
  box-shadow: 0 22px 44px -14px rgba(21,27,54,.6), 0 0 0 2px var(--gold); transform: rotate(-1deg); opacity: .96; }
.drag-ghost-no { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: var(--navy-deep); font: 700 .95rem var(--font-display); }
.drag-ghost-body { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.drag-ghost-body small { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); }
.drag-ghost-body b { font-weight: 700; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drag-ghost svg { width: 18px; height: 18px; fill: var(--gold-2); flex-shrink: 0; }
/* bırakılacak yer: iki durak arasında altın çizgi */
.drop-line { position: absolute; left: 30px; right: 4px; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--gold);
  box-shadow: 0 0 0 3px rgba(192,160,94,.25); pointer-events: none; z-index: 5; }
.drop-line::before, .drop-line::after { content: ""; position: absolute; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  border-radius: 50%; background: var(--surface); border: 3px solid var(--gold); box-sizing: border-box; }
.drop-line::before { left: -8px; }
.drop-line::after { right: -8px; }
.stops.is-sorting { user-select: none; -webkit-user-select: none; }
.stops.is-sorting .drag-handle { cursor: grabbing; }
body:has(.drag-ghost) { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.place.is-moved .combo-input { animation: movedFlash .6s var(--ease); }
@keyframes movedFlash { 0% { background: var(--gold-soft); box-shadow: 0 0 0 3px rgba(192,160,94,.35); } 100% { background: var(--surface-2); box-shadow: none; } }
.route-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin: 12px 0 0 38px; }
.add-stop { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border: 1.5px dashed var(--gold); border-radius: 999px; background: var(--gold-soft);
  color: var(--gold-ink); font: 700 .9rem var(--font-body); cursor: pointer; transition: background .2s, border-style .2s; }
.add-stop:hover { background: var(--gold-soft-2); border-style: solid; }
.add-stop svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.route-note { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); }
.route-note svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.place-label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 6px 2px; }
.combo { position: relative; }
.combo-input, .date-field input, .date-field select {
  width: 100%; height: 58px; padding: 0 44px 0 16px; font: 600 1rem var(--font-body); color: var(--ink);
  background: var(--surface-2); border: 1.5px solid transparent; border-radius: 14px; transition: border-color .2s, background .2s, box-shadow .2s; }
.combo-input::placeholder { color: var(--placeholder); font-weight: 500; }
.combo-input:hover, .date-field input:hover, .date-field select:hover { background: var(--surface-hover); }
.combo-input:focus, .date-field input:focus, .date-field select:focus { outline: none; background: var(--surface); border-color: var(--focus); box-shadow: 0 0 0 4px rgba(34, 44, 84, .1); }
.combo-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: transparent; border-radius: 8px; cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.combo-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.combo.is-open .combo-toggle svg { transform: rotate(180deg); }
.combo-list { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0; max-height: 340px; overflow-y: auto; margin: 0; padding: 6px;
  list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overscroll-behavior: contain; }
.combo-group { position: sticky; top: -6px; margin: 0 -6px; padding: 8px 16px 6px; background: var(--glass); backdrop-filter: blur(4px);
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.combo-opt { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 9px; cursor: pointer; font-weight: 600; }
.combo-opt small { color: var(--muted); font-weight: 500; font-size: .82rem; white-space: nowrap; }
.combo-opt.is-active { background: var(--surface-hover); }
.combo-opt.is-selected { color: var(--gold-ink); }
.combo-opt.is-selected::after { content: "✓"; margin-left: 6px; }
.combo-group.is-tur { color: var(--heading); }
.tur-il > span { font-weight: 700; }
.tur-il .tur-badge { background: var(--accent); color: var(--accent-ink); }
.tur-gezi .tur-badge { background: var(--chip-bg); color: var(--chip-ink); }
.tur-badge { display: inline-block; margin-right: 8px; padding: 1px 7px; border-radius: 6px; background: var(--gold-soft); color: var(--gold-ink); font: 700 .66rem var(--font-body); font-style: normal; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }
.combo-empty { padding: 14px; color: var(--muted); text-align: center; }
.reset-route { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: var(--surface); color: var(--muted); font: 600 .82rem var(--font-body); cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.reset-route:hover { color: var(--danger); border-color: var(--danger); background: var(--danger-soft); }
.reset-route svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.reset-route + .swap { margin-left: 0; }
.swap { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--heading); cursor: pointer;
  display: grid; place-items: center; transition: transform .35s var(--ease), border-color .2s, background .2s; }
.swap svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.swap:hover { border-color: var(--focus); background: var(--surface-hover); }
.swap.spun { transform: rotate(180deg); }

.dates { display: grid; grid-template-columns: 1.25fr 1fr 1.25fr; gap: 12px; }
.date-field { display: block; min-width: 0; }
.date-field input { padding: 0 16px; cursor: pointer; }
.date-field select { padding: 0 36px 0 16px; cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362697d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.time-field .place-label { display: flex; align-items: center; gap: 6px; }
.time-field .place-label label { cursor: pointer; }

/* (i) bilgi balonu: üzerine gelince / dokununca açılır */
.info { position: relative; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font: italic 700 .72rem/1 Georgia, serif; text-transform: none; letter-spacing: 0; cursor: help; outline: none; }
.info:focus-visible { box-shadow: 0 0 0 3px rgba(34,44,84,.3); }
.info-tip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 4px); width: 250px; padding: 10px 12px; border-radius: 10px;
  background: var(--navy-deep); color: #fff; font: 500 .82rem/1.45 var(--font-body); font-style: normal; text-transform: none; letter-spacing: 0; text-align: left;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s; z-index: 40; pointer-events: none; }
.info-tip::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--navy-deep); }
.info:hover .info-tip, .info:focus .info-tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.vehicles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.vehicle { position: relative; cursor: pointer; min-width: 0; }
.vehicle input { position: absolute; opacity: 0; pointer-events: none; }
.vehicle-card { position: relative; display: flex; flex-direction: column; height: 100%; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.vehicle-art { position: relative; display: block; aspect-ratio: 16 / 10; background: radial-gradient(120% 90% at 50% 100%, var(--gold-soft) 0%, var(--surface-2) 60%); overflow: hidden; }
/* Koyu temada farları yanan sürüm (tools/cizim_gece.py) gündüz çiziminin üstünde belirir: tema değişince farlar yanıp söner */
.vehicle-art-gece { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s var(--ease); }
[data-theme="dark"] .vehicle-art-gece { opacity: 1; }
.vehicle-card img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.vehicle:hover .vehicle-card { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.vehicle:hover .vehicle-card img { transform: scale(1.03); }
.vehicle-info { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.vehicle-name { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--heading); line-height: 1.2; }
.vehicle-cap { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: .88rem; color: var(--ink); }
.vehicle-cap svg { width: 16px; height: 16px; fill: var(--gold); }
/* kişi sayısı seçenekleri (otobüs 46/50/55, midibüs 27/31/35) */
.cap-options { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 3px 0 2px; }
.cap-opt { min-width: 34px; height: 28px; padding: 0 6px; border: 1.5px solid var(--line-2); border-radius: 8px; background: var(--surface);
  color: var(--ink); font: 700 .82rem var(--font-body); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.cap-opt:hover { border-color: var(--gold); }
.cap-opt[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.cap-opt:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.cap-unit { font-size: .78rem; font-weight: 600; color: var(--muted); margin-left: 2px; }
.ucret-secenek { display: flex; align-items: center; gap: 10px; margin: 3px 0; }
.ucret-secenek span { min-width: 72px; font-size: .88rem; color: var(--muted); }
.vehicle-check { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); display: grid; place-items: center;
  opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--ease); box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.vehicle-check svg { width: 16px; height: 16px; fill: none; stroke: var(--navy-deep); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.vehicle input:checked + .vehicle-card { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(192,160,94,.28); }
.vehicle input:checked + .vehicle-card .vehicle-check { opacity: 1; transform: none; }
.vehicle input:focus-visible + .vehicle-card { outline: 3px solid var(--focus); outline-offset: 2px; }

/* summary */
.summary { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; border-radius: 0 var(--r-lg) var(--r-lg) 0; position: relative; }
.summary-inner { position: sticky; top: 88px; padding: 32px 30px; display: flex; flex-direction: column; gap: 14px; }
.summary-label { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
.summary-total { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.3rem, 4vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; transition: opacity .2s; }
.summary:not(.has-result) .summary-total { color: rgba(255,255,255,.45); }
.summary.is-loading .summary-total { opacity: .55; }
.summary-sub { margin: 0; color: rgba(255,255,255,.72); font-size: .92rem; }
.summary-sub b { color: #fff; }
.summary-route { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.07); font-weight: 600; font-size: .9rem; line-height: 1.5; }
.summary-warn { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px;
  background: rgba(192,160,94,.14); border: 1px solid rgba(192,160,94,.45); color: #f3e7cc; font-size: .86rem; line-height: 1.45; }
.summary-warn p { margin: 0; }
.summary-warn b { color: #fff; }
.summary-warn svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; fill: none; stroke: var(--gold-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* şehir içi işler: fiyat yerine özel teklif yönlendirmesi */
.summary-total.is-text { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--gold-2); }
.summary-ozel { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #e9ecf6; font-size: .88rem; line-height: 1.5; }
.summary-ozel[hidden] { display: none; }
.summary-ozel p { margin: 0; }
.summary-ozel svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.summary-km { margin: -4px 0 0; font-size: .92rem; color: rgba(255,255,255,.8); }
.summary-km b { color: #fff; }
.summary-km span { color: rgba(255,255,255,.5); font-size: .85rem; }
.summary-legs { list-style: none; margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.07); display: flex; flex-direction: column; gap: 7px; font-size: .88rem; }
.summary-legs li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.summary-legs span { min-width: 0; }
.summary-legs b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.summary-legs em { font-style: normal; color: var(--gold-2); }
.summary-legs .is-return { color: rgba(255,255,255,.7); padding-top: 7px; border-top: 1px dashed rgba(255,255,255,.15); }
.summary-lines { margin: 0; display: flex; flex-direction: column; gap: 10px; padding: 4px 0 6px; border-top: 1px dashed rgba(255,255,255,.18); padding-top: 14px; }
.summary-lines div { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.summary-lines dt { color: rgba(255,255,255,.65); }
.summary-lines dd { margin: 0; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.summary .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); font-size: .9rem; }
.summary-note { margin: 2px 0 0; font-size: .78rem; color: rgba(255,255,255,.62); }
.form-error { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(194,50,42,.18); color: #ffd6d2; font-weight: 600; font-size: .9rem; }

/* mobile sticky bar */
.mobile-bar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 10px 10px 16px; border-radius: 18px; background: var(--navy-deep); color: #fff; box-shadow: 0 16px 40px -10px rgba(0,0,0,.55);
  padding-bottom: calc(10px + env(safe-area-inset-bottom)); animation: rise .35s var(--ease); }
.mobile-bar-price { min-width: 0; }
.mobile-bar-price span { display: block; font-size: .68rem; color: var(--gold-2); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.mobile-bar-price strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; white-space: nowrap; }
.mobile-bar-actions { display: flex; gap: 8px; }
.mobile-bar .btn { padding: 12px 14px; font-size: .92rem; gap: 6px; }
.mobile-bar .btn svg { width: 18px; height: 18px; }
.btn-call { background: var(--gold); color: var(--navy-deep); }
.has-mobile-bar .site-footer { padding-bottom: 96px; }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.how { padding: 72px 0 24px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-item { padding: 28px; border-radius: var(--r); background: var(--surface-2); }
.how-item p { margin: 0; color: var(--muted); }
.how-no { display: block; font: 600 2rem var(--font-display); color: var(--gold-ink); margin-bottom: 8px; }

.fleet { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fleet-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s var(--ease); }
.fleet-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.fleet-img { overflow: hidden; position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.fleet-img:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.fleet-photos { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px;
  background: rgba(21,27,54,.78); color: #fff; font-size: .78rem; font-weight: 700; backdrop-filter: blur(4px); transition: background .2s; }
.fleet-photos svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.fleet-img:hover .fleet-photos { background: var(--gold); color: var(--navy-deep); }
.fleet-img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .5s var(--ease); }
.fleet-card:hover .fleet-img img { transform: scale(1.05); }
.fleet-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.fleet-body h3 { margin: 0; font-size: 1.2rem; }
.fleet-specs { list-style: none; margin: 0 0 4px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fleet-specs li { padding: 10px 12px; background: var(--surface-2); border-radius: 10px; }
.fleet-specs span { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.fleet-specs b { font-size: .92rem; }
.fleet-body .btn { margin-top: auto; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-sm); scroll-margin-top: 90px; }
.service h3 { margin: 0 0 8px; }
.service p { margin: 0; color: var(--muted); }
.service .service-tag { margin: 0 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); }
.service-list { list-style: none; margin: 18px 0 22px; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: .93rem; }
.service-list li { position: relative; padding-left: 24px; }
.service-list li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 12px; height: 7px; border: solid var(--gold-ink); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.service-link { margin-top: auto; align-self: flex-start; font-weight: 700; color: var(--link); text-decoration: none; }
.service-link span { display: inline-block; transition: transform .2s var(--ease); }
.service-link:hover span { transform: translateX(4px); }
.service-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--gold-soft); margin-bottom: 18px; }
.service-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.section-lead { margin: 12px 0 0; color: var(--muted); font-size: 1.05rem; }
.refs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ref { display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--r); background: var(--surface); }
.ref h3 { margin: 0 0 6px; }
.ref p { margin: 0; color: var(--muted); }
.ref-icon { flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--gold-soft); }
.ref-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 56px; border-radius: var(--r-lg); color: #fff;
  background: radial-gradient(600px 300px at 100% 0%, rgba(192,160,94,.25), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-deep)); }
.cta h2 { color: #fff; }
.cta .eyebrow { color: var(--gold-2); }
.cta-list { margin: 0; display: grid; gap: 10px; }
.cta-list div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.cta-list dt { color: rgba(255,255,255,.55); font-weight: 600; }
.cta-list dd { margin: 0; }
.cta-list a { color: #fff; }
.cta-list a[href^="tel:"] { font-weight: 700; text-decoration: none; white-space: nowrap; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(31,168,85,.7); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- fotoğraf galerisi ---------- */
.lightbox { width: min(1100px, 100vw - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--r); background: #0b0f1f; color: #fff;
  display: none; flex-direction: column; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: rgba(8,11,24,.82); backdrop-filter: blur(3px); }
.lb-head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 20px; }
.lb-title { margin: 0; font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-count { font-size: .85rem; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.lb-close, .lb-nav { display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: rgba(255,255,255,.1); transition: background .2s; }
.lb-close { width: 40px; height: 40px; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close:focus-visible, .lb-nav:focus-visible, .lb-thumbs button:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.lb-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; background: #000; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: calc(100dvh - 32px - 64px - 96px); width: auto; height: auto; object-fit: contain; user-select: none; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: rgba(11,15,31,.6); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; scrollbar-width: thin; }
.lb-thumbs button { flex: 0 0 auto; width: 96px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: #222; opacity: .6; transition: opacity .2s, border-color .2s; }
.lb-thumbs button:hover { opacity: .9; }
.lb-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--gold); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .lightbox { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .lb-stage img { max-height: calc(100dvh - 64px - 88px); }
  .lb-nav { width: 40px; height: 40px; }
  .lb-thumbs button { width: 72px; height: 50px; }
}

@media (max-width: 640px) { .hero-kartal { display: none; } }  /* dar ekranda başlığın üstüne binmesin */

/* ---------- gizlilik sayfası ---------- */
.doc-main { padding: 56px 0 80px; background: var(--bg-alt); }
.doc { max-width: 820px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 44px clamp(20px, 5vw, 56px); }
.doc h1 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0 0 6px; }
.doc h2 { font-size: 1.25rem; margin: 2.2em 0 .6em; }
.doc h3 { font-size: 1rem; font-weight: 700; margin: 1.4em 0 .3em; }
.doc p { color: var(--ink); line-height: 1.7; margin: 0 0 1em; }
.doc a { color: var(--link); }
.doc-date { color: var(--muted) !important; font-size: .9rem; }
.doc-list { margin: 0; display: grid; gap: 8px; }
.doc-list div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.doc-list dt { color: var(--muted); font-weight: 600; }
.doc-list dd { margin: 0; }
.doc-table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
.doc-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.doc-table th, .doc-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.doc-table code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.doc-back { margin: 2em 0 0 !important; }
@media (max-width: 560px) { .doc-list div { grid-template-columns: 1fr; gap: 0; } }
.footer-bottom a { color: rgba(255,255,255,.72); }
.footer-bottom a:hover { color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 56px 0 24px; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-muted { margin: 14px 0 0; font-size: .88rem; color: rgba(255,255,255,.5); max-width: 28em; }
.footer-col { display: flex; flex-direction: column; gap: 6px; max-width: 360px; font-size: .92rem; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.footer-col a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-kisi span { display: inline-block; min-width: 7.5em; font-weight: 500; color: rgba(255,255,255,.72); }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: rgba(255,255,255,.6); }

/* tema değişirken geçiş animasyonları kapalı (yüzlerce öğe aynı anda animasyona girmesin) */
.tema-gecis *, .tema-gecis *::before, .tema-gecis *::after { transition: none !important; }

/* ---------- admin ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 6px 0 22px; }
.stat-card { padding: 16px 18px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.stat-period { margin: 0 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.stat-main { margin: 0 0 10px; color: var(--muted); }
.stat-main b { display: block; font: 600 2rem/1.1 var(--font-display); color: var(--heading); }
.stat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: .9rem; }
.stat-list li { display: flex; align-items: center; gap: 8px; }
.stat-list b { margin-left: auto; color: var(--heading); }
.stat-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.stat-dot.wa { background: var(--wa); } .stat-dot.ara { background: var(--navy-2); } .stat-dot.oran { background: var(--gold); }
.stat-note { margin: 10px 0 0; font-size: .78rem; color: var(--muted); }
.stat-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat-cols h3 { font-size: 1rem; margin: 0 0 8px; }
.stat-rank { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: .92rem; }
.stat-rank li span { margin-right: 8px; }
.stat-rank li b { color: var(--heading); }
.stat-rank li em { font-style: normal; margin-left: 8px; font-size: .8rem; color: var(--wa); font-weight: 600; }
.iletisim-rozet { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .75rem; font-weight: 700; color: #fff; }
.iletisim-rozet.wa { background: var(--wa); } .iletisim-rozet.ara { background: var(--navy-2); }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } .stat-cols { grid-template-columns: 1fr; } }
.admin-main { padding: 40px 0 80px; background: var(--bg-alt); min-height: 70vh; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; margin-bottom: 24px; overflow-x: auto; }
.label { display: block; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.field { display: block; }
.panel input[type=text], .panel input[type=password] { width: 100%; height: 44px; padding: 0 12px; font: 500 1rem var(--font-body); color: var(--ink); background: var(--surface-2); border: 1.5px solid var(--line-2); border-radius: 10px; }
.panel input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(34,44,84,.12); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.table input[type=text] { max-width: 140px; }
.flash { padding: 12px 16px; border-radius: 10px; background: var(--gold-soft); border: 1px solid var(--gold); margin-bottom: 20px; }
.flash.warn { background: var(--danger-soft); border-color: var(--danger); }
.login-box { max-width: 380px; margin: 60px auto; }
.fuel-box { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: flex-end; margin-bottom: 8px; }
.fuel-status { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.fuel-status p { margin: 0; }
.fuel-error { color: var(--danger); font-size: .88rem; max-width: 520px; }
.admin-select { width: 140px; height: 44px; padding: 0 10px; font: 500 1rem var(--font-body); border: 1.5px solid var(--line-2); border-radius: 10px; color: var(--ink); background: var(--surface-2); }
.sablon-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 16px; }
.sablon-form .field:first-child { width: 110px; }
.sablon-form .field:nth-child(2) { flex: 1; min-width: 200px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.login-box form { display: flex; flex-direction: column; gap: 14px; }
.muted { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .header-phone { margin-left: auto; }
}
@media (max-width: 1100px) {
  .calc { grid-template-columns: 1fr; }
  .summary { border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .summary-inner { position: static; }
  .fleet, .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-phone { margin-left: auto; }
  .hero { padding: 88px 0 84px; }
  .vehicles { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; padding: 36px 28px; }
  .wa-float { display: none; }
}
@media (max-width: 600px) {
  .tour-bar { margin: 0 -16px; padding: 2px 16px; }
  .wrap { padding: 0 16px; }
  .header-inner { min-height: 64px; }
  .logo-text strong { font-size: 1.02rem; }
  .kartal { width: 32px; }
  .header-phone { padding: 9px; }
  .header-phone span { display: none; }
  .header-phone svg { width: 18px; height: 18px; }
  .hero { padding: 78px 0 72px; }
  .hero h1 { font-size: 1.25rem; margin-bottom: 10px; }
  .hero-sub { margin: 0 0 16px; font-size: .9rem; }
  .calc-section { margin-top: -52px; }
  .calc-main { padding: 22px 16px 26px; gap: 26px; }
  .summary-inner { padding: 24px 18px; }
  .combo-toggle { display: none; }
  .place .combo-input { padding-right: 14px; }
  .combo-list { max-height: 50vh; left: -38px; right: 0; }
  .place { grid-template-columns: 22px minmax(0, 1fr) auto; column-gap: 8px; }
  .stop-btn { width: 28px; }
  .route-foot { margin-left: 30px; }
  .dates { gap: 10px; grid-template-columns: 1fr 1fr; }
  .dates .time-field { order: 3; grid-column: 1 / -1; }
  .info-tip { left: -90px; transform: translate(0, 4px); width: 240px; }
  .info-tip::after { left: 99px; transform: none; }
  .info:hover .info-tip, .info:focus .info-tip { transform: none; }
  .date-field input { padding: 0 10px; font-size: .95rem; }
  .vehicles { gap: 10px; }
  .vehicle-info { padding: 8px 10px 10px; }
  .fleet, .services, .refs { grid-template-columns: 1fr; }
  .ref { padding: 22px 20px; gap: 14px; }
  .section { padding: 64px 0; }
  .cta-list div { grid-template-columns: 1fr; gap: 0; }
  .footer-bottom { padding-bottom: 72px; }
}

/* ---------- açık / koyu tema düğmesi ---------- */
.theme-toggle { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: #fff; transition: background .2s, border-color .2s, transform .3s var(--ease); }
.theme-toggle:hover { background: rgba(255,255,255,.18); border-color: var(--gold-2); }
.theme-toggle:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .ikon-gunes { display: none; }
.logo + .theme-toggle { margin-left: auto; }  /* menüsüz sayfalarda (yönetim girişi) sağa yasla */
[data-theme="dark"] .theme-toggle .ikon-ay { display: none; }
[data-theme="dark"] .theme-toggle .ikon-gunes { display: block; color: var(--gold-2); }
.theme-toggle:active { transform: rotate(-20deg); }

/* ---------- koyu tema ----------
   Lacivert-siyah zemin, bir ton açık kartlar; altın vurgular koyu zeminde okunsun diye açıldı.
   Yazı/zemin çiftleri en az 4.5:1 kontrastta seçildi. */
:root { color-scheme: light; }
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1326;
  --bg-alt: #121832;
  --surface: #182041;
  --surface-2: #202a52;
  --surface-hover: #283361;
  --ink: #e7eaf4;
  --muted: #a8afca;
  --heading: #f2f4fb;
  --link: #dcc48f;
  --line: #2a3462;
  --line-2: #3b4679;
  --accent: #3d4e9a;
  --accent-ink: #ffffff;
  --focus: #9aa8ea;
  --placeholder: #8d96b8;
  --glass: rgba(24,32,65,.97);
  --chip-bg: #2a3564;
  --chip-ink: #d3d9f3;
  --ghost-bg: #2d3a74;
  --desen-renk: #d6bd84;
  --desen-opak: .08;
  --gold-soft: rgba(192,160,94,.15);
  --gold-soft-2: rgba(192,160,94,.26);
  --gold-ink: #dcc48f;
  --danger: #ff8f86;
  --danger-soft: rgba(255,120,110,.13);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.35), 0 4px 14px rgba(0,0,0,.25);
  --shadow: 0 30px 60px -25px rgba(0,0,0,.7), 0 10px 24px -12px rgba(0,0,0,.45);
}
[data-theme="dark"] .calc { border: 1px solid var(--line); }
[data-theme="dark"] .btn-navy { background: var(--accent); }
[data-theme="dark"] .btn-navy:hover { background: #4a5cab; }
[data-theme="dark"] .summary { background: linear-gradient(160deg, #222c5a 0%, #151b36 100%); }
[data-theme="dark"] .service, [data-theme="dark"] .fleet-card, [data-theme="dark"] .how-item { border: 1px solid var(--line); }
[data-theme="dark"] .fleet-card img { filter: brightness(.92); }
[data-theme="dark"] .vehicle-art { background: radial-gradient(120% 90% at 50% 100%, #2c3766 0%, var(--surface-2) 65%); }
/* koyu zeminde lacivert aynalar ve siyah minibüsler kaybolmasın */
[data-theme="dark"] .vehicle-art img { filter: drop-shadow(0 0 1px rgba(255,255,255,.55)) drop-shadow(0 0 6px rgba(214,189,132,.18)); }

[data-theme="dark"] .date-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8afca' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
[data-theme="dark"] .info-tip { background: #0b0f20; border: 1px solid var(--line-2); }
[data-theme="dark"] .info-tip::after { border-top-color: #0b0f20; }
[data-theme="dark"] .cta { border: 1px solid var(--line); }
[data-theme="dark"] .site-footer { background: #0a0e1d; border-top: 1px solid var(--line); }
[data-theme="dark"] .flash { color: var(--ink); }
[data-theme="dark"] .vehicle input:checked + .vehicle-card { box-shadow: 0 0 0 3px rgba(192,160,94,.4); }
[data-theme="dark"] .place-end .place-dot::before { box-shadow: 0 0 0 4px rgba(192,160,94,.3); }
