/* =============================================================
   NorthDrive Rentals — Araç Kiralama
   Renk paleti: kırmızımsı soft ton, position:relative header,
   3 seviyeli dropdown menü
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* -------------------------------------------------------
     Renkler — açık kırmızı/mercan tonları (soft, canlı değil)
     #c0392b → #e05a47 (daha açık, daha soft mercan-kırmızı)
  ------------------------------------------------------- */
  --color-bg: #ffffff;
  --color-bg-soft: #fdf6f5;        /* very subtle warm tint */
  --color-bg-dark: #16120f;
  --color-bg-dark2: #1e1814;
  --color-surface: #ffffff;
  --color-primary: /*#e05a47;*/#ff3619;
  --color-primary-hover: #cc4a38;
  --color-primary-light: rgba(224,90,71,0.09);
  --color-primary-glow: rgba(224,90,71,0.26);
  --color-dark: #1e293b;
  --color-heading: #1a1614;
  --color-body: #4a4240;
  --color-muted: #9a8e8c;
  --color-border: #ede5e3;
  --color-border-dark: #2e2018;
  --color-success: #27ae60;
  --color-on-primary: #ffffff;
  --color-on-dark: #f5f0ef;

  /* Tipografi */
  --font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --fs-h1: clamp(2.2rem, 1.4rem + 3.2vw, 3.25rem);
  --fs-h2: clamp(1.6rem, 1.1rem + 2vw, 2.25rem);
  --fs-h3: 1.2rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --lh-base: 1.65;
  --lh-tight: 1.2;

  /* Boşluklar */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;
  --space-4: 16px;  --space-5: 20px;  --space-6: 24px;
  --space-8: 32px;  --space-10: 40px; --space-12: 48px;
  --space-16: 64px; --space-20: 80px;

  /* Layout */
  --container-max: 1240px;
  --container-narrow: 880px;
  --section-gap: 80px;
  --card-gap: 20px;

  /* Topbar + header yüksekliği */
  --topbar-h: 36px;
  --header-nav-h: 76px;
  --header-h: calc(var(--topbar-h) + var(--header-nav-h));

  /* Radius & gölge */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.09);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --shadow-red: 0 4px 20px rgba(224,90,71,0.30);   /* açık renge uygun gölge */

  --transition: 200ms ease;
  --focus-ring: 0 0 0 3px rgba(224,90,71,0.32);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  color: var(--color-body);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--color-primary-hover); }

button {
  font-family: inherit; font-size: inherit;
  cursor: pointer; border: 0; background: none; color: inherit;
}

h1, h2, h3, h4 {
  color: var(--color-heading);
  font-weight: 700;
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-3);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0; padding: 0; list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--color-primary); color: var(--color-on-primary);
  padding: 10px 16px; border-radius: var(--radius-sm);
  z-index: 200; transition: top var(--transition);
}
.skip-link:focus { top: 12px; color: var(--color-on-primary); }

/* ---------- Layout ---------- */
.container {
  width: 100%; max-width: var(--container-max);
  margin: 0 auto; padding: 0 20px;
}
.container-narrow { max-width: var(--container-narrow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 26px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: var(--fs-body); line-height: 1;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap; user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.btn-sm { padding: 9px 18px; font-size: var(--fs-small); }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; border-radius: var(--radius-md); }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-on-primary);
  box-shadow: var(--shadow-red);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Hero'daki "Araçları Gör" butonu — kırmızı tonda */
.btn-hero-cars {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn-hero-cars:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}

.btn-whatsapp {
  background: #25D366; color: #fff; border-color: #25D366; width: 100%;
  border-radius: var(--radius-md);
}
.btn-whatsapp:hover { background: #1ebe5a; border-color: #1ebe5a; color: #fff; }

/* ==========================================================
   HEADER — position: relative, topbar içinde, scroll'da fixed yok
   ========================================================== */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--color-bg-dark);
  box-shadow: none;
}

