/* ==========================================================================
   Car.emare.dev — Emare Sanal Garaj & Tamirhane Ana Giriş Tasarım Sistemi
   ========================================================================== */

:root {
  --bg: #f6f6f2;
  --surface: #ffffff;
  --surface-alt: #efefea;
  --workshop-dark: #0f172a;
  --workshop-panel: #1e293b;
  --workshop-border: #334155;
  --ink: #141613;
  --muted: #5a5f56;
  --line: #dcded6;
  --accent-red: #dc2626;
  --accent-orange: #ea580c;
  --accent-amber: #d97706;
  --accent-green: #16a34a;
  --accent-blue: #2563eb;
  --tr-blue: #003399;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 20px;
}

.hidden {
  display: none !important;
}

/* ─── Üst Ekosistem & Tamirhane Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--ink);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-domain-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand-domain-title span {
  color: var(--accent-red);
}

.brand-sub-kicker {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.ecosystem-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.eco-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.16s ease;
}

.eco-nav-pill:hover {
  background: #e2e4dc;
  transform: translateY(-1px);
}

.eco-nav-pill.active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.eco-nav-pill--filtre {
  border-left: 3px solid var(--accent-orange);
}
.eco-nav-pill--far {
  border-left: 3px solid var(--accent-amber);
}
.eco-nav-pill--lastik {
  border-left: 3px solid var(--accent-green);
}

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

.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
}

.header-btn:hover {
  background: var(--surface-alt);
}

.header-btn--primary {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.header-btn--primary:hover {
  background: #2c302a;
}

/* ─── BÖLÜM 1: Hızlı Garaj Oluşturucu & Araç Giriş Hero ─── */
.garage-creator-hero {
  padding: 28px 0 20px;
}

.garage-creator-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.creator-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.creator-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  color: var(--ink);
  margin-bottom: 8px;
}

.creator-headline {
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.creator-headline span {
  color: var(--accent-red);
}

.creator-subtext {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 760px;
}

.creator-mode-tabs {
  display: inline-flex;
  background: var(--surface-alt);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  gap: 4px;
}

.creator-mode-tab {
  border: 0;
  background: transparent;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.creator-mode-tab.active {
  background: var(--ink);
  color: #ffffff;
}

/* Gerçekçi TR Plaka + Model Giriş Formu */
.quick-garage-form {
  display: grid;
  grid-template-columns: 210px 1fr 150px auto;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 14px;
}

@media (max-width: 960px) {
  .quick-garage-form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .quick-garage-form {
    grid-template-columns: 1fr;
  }
}

.tr-plate-input-box {
  display: flex;
  align-items: stretch;
  border: 2px solid #1e293b;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.tr-plate-blue-band {
  background: var(--tr-blue);
  color: #ffffff;
  width: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  user-select: none;
}

.tr-plate-input {
  border: 0;
  width: 100%;
  padding: 0 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  color: #0f172a;
  background: transparent;
  outline: none;
}

.vehicle-model-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.vehicle-model-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  background: #ffffff;
  transition: border-color 0.15s;
}

.vehicle-model-input:focus {
  outline: none;
  border-color: var(--ink);
}

.vehicle-km-input {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: #ffffff;
}

.btn-park-in-garage {
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: transform 0.14s ease, background 0.14s ease;
}

.btn-park-in-garage:hover {
  background: var(--accent-red);
  transform: translateY(-1px);
}

/* Popüler Araç Hızlı Seçim Çipleri */
.presets-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.presets-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  margin-right: 4px;
}

.preset-vehicle-chip {
  border: 1px solid var(--line);
  background: var(--surface-alt);
  color: var(--ink);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.14s ease;
}

.preset-vehicle-chip:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

/* TecDoc 563 Marka Seçici Paneli */
.tecdoc-selector-box {
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.tecdoc-seg-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tecdoc-seg-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.tecdoc-seg-btn.active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.tecdoc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}

@media (max-width: 860px) {
  .tecdoc-grid {
    grid-template-columns: 1fr;
  }
}

