/* ==========================================================================
   Çevik Oto Yedek Parça - Ana Stil Dosyası
   Tema: CSS değişkenleri ile dark/light (varsayılan dark, sağ üstten değişir)
   ========================================================================== */

:root,
:root[data-theme="dark"] {
  --bg: #090c11;
  --bg-soft: #0d1219;
  --surface: #121826;
  --surface-2: #182032;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f6f8;
  --text-muted: #98a3b3;
  --text-faint: #6b7480;
  --accent: #3b82f6;
  --accent-strong: #2563eb;
  --accent-soft: rgba(59, 130, 246, 0.14);
  --blue: #6366f1;
  --blue-soft: rgba(99, 102, 241, 0.2);
  --danger: #ef4444;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  --hero-overlay: linear-gradient(120deg, rgba(6, 9, 13, 0.94) 0%, rgba(6, 9, 13, 0.82) 45%, rgba(6, 9, 13, 0.55) 100%);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f5f7fa;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef1f6;
  --border: rgba(10, 15, 25, 0.09);
  --border-strong: rgba(10, 15, 25, 0.16);
  --text: #10141c;
  --text-muted: #47505f;
  --text-faint: #67707c;
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.1);
  --blue: #4f46e5;
  --blue-soft: rgba(79, 70, 229, 0.1);
  --danger: #dc2626;
  --shadow: 0 20px 45px rgba(15, 20, 35, 0.1);
  --hero-overlay: linear-gradient(120deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.86) 45%, rgba(255, 255, 255, 0.6) 100%);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: inherit;
}

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

.section {
  padding: 72px 0;
}

.section-tight {
  padding: 40px 0;
}

/* ---- kicker / topbar strip repeated above sections ---- */
.topbar {
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: 1180px;
  margin: 0 auto;
  font-size: 13px;
  color: var(--text-muted);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

.topbar-brand .bolt {
  color: var(--accent);
}

.topbar-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.topbar-phone svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
}

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand .bolt-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.brand-suffix {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.72em;
  letter-spacing: 1px;
  margin-left: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 6px;
  cursor: pointer;
}

.theme-toggle button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.theme-toggle button.active {
  background: var(--accent);
  color: #06120a;
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
}

.nav-call-btn {
  display: none;
}

.hamburger {
  display: none;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hamburger svg {
  width: 20px;
  height: 20px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

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

.btn svg {
  width: 17px;
  height: 17px;
}

.btn-primary {
  background: var(--accent);
  color: #06120a;
  box-shadow: 0 10px 25px var(--accent-soft);
}

.btn-primary:hover {
  background: var(--accent-strong);
}

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

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

.btn-whatsapp {
  background: #25d366;
  color: #06210f;
}

.btn-whatsapp:hover {
  background: #1ebd5a;
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 15.5px;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  background:
    var(--hero-overlay),
    radial-gradient(circle at 15% 20%, var(--accent-soft), transparent 45%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 64px 24px 72px;
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 20px;
}

.eyebrow-badge svg {
  width: 14px;
  height: 14px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero h1 .accent-line {
  color: var(--accent);
  display: block;
}

.hero p.lead {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 0 28px;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-checklist .check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
}

.hero-checklist svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ---- Query Panel (hero card) ---- */
.query-panel {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.query-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.query-panel-head svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.query-panel h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.query-panel .sub {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 0 0 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-faint);
}

.query-panel .btn-primary {
  margin-top: 6px;
}

/* ---- Section headings ---- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 46px;
}

.section-head h2 {
  font-size: 30px;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ---- Brands grid ---- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.brand-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.brand-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.brand-card .flag-code {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.brand-card h4 {
  margin: 0 0 8px;
  font-size: 17px;
}

.brand-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(120deg, var(--blue-soft), var(--accent-soft));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-banner-inner {
  text-align: center;
  padding: 56px 24px;
}

.cta-banner h2 {
  font-size: 26px;
  margin: 0 0 10px;
  font-weight: 800;
}

.cta-banner p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 26px;
  font-size: 15px;
  line-height: 1.7;
}

/* ---- Categories grid ---- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.category-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--surface-2), var(--bg-soft));
  color: var(--accent);
}

.category-thumb svg {
  width: 48px;
  height: 48px;
}

.category-card .body {
  padding: 18px 20px 22px;
}

.category-card h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.category-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* ---- Why us ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 30px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.why-icon svg {
  width: 26px;
  height: 26px;
}

.why-card h4 {
  margin: 0 0 10px;
  font-size: 17px;
}

.why-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.7;
}

/* ---- Testimonials ---- */
.testi-wrap {
  position: relative;
}

.testi-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

.stars {
  color: #f5b400;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testi-card p.quote {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 16px;
  min-height: 84px;
}

.testi-name {
  font-weight: 700;
  font-size: 13.5px;
}

.testi-city {
  color: var(--text-faint);
  font-size: 12px;
}

.testi-nav {
  display: none;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.testi-nav button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testi-nav svg {
  width: 16px;
  height: 16px;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 18px 20px;
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-question .plus {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  font-size: 16px;
  font-weight: 700;
}

.faq-item.open .faq-question .plus {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer-inner {
  padding: 0 20px 20px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.7;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info h2 {
  font-size: 27px;
  margin: 0 0 14px;
  font-weight: 800;
}

.contact-info > p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 26px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  list-style: none;
  font-size: 14px;
}

.contact-list .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-list .icon svg {
  width: 18px;
  height: 18px;
}

.contact-list strong {
  display: block;
  font-size: 12.5px;
  color: var(--text-faint);
  font-weight: 600;
  margin-bottom: 2px;
}

.map-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
  min-height: 340px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  filter: grayscale(0.15);
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 20px;
  background: var(--bg-soft);
}

.footer-disclaimer {
  color: var(--text-faint);
  font-size: 11.5px;
  line-height: 1.7;
  max-width: 1000px;
  margin: 0 auto 20px;
  text-align: center;
}

.footer-bottom {
  text-align: center;
  color: var(--text-faint);
  font-size: 12.5px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

/* ---- WhatsApp floating button ---- */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #06210f;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.35);
  z-index: 90;
  transition: transform 0.15s ease;
}

.wa-float:hover {
  transform: scale(1.06);
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

/* ---- Mobile nav drawer ---- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 150;
  display: none;
}

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

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 78%;
  max-width: 320px;
  height: 100%;
  background: var(--surface);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-left: 1px solid var(--border);
}

.mobile-drawer-close {
  align-self: flex-end;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .brands-grid,
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testi-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 48px 0;
  }

  .nav-call-btn {
    display: none !important;
  }

  .hamburger {
    display: flex;
  }

  .topbar-brand span.long {
    display: none;
  }

  .hero-grid {
    padding: 36px 20px 48px;
    gap: 32px;
  }

  .hero h1 {
    font-size: 29px;
  }

  .hero p.lead {
    font-size: 14.5px;
  }

  .hero-cta-row {
    flex-direction: column;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .brands-grid,
  .categories-grid,
  .why-grid,
  .testi-track {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .cta-banner h2 {
    font-size: 21px;
  }

  .testi-nav {
    display: flex;
  }

  .testi-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .testi-track .testi-card {
    min-width: 86%;
    scroll-snap-align: center;
  }

  .footer-disclaimer {
    text-align: left;
  }
}

@media (min-width: 721px) {
  .testi-nav {
    display: none !important;
  }
}
