/* =========================================================
   LOJİSTİK — Filo sayfası
   (main.css üzerine; WordPress'te "page-filo" şablonuna taşınacak)
   ========================================================= */

/* ---------- Sahne ---------- */
.fleet { position: relative; z-index: 1; height: 1500vh; }
.fleet__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: linear-gradient(180deg, #d5dade 0%, #cdd3d8 60%, #dde1e5 100%);
  transform-origin: 50% 0;
}
.fleet__canvas-wrap { position: absolute; inset: 0; will-change: transform, filter; filter: blur(0px); }
.fleet__canvas-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fleet__veil {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(238,241,244,0) 25%, rgba(238,241,244,.6) 100%);
}
/* videonun alt kenarındaki hazır paneli gizler */
.fleet__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 9%; pointer-events: none;
  background: linear-gradient(0deg, #e2e6e9 15%, rgba(226,230,233,0));
}
.fleet__intro { opacity: 1; }

/* ---------- Tıklanabilir noktalar ---------- */
.hotspots { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.hs {
  position: absolute; left: var(--x); top: var(--y);
  display: flex; align-items: center; gap: 10px;
  padding: 0; border: 0; background: none; cursor: pointer;
  font: 600 12.5px/1 var(--font); color: var(--ink);
  transform: translate(-11px, -50%);
  opacity: 0; pointer-events: none;
}
.fleet__stage.hs-on .hs { pointer-events: auto; }
.hs i {
  position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: #fff; box-shadow: 0 4px 14px rgba(20,23,28,.25);
}
.hs i::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--red); }
.hs i::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(224,38,45,.55); animation: hsPulse 2.2s var(--ease) infinite;
}
@keyframes hsPulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.hs span {
  padding: 8px 12px; border-radius: 99px; white-space: nowrap;
  background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px -10px rgba(20,23,28,.3);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.hs:hover span, .hs.is-active span { background: var(--ink); color: #fff; transform: translateX(3px); }
.hs.is-off { display: none; }

.fleet__hint {
  position: absolute; left: 5vw; bottom: 9vh;
  display: flex; gap: 16px; align-items: center;
  padding: 16px 22px 16px 18px;
  background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 20px; opacity: 0; visibility: hidden;
}
.fleet__hint-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(224,38,45,.18); }
.fleet__hint strong { font-size: 16px; }
.fleet__hint p { font-size: 13px; color: var(--ink-2); }

/* Nokta kartı */
.hs-pop {
  position: absolute; z-index: 5; width: 310px;
  padding: 22px 24px 22px;
  background: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.95);
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-radius: 22px; box-shadow: 0 30px 60px -25px rgba(20,23,28,.4);
  opacity: 0; visibility: hidden;
}
.hs-pop__x {
  position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%;
  border: 0; background: rgba(20,23,28,.06); font: 400 20px/1 var(--font); cursor: pointer; color: var(--ink-2);
}
.hs-pop__tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); padding: 5px 10px; border-radius: 99px; background: rgba(224,38,45,.1); }
.hs-pop h3 { font-size: 22px; letter-spacing: -.02em; margin: 12px 0 6px; line-height: 1.15; }
.hs-pop p { font-size: 14px; color: var(--ink-2); }
.hs-pop__go {
  margin-top: 16px; display: inline-flex; gap: 8px; align-items: center;
  font: 600 14px/1 var(--font); color: #fff; background: var(--ink);
  padding: 12px 18px; border-radius: 99px; border: 0; cursor: pointer; transition: background .3s;
}
.hs-pop__go span { transition: transform .4s var(--ease); }
.hs-pop__go:hover { background: var(--red); }
.hs-pop__go:hover span { transform: translateX(4px); }

.hs-chips { display: none; }

/* ---------- Filo paneli ---------- */
.fpanel {
  --w: min(1180px, 90vw, 150vh);
  position: absolute; left: 50%; bottom: 5vh;
  width: var(--w); aspect-ratio: 1.85;
  margin-left: calc(var(--w) / -2);
  container-type: inline-size;
  display: grid; grid-template-columns: 19cqw 1fr;
  background: linear-gradient(160deg, rgba(255,255,255,.66), rgba(236,239,242,.46));
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 3cqw;
  backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 40px 80px -30px rgba(40,50,60,.35), inset 0 1px 0 rgba(255,255,255,.9);
  transform-origin: 50% 100%;
  opacity: 0; visibility: hidden;
  will-change: transform, opacity;
}