/* Topbar — header içinde üst bant, tam kırmızı zemin */
.header-topbar {
  /* DÜZELTME: Topbar arka planı primary kırmızı */
  background: var(--color-primary);
  color: rgba(255,255,255,0.88);
  font-size: 0.78rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.header-topbar .container {
  display: flex; justify-content: space-between; align-items: center;
}
.topbar-contact { display: flex; gap: var(--space-6); }
.header-topbar a {
  color: #fff;
  font-size: 0.78rem;
  transition: color var(--transition);
}
.header-topbar a:hover { color: #fff; text-decoration: underline; }
.header-topbar span { font-size: 0.75rem; color: rgba(255,255,255,0.65); }

/* Ana nav satırı */
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: var(--header-nav-h);
  padding: 0 20px;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

/* Marka */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 700; flex-shrink: 0;
  transition: color var(--transition);
}
.brand:hover { color: #fff; opacity: 0.9; }
.brand-mark { display: inline-flex; }
.brand-mark svg rect { fill: var(--color-primary); }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1.15rem; color: #fff; }
.brand-sub {
  font-size: 0.68rem; letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ==========================================================
   NAVİGASYON — 3 seviyeli dropdown
   ----------------------------------------------------------
   HOVER GAP SORUNU VE ÇÖZÜMÜ:
   Problem 1 — Level 2: `top: calc(100% + 8px)` ile dropdown
     ile parent <li> arasında 8px görünmez boşluk oluşuyor.
     Fare bu boşluktan geçerken hover state kayboluyor ve
     menü kapanıyor.
   Problem 2 — Level 3: `left: calc(100% + 4px)` ile sağ
     tarafta 4px boşluk, aynı sorunu yaratıyor.
   Çözüm — Boşlukları sıfır yap, görsel mesafeyi padding ile
     sağla. Ayrıca her dropdown'a `::before` pseudo-element
     "hover köprüsü" eklendi: dropdown açılmadan önce mouse
     geçiş alanını kapatan görünmez bir alan.
   ========================================================== */
.primary-nav { display: none; }
.primary-nav > ul {
  display: flex; align-items: center; gap: 4px;
}
.primary-nav > ul > li { position: relative; }

/* Level 1 linkleri */
.primary-nav > ul > li > a {
  color: rgba(255,255,255,0.88);
  font-weight: 500; font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; gap: 4px;
  transition: background var(--transition), color var(--transition);
}
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li:focus-within > a {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.nav-arrow {
  transition: transform var(--transition);
}

/* ----------------------------------------------------------
   Level 2 dropdown
   ----------------------------------------------------------
   SORUNUN KÖKÜ:
   Eski kodda `top: calc(100% + 8px)` kullanılıyordu.
   Bu, parent <li> ile dropdown arasında 8px'lik gerçek bir
   boşluk bırakıyordu. Tarayıcı bu boşluğu herhangi bir
   elementin parçası olarak görmediği için fare bu bölgeden
   geçerken :hover state'i kayboluyor ve menü kapanıyordu.

   ÇÖZÜM:
   1. top: 100% — boşluk sıfırlandı, dropdown üst kenarı
      parent li'nin hemen altında başlıyor.
   2. margin-top: 6px ile görsel hava verildi. Ama önemli olan:
      dropdown genişletilmiş hover alanı için ::before ile
      üstüne görünmez bir "köprü" eklendi. Bu köprü dropdown'un
      üzerini (6px boşluk dahil) kaplar, pointer events aktiftir.
      Böylece fare yukarıdan aşağıya geçerken hover state korunur.
   ---------------------------------------------------------- */
.dropdown {
  display: none;
  position: absolute;
  /* FIX: top: 100% — eski `calc(100% + 8px)` kaldırıldı */
  top: 100%;
  left: 0;
  min-width: 220px;
  /* FIX: görsel mesafe margin ile — ama hover köprüsü bunu kapatır */
  margin-top: 6px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: 200;
}

/* FIX: Hover köprüsü — dropdown'ın üstünde görünmez alan.
   margin-top: 6px ile oluşan boşluğu pointer-events açısından doldurur.
   transform: translateY(-6px) ile dropdown'ın 6px üstüne çıkar,
   padding-top: 6px ile de o boşluğu hover-aktif şekilde kaplar.
   Sonuç: fare parent menüden dropdown'a inerken hiç kopukluk olmaz. */
.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;   /* margin-top kadar yukarı çık */
  left: 0;
  right: 0;
  height: 6px; /* boşluğun tamamını kapat */
  /* görünmez ama pointer events aktif — fare bu alanı geçebilir */
  background: transparent;
}

.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown { display: block; }

.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown { display: block; }

.dropdown > li > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 16px;
  color: var(--color-heading); font-size: 0.88rem; font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.dropdown > li > a:hover,
.dropdown > li:hover > a { background: var(--color-bg-soft); color: var(--color-primary); }

.nav-arrow-sm { font-size: 0.75rem; opacity: 0.5; }

/* ----------------------------------------------------------
   Level 3 sub-dropdown
   ----------------------------------------------------------
   SORUNUN KÖKÜ:
   Eski `left: calc(100% + 4px)` ve `top: -8px` değerleri:
   - left offset: sağda 4px boşluk, fare geçerken hover kaybı
   - top: -8px: konumu kaydırıyor, hover alanını bozuyor

   ÇÖZÜM:
   1. left: 100% — boşluksuz, margin-left: 6px görsel mesafe
   2. top: 0 — kayma yok, hizalama temiz
   3. ::before köprüsü — sol taraftaki margin-left boşluğunu
      pointer-events açısından doldurur, fare geçişi kesintisiz
   ---------------------------------------------------------- */
.dropdown-sub {
  display: none;
  position: absolute;
  /* FIX: top: -8px kaldırıldı → top: 0 */
  top: 0;
  /* FIX: calc(100% + 4px) kaldırıldı → left: 100% + margin */
  left: 100%;
  margin-left: 6px;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: 300;
}

/* FIX: Level 3 hover köprüsü — sol margin-left boşluğunu kapatır */
.dropdown-sub::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -6px;  /* margin-left kadar sola çık */
  width: 6px;  /* boşluğu tam kapat */
  background: transparent;
}

.has-dropdown-sub:hover > .dropdown-sub,
.has-dropdown-sub:focus-within > .dropdown-sub { display: block; }
.has-dropdown-sub { position: relative; }

.dropdown-sub > li > a {
  display: block; padding: 9px 16px;
  color: var(--color-heading); font-size: 0.87rem; font-weight: 400;
  transition: background var(--transition), color var(--transition);
}
.dropdown-sub > li > a:hover { background: var(--color-bg-soft); color: var(--color-primary); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: var(--space-3); }

/* Hamburger */
.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 44px; height: 44px; padding: 10px;
  border-radius: var(--radius-sm);
}
.menu-bar {
  display: block; width: 100%; height: 2px;
  background: rgba(255,255,255,0.85); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--color-bg-dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, rgba(10,8,8,0.84) 0%, rgba(12,10,10,0.56) 60%, rgba(10,8,8,0.76) 100%),
    url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?w=1800&q=80&auto=format&fit=crop');
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr;
  gap: var(--space-10); align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--color-primary);
  margin: 0 0 var(--space-4);
}
.eyebrow::before {
  content: '';
  display: inline-block; width: 28px; height: 2px;
  background: var(--color-primary); border-radius: 2px;
}