.tecdoc-select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

/* Garajımdaki Kayıtlı Araçlar Rafı */
.saved-garage-shelf {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.shelf-title {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  white-space: nowrap;
}

.garage-car-slot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--surface-alt);
  border: 1.5px solid var(--line);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.garage-car-slot:hover {
  border-color: #94a3b8;
}

.garage-car-slot.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
}

.mini-plate-badge {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #334155;
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  overflow: hidden;
}

.mini-plate-badge::before {
  content: "TR";
  background: var(--tr-blue);
  color: #ffffff;
  font-size: 8px;
  padding: 2px 3px;
  margin-right: 4px;
}

.mini-plate-text {
  padding-right: 5px;
}

.slot-car-name {
  font-size: 12.5px;
  font-weight: 700;
}

.slot-delete-btn {
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

.slot-delete-btn:hover {
  opacity: 1;
  background: var(--accent-red);
  color: #ffffff;
}

/* ─── BÖLÜM 2: İNTERAKTİF TAMİRHANE & LİFT SAHNESİ ─── */
.tamirhane-section {
  padding: 10px 0 28px;
}

.tamirhane-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 1080px) {
  .tamirhane-grid {
    grid-template-columns: 1fr;
  }
}

/* Sol Sahne: Tamirhane Lift Bay */
.workshop-lift-bay {
  background: linear-gradient(180deg, #0b1120 0%, #111827 65%, #1e293b 100%);
  color: #f8fafc;
  border-radius: var(--radius-lg);
  border: 1px solid #334155;
  padding: 20px 22px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.workshop-bay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.bay-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 5px 11px;
  border-radius: 999px;
}

.bay-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: bayPulse 1.8s infinite;
}

@keyframes bayPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.bay-vehicle-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.lift-tr-plate {
  display: inline-flex;
  align-items: stretch;
  background: #ffffff;
  color: #0f172a;
  border: 2.5px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.lift-tr-plate-band {
  background: var(--tr-blue);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 6px;
  display: flex;
  align-items: flex-end;
}

.lift-tr-plate-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 17px;
  font-weight: 800;
  padding: 4px 12px;
  letter-spacing: 0.04em;
}

.lift-vehicle-title-col h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.lift-vehicle-title-col p {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: #94a3b8;
}

/* İnteraktif Araç & Hidrolik Lift Sahnesi */
.hydraulic-lift-stage {
  position: relative;
  min-height: 330px;
  margin: 14px 0;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 50% 15%, rgba(56, 189, 248, 0.16) 0%, rgba(15, 23, 42, 0) 70%),
    repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.05) 0px, rgba(148, 163, 184, 0.05) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.05) 0px, rgba(148, 163, 184, 0.05) 1px, transparent 1px, transparent 40px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 10px 36px;
  transition: transform 0.3s ease;
}

.hydraulic-lift-stage.car-entering {
  animation: carDriveIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes carDriveIn {
  0% { opacity: 0.3; transform: translateX(-36px) scale(0.96); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

.lift-svg-wrapper {
  width: 100%;
  max-width: 680px;
  position: relative;
}

.lift-car-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.55));
}

/* Araç Üzerindeki Tıklanabilir Yedek Parça Noktaları (Hotspots) */
.part-hotspot-btn {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  border: 2px solid #f8fafc;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  transition: all 0.18s ease;
  z-index: 10;
  white-space: nowrap;
}

.part-hotspot-btn:hover,
.part-hotspot-btn.active {
  transform: translate(-50%, -50%) scale(1.1);
  background: #ffffff;
  color: #0f172a;
  z-index: 20;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.25), 0 10px 24px rgba(0, 0, 0, 0.6);
}

.hotspot-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  color: #ffffff;
}

.lift-floor-instruction {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11.5px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.85);
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  white-space: nowrap;
}

/* Lift Alt Telemetri Özeti */
.lift-telemetry-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 680px) {
  .lift-telemetry-strip {
    grid-template-columns: 1fr;
  }
}

