:root {
  --bg: #050a14;
  --bg-2: #0a1426;
  --ink: #eef3fb;
  --muted: #8fa3c2;
  --blue: #1f6fd8;
  --sky: #2aa6ef;
  --red: #e2333b;
  --line: rgba(255, 255, 255, .14);
  --strip-h: 34px;
  --bar-h: 86px;
  --head-h: calc(var(--strip-h) + var(--bar-h));
  --gutter: clamp(16px, 4vw, 56px);
  --font: "Saira", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- Üst bölüm: bilgi satırı + beyaz menü (sayfanın en üstünde, kaydırınca sabit kalır) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Bilgi satırı (mevcut sitedeki gibi sade) */
.topbar {
  height: var(--strip-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--gutter);
  border-top: 3px solid #0b1424;
  border-bottom: 1px solid #e6eaf0;
  background: #f6f8fb;
  font: 500 11.5px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #66738a;
  white-space: nowrap;
}
.topbar__place { margin: 0; }
.topbar__place i { font-style: normal; color: #a3adbd; }
.topbar__mail {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  transition: color .2s;
}
.topbar__mail:hover { color: var(--blue); }
.topbar__mail svg { width: 17px; height: 17px; fill: none; stroke: var(--sky); stroke-width: 1.6; }

/* Beyaz menü çubuğu: logo | kıvrımlı yol | menü | dil */
.navbar {
  position: relative;
  height: var(--bar-h);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: 34px;
  padding: 0 var(--gutter);
  background: #fff;
  border-bottom: 1px solid #e6eaf0;
  box-shadow: 0 10px 24px -20px rgba(15, 27, 51, .45);
  color: #0f1b33;
}
.brand img { height: 56px; width: auto; }

/* Kıvrımlı yol: logo ile menü arasındaki beyaz boşluğu doldurur, tırlar uçlarda beyaza karışır */
.road {
  --road-w: 13px;
  --truck-h: 30px;
  position: relative;
  align-self: stretch;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.road__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 3px 3px rgba(15, 27, 51, .16));
}
.road__svg path { fill: none; stroke-linejoin: round; }
.road__curb { stroke: #d9e0ea; stroke-width: calc(var(--road-w) + 3px); }
.road__asphalt { stroke: #232d3d; stroke-width: var(--road-w); }
.road__lines { stroke: rgba(255, 255, 255, .55); stroke-width: calc(var(--road-w) - 3px); }
.road__inner { stroke: #232d3d; stroke-width: calc(var(--road-w) - 4.2px); }
.road__dash { stroke: #fff; stroke-width: 1.4px; stroke-dasharray: 9 9; opacity: .9; }
.road__trucks { position: absolute; inset: 0; }
.rt {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 55% 100%;
  will-change: transform;
}
.rt img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  /* beyaz kasalar beyaz zeminde kaybolmasın */
  filter: drop-shadow(0 1px 1.2px rgba(15, 27, 51, .45));
}
.rt::after {
  /* yola düşen gölge */
  content: "";
  position: absolute;
  left: 6%;
  right: 3%;
  bottom: -2px;
  height: 5px;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent);
}

.site-nav { display: flex; gap: 32px; }
.site-nav a {
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 600;
  color: #0f1b33;
  transition: color .2s;
}
.site-nav a:hover { color: var(--blue); }

.lang { position: relative; }
.lang summary {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #e1e6ee;
  border-radius: 10px;
  background: #f7f9fc;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 2px 6px -3px rgba(15, 27, 51, .18);
}
.lang summary::-webkit-details-marker { display: none; }
.lang .flag { width: 18px; height: 9px; border-radius: 1px; }
.lang .chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .2s; }
.lang[open] .chev { transform: rotate(180deg); }
.lang ul {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 150px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid #e1e6ee;
  border-radius: 10px;
  box-shadow: 0 12px 30px -12px rgba(15, 27, 51, .35);
}
.lang ul a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #0f1b33;
}
.lang ul a:hover, .lang ul a[aria-current] { background: #f1f4f9; }

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid #e1e6ee;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.menu-btn span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: #0f1b33; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Banner (üst bölümün altında sabitlenir) ---------- */
.hero {
  --n: 4;
  position: relative;
  /* her geçiş için ~1,1 ekran kaydırma + son tırda kısa bir duraklama */
  height: calc(100vh - var(--head-h) + (var(--n) - 0.6) * 110vh);
  height: calc(100svh - var(--head-h) + (var(--n) - 0.6) * 110svh);
}
.hero__sticky {
  position: sticky;
  top: var(--head-h);
  height: calc(100vh - var(--head-h));
  height: calc(100svh - var(--head-h));
  overflow: hidden;
  background: var(--bg);
}
.stage, .stage__bg, .stage__fg, .stage__shade { position: absolute; inset: 0; }
.stage { pointer-events: none; }
.stage__bg, .stage__fg { width: 100%; height: 100%; }
.stage__frame {
  position: absolute;
  left: 0;
  top: 0;
  width: 2000px;
  height: 1125px;
  transform-origin: 0 0;
}
.stage__shade {
  background:
    radial-gradient(120% 90% at 50% 55%, transparent 55%, rgba(2, 5, 12, .6) 100%),
    linear-gradient(to bottom, transparent 82%, rgba(5, 10, 20, .85) 100%);
}

/* Tır katmanları: konumlar 2000×1125 fotoğraf koordinatında, JS matrix3d ile yola oturtur */
.truck {
  position: absolute;
  left: 0;
  top: 0;
  width: 2000px;
  height: 1125px;
  transform-origin: 0 0;
  will-change: transform;
  backface-visibility: hidden;
}
.truck[hidden] { display: block; visibility: hidden; }
.truck__al { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 0 0; }
.truck__img { position: absolute; max-width: none; user-select: none; }
.truck__refl {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  opacity: .34;
  filter: blur(2.5px) saturate(1.2);
}
.truck__refl .truck__img {
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .55) 14%, transparent 42%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .55) 14%, transparent 42%);
}
.wheel { position: absolute; }
.wheel i {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
}
.truck.is-fast .wheel i { filter: blur(1.6px); }