.fpanel__side { display: flex; flex-direction: column; gap: 2cqw; padding: 2.4cqw 1.4cqw 2.2cqw 2cqw; min-height: 0; }
.fpanel__brand { display: flex; align-items: center; gap: 1cqw; font-size: 1.5cqw; letter-spacing: -.01em; }
.fpanel__brand .logo-mark { --s: 2.6cqw; }
.fpanel__brand .fpanel__logo { width: 2.8cqw; height: 2.8cqw; object-fit: contain; }
.fpanel__tabs { display: grid; gap: .5cqw; }
.vtab {
  position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 1cqw; align-items: baseline;
  text-align: left; cursor: pointer;
  padding: 1cqw 1.2cqw; border: 0; border-radius: 1.2cqw; background: transparent;
  font: 600 max(11px, 1.2cqw)/1.25 var(--font); color: var(--ink-2);
  transition: background .35s, color .35s, box-shadow .35s;
}
.vtab b { font-size: .8em; color: rgba(20,23,28,.35); letter-spacing: .06em; }
.vtab small { grid-column: 2; font-size: .78em; font-weight: 500; color: var(--muted); margin-top: .25cqw; }
.vtab:hover { background: rgba(255,255,255,.55); color: var(--ink); }
.vtab.is-active { background: #fff; color: var(--ink); box-shadow: 0 4px 16px -6px rgba(0,0,0,.12); }
.vtab.is-active b { color: var(--red); }
.vtab.is-active::before { content: ""; position: absolute; left: -1.2cqw; top: 26%; bottom: 26%; width: .28cqw; border-radius: 2px; background: var(--red); }
.fpanel__total { margin-top: auto; padding: 1.2cqw; border-radius: 1.2cqw; background: rgba(255,255,255,.5); }
.fpanel__total small { display: block; font-size: max(10px, .95cqw); color: var(--muted); }
.fpanel__total b { font-size: 1.9cqw; letter-spacing: -.02em; }

.fpanel__main { display: grid; grid-template-rows: auto 1fr auto auto; gap: 1.4cqw; padding: 2.2cqw 2.4cqw 2cqw .4cqw; min-height: 0; }
.fpanel__top { display: flex; align-items: center; justify-content: space-between; }
.fpanel__live { display: flex; gap: .6cqw; font-size: max(11px, 1.05cqw); color: var(--ink-2); }
.fpanel__live span { display: inline-flex; align-items: center; gap: .6cqw; padding: .6cqw 1.1cqw; border-radius: 99px; background: rgba(255,255,255,.7); }
.fpanel__live b { color: var(--ink); font-variant-numeric: tabular-nums; }
.dot { width: .75cqw; height: .75cqw; min-width: 7px; min-height: 7px; border-radius: 50%; display: inline-block; }
.dot--green { background: var(--green); box-shadow: 0 0 0 .3cqw rgba(47,163,122,.18); }
.dot--amber { background: #e3a21a; }
.dot--gray { background: #a3a9b1; }
.fpanel__nav { display: flex; align-items: center; gap: .8cqw; }
.fpanel__count { font-size: max(11px, 1.1cqw); color: var(--muted); margin-right: .6cqw; font-variant-numeric: tabular-nums; }
.fpanel__count b { color: var(--ink); }
.fpanel__arrow {
  width: 3.2cqw; height: 3.2cqw; min-width: 30px; min-height: 30px; border-radius: 50%;
  border: 1px solid rgba(20,23,28,.1); background: rgba(255,255,255,.8); cursor: pointer;
  font: 600 max(13px, 1.3cqw)/1 var(--font); color: var(--ink); transition: background .3s, color .3s;
}
.fpanel__arrow:hover { background: var(--ink); color: #fff; }

.fpanel__show { display: grid; grid-template-columns: 34% 1fr; gap: 2cqw; min-height: 0; }
.fpanel__copy { align-self: center; }
.fpanel__kicker { display: inline-block; font-size: max(10px, .95cqw); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.fpanel__copy h2 { font-size: 3.5cqw; line-height: 1.04; letter-spacing: -.035em; font-weight: 700; margin: .8cqw 0 1cqw; }
.fpanel__copy p { font-size: max(12px, 1.15cqw); color: var(--ink-2); line-height: 1.5; }
.fpanel__tags { display: flex; flex-wrap: wrap; gap: .5cqw; margin-top: 1.3cqw; }
.fpanel__tags span { font-size: max(10px, .92cqw); font-weight: 600; padding: .45cqw .9cqw; border-radius: 99px; background: rgba(255,255,255,.85); color: var(--ink-2); border: 1px solid rgba(20,23,28,.06); }
.fpanel__cta.btn { margin-top: 1.8cqw; font-size: max(12px, 1.1cqw); padding: 1cqw 1.7cqw; }

.fpanel__stage {
  position: relative; overflow: hidden; min-height: 0;
  border-radius: 2cqw; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(20,23,28,.04), 0 10px 30px -18px rgba(0,0,0,.2);
}
.fpanel__ghost {
  position: absolute; left: 3cqw; top: 1.4cqw; white-space: nowrap;
  font-size: 7.5cqw; font-weight: 800; letter-spacing: -.05em; line-height: 1;
  color: rgba(20,23,28,.045); pointer-events: none;
}
.fpanel__imgs { position: absolute; inset: 0; }
.fpanel__imgs img {
  position: absolute; left: 4%; top: 6%; width: 92%; height: 92%;
  object-fit: contain; object-position: 50% 70%;
  opacity: 0; will-change: transform, opacity;
}
.fpanel__imgs img.is-active { opacity: 1; }

.fpanel__specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1cqw; }
.spec { background: rgba(255,255,255,.88); border-radius: 1.4cqw; padding: 1.2cqw 1.5cqw; box-shadow: 0 6px 24px -12px rgba(0,0,0,.15); }
.spec small { display: block; font-size: max(10px, .95cqw); color: var(--muted); font-weight: 500; }
.spec b { display: block; margin-top: .3cqw; font-size: 2.3cqw; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.spec b em { font-style: normal; font-size: .5em; font-weight: 600; color: var(--ink-2); margin-left: .25em; letter-spacing: 0; }
.fpanel__progress { height: .3cqw; min-height: 3px; border-radius: 3px; background: rgba(20,23,28,.07); overflow: hidden; }
.fpanel__progress span { display: block; height: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Filo standartları ---------- */
.fleet-std {
  z-index: 3; margin-top: -100vh;
  background: var(--bg-2);
  border-radius: 48px 48px 0 0;
  box-shadow: 0 -30px 80px -40px rgba(20,23,28,.35);
}
.std-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1400px; }
.std {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 36px; transition: box-shadow .6s var(--ease);
}
.std:hover { box-shadow: 0 30px 60px -30px rgba(20,23,28,.3); }
.std__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(224,38,45,.09); color: var(--red); }
.std__ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.std h3 { font-size: 21px; letter-spacing: -.02em; margin: 26px 0 10px; }
.std p { font-size: 15px; color: var(--ink-2); }
.std-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(60px, 10vh, 110px); }

.cta__form select {
  font: 500 15px var(--font); color: #fff;
  padding: 18px 22px; border-radius: 16px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06); outline: none; appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.6) 50%), linear-gradient(135deg, rgba(255,255,255,.6) 50%, transparent 50%);
  background-position: calc(100% - 26px) 50%, calc(100% - 20px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.cta__form select option { color: var(--ink); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .std-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .fpanel { --w: 94vw; aspect-ratio: auto; bottom: 2.5vh; grid-template-columns: minmax(0, 1fr); border-radius: 24px; }
  .fpanel__side, .fpanel__main, .fpanel__show, .fpanel__copy { min-width: 0; }
  .fpanel__show { grid-template-columns: minmax(0, 1fr) !important; }
  .fpanel__side { padding: 12px 12px 0; gap: 0; }
  .fpanel__brand, .fpanel__total { display: none; }
  .fpanel__tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .fpanel__tabs::-webkit-scrollbar { display: none; }
  .vtab { flex: none; display: flex; gap: 6px; font-size: 13px; padding: 9px 13px; border-radius: 99px; white-space: nowrap; }
  .vtab small { display: none; }
  .vtab.is-active::before { display: none; }
  .fpanel__main { padding: 12px 14px 14px; gap: 12px; }
  .fpanel__top { display: none; }
  .fpanel__show { grid-template-columns: 1fr; gap: 12px; }
  .fpanel__stage { order: -1; aspect-ratio: 16 / 8.4; max-height: 30vh; border-radius: 18px; }
  .fpanel__ghost { display: none; }
  .fpanel__copy h2 { font-size: 24px; margin: 4px 0 6px; }
  .fpanel__copy p { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .fpanel__tags { display: none; }
  .fpanel__cta.btn { margin-top: 10px; font-size: 13px; padding: 10px 16px; }
  .fpanel__specs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .spec { padding: 10px 12px; border-radius: 14px; }
  .spec small { font-size: 11px; }
  .spec b { font-size: 20px; }
}

@media (max-width: 760px) {
  .hs span { display: none; }
  .fleet__hint { left: 4vw; right: 4vw; bottom: auto; top: 96px; }
  .hs-chips {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
    position: absolute; left: 0; right: 0; bottom: 4vh; padding: 0 4vw;
    opacity: 0; visibility: hidden;
  }
  .hs-chips::-webkit-scrollbar { display: none; }
  .hs-chips button {
    flex: none; display: inline-flex; align-items: center; gap: 8px;
    font: 600 13px/1 var(--font); color: var(--ink);
    padding: 11px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.9);
    background: rgba(255,255,255,.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .hs-chips button i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
  .hs-pop { left: 4vw !important; right: 4vw; top: auto !important; bottom: calc(4vh + 60px); width: auto; }
  .fleet-std { border-radius: 30px 30px 0 0; }
  .std-grid { grid-template-columns: 1fr; }
  .std-stats { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hs i::after { animation: none; }
}