.telemetry-mini-card {
  background: rgba(30, 41, 59, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.telemetry-mini-card:hover {
  border-color: #f8fafc;
  background: rgba(51, 65, 85, 0.85);
}

.telemetry-mini-card small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 3px;
}

.telemetry-mini-card strong {
  display: block;
  font-size: 12.5px;
  color: #ffffff;
}

/* Sağ Sahne: Tamirhane Yedek Parça Tezgâhı (Seçili Bölüm Ekspertizi) */
.workshop-inspection-bench {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bench-top-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.bench-dept-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.bench-domain-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-red);
  text-decoration: none;
}

.bench-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bench-summary {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--muted);
}

.bench-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

@media (max-width: 540px) {
  .bench-specs-grid {
    grid-template-columns: 1fr;
  }
}

.bench-spec-box {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
}

.bench-spec-box small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
}

.bench-spec-box strong {
  display: block;
  font-size: 12.5px;
  color: var(--ink);
  margin-top: 2px;
}

.bench-parts-list {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.bench-part-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #ffffff;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.14s ease;
}

.bench-part-item:hover {
  border-color: var(--ink);
  background: var(--surface-alt);
}

.bench-part-sku {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.bench-part-name {
  font-size: 12.5px;
  font-weight: 700;
  display: block;
  margin-top: 2px;
}

.bench-part-price {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.bench-cta-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 540px) {
  .bench-cta-actions {
    grid-template-columns: 1fr;
  }
}

.btn-bench-live {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--ink);
  background: var(--surface-alt);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.btn-bench-live:hover {
  background: #e2e4dc;
}

.btn-bench-portal {
  padding: 12px 14px;
  border-radius: 10px;
  border: 0;
  background: var(--ink);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.btn-bench-portal:hover {
  background: var(--accent-red);
}

/* ─── BÖLÜM 3: YEDEK PARÇA BÖLÜMLERİ (FİLTREBUL · FARBUL · LASTİKBUL KARTLARI) ─── */
.departments-section {
  padding: 8px 0 28px;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.section-head-row h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-head-row p {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.departments-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 980px) {
  .departments-cards-grid {
    grid-template-columns: 1fr;
  }
}

.dept-portal-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.18s ease;
  cursor: pointer;
  position: relative;
}

.dept-portal-card:hover,
.dept-portal-card.active {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.dept-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.dept-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.dept-domain-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.dept-portal-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
}

.dept-portal-card p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
}

.dept-vehicle-match-box {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
  font-size: 12.5px;
}

.dept-vehicle-match-box strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 6px;
}

.dept-subchips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.dept-subchip {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: all 0.14s;
}

.dept-subchip:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.dept-card-footer {
  display: flex;
  gap: 8px;
}

.btn-dept-embed {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  background: #ffffff;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
}

.btn-dept-embed:hover {
  background: var(--surface-alt);
}

.btn-dept-go {
  flex: 1.2;
  padding: 10px 12px;
  border-radius: 8px;
  border: 0;
  background: var(--ink);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.btn-dept-go:hover {
  background: var(--accent-red);
}

/* ─── BÖLÜM 4: CANLI YEDEK PARÇA SAYFASI GÖRÜNÜMÜ (EMBEDDED PORTAL VIEWPORT) ─── */
.live-portal-viewport-section {
  padding: 6px 0 32px;
}

.live-portal-shell {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.live-portal-toolbar {
  background: #0f172a;
  color: #ffffff;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.portal-tabs-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.portal-switch-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.portal-switch-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.portal-switch-btn.active {
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
}

.portal-url-bar {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.8);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #334155;
}

.btn-open-fullscreen-portal {
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--accent-red);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-portal-iframe {
  width: 100%;
  height: 760px;
  border: 0;
  display: block;
  background: #ffffff;
}

/* ─── BÖLÜM 5: 81 İL 22.922 OTO SANAYİ & USTA LİFT RANDEVU MERKEZİ ─── */
.sanayi-section {
  padding: 10px 0 40px;
}

.sanayi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.sanayi-filters-bar {
  display: grid;
  grid-template-columns: 200px 220px 1fr auto;
  gap: 10px;
  margin-bottom: 16px;
}

@media (max-width: 860px) {
  .sanayi-filters-bar {
    grid-template-columns: 1fr 1fr;
  }
}

.sanayi-firms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 12px;
  max-height: 440px;
  overflow-y: auto;
  padding-right: 4px;
}