.hero-copy h1 {
  font-size: var(--fs-h1);
  color: #fff;
  margin: 0 0 var(--space-5);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.70);
  max-width: 90%;
  margin: 0 0 var(--space-8);
}
.hero-bullets {
  display: flex; flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  margin: 0 0 var(--space-8);
}
.hero-bullets li {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.88); font-weight: 500; font-size: 0.95rem;
}
.hero-bullets svg { color: var(--color-primary); }
.hero-cta { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* Booking form — minimal hero card */
.booking-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: 0 24px 60px rgba(0,0,0,0.32);
}
.booking-title {
  font-size: 1.25rem; margin: 0; color: var(--color-heading);
}
.booking-sub {
  color: var(--color-muted); font-size: var(--fs-small);
  margin: 4px 0 var(--space-5);
}
.form-grid {
  display: grid; grid-template-columns: 1fr;
  gap: var(--space-4); margin-bottom: var(--space-5);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--fs-small); font-weight: 600; color: var(--color-heading); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-soft);
  color: var(--color-heading); font-size: 0.93rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #d4c3c1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.10);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-error { font-size: var(--fs-small); color: var(--color-primary); font-weight: 500; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--color-primary); background: #fff7f6; }
.form-status { margin: var(--space-3) 0 0; font-size: var(--fs-small); min-height: 1.2em; color: var(--color-muted); }
.form-status.is-success { color: var(--color-success); }
.form-status.is-error { color: var(--color-primary); }

