/* ==========================================================================
   Bartın Terminal Taksi (74 T 0020) - İsmail KAZAKOĞLU
   Endüstriyel Taksi Estetiği (Anti-AI Tasarım, Sıfır Framework Şişkinliği)
   Palet: Taksi Sarısı #FFD000 | Asfalt #111315 | Antrasit #1C2026 | Kırık Beyaz #F8F9FA | Güven Yeşili #16A34A
   ========================================================================== */

:root {
  --yellow: #FFD000;
  --yellow-hover: #EAB308;
  --yellow-soft: rgba(255, 208, 0, 0.14);
  --asphalt: #111315;
  --anthracite: #1C2026;
  --anthracite-2: #252A32;
  --offwhite: #F8F9FA;
  --white: #FFFFFF;
  --green: #16A34A;
  --green-hover: #15803D;
  --amber: #D97706;
  --blue-tr: #003399;
  --slate-text: #1E293B;
  --muted: #526071;
  --muted-light: #94A3B8;
  --border: #E2E8F0;
  --border-dark: #2D3440;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 28px rgba(17, 19, 21, 0.08);
  --shadow-lg: 0 18px 42px rgba(17, 19, 21, 0.16);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-text);
  background: var(--offwhite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); /* Mobil Thumb-Zone Bar + Asistan boşluğu */
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

.mono {
  font-family: var(--font-mono);
}

/* ==========================================================================
   Üst Duyuru Bandı & Header
   ========================================================================== */
.top-banner {
  background: var(--yellow);
  color: var(--asphalt);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 0;
  border-bottom: 2px solid var(--asphalt);
}

.top-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.top-banner-weather {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--asphalt);
  color: var(--yellow);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(17, 19, 21, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-dark);
  color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 68px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  background: var(--yellow);
  color: var(--asphalt);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 7px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-text strong {
  display: block;
  font-size: 1rem;
  line-height: 1.15;
  color: var(--white);
}

.brand-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-light);
}

.main-nav {
  display: none;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.main-nav a {
  color: #E2E8F0;
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--yellow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--yellow);
  color: var(--asphalt);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 9px 14px;
  border-radius: 10px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.header-call-btn:hover {
  background: var(--yellow-hover);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  border: 1px solid var(--border-dark);
  background: var(--anthracite);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  background: var(--anthracite);
  border-top: 1px solid var(--border-dark);
  padding: 14px 18px 18px;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer a {
  display: block;
  padding: 10px 0;
  color: var(--white);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 960px) {
  .main-nav {
    display: flex;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* ==========================================================================
   HERO BÖLÜMÜ & GERÇEKÇİ TÜRK TİCARİ PLAKA ROZETİ
   ========================================================================== */
.hero {
  background: var(--asphalt);
  color: var(--white);
  padding: 28px 0 42px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--yellow);
}

.hero-checker {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--yellow) 0px,
    var(--yellow) 16px,
    var(--asphalt) 16px,
    var(--asphalt) 32px
  );
  opacity: 0.9;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 8px;
}

@media (min-width: 920px) {
  .hero {
    padding: 44px 0 56px;
  }
  .hero-grid {
    grid-template-columns: 1.18fr 0.82fr;
    gap: 36px;
  }
}

/* Canlı Durum Rozeti (Nefes Alan Pulse) */
.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--anthracite);
  border: 1px solid var(--border-dark);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 16px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot-available {
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.75);
  animation: pulseGreen 1.8s infinite;
}

.status-dot-busy {
  background: #F59E0B;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.75);
  animation: pulseAmber 1.8s infinite;
}

.status-dot-night {
  background: #38BDF8;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.75);
  animation: pulseBlue 1.8s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.75); }
  70% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

@keyframes pulseAmber {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.75); }
  70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@keyframes pulseBlue {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.75); }
  70% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

/* Gerçekçi Türk Ticari Plaka Bileşeni */
.plate-verification-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.tr-plate {
  display: inline-flex;
  align-items: stretch;
  background: #FFFFFF;
  border: 3px solid #0B0D0F;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), inset 0 0 0 1px #CBD5E1;
  user-select: all;
}

