/* ==========================================================================
   Redline Motors - Modern Automotive Theme (Red & Obsidian Black)
   100% Responsive, Eye-Friendly, High Performance
   ========================================================================== */

:root {
  /* Renk Paleti - Göz Yormayan Koyu Karbon ve Yarış Kırmızısı */
  --bg-main: #0c0e12;
  --bg-surface: #141822;
  --bg-card: #181d2a;
  --bg-card-hover: #1f2536;
  --bg-input: #10131a;

  /* Kırmızı Vurgu Renkleri */
  --red-primary: #ef4444;
  --red-hover: #dc2626;
  --red-dark: #b91c1c;
  --red-glow: rgba(239, 68, 68, 0.22);
  --red-subtle: rgba(239, 68, 68, 0.12);
  --red-gradient: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);

  /* Metin ve Kontrast Renkleri */
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8e9bb0;
  --border-color: #242b3b;
  --border-focus: #ef4444;

  /* Durum Renkleri */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-info: #06b6d4;

  /* Tipografi & Boşluklar */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --shadow-red: 0 6px 20px rgba(239, 68, 68, 0.3);
}

/* --------------------------------------------------------------------------
   Reset & Temel Ayarlar
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  padding-bottom: 0;
}

/* Mobil Alt Çubuk İçin Güvenli Alan */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Odaklanma Erişilebilirliği (WCAG 2.1) */
:focus-visible {
  outline: 2px solid var(--red-primary);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--red-primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 9999;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 20px;
}

/* --------------------------------------------------------------------------
   Layout Konteynerleri
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

.section {
  padding-top: clamp(3rem, 6vw, 5.5rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  max-width: 650px;
  margin-bottom: 2.5rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red-subtle);
  color: var(--red-primary);
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Header & Navigasyon
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 14, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo img,
.brand-logo-img {
  height: 48px;
  width: 48px;
  max-height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

/* PC / Masaüstü: Menüler açık olduğu için metne gerek yok */
.brand-logo-text {
  display: none !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after, .nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red-primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-header-phone:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  transition: var(--transition);
}

/* --------------------------------------------------------------------------
   Butonlar
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  min-height: 46px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--red-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.45);
  background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--red-primary);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--red-primary);
  border-color: rgba(239, 68, 68, 0.5);
}

.btn-outline:hover {
  background: var(--red-subtle);
  border-color: var(--red-primary);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
}
.btn-whatsapp:hover {
  background: #1eb954;
  color: #ffffff;
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Hero Bölümü
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  background: radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, #0c0e12 0%, #11151e 100%);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-content h1 .accent-text {
  color: var(--red-primary);
  display: inline-block;
}

.hero-description {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.stat-item .stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
}

.stat-item .stat-num span {
  color: var(--red-primary);
}

.stat-item .stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Hızlı Arama Kutusu */
.hero-search-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-search-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--red-gradient);
  border-radius: 2px;
}

.hero-search-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-group-full {
  grid-column: span 2;
}

/* Form Elemanları */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 10px 14px;
  font-size: 0.9rem;
  min-height: 44px;
  transition: var(--transition);
  width: 100%;
}

.form-control:focus {
  border-color: var(--red-primary);
  background: #141720;
  box-shadow: 0 0 0 3px var(--red-subtle);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* --------------------------------------------------------------------------
   Araç Kartları Grid
   -------------------------------------------------------------------------- */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.vehicle-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.vehicle-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: var(--shadow-md), 0 0 20px var(--red-glow);
}

.vehicle-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a1e28;
}

.vehicle-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vehicle-card:hover .vehicle-media img {
  transform: scale(1.05);
}

.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.badge-featured {
  background: var(--red-gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-status {
  background: rgba(16, 185, 129, 0.9);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.badge-sold {
  background: rgba(239, 68, 68, 0.9);
}

.vehicle-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vehicle-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.vehicle-package {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.vehicle-specs-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.25rem;
}

.spec-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.spec-pill .spec-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.spec-pill .spec-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.vehicle-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.vehicle-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--red-primary);
}

/* --------------------------------------------------------------------------
   Özellikler & Güvenilirlik Bölümü (Neden Biz?)
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
}

.feature-box:hover {
  border-color: rgba(239, 68, 68, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--red-subtle);
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-primary);
  margin-bottom: 1.25rem;
}

.feature-box h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Araç Detay Sayfası
   -------------------------------------------------------------------------- */
.detail-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2.5rem;
  align-items: start;
}

.gallery-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

.main-image-wrap {
  aspect-ratio: 16 / 10;
  background: #0f121a;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-row {
  display: flex;
  gap: 10px;
  padding: 12px;
  overflow-x: auto;
  background: #10131b;
  border-top: 1px solid var(--border-color);
}

.thumb-item {
  width: 90px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.65;
  transition: var(--transition);
}

.thumb-item:hover, .thumb-item.active {
  opacity: 1;
  border-color: var(--red-primary);
}

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

/* Teknik Özellikler Tablosu */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.specs-table td {
  padding: 12px 14px;
  font-size: 0.9rem;
}

.specs-table td:first-child {
  color: var(--text-muted);
  width: 40%;
}

.specs-table td:last-child {
  color: #ffffff;
  font-weight: 600;
  width: 60%;
}