/* ---------- Trust bar ---------- */
.trust {
  display: flex;
  background: var(--color-bg-dark);
  padding: var(--space-12) 0;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6) var(--space-4); text-align: center;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.trust-num {
  font-size: 2.5rem; font-weight: 800; color: #fff;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.trust-plus { font-size: 2.5rem; font-weight: 800; color: var(--color-primary); margin-left: 2px; }
.trust-label { font-size: var(--fs-small); color: rgba(255,255,255,0.45); font-weight: 500; letter-spacing: 0.03em; }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 660px; margin: 0 auto var(--space-12); }
.section-head h2 { margin: 0 0 var(--space-4); letter-spacing: -0.01em; }
.section-head .eyebrow { margin-bottom: var(--space-3); }
.section-sub { font-size: 1.05rem; color: var(--color-muted); margin: 0; }
.section-foot { display: flex; justify-content: center; margin-top: var(--space-10); }

/* ---------- Cars ---------- */
.cars { padding: var(--section-gap) 0; background: var(--color-bg-soft); }
.cars-grid { display: grid; grid-template-columns: 1fr; gap: var(--card-gap); }

.car-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 250ms ease, box-shadow 250ms ease;
  border: 1px solid rgba(0,0,0,0.04);
}
.car-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.car-media {
  position: relative; aspect-ratio: 16 / 11;
  background: var(--color-bg-soft); overflow: hidden;
}
.car-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 450ms ease;
}
.car-card:hover .car-media img { transform: scale(1.05); }

.car-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--color-primary); color: #fff;
  font-size: 0.72rem; font-weight: 700;
  padding: 5px 12px; border-radius: var(--radius-pill);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.car-badge--green { background: var(--color-success); }
.car-badge--dark { background: var(--color-heading); }

.car-rating {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(4px);
  color: #fff; font-size: 0.78rem; font-weight: 600;
  padding: 4px 10px; border-radius: var(--radius-pill);
  display: flex; align-items: center; gap: 4px;
}
.car-rating::before { content: '★'; color: #f1c40f; font-size: 0.9rem; }

.car-body {
  padding: var(--space-5) var(--space-5) var(--space-6);
  display: flex; flex-direction: column; flex: 1; gap: var(--space-3);
}
.car-name { font-size: 1.1rem; font-weight: 700; margin: 0; color: var(--color-heading); }
.car-meta {
  display: flex; flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  font-size: var(--fs-small); color: var(--color-muted);
}
.car-meta li { display: inline-flex; align-items: center; gap: 5px; }
.car-meta svg { color: var(--color-primary); }

.car-cancel-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.72rem; font-weight: 600; color: var(--color-success);
  background: rgba(39,174,96,0.10); padding: 3px 10px;
  border-radius: var(--radius-pill); width: fit-content;
}