.tr-plate-blue {
  background: var(--blue-tr);
  color: #FFFFFF;
  width: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.tr-plate-code {
  font-family: var(--font-mono);
  color: #0B0D0F;
  font-size: 1.48rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 5px 15px 4px;
  line-height: 1.15;
}

.captain-card {
  background: var(--anthracite);
  border: 1px solid var(--border-dark);
  border-left: 4px solid var(--yellow);
  padding: 8px 14px;
  border-radius: 9px;
}

.captain-card strong {
  display: block;
  color: var(--white);
  font-size: 0.94rem;
}

.captain-card span {
  display: block;
  color: #CBD5E1;
  font-size: 0.78rem;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.8vw, 2.7rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero h1 .accent {
  color: var(--yellow);
}

.hero-lead {
  color: #CBD5E1;
  font-size: 1.02rem;
  margin: 0 0 18px;
  max-width: 620px;
}

.weather-inline-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 208, 0, 0.1);
  border: 1px solid rgba(255, 208, 0, 0.35);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: #FEF3C7;
}

/* Ana Dönüşüm Butonları (CRO) */
.cta-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

@media (min-width: 580px) {
  .cta-stack {
    grid-template-columns: 1fr 1fr;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.96rem;
  padding: 14px 18px;
  border-radius: 11px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease, border-color 0.14s ease;
  text-align: center;
}

.btn:active {
  transform: scale(0.98);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--asphalt);
}

.btn-yellow:hover {
  background: var(--yellow-hover);
  transform: translateY(-1px);
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--anthracite);
  color: var(--white);
  border-color: var(--border-dark);
}

.btn-dark:hover {
  background: var(--anthracite-2);
  border-color: var(--yellow);
}

.btn-outline {
  background: transparent;
  color: var(--asphalt);
  border-color: var(--asphalt);
}

.btn-outline:hover {
  background: var(--asphalt);
  color: var(--yellow);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.04);
  color: #F8FAFC;
  border-color: #3B4453;
}

.btn-outline-light:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.btn-sm {
  padding: 9px 14px;
  font-size: 0.85rem;
  border-radius: 9px;
}

.hero-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Hero Sağ Kutu (Araç Görseli + Güven Şeridi) */
.hero-visual-card {
  background: var(--anthracite);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
}

.hero-visual-card img {
  border-radius: 11px;
  width: 100%;
  object-fit: cover;
}

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.trust-metric {
  background: var(--asphalt);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}

.trust-metric strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--yellow);
}

.trust-metric span {
  font-size: 0.72rem;
  color: var(--muted-light);
}

/* ==========================================================================
   BÖLÜM YAPISI & KARTLAR
   ========================================================================== */
.section {
  padding: 46px 0;
}

.section-dark {
  background: var(--asphalt);
  color: var(--white);
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 24px;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--asphalt);
  background: var(--yellow);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 9px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.38rem, 2.7vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 740px;
}

.section-dark .section-head p {
  color: var(--muted-light);
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card-dark {
  background: var(--anthracite);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--white);
}

/* ==========================================================================
   3 KATMANLI AKILLI KONUM + SESLİ TAKSİ ÇAĞIRMA MODÜLÜ
   ========================================================================== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 860px) {
  .location-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.layer-card {
  border-left: 4px solid var(--yellow);
  background: var(--white);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 14px;
}

.layer-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 800;
  background: var(--asphalt);
  color: var(--yellow);
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.layer-card h3 {
  margin: 0 0 6px;
  font-size: 1.06rem;
}

.layer-card p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.gps-status-box {
  display: none;
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 9px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
  font-size: 0.86rem;
  font-weight: 600;
}

.gps-status-box.show {
  display: block;
}

.gps-status-box.error {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #991B1B;
}

.quick-points-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-point-btn {
  background: var(--offwhite);
  border: 1px solid #CBD5E1;
  color: var(--asphalt);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.14s ease;
}

.quick-point-btn:hover {
  background: var(--yellow);
  border-color: var(--asphalt);
}

/* Sesli Taksi Çağırma Kutusu */
.voice-box {
  background: var(--asphalt);
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  border: 2px solid var(--yellow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.voice-mic-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--yellow);
  background: var(--anthracite);
  color: var(--yellow);
  font-size: 1.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
}

.voice-mic-btn.listening {
  background: #DC2626;
  border-color: #FCA5A5;
  color: #FFFFFF;
  animation: pulseAmber 1.2s infinite;
}

.voice-transcript {
  background: var(--anthracite);
  border: 1px dashed #475569;
  border-radius: 10px;
  padding: 12px;
  min-height: 68px;
  font-size: 0.92rem;
  color: #F8FAFC;
}