.sanayi-firm-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.sanayi-firm-item h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.sanayi-firm-meta {
  font-size: 12px;
  color: var(--muted);
}

.sanayi-firm-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.btn-firm-action {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}

.btn-firm-action--book {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

/* ─── Başmühendis AI Çekmecesi & Randevu Modalı ─── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  max-width: 620px;
  width: 100%;
  padding: 22px;
  box-shadow: var(--shadow-lg);
}

.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 32px 0;
  font-size: 13px;
  border-top: 1px solid #1e293b;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #f8fafc;
  text-decoration: none;
  font-weight: 700;
}

/* ─── EKİM 3D WEBGL TAMİRHANE SAHNESİ STİLLERİ ─── */
.stage-3d-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding: 12px 12px 42px;
  min-height: 520px;
  background: #070d19;
}

.stage-3d-wrap.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  margin: 0;
  border-radius: 0;
  min-height: 100vh;
}

.toolbar-3d-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 4;
  margin-bottom: 8px;
}

.toolbar-3d-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.btn-3d-ctrl {
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  padding: 7px 11px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.16s ease;
}

.btn-3d-ctrl:hover {
  border-color: #38bdf8;
  color: #ffffff;
  background: rgba(30, 41, 59, 0.95);
}

.btn-3d-ctrl.active {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
}

.btn-3d-ctrl--special {
  border-color: rgba(249, 115, 22, 0.55);
  color: #fdba74;
}
.btn-3d-ctrl--special.active {
  background: #ea580c;
  border-color: #fb923c;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.55);
}

.btn-3d-ctrl--xray {
  border-color: rgba(56, 189, 248, 0.55);
  color: #7dd3fc;
}
.btn-3d-ctrl--xray.active {
  background: #0369a1;
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.6);
}

.btn-3d-ctrl--laser {
  border-color: rgba(74, 222, 128, 0.55);
  color: #86efac;
}
.btn-3d-ctrl--laser.active {
  background: #15803d;
  border-color: #4ade80;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(74, 222, 128, 0.6);
}

.btn-3d-ctrl--dyno {
  border-color: rgba(239, 68, 68, 0.55);
  color: #fca5a5;
}
.btn-3d-ctrl--dyno.active {
  background: #dc2626;
  border-color: #f87171;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.65);
}

.btn-3d-ctrl--voice {
  border-color: rgba(168, 85, 247, 0.55);
  color: #d8b4fe;
}
.btn-3d-ctrl--voice.active {
  background: #7e22ce;
  border-color: #c084fc;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.65);
}

.paint-swatches-bar {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.28);
  padding: 4px 8px;
  border-radius: 999px;
}

.paint-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease;
}

.paint-swatch:hover,
.paint-swatch.active {
  transform: scale(1.22);
  border-color: #facc15;
}

.canvas-3d-viewport {
  position: relative;
  width: 100%;
  height: 435px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: #060b14;
}

.hud-3d-overlay {
  position: absolute;
  inset: 10px 12px auto 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
  z-index: 3;
}

.hud-3d-top-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(6, 11, 20, 0.82);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 999px;
  padding: 4px 11px;
  backdrop-filter: blur(6px);
}

.hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.hud-laser-report {
  pointer-events: auto;
  max-width: 340px;
  background: rgba(6, 18, 28, 0.92);
  border: 1.5px solid #4ade80;
  border-radius: 10px;
  padding: 9px 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
}