.car-foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3); padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}
.car-price { display: flex; align-items: baseline; gap: 4px; }
.price-amount { font-size: 1.5rem; font-weight: 800; color: var(--color-heading); }
.price-unit { font-size: var(--fs-small); color: var(--color-muted); }

.car-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    font-size: 0.4875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    background: rgb(237 66 66 / 70%);
    backdrop-filter: blur(8px);
    padding: 5px 10px;
    border-radius: 6px;
}

/* ---------- Why choose us ---------- */
.why { padding: var(--section-gap) 0; background: var(--color-bg); }
.why-grid { display: grid; grid-template-columns: 1fr; gap: var(--card-gap); }

.why-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-primary); }

.why-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--color-primary-light); color: var(--color-primary);
  margin-bottom: var(--space-5);
}
.why-card h3 { margin: 0 0 var(--space-2); color: var(--color-heading); }
.why-card p { margin: 0; color: var(--color-muted); font-size: 0.95rem; }

/* ---------- Process ---------- */
.process { padding: var(--section-gap) 0; background: var(--color-bg-soft); }
.process-steps { display: grid; grid-template-columns: 1fr; gap: var(--space-6); position: relative; }

.step {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  text-align: center; position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform 250ms ease, box-shadow 250ms ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  font-size: 0.85rem; font-weight: 800;
  margin: 0 auto var(--space-4);
  letter-spacing: 0.05em;
}
.step-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: var(--color-primary-light); color: var(--color-primary);
}
.step h3 { margin: 0 0 var(--space-2); }
.step p { margin: 0; color: var(--color-muted); font-size: 0.95rem; }

/* ---------- Locations ---------- */
.locations { padding: var(--section-gap) 0; background: var(--color-bg); }
.loc-grid { display: grid; grid-template-columns: 1fr; gap: var(--card-gap); }

.loc-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
  display: flex; align-items: flex-start; gap: var(--space-4);
}
.loc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.loc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--color-primary-light); color: var(--color-primary);
}
.loc-card-body h3 { margin: 0 0 var(--space-1); }
.loc-card-body p { margin: 0; color: var(--color-muted); font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.testimonials { padding: var(--section-gap) 0; background: var(--color-bg-dark); }
.testimonials .section-head h2 { color: #fff; }

.testi-grid { display: grid; grid-template-columns: 1fr; gap: var(--card-gap); }

.testi-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  margin: 0;
  display: flex; flex-direction: column; gap: var(--space-5);
  transition: transform 250ms ease, background 250ms ease;
}
.testi-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.07); }

.stars { color: #f1c40f; display: flex; gap: 3px; }

.testi-card blockquote {
  margin: 0; font-size: 0.98rem; line-height: 1.7;
  color: rgba(255,255,255,0.82); font-weight: 400; flex: 1;
  font-style: italic;
}
.testi-card blockquote p { margin: 0; }

.testi-card figcaption {
  display: flex; align-items: center; gap: 12px;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.82rem; flex-shrink: 0;
}
.who { display: flex; flex-direction: column; line-height: 1.2; }
.who .name { font-weight: 600; color: #fff; font-size: 0.95rem; }
.who .role { font-size: var(--fs-small); color: rgba(255,255,255,0.4); }

/* ---------- FAQ ---------- */
.faq { padding: var(--section-gap) 0; background: var(--color-bg-soft); }
.faq-list { display: flex; flex-direction: column; gap: var(--space-3); }

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--color-primary); }

.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 20px 56px 20px 22px;
  position: relative; font-weight: 600;
  color: var(--color-heading); font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; display: inline-block;
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  background: var(--color-primary); border-radius: 2px;
  transition: transform var(--transition);
}
.faq-icon::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-answer { padding: 0 22px 20px; color: var(--color-body); font-size: 0.95rem; }
.faq-answer p { margin: 0; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--color-primary);
  padding: var(--space-16) 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin: 0 0 var(--space-3); font-size: clamp(1.5rem,3vw,2rem); }
