/*
  Çekici Ferhat — Batman 7/24 Oto Kurtarma & Çekici
  Ultra modern, dark + emergency yellow theme.
  Notes:
  - Mobile-first
  - High contrast, strong typography
  - Smooth animations (respects prefers-reduced-motion)
*/

:root {
  /* Brand / emergency palette */
  --bg: #070a12;
  --bg2: #0b0f1a;
  --panel: rgba(17, 24, 38, 0.68);
  --panel-solid: #0f1726;
  --stroke: rgba(255, 255, 255, 0.10);
  --stroke2: rgba(255, 212, 0, 0.28);

  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --muted2: rgba(255, 255, 255, 0.58);

  --yellow: #ffd400;
  --yellow2: #ffb200;
  --danger: #ff3b30;
  --whatsapp: #25d366;

  --shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  --shadow2: 0 10px 32px rgba(0, 0, 0, 0.35);

  --radius: 18px;
  --radius2: 22px;
  --max: 1120px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease2: cubic-bezier(0.2, 1, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(1000px 700px at 20% 0%, rgba(255, 212, 0, 0.12), transparent 60%),
    radial-gradient(900px 700px at 90% 20%, rgba(255, 59, 48, 0.10), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--stroke);
  transform: translateY(-140%);
  transition: transform 220ms var(--ease);
  z-index: 9999;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid rgba(255, 212, 0, 0.55);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid rgba(255, 212, 0, 0.60);
  outline-offset: 3px;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 10, 18, 0.35);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms var(--ease);
}
.site-header.is-elevated {
  background: rgba(7, 10, 18, 0.72);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 212, 0, 0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.26), rgba(255, 178, 0, 0.10));
  border: 1px solid rgba(255, 212, 0, 0.26);
  box-shadow: 0 14px 40px rgba(255, 212, 0, 0.12);
}

.brand-text strong {
  display: block;
  letter-spacing: 0.2px;
  font-weight: 800;
}
.brand-text small {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  color: var(--muted2);
}

.nav {
  display: none;
  gap: 18px;
}
.nav-link {
  position: relative;
  font-weight: 600;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  transition: color 220ms var(--ease);
}
.nav-link:hover {
  color: rgba(255, 255, 255, 0.96);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 212, 0, 0.0), rgba(255, 212, 0, 0.75), rgba(255, 212, 0, 0.0));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms var(--ease);
}
.nav-link:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.20);
  font-weight: 700;
  font-size: 13px;
  transition: transform 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
  user-select: none;
}
.chip:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 212, 0, 0.22);
}
.chip-mini {
  padding: 7px 10px;
  font-size: 12px;
}
.chip-call {
  border-color: rgba(255, 212, 0, 0.28);
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.18), rgba(255, 178, 0, 0.06));
}
.chip-wa {
  border-color: rgba(37, 211, 102, 0.22);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.16), rgba(37, 211, 102, 0.04));
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.2px;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease),
    background 200ms var(--ease), filter 200ms var(--ease);
  box-shadow: var(--shadow2);
  overflow: hidden; /* ripple */
  user-select: none;
}
.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 212, 0, 0.22);
  background: rgba(255, 255, 255, 0.06);
}
.btn:active {
  transform: translateY(0);
  filter: brightness(0.98);
}
.btn-primary {
  border-color: rgba(255, 212, 0, 0.42);
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.95), rgba(255, 178, 0, 0.82));
  color: rgba(15, 17, 24, 0.95);
  box-shadow: 0 18px 60px rgba(255, 212, 0, 0.18);
}
.btn-primary:hover {
  border-color: rgba(255, 212, 0, 0.55);
  filter: saturate(1.06);
}
.btn-whatsapp {
  border-color: rgba(37, 211, 102, 0.35);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.30), rgba(37, 211, 102, 0.12));
}
.btn-danger {
  border-color: rgba(255, 59, 48, 0.55);
  background: linear-gradient(135deg, rgba(255, 59, 48, 0.90), rgba(255, 212, 0, 0.60));
  color: rgba(10, 12, 18, 0.95);
  box-shadow: 0 22px 80px rgba(255, 59, 48, 0.18);
}
.btn-outline {
  width: auto;
  border-color: rgba(255, 212, 0, 0.26);
  background: rgba(255, 255, 255, 0.03);
}