/* İnteraktif Ekspertiz / Boya-Değişen Şeması */
.damage-diagram-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.diagram-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}
.legend-original { background: #10b981; }
.legend-painted { background: #f59e0b; }
.legend-local { background: #06b6d4; }
.legend-changed { background: #ef4444; }

.parts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.part-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.part-name {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.part-status {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.status-Orijinal { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.status-Boyalı { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.status-Lokal { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }
.status-Değişen { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

/* Yan Sipariş / İletişim Kutusu */
.sidebar-sticky {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.price-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.price-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--red-gradient);
}

.price-big {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--red-primary);
  margin-bottom: 0.5rem;
}

/* Kredi Hesaplayıcı */
.loan-calc-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1rem;
}

.loan-calc-box h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   Mobil Sabit İletişim Çubuğu (Sticky CTA)
   -------------------------------------------------------------------------- */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 18, 25, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 900;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
  .sticky-mobile-cta {
    display: flex;
    gap: 10px;
  }
  .sticky-mobile-cta .btn {
    flex: 1;
    min-height: 48px;
    font-size: 0.9rem;
    padding: 8px 12px;
  }
}

/* --------------------------------------------------------------------------
   Çerez ve KVKK Onay Bildirimi (Cookie Banner - CNIL/KVKK Uyumlu)
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 440px;
  width: calc(100% - 48px);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  display: none;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-banner h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-actions .btn {
  flex: 1;
  font-size: 0.85rem;
  padding: 10px;
  min-height: 42px;
}

/* --------------------------------------------------------------------------
   Footer Bölümü
   -------------------------------------------------------------------------- */
.site-footer {
  background: #090a0e;
  border-top: 1px solid var(--border-color);
  padding-top: 4rem;
  padding-bottom: 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--red-primary);
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--red-primary);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints (<640px, 768px, 1024px, 1280px)
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .site-header .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .header-inner {
    height: 68px;
    padding: 0 !important;
  }
  .brand-logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .brand-logo img,
  .brand-logo-img {
    height: 42px !important;
    width: 42px !important;
    max-height: 42px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
  }
  /* Mobilde logonun sağına DTL AUTO yazısı (Açık gri beyaz metin, siyah border/stroke, kırmızı gölge) */
  .brand-logo-text {
    display: inline-block !important;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 900;
    color: #f1f5f9;
    letter-spacing: 1.2px;
    line-height: 1;
    -webkit-text-stroke: 1.2px #000000;
    text-shadow: 
      -1px -1px 0 #000000,  
       1px -1px 0 #000000,
      -1px  1px 0 #000000,
       1px  1px 0 #000000,
       0 0 10px rgba(239, 68, 68, 0.9),
       0 0 20px rgba(239, 68, 68, 0.55);
    user-select: none;
  }
  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    height: calc(100vh - 68px);
    background: var(--bg-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateX(-100%);
    transition: var(--transition);
    overflow-y: auto;
  }
  .nav-menu.open {
    transform: translateX(0);
  }
  .menu-toggle {
    display: flex;
  }
  .btn-header-phone,
  .header-actions .btn-whatsapp {
    display: none;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-search-card {
    padding: 1.25rem 1rem;
    width: 100%;
  }
  .search-form-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .form-group-full {
    grid-column: span 1;
    width: 100%;
  }
  .form-group-full .btn-block {
    width: 100%;
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}

/* ==========================================================================
   Section Qui Sommes-Nous Card & Showroom Responsive
   ========================================================================== */
.about-showcase-card {
  background: linear-gradient(135deg, rgba(21, 24, 33, 0.95) 0%, rgba(15, 17, 23, 0.95) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.about-showcase-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
}

.about-showcase-desc {
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.about-showcase-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-showcase-info {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-sizing: border-box;
  width: 100%;
}

.about-showcase-info-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-showcase-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.about-showcase-info-list .info-item strong {
  color: #fff;
  display: block;
  margin-bottom: 2px;
}

.about-showcase-info-list .info-item span {
  color: var(--text-secondary);
}

.about-showcase-info-list .info-item a {
  color: var(--red-primary);
  font-weight: 700;
}

/* Bannière Reprise */
.trade-in-card {
  background: linear-gradient(135deg, #171c26 0%, #12151d 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.trade-in-content {
  max-width: 650px;
}

.trade-in-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.trade-in-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .about-showcase-card {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem;
    gap: 1.75rem;
  }
  .about-showcase-info {
    padding: 1.25rem 1rem;
  }
  .trade-in-card {
    padding: 1.75rem 1.25rem;
  }
}

@media (max-width: 600px) {
  .about-showcase-actions {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  .about-showcase-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .trade-in-action {
    width: 100%;
  }
  .trade-in-action .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Google Reviews Marquee Ticker (Slow, Left-to-Right, Pause on Hover)
   ========================================================================== */
.reviews-section {
  padding: 5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.google-stars {
  color: #fbbc04;
  letter-spacing: 2px;
  font-size: 1rem;
}

.reviews-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.reviews-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marqueeLTR 60s linear infinite;
  will-change: transform;
}

.reviews-marquee-wrapper:hover .reviews-track,
.reviews-track:hover {
  animation-play-state: paused !important;
}

@keyframes marqueeLTR {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

.review-card {
  width: 380px;
  max-width: 85vw;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  cursor: default;
}

@media (max-width: 480px) {
  .review-card {
    width: 290px;
    max-width: 80vw;
    padding: 1.15rem;
  }
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.review-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.25);
  flex-shrink: 0;
}

.review-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.2;
}

.review-time {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.review-quote {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  font-style: normal;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.review-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.75rem;
  font-size: 0.8rem;
}

.review-stars {
  color: #fbbc04;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.review-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #10b981;
  font-weight: 600;
  font-size: 0.78rem;
}