.cta-banner p { color: rgba(255,255,255,0.82); margin: 0 0 var(--space-8); font-size: 1.05rem; }

/* ---------- About ---------- */
.about { padding: var(--section-gap) 0; background: var(--color-bg); }
.about-body p { color: var(--color-body); font-size: 1.02rem; }
.about-body h3 { margin-top: var(--space-6); font-size: 1.1rem; }
.about-list {
  display: grid; grid-template-columns: 1fr;
  gap: var(--space-2) var(--space-6); margin-bottom: var(--space-6);
}
.about-list li {
  position: relative; padding-left: 24px; color: var(--color-body);
}
.about-list li::before {
  content: '';
  position: absolute; left: 0; top: 0.6em;
  width: 14px; height: 7px;
  border-left: 2.5px solid var(--color-primary);
  border-bottom: 2.5px solid var(--color-primary);
  transform: rotate(-45deg);
}

/* ---------- Contact ---------- */
.contact { padding: var(--section-gap) 0; background: var(--color-bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--card-gap); align-items: start; }

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: var(--space-4);
}
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }

.contact-info { display: flex; flex-direction: column; gap: var(--space-4); }

.info-block {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition);
}
.info-block:hover { border-color: var(--color-primary); }
.info-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: var(--color-primary-light); color: var(--color-primary); flex-shrink: 0;
}
.info-block h3 {
  font-size: 0.78rem; margin: 0 0 4px; color: var(--color-muted);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
}
.info-block a, .info-block p {
  color: var(--color-heading); font-weight: 500; margin: 0; font-size: 1rem;
}
.info-block a:hover { color: var(--color-primary); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.45);
  padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: var(--space-10); margin-bottom: var(--space-12);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-border-dark);
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255,255,255,0.3); }
.footer-brand p { color: rgba(255,255,255,0.42); font-size: 0.9rem; max-width: 36ch; margin: var(--space-4) 0 0; }

.footer-col h4 {
  color: #fff; margin: 0 0 var(--space-5);
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.45); font-size: 0.9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--color-primary); }

.footer-bottom {
  display: flex; flex-direction: column; gap: var(--space-3);
  align-items: center; text-align: center;
  font-size: var(--fs-small); color: rgba(255,255,255,0.28);
}
.footer-bottom ul { display: flex; gap: var(--space-6); }
.footer-bottom a { color: rgba(255,255,255,0.32); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--color-primary); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==============================================
   Responsive — mobile-first
   ============================================== */

@media (min-width: 600px) {
  .container { padding: 0 24px; }
  .header-inner { padding: 0 24px; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: span 2; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .cars-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 880px) {
  :root { --section-gap: 96px; }
  .menu-toggle { display: none; }

  /* Desktop nav */
  .primary-nav {
    display: block; position: static;
    background: transparent; border: 0; box-shadow: none;
    padding: 0; transform: none; overflow: visible;
  }
  .primary-nav > ul {
    flex-direction: row; align-items: center;
  }

  /* Hero 2 sütun */
  .hero-inner {
    gap: var(--space-16); 
    align-items: center;
    min-height: 90vh;
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .cars-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .loc-grid { grid-template-columns: repeat(3, 1fr); }
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1.4fr 1fr; gap: var(--space-10); }
  .about-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}

@media (min-width: 1280px) {
  .container { padding: 0 32px; }
  .header-inner { padding: 0 32px; }
}

/* ---------- System integration overrides ---------- */
.ndrive-theme {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-body);

  /*
    Header renk modu:
    Mevcut görünüm siyah zemin + beyaz yazıdır.
    Beyaz zemin + siyah yazı için sadece aşağıdaki değerleri değiştir:

    --ndrive-header-bg: #ffffff;
    --ndrive-header-text: #1a1614;
    --ndrive-header-muted: rgba(26, 22, 20, 0.62);
    --ndrive-header-hover-bg: rgba(26, 22, 20, 0.06);
    --ndrive-topbar-bg: #ffffff;
    --ndrive-topbar-text: #1a1614;
    --ndrive-topbar-muted: rgba(26, 22, 20, 0.62);
    --ndrive-menu-bar: #1a1614;
  */
  --ndrive-header-bg: #ffffff;
  --ndrive-header-text: #1a1614;
  --ndrive-header-muted: rgba(26, 22, 20, 1);
  --ndrive-header-hover-bg: rgba(26, 22, 20, 0.06);
  --ndrive-topbar-bg: #ffffff;
  --ndrive-topbar-text: #ffffff;
  --ndrive-topbar-muted: #ffffff;
  --ndrive-menu-bar: #1a1614;
}