.stage-3d-wrap.is-fullscreen .canvas-3d-viewport {
  flex: 1;
  height: calc(100vh - 140px);
}

#tamirhane3dCanvas {
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
  touch-action: none;
}

.hover-3d-tooltip {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.92);
  border: 1.5px solid #38bdf8;
  color: #f8fafc;
  font-size: 12.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.walk-3d-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(2, 132, 199, 0.92);
  border: 1px solid #7dd3fc;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  pointer-events: none;
}

.strip-3d-cameras {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 2px 4px;
  scrollbar-width: thin;
}

.strip-3d-cameras .part-hotspot-btn {
  position: static;
  transform: none !important;
  flex-shrink: 0;
}

/* ─── BÖLÜM 2.5: OBD-II / CAN-BUS ARAÇ BEYNİ (ECU) OKUYUCU ─── */
.ecu-brain-section {
  padding: 6px 0 26px;
}

.ecu-brain-card {
  background: linear-gradient(145deg, #070d19 0%, #0f172a 60%, #131c31 100%);
  color: #f8fafc;
  border-radius: var(--radius-lg);
  border: 1px solid #1e293b;
  padding: 22px 24px;
  box-shadow: var(--shadow-lg);
}

.ecu-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.ecu-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.ecu-title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
}

.ecu-title span {
  color: #38bdf8;
}

.ecu-subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  color: #94a3b8;
  max-width: 780px;
  line-height: 1.45;
}

.ecu-conn-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-ecu-conn {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  padding: 10px 15px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.16s ease;
}

.btn-ecu-conn--ble {
  background: #0284c7;
  color: #ffffff;
  border-color: #38bdf8;
}

.btn-ecu-conn--ble:hover {
  background: #0369a1;
}

.btn-ecu-conn--serial {
  background: rgba(30, 41, 59, 0.9);
  color: #e2e8f0;
  border-color: #475569;
}

.btn-ecu-conn--serial:hover {
  border-color: #38bdf8;
  color: #ffffff;
}

.ecu-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.ecu-protocol-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: #7dd3fc;
}

.ecu-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: bayPulse 1.3s infinite;
}

.ecu-dyno-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ecu-rpm-slider {
  width: 130px;
  accent-color: #38bdf8;
}

.btn-ecu-small {
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #1e293b;
  color: #f8fafc;
  cursor: pointer;
}

.btn-ecu-small:hover {
  border-color: #38bdf8;
  background: #0284c7;
}

.btn-ecu-small--clear {
  background: rgba(22, 163, 74, 0.2);
  border-color: #22c55e;
  color: #4ade80;
}

.ecu-fault-select {
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #f59e0b;
  background: #1e293b;
  color: #fde047;
}

.ecu-gauges-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

@media (max-width: 1150px) {
  .ecu-gauges-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .ecu-gauges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ecu-gauge-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ecu-gauge-box--clickable {
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.ecu-gauge-box--clickable:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
}

.ecu-gauge-box small {
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

.ecu-val {
  font-family: "JetBrains Mono", monospace;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.ecu-progress {
  width: 100%;
  height: 6px;
  background: #1e293b;
  border-radius: 999px;
  overflow: hidden;
}

.ecu-progress-bar {
  height: 100%;
  border-radius: 999px;
  transition: width 0.25s ease;
}

.ecu-sub {
  font-size: 11px;
  color: #cbd5e1;
}

.ecu-bottom-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
}

@media (max-width: 960px) {
  .ecu-bottom-split {
    grid-template-columns: 1fr;
  }
}

.ecu-dtc-panel,
.ecu-terminal-panel {
  background: rgba(9, 13, 22, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  padding: 12px 14px;
}

.ecu-dtc-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
}

.ecu-dtc-badge--clean {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.35);
}

.ecu-dtc-badge--fault {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid #ef4444;
}

.ecu-dtc-list {
  display: grid;
  gap: 8px;
}

.ecu-dtc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.38);
}