/* ==========================================================================
   CANLI LEAFLET HARİTA & GERÇEK YOL TAKSİMETRE HESAPLAYICI
   ========================================================================== */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 920px) {
  .calc-grid {
    grid-template-columns: 0.92fr 1.08fr;
  }
}

.form-group {
  margin-bottom: 13px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--slate-text);
}

.form-control {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid #CBD5E1;
  border-radius: 9px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  background: var(--white);
  color: var(--asphalt);
}

.form-control:focus {
  outline: none;
  border-color: var(--asphalt);
  box-shadow: 0 0 0 3px var(--yellow-soft);
}

.fare-result-panel {
  background: var(--asphalt);
  color: var(--white);
  border-radius: 12px;
  padding: 16px;
  margin: 14px 0;
  border: 1px solid var(--border-dark);
}

.fare-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
  margin-bottom: 12px;
}

.fare-stat {
  background: var(--anthracite);
  padding: 10px 6px;
  border-radius: 9px;
}

.fare-stat span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted-light);
}

.fare-stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--yellow);
  margin-top: 2px;
}

.fare-legal-note {
  font-size: 0.76rem;
  color: #94A3B8;
  margin: 8px 0 0;
  line-height: 1.45;
}

#bartinMap {
  width: 100%;
  height: 410px;
  border-radius: var(--radius);
  border: 2px solid var(--asphalt);
  z-index: 1;
}

.tariff-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tariff-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--offwhite);
  border: 1px solid #CBD5E1;
  padding: 5px 10px;
  border-radius: 7px;
}

/* ==========================================================================
   ÖN REZERVASYON FORMU ("Otobüsüm İnmeden Taksi Peronda Hazır Olsun")
   ========================================================================== */
.reserve-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

@media (min-width: 900px) {
  .reserve-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 580px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.bus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.bus-tag {
  background: var(--anthracite);
  border: 1px solid var(--border-dark);
  color: #E2E8F0;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 7px;
}

/* ==========================================================================
   BÖLGE KARTLARI, ULAŞIM TABLOSU, YORUMLAR, KURUMLAR, SSS
   ========================================================================== */
.regions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .regions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1020px) {
  .regions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.region-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.region-card:hover {
  transform: translateY(-2px);
  border-color: var(--asphalt);
  box-shadow: var(--shadow);
}

.region-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  background: var(--yellow-soft);
  color: #854D0E;
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.region-card h3 {
  margin: 0 0 7px;
  font-size: 1.04rem;
  color: var(--asphalt);
}

.region-card p {
  margin: 0 0 12px;
  font-size: 0.87rem;
  color: var(--muted);
}

.region-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th {
  background: var(--asphalt);
  color: var(--yellow);
  text-align: left;
  padding: 12px 14px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: #FFFDF2;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 760px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.review-stars {
  color: #EAB308;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.review-card p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--slate-text);
}

.review-author {
  font-size: 0.82rem;
  color: var(--muted);
}

.review-author strong {
  color: var(--asphalt);
}

.institutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .institutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .institutions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.inst-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.inst-card:hover {
  border-color: var(--asphalt);
  transform: translateY(-2px);
}

.inst-cat {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--green);
  text-transform: uppercase;
}

.inst-card h3 {
  margin: 4px 0 6px;
  font-size: 0.96rem;
}

.inst-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* SSS Akordeon (Saf HTML5 <details>) */
.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 860px) {
  .faq-list {
    grid-template-columns: 1fr 1fr;
  }
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}

.faq-item summary {
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--asphalt);
  background: var(--yellow);
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 10px 0 0;
  font-size: 0.89rem;
  color: var(--muted);
}

/* Araç Fotoğraf Galerisi */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.photo-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.photo-item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.photo-item figcaption {
  padding: 10px 12px;
  font-size: 0.84rem;
  font-weight: 600;
}

/* Breadcrumb & Prose */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 0.84rem;
  color: var(--muted-light);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--yellow);
}

.prose h3 {
  margin-top: 22px;
  margin-bottom: 8px;
}

.prose ul, .prose ol {
  padding-left: 20px;
}

.prose li {
  margin-bottom: 6px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--asphalt);
  color: #CBD5E1;
  border-top: 4px solid var(--yellow);
  padding: 42px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (min-width: 820px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: var(--yellow);
  font-size: 1rem;
  margin: 0 0 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 7px;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--muted-light);
}

/* ==========================================================================
   TEK BAŞPARMAK BÖLGESİ (THUMB-ZONE SABİT MOBİL ALT BAR)
   ========================================================================== */