.btn-giant {
  padding: 18px 18px;
  font-size: 18px;
  border-radius: 18px;
}
.emergency .btn-giant {
  animation: pulseCall 1.3s var(--ease2) infinite;
}

@keyframes pulseCall {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 212, 0, 0.35), 0 0 0 0 rgba(255, 59, 48, 0.22);
    transform: translateY(0);
  }
  60% {
    box-shadow: 0 0 0 18px rgba(255, 212, 0, 0.0), 0 0 0 32px rgba(255, 59, 48, 0.0);
    transform: translateY(-1px);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 212, 0, 0.0), 0 0 0 0 rgba(255, 59, 48, 0.0);
    transform: translateY(0);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 96px 0 44px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 400px at 20% 10%, rgba(255, 212, 0, 0.16), transparent 60%),
    radial-gradient(900px 500px at 85% 30%, rgba(255, 59, 48, 0.12), transparent 60%),
    linear-gradient(135deg, rgba(255, 212, 0, 0.08), rgba(255, 255, 255, 0.0) 45%, rgba(255, 212, 0, 0.06)),
    linear-gradient(180deg, rgba(7, 10, 18, 0.0), rgba(7, 10, 18, 0.85));
}
.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0px,
    rgba(255, 255, 255, 0.06) 1px,
    rgba(255, 255, 255, 0.0) 10px,
    rgba(255, 255, 255, 0.0) 26px
  );
  opacity: 0.15;
  transform: rotate(6deg);
  animation: drift 12s linear infinite;
}
.hero-bg::after {
  opacity: 0.10;
  animation-duration: 18s;
  transform: rotate(-6deg);
}

@keyframes drift {
  0% {
    translate: -2% -2%;
  }
  100% {
    translate: 2% 2%;
  }
}

.hero-grid {
  display: grid;
  gap: 26px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 212, 0, 0.22);
  background: rgba(255, 212, 0, 0.08);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  width: fit-content;
}
.badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--whatsapp);
  box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.12);
  animation: blink 1.6s var(--ease2) infinite;
}
@keyframes blink {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.86);
    opacity: 0.75;
  }
}

h1 {
  margin: 14px 0 10px;
  font-family: "Bebas Neue", Inter, system-ui, sans-serif;
  font-size: clamp(40px, 8vw, 76px);
  line-height: 0.98;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.subtext {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 52ch;
}

.seo-lead {
  margin: -6px 0 12px;
  color: rgba(255, 255, 255, 0.80);
  max-width: 66ch;
  font-size: 14px;
}
.seo-lead strong {
  color: rgba(255, 212, 0, 0.96);
}

.hero-actions {
  display: grid;
  gap: 12px;
  margin: 18px 0 18px;
}

.hero-points {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
}
.hero-points li + li {
  margin-top: 8px;
}
.hero-points strong {
  color: rgba(255, 255, 255, 0.95);
}

/* Tow truck visual */
.hero-visual {
  display: grid;
  align-items: center;
}
.truck-card {
  padding: 14px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.truck-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(closest-side, rgba(255, 212, 0, 0.16), transparent 65%);
  transform: translate(-10%, -10%);
  filter: blur(8px);
}
.truck {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.45));
}

.truck-caption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
}
.muted {
  color: var(--muted2);
  font-size: 13px;
}

/* Truck animations */
.wheel circle,
.wheel path {
  transform-origin: center;
}
.wheel {
  animation: spin 1.1s linear infinite;
}
.wheel-3 {
  animation-duration: 1.25s;
}
.road-lines {
  animation: roadMove 1.1s linear infinite;
}
.towed-car {
  animation: bob 1.3s var(--ease2) infinite;
  transform-origin: center;
}
.siren rect:first-child {
  animation: siren 1.0s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes roadMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-180px);
  }
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
@keyframes siren {
  0%,
  100% {
    opacity: 0.65;
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255, 59, 48, 0.60));
  }
}

/* Hero bottom trust strip */
.hero-bottom {
  margin-top: 18px;
}
.trust-strip {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.trust-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
}
.ti-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 212, 0, 0.18);
  background: rgba(255, 212, 0, 0.08);
}
.trust-item strong {
  display: block;
  font-size: 14px;
}
.trust-item small {
  display: block;
  color: var(--muted2);
  font-size: 12px;
}