.ecu-terminal-pre {
  margin: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  line-height: 1.5;
  color: #4ade80;
  max-height: 155px;
  overflow-y: auto;
  white-space: pre-wrap;
}

/* ─── BÖLÜM 2.8: RESMİ İŞLEMLER & TÜVTÜRK MUAYENE TAKİP MERKEZİ ─── */
.official-tracking-section {
  padding: 4px 0 28px;
}

.official-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-md);
}

.official-counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

@media (max-width: 980px) {
  .official-counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .official-counters-grid {
    grid-template-columns: 1fr;
  }
}

.official-counter-box {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}

.official-counter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.official-status-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  color: #ffffff;
}

.official-days-big {
  font-family: "JetBrains Mono", monospace;
  font-size: 21px;
  font-weight: 900;
  color: var(--ink);
}

.official-edit-form {
  margin-top: 14px;
  padding: 16px;
  border-radius: 12px;
  background: #f5f3ff;
  border: 1px solid #c4b5fd;
}

.official-form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 920px) {
  .official-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.official-form-grid label {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #4c1d95;
}

.tuvturk-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (max-width: 820px) {
  .tuvturk-checklist-grid {
    grid-template-columns: 1fr;
  }
}

.checklist-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

/* ─── %100 GERÇEK ORİJİNAL ARAÇ FOTOĞRAFI & HİDROLİK LİFT STÜDYOSU ─── */
.btn-3d-ctrl--realphoto {
  border-color: #facc15;
  color: #fef08a;
  background: rgba(161, 98, 7, 0.35);
}
.btn-3d-ctrl--realphoto.active {
  background: #ca8a04;
  border-color: #fde047;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.55);
}

.btn-3d-ctrl--upload {
  border-color: #22c55e;
  color: #bbf7d0;
  background: rgba(21, 128, 61, 0.35);
}
.btn-3d-ctrl--upload:hover {
  background: #16a34a;
  color: #ffffff;
}

.btn-3d-ctrl--sound {
  border-color: #f43f5e;
  color: #fda4af;
}
.btn-3d-ctrl--sound:hover {
  background: #e11d48;
  color: #ffffff;
}

.real-photo-lift-studio {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 50% 35%, #162238 0%, #09101d 65%, #050911 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1100px;
}

.real-lift-pillar {
  position: absolute;
  top: 12px;
  bottom: 0;
  width: 34px;
  background: linear-gradient(90deg, #b45309 0%, #f59e0b 45%, #d97706 100%);
  border: 2px solid #78350f;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.real-lift-pillar--left {
  left: 22px;
}
.real-lift-pillar--right {
  right: 22px;
}
.real-lift-pillar-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #0f172a;
}

.real-car-lift-assembly {
  position: relative;
  width: calc(100% - 120px);
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}

.real-car-lift-assembly.is-lifted {
  transform: translateY(-44px) scale(1.02);
}

.real-car-lift-assembly.is-dyno-shake {
  animation: dynoShakeAnim 0.09s infinite alternate;
}

@keyframes dynoShakeAnim {
  0% { transform: translate(-1.5px, -0.5px); }
  100% { transform: translate(1.5px, 1px); }
}

.real-car-photo-card {
  position: relative;
  width: 100%;
  height: 295px;
  border-radius: 14px;
  overflow: hidden;
  background: #0b1322;
  border: 2px solid rgba(56, 189, 248, 0.42);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.72), 0 0 28px rgba(56, 189, 248, 0.18);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.real-car-photo-card.is-xray-thermal {
  filter: invert(0.92) hue-rotate(175deg) saturate(2.4) contrast(1.35);
  border-color: #38bdf8;
}

.real-car-original-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.real-headlight-beams {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.real-beam-glow {
  position: absolute;
  width: 130px;
  height: 85px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 249, 195, 0.85) 0%, rgba(56, 189, 248, 0.35) 45%, transparent 75%);
  filter: blur(8px);
  mix-blend-mode: screen;
  opacity: 0.75;
  transition: all 0.25s ease;
}
.real-beam-glow--left {
  left: 16%;
  top: 46%;
}
.real-beam-glow--right {
  left: 52%;
  top: 46%;
}