.thumb-zone-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  background: var(--asphalt);
  border-top: 2px solid var(--yellow);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 0.85fr;
  gap: 7px;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.35);
}

.tz-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 6px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-align: center;
  line-height: 1.15;
}

.tz-call {
  background: var(--yellow);
  color: var(--asphalt);
}

.tz-gps {
  background: var(--green);
  color: var(--white);
}

.tz-calc {
  background: var(--anthracite-2);
  color: var(--white);
  border: 1px solid #3B4453;
}

@media (min-width: 900px) {
  .thumb-zone-bar {
    display: none;
  }
}

/* ==========================================================================
   74 T 0020 AKILLI YOL ASİSTANI (SAĞ ALT KÖŞE)
   ========================================================================== */
.assistant-fab {
  position: fixed;
  right: 14px;
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  z-index: 965;
  background: var(--asphalt);
  color: var(--yellow);
  border: 2px solid var(--yellow);
  border-radius: 999px;
  padding: 10px 15px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

@media (min-width: 900px) {
  .assistant-fab {
    bottom: 22px;
    right: 22px;
  }
}

.assistant-drawer {
  position: fixed;
  right: 14px;
  bottom: calc(148px + env(safe-area-inset-bottom, 0px));
  width: min(370px, calc(100vw - 28px));
  max-height: 66vh;
  background: var(--white);
  border: 2px solid var(--asphalt);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  z-index: 985;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 900px) {
  .assistant-drawer {
    bottom: 78px;
    right: 22px;
  }
}

.assistant-drawer.open {
  display: flex;
}

.assistant-head {
  background: var(--asphalt);
  color: var(--white);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--yellow);
}

.assistant-head strong {
  display: block;
  font-size: 0.92rem;
  color: var(--yellow);
}

.assistant-head span {
  font-size: 0.74rem;
  color: var(--muted-light);
}

.assistant-close {
  background: var(--anthracite);
  border: 1px solid var(--border-dark);
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.assistant-messages {
  padding: 12px;
  overflow-y: auto;
  flex: 1;
  background: var(--offwhite);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
}

.chat-msg {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.45;
  max-width: 90%;
}

.chat-bot {
  background: var(--white);
  border: 1px solid var(--border);
  align-self: flex-start;
}

.chat-user {
  background: var(--asphalt);
  color: var(--white);
  align-self: flex-end;
}

.chat-wa-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  background: var(--green);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 7px;
}

.assistant-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.assistant-quick button {
  background: var(--offwhite);
  border: 1px solid #CBD5E1;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.assistant-form {
  display: flex;
  gap: 6px;
  padding: 10px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.assistant-form input {
  flex: 1;
  border: 1.5px solid #CBD5E1;
  border-radius: 9px;
  padding: 9px 11px;
  font-size: 0.88rem;
}

.assistant-form button {
  background: var(--yellow);
  color: var(--asphalt);
  border: none;
  border-radius: 9px;
  padding: 0 14px;
  font-weight: 800;
  cursor: pointer;
}

/* Alert & Helper */
.alert-box {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 12px;
}

.alert-success {
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  color: #166534;
}

.alert-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.pwa-install-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--anthracite);
  color: var(--white);
  border: 1px solid var(--yellow);
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 16px;
}

.pwa-install-banner.show {
  display: flex;
}

/* ==========================================================================
   FAZ-2 MODÜLLERİ: DİL SEÇİCİ, CANLI BÖLGE BANDI, 44+ NOKTA ARAMA, ÖĞRENCİ BÖL, HASTANE-ECZANE
   ========================================================================== */
.lang-suggest-bar {
  background: #0F172A;
  color: #F8FAFC;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 0;
  border-bottom: 1px solid #334155;
}

.lang-suggest-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lang-suggest-btn {
  background: var(--yellow);
  color: var(--asphalt);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.8rem;
}

.lang-switcher {
  display: none;
  align-items: center;
  background: var(--anthracite);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  overflow: hidden;
}

@media (min-width: 520px) {
  .lang-switcher {
    display: inline-flex;
  }
}

.lang-switcher a {
  padding: 6px 8px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #CBD5E1;
  transition: background 0.14s ease, color 0.14s ease;
}

.lang-switcher a:hover,
.lang-switcher a.active {
  background: var(--yellow);
  color: var(--asphalt);
}

/* Canlı Bölge & Varış Dakikaları Bandı */
.hub-eta-strip {
  background: var(--anthracite);
  color: var(--white);
  border-bottom: 2px solid var(--border-dark);
  padding: 13px 0;
}