.ndrive-theme .site-header {
  z-index: 300;
  background: var(--ndrive-header-bg);
  color: var(--ndrive-header-text);
  border-bottom: 1px solid rgba(26, 22, 20, 0.08);
}

.ndrive-theme .header-topbar,
.ndrive-theme .header-topbar *,
.ndrive-theme .header-topbar a,
.ndrive-theme .header-topbar a:hover,
.ndrive-theme .header-topbar a:focus,
.ndrive-theme .header-topbar span,
.ndrive-theme .header-topbar i {
  color: #ffffff!important;
}

.ndrive-theme .brand,
.ndrive-theme .brand:hover,
.ndrive-theme .brand-name,
.ndrive-theme .primary-nav > ul > li > a,
.ndrive-theme .site-header a,
.ndrive-theme .site-header button {
  color: var(--ndrive-header-text);
}

.ndrive-theme .brand-sub {
  color: var(--ndrive-header-muted);
}

.ndrive-theme .primary-nav > ul > li > a {
  font-size: 1rem;
  font-weight: 650;
  padding: 10px 14px;
}

.ndrive-theme .primary-nav > ul > li > a:hover,
.ndrive-theme .primary-nav > ul > li:focus-within > a {
  color: var(--ndrive-header-muted);
  background: var(--ndrive-header-hover-bg);
}

.ndrive-theme .menu-bar {
  background: var(--ndrive-menu-bar);
}

.ndrive-theme .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--color-primary);
  color: #fff;
  flex: 0 0 auto;
}

.ndrive-theme .brand-mark i {
  font-size: 1rem;
}

.ndrive-theme .header-actions > * {
  min-width: 0;
}

.ndrive-theme .header-actions a,
.ndrive-theme .header-actions button {
  white-space: nowrap;
}

.ndrive-theme .ndrive-menu,
.ndrive-theme .ndrive-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ndrive-theme .ndrive-menu a {
  text-decoration: none;
}

.ndrive-theme .hero {
  min-height: auto;
  padding: 56px 0 64px;
}

.ndrive-theme .hero-inner {
  gap: var(--space-6);
  padding-top: 24px;
  padding-bottom: 24px;
  min-height: 75vh;
}

.ndrive-theme .hero-copy h1 {
  margin-bottom: var(--space-4);
}

.ndrive-theme .hero-sub {
  margin-bottom: var(--space-5);
}

.ndrive-theme .hero-bullets {
  margin-bottom: var(--space-5);
}

.ndrive-theme .hero .rfg,
.ndrive-theme .hero .rezervasyon_formu,
.ndrive-theme .hero form {
  max-width: 100%;
}

.ndrive-theme .hero .rfg,
.ndrive-theme .hero .rezervasyon_formu {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 60px rgba(0,0,0,0.32);
}

.ndrive-theme .hero-form {
  position: relative;
  z-index: 2;
}

.ndrive-theme .cars.ndrive-listing {
  background: var(--color-bg-soft);
}

.ndrive-theme .cars.ndrive-listing .arac-liste-grid {
  margin-top: var(--space-8);
}

.ndrive-theme .cta-banner a[href="#booking-form"] {
  color: #fff;
}

