/* =========================================================
   Ağva Merkez Taksi — ana stil dosyası
   Renkler, yazı boyutları ve boşluklar aşağıdaki değişkenlerden yönetilir.
   ========================================================= */
:root {
  /* Marka renkleri */
  --color-brand: #c8102e;        /* ana kırmızı — "Hemen Ara", başlık vurguları */
  --color-brand-dark: #9f0c24;
  --color-brand-soft: #fdecef;   /* açık kırmızı zemin */
  --color-whatsapp: #157a3f;     /* WhatsApp yeşili (tanınırlık için korunur) */
  --color-whatsapp-dark: #0f6232;

  /* Yüzeyler ve metin */
  --color-bg: #ffffff;           /* beyaz */
  --color-bg-alt: #fff6f7;       /* dönüşümlü bölümler için çok açık kırmızı */
  --color-surface: #ffffff;
  --color-text: #1f1b1c;
  --color-muted: #5a5254;
  --color-border: #eadfe1;
  --color-dark: #241a1c;         /* alt bilgi zemini */
  --color-focus: #1a73e8;

  /* Tipografi */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-h1: clamp(1.75rem, 1.2rem + 2.6vw, 2.75rem);
  --fs-h2: clamp(1.45rem, 1.15rem + 1.4vw, 2rem);
  --fs-h3: 1.2rem;

  /* Ölçüler */
  --radius: 14px;
  --radius-sm: 10px;
  --tap: 48px;                   /* en küçük dokunma yüksekliği */
  --container: 1120px;
  --gutter: 16px;
  --header-h: 64px;
  --shadow: 0 6px 20px rgba(80, 10, 20, 0.07);
}

/* ---------- Temel ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-brand); text-underline-offset: 3px; }
a:hover { color: var(--color-brand-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 100;
  background: var(--color-text);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 8px; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap);
  padding: 10px 18px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-call { background: var(--color-brand); color: #fff; border-color: var(--color-brand-dark); }
.btn-call:hover { background: var(--color-brand-dark); color: #fff; }

.btn-wa { background: var(--color-whatsapp); color: #fff; }
.btn-wa:hover { background: var(--color-whatsapp-dark); color: #fff; }

.btn-outline { background: transparent; color: var(--color-brand); border-color: var(--color-brand); }
.btn-outline:hover { background: var(--color-brand-soft); }

.btn-primary { background: var(--color-brand); color: #fff; }
.btn-primary:hover { background: var(--color-brand-dark); color: #fff; }

.btn-lg { min-height: 56px; padding: 12px 24px; font-size: var(--fs-lg); }
.btn-block { width: 100%; }

/* ---------- Üst bar (her zaman görünür) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--color-border);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--color-text);
  text-decoration: none;
}
.brand img { height: 44px; width: auto; flex: none; }
@media (min-width: 600px) { .brand img { height: 42px; } }
@media (min-width: 1100px) { .brand img { height: 48px; } }
.brand-name {
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-muted);
}
.header-actions {
  display: flex;
  gap: 8px;
  flex: none;
}
.header-actions .btn { padding: 8px 14px; font-size: 0.95rem; }

.main-nav { display: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { background: var(--color-brand-soft); color: var(--color-brand-dark); }

/* Çok dar ekranlarda marka yazısını gizle, simge ve iki düğme kalsın */
@media (max-width: 379px) {
  .brand-name { display: none; }
  .header-actions .btn { padding: 8px 12px; }
}
@media (max-width: 339px) {
  .header-actions .btn svg { display: none; }
}

@media (min-width: 900px) {
  .main-nav { display: block; }
  .header-actions .btn { padding: 10px 18px; font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 100% 0, rgba(200, 16, 46, 0.10), transparent 55%),
    linear-gradient(180deg, var(--color-bg-alt), var(--color-bg));
  border-top: 4px solid var(--color-brand);
  padding: 24px 0 28px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-border);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-brand-dark);
}
.hero-badges .badge-247 { background: var(--color-brand); border-color: var(--color-brand); color: #fff; }
.hero-badges svg { width: 16px; height: 16px; }
.hero p.lead {
  font-size: var(--fs-lg);
  color: var(--color-muted);
  max-width: 46rem;
}
.hero-actions {
  display: grid;
  gap: 10px;
  margin: 18px 0 14px;
}
.hero-actions .btn-call { font-size: 1.2rem; }
.hero-actions .btn-call .num { font-weight: 800; }
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-border);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  color: var(--color-text);
}
.quick-links a:hover { border-color: var(--color-brand); color: var(--color-brand-dark); }