.real-dyno-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.real-brake-glow {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, #fef08a 0%, #ef4444 45%, rgba(220, 38, 38, 0) 72%);
  box-shadow: 0 0 26px #ef4444;
  mix-blend-mode: screen;
  animation: bayPulse 0.25s infinite alternate;
}
.real-brake-glow--front {
  left: 26%;
  bottom: 14%;
}
.real-brake-glow--rear {
  right: 20%;
  bottom: 16%;
}
.real-exhaust-flame {
  position: absolute;
  right: 6%;
  bottom: 20%;
  width: 90px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(ellipse at left, #ffffff 0%, #f97316 40%, rgba(239, 68, 68, 0) 78%);
  filter: blur(3px);
  animation: bayPulse 0.14s infinite alternate;
}

.real-laser-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #4ade80;
  box-shadow: 0 0 22px 6px #22c55e, 0 0 45px 12px rgba(74, 222, 128, 0.7);
  z-index: 5;
  animation: realLaserSweep 2.8s ease-in-out infinite alternate;
}

@keyframes realLaserSweep {
  0% { left: 4%; }
  100% { left: 95%; }
}

.real-photo-hotspots {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.real-photo-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  color: #ffffff;
  border: 1.5px solid #38bdf8;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.65);
  transition: transform 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.real-photo-pin:hover,
.real-photo-pin.active {
  transform: translate(-50%, -50%) scale(1.14);
  background: #0284c7;
  border-color: #facc15;
  z-index: 6;
}
.real-photo-pin-num {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  color: #fff;
}

.real-lift-steel-bar {
  width: 104%;
  background: linear-gradient(180deg, #334155 0%, #1e293b 50%, #0f172a 100%);
  border: 2px solid #f59e0b;
  border-radius: 8px;
  padding: 6px 14px;
  margin-top: -4px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: #e2e8f0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
}

.btn-switch-to-3d-inline {
  background: #0284c7;
  color: #ffffff;
  border: 1px solid #38bdf8;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.btn-switch-to-3d-inline:hover {
  background: #0369a1;
}

.real-car-mirror-wrap {
  width: 96%;
  height: 62px;
  overflow: hidden;
  opacity: 0.26;
  transform: scaleY(-1);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
  pointer-events: none;
}
.real-car-mirror-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: blur(2px);
}

/* ─── BÖLÜM 2.2: DÜNYA KLASİKLERİ, TÜRKİYE EFSANELERİ & KOLEKSİYON GARAJI ─── */
.classics-museum-section {
  padding: 6px 0 24px;
}

.classics-museum-card {
  background: linear-gradient(145deg, #111827 0%, #0f172a 60%, #1e1b4b 100%);
  border: 1px solid #334155;
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #f8fafc;
  box-shadow: var(--shadow-lg);
}

.classics-top-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.classics-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  color: #facc15;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.classics-title {
  margin: 0;
  font-size: 23px;
  font-weight: 900;
  color: #ffffff;
}

.classics-subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  color: #cbd5e1;
  max-width: 820px;
  line-height: 1.48;
}

.classics-filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.classic-tab-btn {
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid #475569;
  background: rgba(30, 41, 59, 0.85);
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.16s ease;
}
.classic-tab-btn:hover,
.classic-tab-btn.active {
  background: #d97706;
  border-color: #facc15;
  color: #ffffff;
}

.classics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 1180px) {
  .classics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 860px) {
  .classics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .classics-grid {
    grid-template-columns: 1fr;
  }
}

.classic-car-card {
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.classic-car-card:hover {
  transform: translateY(-3px);
  border-color: #facc15;
}

.classic-car-photo-wrap {
  position: relative;
  height: 162px;
  background: #090d16;
  overflow: hidden;
}
.classic-car-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.classic-car-card:hover .classic-car-photo-wrap img {
  transform: scale(1.06);
}

.classic-year-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid #facc15;
  color: #fde047;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
}