/* Sections */
.section {
  padding: 58px 0;
}
.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.0));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
h2 {
  margin: 0;
  font-family: "Bebas Neue", Inter, system-ui, sans-serif;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.05;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}
h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.2px;
}

.grid {
  display: grid;
  gap: 14px;
}

.card {
  position: relative;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.30);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 240ms var(--ease), border-color 240ms var(--ease), background 240ms var(--ease),
    box-shadow 240ms var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(600px 200px at 20% 0%, rgba(255, 212, 0, 0.18), transparent 55%),
    radial-gradient(400px 250px at 100% 30%, rgba(255, 59, 48, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 240ms var(--ease);
}
.card > * {
  position: relative;
  z-index: 1;
}
.card:hover,
.card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 212, 0, 0.24);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
}
.card:hover::before,
.card:focus-visible::before {
  opacity: 1;
}
.card p {
  margin: 10px 0 0;
  color: var(--muted2);
  font-size: 14px;
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  background: rgba(255, 212, 0, 0.08);
  border: 1px solid rgba(255, 212, 0, 0.18);
}
.service .icon {
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.14), rgba(255, 178, 0, 0.04));
}

/* Emergency section */
.emergency {
  padding: 42px 0 58px;
}
.emergency-box {
  display: grid;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 212, 0, 0.30);
  background: linear-gradient(135deg, rgba(255, 59, 48, 0.20), rgba(255, 212, 0, 0.12));
  box-shadow: 0 24px 90px rgba(255, 59, 48, 0.10);
  position: relative;
  overflow: hidden;
}
.emergency-box::before {
  content: "";
  position: absolute;
  inset: -80px;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 212, 0, 0.12) 0,
    rgba(255, 212, 0, 0.12) 14px,
    rgba(255, 59, 48, 0.10) 14px,
    rgba(255, 59, 48, 0.10) 28px
  );
  opacity: 0.30;
  filter: blur(0.5px);
  animation: stripes 10s linear infinite;
}
@keyframes stripes {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-220px);
  }
}
.emergency-copy,
.emergency-action {
  position: relative;
  z-index: 1;
}
.emergency-kicker {
  margin: 0 0 6px;
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}
.emergency p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
}
.mini-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

/* Location */
.location-grid {
  display: grid;
  gap: 14px;
  align-items: start;
}
.location-card,
.map-card {
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.location-card {
  padding: 16px;
}
.list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.82);
}
.list li + li {
  margin-top: 8px;
}
.location-cta {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.map-card iframe {
  display: block;
  width: 100%;
  min-height: 280px;
  border: 0;
  filter: contrast(1.05) saturate(1.05) brightness(0.9);
}

/* Floating WhatsApp */
.fab-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(37, 211, 102, 0.30);
  background: rgba(7, 10, 18, 0.65);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  transform: translateY(0);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease);
}
.fab-whatsapp:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 211, 102, 0.50);
  background: rgba(7, 10, 18, 0.78);
}
.fab-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(37, 211, 102, 0.18);
  border: 1px solid rgba(37, 211, 102, 0.22);
}
.fab-text {
  font-weight: 900;
  letter-spacing: 0.2px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 26px 0 18px;
  background: rgba(0, 0, 0, 0.18);
}
.footer-grid {
  display: grid;
  gap: 16px;
  align-items: center;
}
.footer-brand {
  margin: 0;
  font-size: 16px;
}
.footer-muted {
  margin: 6px 0 0;
  color: var(--muted2);
  font-size: 13px;
}
.footer-actions {
  display: grid;
  gap: 10px;
}
.footer-bottom {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}
.footer-bottom p {
  margin: 0;
}

/* Ripple effect (JS adds .ripple) */
.ripple {
  position: absolute;
  border-radius: 999px;
  transform: scale(0);
  opacity: 0.9;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.0) 60%);
  animation: ripple 650ms var(--ease) forwards;
}
@keyframes ripple {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

/* Responsive */
@media (min-width: 720px) {
  .nav {
    display: inline-flex;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
  .hero-actions {
    grid-template-columns: 1fr 1fr;
    width: min(560px, 100%);
  }
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .location-grid {
    grid-template-columns: 1fr 1fr;
  }
  .location-cta {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .footer-grid {
    grid-template-columns: 1fr auto;
  }
  .footer-actions {
    grid-auto-flow: column;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 112px 0 54px;
  }
  .cards-6 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
  }
  .btn {
    width: auto;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