@media (max-width: 880px) {
  .ndrive-theme {
    --header-h: var(--header-nav-h);
  }

  .ndrive-theme .site-header {
    background: var(--ndrive-header-bg);
    position: sticky;
    top: 0;
  }

  .ndrive-theme .header-topbar,
  .ndrive-theme .header-actions {
    display: none;
  }

  .ndrive-theme .header-inner {
    height: var(--header-nav-h);
    min-height: var(--header-nav-h);
    padding: 0 16px;
    gap: 12px;
  }

  .ndrive-theme .brand {
    min-width: 0;
    gap: 9px;
  }

  .ndrive-theme .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .ndrive-theme .brand-text {
    min-width: 0;
  }

  .ndrive-theme .brand-name {
    font-size: 1.05rem;
  }

  .ndrive-theme .brand-sub {
    font-size: 0.62rem;
  }

  .ndrive-theme .menu-toggle {
    flex: 0 0 44px;
    margin-left: auto;
    border: 1px solid rgba(26, 22, 20, 0.14);
    background: rgba(26, 22, 20, 0.04);
    color: var(--ndrive-header-text);
  }

  .ndrive-theme .primary-nav {
    display: block;
    position: fixed;
    top: var(--header-nav-h);
    left: 0;
    right: 0;
    z-index: 290;
    max-height: calc(100vh - var(--header-nav-h));
    overflow-y: auto;
    padding: 12px 16px 20px;
    background: #fff;
    border-top: 1px solid rgba(26, 22, 20, 0.08);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 18px 42px rgba(22, 18, 15, 0.18);
    transform: translateY(-120%);
    transition: transform 240ms ease;
    visibility: hidden;
    pointer-events: none;
  }

  .ndrive-theme .primary-nav.is-open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .ndrive-theme .primary-nav > ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .ndrive-theme .primary-nav > ul > li {
    position: static;
  }

  .ndrive-theme .primary-nav > ul > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 4px;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
    background: transparent;
    color: var(--color-heading);
    font-size: 1rem;
    font-weight: 700;
  }

  .ndrive-theme .primary-nav > ul > li > a:hover,
  .ndrive-theme .primary-nav > ul > li:focus-within > a {
    color: var(--color-primary);
    background: transparent;
  }

  .ndrive-theme .primary-nav .dropdown,
  .ndrive-theme .primary-nav .dropdown-sub {
    display: block !important;
    position: static;
    min-width: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .ndrive-theme .primary-nav .dropdown::before,
  .ndrive-theme .primary-nav .dropdown-sub::before {
    display: none;
  }

  .ndrive-theme .primary-nav .dropdown > li > a {
    display: block;
    padding: 10px 4px 10px 22px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-body);
    font-size: 0.94rem;
    font-weight: 600;
    background: transparent;
  }

  .ndrive-theme .primary-nav .dropdown-sub > li > a {
    display: block;
    padding: 9px 4px 9px 42px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 500;
    background: transparent;
  }

  .ndrive-theme .primary-nav .dropdown > li > a:hover,
  .ndrive-theme .primary-nav .dropdown-sub > li > a:hover {
    color: var(--color-primary);
  }

  .ndrive-theme .primary-nav .nav-arrow,
  .ndrive-theme .primary-nav .nav-arrow-sm {
    display: none;
  }

  .ndrive-theme .hero {
    padding: 42px 0 48px;
  }

  .ndrive-theme .hero-inner {
    gap: var(--space-5);
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

@media (min-width: 880px) {
  .ndrive-theme .hero-inner {
    gap: var(--space-8);
    min-height: 75vh;
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

.rfg2, .__indexx0 a.rfg2 {
  color:#000;
}

.dropdown-kutu.rezervasyon_kutu .dropdown-baslik a {
  color: #222;
}

.cpliste_baslik {
    background: #eef3ff;
    color: #1e3a8a;
}

.araba-card-inner-alt {
    background: #f4433673;
}