.classic-cat-pill {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.88);
  color: #e2e8f0;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
}

.classic-car-body {
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.classic-car-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.classic-car-engine {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #38bdf8;
  font-weight: 700;
}

.classic-car-story {
  margin: 0;
  font-size: 11.5px;
  color: #cbd5e1;
  line-height: 1.4;
}

.classic-specs-pills {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.classic-spec-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #f8fafc;
}

.classic-card-actions {
  padding: 10px 13px 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  display: flex;
  gap: 6px;
}

.btn-classic-lift {
  flex: 1;
  background: #d97706;
  color: #ffffff;
  border: 1px solid #facc15;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-classic-lift:hover {
  background: #b45309;
}

.btn-classic-sound {
  background: #1e293b;
  color: #fda4af;
  border: 1px solid #f43f5e;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
}

/* ─── BÖLÜM 2.3: STAGE 1-2-3 MODİFİYE & 400m DRAG YARIŞ LABORATUVARI ─── */
.enthusiast-lab-section {
  padding: 4px 0 26px;
}

.enthusiast-lab-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
}

@media (max-width: 980px) {
  .enthusiast-lab-grid {
    grid-template-columns: 1fr;
  }
}

.tuning-lab-card,
.drag-race-card {
  background: linear-gradient(145deg, #090d16 0%, #111827 100%);
  border: 1px solid #334155;
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  color: #f8fafc;
  box-shadow: var(--shadow-md);
}

.tuning-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  color: #4ade80;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.tuning-title {
  margin: 0;
  font-size: 19px;
  font-weight: 900;
  color: #ffffff;
}

.tuning-sub {
  margin: 6px 0 14px;
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.45;
}

.stage-selector-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}
@media (max-width: 640px) {
  .stage-selector-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stage-btn {
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  padding: 9px 8px;
  border-radius: 8px;
  border: 1px solid #475569;
  background: #1e293b;
  color: #e2e8f0;
  cursor: pointer;
}
.stage-btn.active {
  background: #dc2626;
  border-color: #f87171;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.45);
}

.tuning-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
@media (max-width: 640px) {
  .tuning-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tuning-metric-box {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tuning-metric-box small {
  font-size: 9.5px;
  font-weight: 800;
  color: #94a3b8;
}
.tuning-metric-box strong {
  font-family: "JetBrains Mono", monospace;
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
}

.tuning-parts-recipe {
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  color: #e2e8f0;
  line-height: 1.45;
}

.drag-contestants-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.drag-car-box {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  padding: 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.drag-car-thumb {
  width: 100%;
  height: 86px;
  object-fit: cover;
  border-radius: 6px;
  background: #050811;
}

.drag-vs-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #dc2626;
  color: #ffffff;
  font-weight: 900;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drag-opponent-select {
  width: 100%;
  background: #1e293b;
  color: #fde047;
  border: 1px solid #f59e0b;
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 11.5px;
  font-weight: 700;
}

.drag-strip-track {
  background: #050811;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drag-lane {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drag-lane-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  width: 85px;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drag-progress-wrap {
  flex: 1;
  height: 22px;
  background: #1e293b;
  border-radius: 999px;
  overflow: hidden;
}

.drag-progress-bar {
  height: 100%;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  font-size: 13px;
  transition: width 0.12s linear;
}
.drag-progress-bar--1 {
  background: linear-gradient(90deg, #0284c7, #38bdf8);
}
.drag-progress-bar--2 {
  background: linear-gradient(90deg, #d97706, #facc15);
}

.btn-start-drag {
  background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
  color: #ffffff;
  border: 1px solid #fca5a5;
  border-radius: 9px;
  padding: 9px 15px;
  font-size: 12.5px;
  font-weight: 900;
  cursor: pointer;
}
.btn-start-drag:hover {
  filter: brightness(1.1);
}