.lamp {
  position: absolute;
  width: 0;
  height: 0;
  mix-blend-mode: screen;
}
.lamp::before, .lamp::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.lamp--head::before {
  width: 190px;
  height: 120px;
  background: radial-gradient(closest-side, rgba(255, 246, 228, .95), rgba(255, 214, 160, .38) 32%, rgba(255, 190, 120, 0) 100%);
}
.lamp--head::after {
  /* anamorfik parlama */
  width: 900px;
  height: 7px;
  border-radius: 0;
  background: radial-gradient(closest-side, rgba(160, 205, 255, .55), rgba(90, 150, 255, 0));
}
.lamp--far::before { width: 140px; height: 90px; }
.lamp--far::after { width: 560px; opacity: .7; }
.lamp--tail::before {
  width: 110px;
  height: 90px;
  background: radial-gradient(closest-side, rgba(255, 70, 60, .9), rgba(255, 30, 30, .3) 40%, rgba(255, 0, 0, 0));
}

/* ---------- Banner metinleri ---------- */
.hero__ui {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  padding: clamp(16px, 4.5vh, 48px) var(--gutter) clamp(18px, 4vh, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero__copy {
  position: relative;
  min-height: 210px;
}
.copy {
  position: absolute;
  left: 0;
  top: 0;
  max-width: min(560px, 100%);
  visibility: hidden;
}
.copy.is-on { visibility: visible; }
.copy__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--sky);
}
.copy__eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--sky));
}
.copy__eyebrow b { color: var(--ink); font-weight: 700; }
.copy__title {
  margin: 0;
  font-size: clamp(48px, 7.4vw, 124px);
  line-height: .9;
  font-weight: 850;
  font-style: italic;
  font-stretch: 112%;
  letter-spacing: -.01em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 6px 40px rgba(0, 0, 0, .45);
}
.copy__title .ch { display: inline-block; will-change: transform, opacity; }
.copy__sub {
  margin: 10px 0 0;
  font-size: clamp(15px, 1.5vw, 21px);
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.copy__desc {
  margin: 10px 0 0;
  max-width: 360px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.fleet-nav {
  display: grid;
  grid-template-columns: repeat(var(--n, 4), minmax(0, 150px));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: auto;
}
.fleet-nav button {
  display: block;
  width: 100%;
  padding: 10px 0 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: 500 12px/1.2 var(--font);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  transition: color .25s;
}
.fleet-nav button b { margin-right: 8px; font-weight: 700; }
.fleet-nav button.is-active, .fleet-nav button:hover { color: var(--ink); }
.fleet-nav button:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; }
.fleet-nav__bar {
  display: block;
  height: 2px;
  margin-bottom: 10px;
  background: var(--line);
  overflow: hidden;
}
.fleet-nav__bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--sky));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  transition: opacity .4s;
}
.scroll-hint.is-gone { opacity: 0; }
.scroll-hint__mouse {
  position: relative;
  width: 20px;
  height: 32px;
  border: 1.5px solid currentColor;
  border-radius: 12px;
}
.scroll-hint__mouse i {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--ink);
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(9px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  /* bilgi satırı gizlenir; yol menünün altında tam genişlik ikinci satıra iner */
  :root { --strip-h: 0px; --bar-h: 102px; }
  .topbar { display: none; }
  .navbar { grid-template-rows: 60px 42px; column-gap: 10px; }
  .brand { grid-area: 1 / 1; }
  .brand img { height: 44px; }
  .lang { grid-area: 1 / 3; }
  .lang summary { height: 40px; padding: 0 11px; }
  .menu-btn { display: block; grid-area: 1 / 4; }
  .road { grid-area: 2 / 1 / 3 / -1; margin: 0 calc(-1 * var(--gutter)); --road-w: 10px; --truck-h: 23px; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    padding: 6px var(--gutter) 14px;
    background: #fff;
    border-bottom: 1px solid #e6eaf0;
    box-shadow: 0 18px 30px -18px rgba(15, 27, 51, .4);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid #eef1f5; }
  .site-nav a:last-child { border-bottom: 0; }
  .fleet-nav { gap: 8px; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); flex: 1; }
  .fleet-nav button { font-size: 10px; letter-spacing: .1em; }
  .fleet-nav button b { display: block; margin: 0 0 2px; }
  .scroll-hint { display: none; }
  .copy__desc { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint__mouse i { animation: none; }
}