.hub-eta-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 960px) {
  .hub-eta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.hub-eta-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  color: var(--yellow);
  white-space: nowrap;
}

.hub-eta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hub-eta-pill {
  background: var(--asphalt);
  border: 1px solid var(--border-dark);
  color: #E2E8F0;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
}

.hub-eta-pill strong {
  color: var(--yellow);
  font-family: var(--font-mono);
}

/* Canlı 44+ Bartın Nokta Arama Kutusu */
.live-search-box {
  background: var(--offwhite);
  border: 2px solid var(--asphalt);
  border-radius: var(--radius);
  padding: 16px;
}

.live-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.live-search-icon {
  position: absolute;
  left: 14px;
  font-size: 1.15rem;
  pointer-events: none;
}

.live-search-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 2px solid #CBD5E1;
  border-radius: 11px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  background: var(--white);
  color: var(--asphalt);
}

.live-search-input:focus {
  outline: none;
  border-color: var(--asphalt);
  box-shadow: 0 0 0 4px var(--yellow-soft);
}

.live-search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.live-search-chips button {
  background: var(--white);
  border: 1px solid #CBD5E1;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--asphalt);
}

.live-search-chips button:hover {
  background: var(--yellow);
  border-color: var(--asphalt);
}

.search-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

@media (min-width: 720px) {
  .search-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.search-result-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--yellow);
  border-radius: 11px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 9px;
}

.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

/* Gece Hastane + Nöbetçi Eczane Acil Kartı */
.pharmacy-urgent-card {
  background: #FFFDF5;
  border: 2px solid #DC2626;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 860px) {
  .pharmacy-urgent-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.pharmacy-urgent-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

/* BARÜ Öğrenci Ücret Bölme Modülü */
.student-split-box {
  background: var(--anthracite);
  border: 1px solid rgba(255, 208, 0, 0.45);
  border-radius: 11px;
  padding: 12px;
  margin-top: 10px;
}

.student-split-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 8px;
}

.split-btn-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.split-btn {
  background: var(--asphalt);
  color: #E2E8F0;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 7px 4px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.split-btn.active {
  background: var(--yellow);
  color: var(--asphalt);
  border-color: var(--yellow);
}

.split-highlight {
  margin-top: 9px;
  background: rgba(22, 163, 74, 0.14);
  border: 1px solid rgba(22, 163, 74, 0.45);
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 0.84rem;
  color: #DCFCE7;
  line-height: 1.4;
}

.split-highlight strong {
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 1rem;
}

.vip-time-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 18px;
}

.vip-time-bar label {
  font-weight: 800;
  font-size: 0.88rem;
}

/* ==========================================================================
   HERO ARAÇ FOTOĞRAF SLIDER & FULLSCREEN LIGHTBOX GALERİ
   ========================================================================== */
.hero-slider {
  position: relative;
  border-radius: 11px;
  overflow: hidden;
  background: var(--asphalt);
}

.hero-slide {
  display: none;
  position: relative;
}

.hero-slide.active {
  display: block;
}

.hero-slide img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  cursor: zoom-in;
}

@media (min-width: 920px) {
  .hero-slide img {
    height: 330px;
  }
}

.hero-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 12px 9px;
  background: linear-gradient(transparent, rgba(17, 19, 21, 0.88));
  color: #F8FAFC;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.hero-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--yellow);
  background: rgba(17, 19, 21, 0.78);
  color: var(--yellow);
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.hero-slider-btn:hover {
  background: var(--yellow);
  color: var(--asphalt);
}

.hero-slider-prev { left: 10px; }
.hero-slider-next { right: 10px; }

.hero-thumbs {
  display: flex;
  gap: 7px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.hero-thumb {
  flex: 0 0 64px;
  height: 46px;
  border-radius: 7px;
  overflow: hidden;
  border: 2px solid var(--border-dark);
  padding: 0;
  background: var(--asphalt);
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.hero-thumb.active,
.hero-thumb:hover {
  opacity: 1;
  border-color: var(--yellow);
}

.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-item img {
  cursor: zoom-in;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 13, 15, 0.94);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 960px;
  width: 100%;
  text-align: center;
}

.lightbox-inner img {
  max-height: 78vh;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  border: 2px solid var(--yellow);
}

.lightbox-caption {
  color: #F8FAFC;
  margin-top: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}

.lightbox-close {
  position: fixed;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  background: var(--asphalt);
  color: var(--yellow);
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
}