@media (min-width: 600px) {
  .hero-actions { grid-template-columns: auto auto; justify-content: start; }
}
@media (min-width: 900px) {
  .hero { padding: 40px 0 44px; }
  .quick-links { display: none; } /* masaüstünde üst menü var */
}

/* ---------- Bölümler ---------- */
.section { padding: 44px 0; }
.section-alt { background: var(--color-bg-alt); border-block: 1px solid var(--color-border); }
.section-intro { color: var(--color-muted); max-width: 44rem; margin-bottom: 24px; }

/* Hizmet kartları */
.services {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .services { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.service-card { display: flex; flex-direction: column; }
.service-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--color-brand-soft);
  color: var(--color-brand);
  margin-bottom: 12px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card ul {
  margin: 0 0 16px;
  padding-left: 1.1em;
  color: var(--color-muted);
  font-size: var(--fs-sm);
}
.service-card ul li { margin-bottom: 4px; }
.service-card .card-link {
  margin-top: auto;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Rezervasyon notu */
.reserve-note {
  display: grid;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
  padding: 20px;
  border: 2px solid var(--color-brand);
  border-radius: var(--radius);
  background: var(--color-brand-soft);
}
.reserve-note h3 { color: var(--color-brand-dark); margin-bottom: 6px; }
.reserve-note p { margin: 0; color: var(--color-text); }
.reserve-actions { display: grid; gap: 10px; }
.reserve-actions .btn { white-space: normal; text-align: center; }
@media (min-width: 640px) { .reserve-actions { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) {
  .reserve-note { grid-template-columns: 1fr auto; padding: 24px 28px; }
}

/* Güzergâhlar */
.routes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.routes li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-weight: 600;
  font-size: var(--fs-sm);
}
.routes li::before { content: "•"; color: var(--color-brand); margin-right: 8px; }

/* Adımlar */
.steps {
  display: grid;
  gap: 14px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 18px 18px 18px 64px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px; top: 18px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  font-weight: 800;
}
.steps strong { display: block; margin-bottom: 2px; }
.steps p { margin: 0; color: var(--color-muted); font-size: var(--fs-sm); }

/* Fiyat bandı */
.cta-band {
  display: grid;
  gap: 16px;
  align-items: center;
  background: var(--color-brand);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #ffe4e8; }
.cta-band .btn { background: #fff; color: var(--color-brand-dark); }
.cta-band .btn:hover { background: var(--color-brand-soft); color: var(--color-brand-dark); }
.cta-clock {
  width: 84px; height: 84px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 3px solid #fff;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
@media (min-width: 760px) { .cta-band { grid-template-columns: auto 1fr auto; gap: 24px; padding: 32px; } }

/* Galeri */
.gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
}
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--color-brand-soft);
}
.gallery figcaption {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 6px;
}

/* SSS */
.faq { display: grid; gap: 10px; max-width: 52rem; }
.faq details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--tap);
  padding: 12px 16px;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--color-brand);
}
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 16px 14px; color: var(--color-muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* İletişim */
.contact-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 760px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-list { list-style: none; margin: 0 0 16px; padding: 0; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.contact-list svg { width: 22px; height: 22px; flex: none; color: var(--color-brand); margin-top: 3px; }
.contact-list strong { display: block; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: var(--fs-lg); }
.contact-actions { display: grid; gap: 10px; }
@media (min-width: 480px) { .contact-actions { grid-template-columns: 1fr 1fr; } }

/* Alt bilgi */
.site-footer {
  background: var(--color-dark);
  border-top: 4px solid var(--color-brand);
  color: #dcd2d4;
  padding: 32px 0 28px;
  font-size: var(--fs-sm);
}
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 4px; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .site-header, .hero-actions, .site-footer { display: none; }
}
