/* Archivo (SIL OFL 1.1) — self-hosted, see fonts/OFL.txt */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("fonts/archivo-latin-ext-standard-normal.woff2") format("woff2-variations"), url("fonts/archivo-latin-ext-standard-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("fonts/archivo-latin-standard-normal.woff2") format("woff2-variations"), url("fonts/archivo-latin-standard-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #050607;
  --graphite: #1E2126;
  --graphite-line: #2E333A;
  --blue: #1E6BFF;          /* elektrik mavisi: buton zemini, ışık çizgisi */
  --blue-text: #7FA7FF;     /* siyah zeminde küçük metin için */
  --white: #FFFFFF;
  --muted: #A3A9B2;
  --glow: rgba(30, 107, 255, 0.55);
  --max: 1240px;
  --header-h: 68px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-text); }
:focus-visible { outline: 3px solid var(--blue-text); outline-offset: 3px; }
h1, h2, h3 { font-stretch: 125%; line-height: 1; margin: 0; letter-spacing: -0.01em; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); color: var(--black); padding: 8px 12px; z-index: 20; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(5, 6, 7, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--graphite-line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--white); }
.logo-name { font-stretch: 125%; font-weight: 800; font-size: 1.375rem; letter-spacing: 0.01em; }
.logo-sub { font-weight: 500; font-size: 0.9375rem; color: var(--muted); }
.nav ul { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--white); font-weight: 500; }
.nav a:hover { color: var(--blue-text); }
.nav .nav-call { background: var(--blue); color: var(--white); padding: 10px 16px; border-radius: 4px; font-stretch: 112%; font-weight: 700; }
.nav .nav-call:hover { color: var(--white); background: #2F78FF; }
.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 56px; padding: 10px 24px;
  border-radius: 4px; border: 1px solid transparent;
  text-decoration: none; font-weight: 700; line-height: 1.2;
}
.btn-call { background: var(--blue); color: var(--white); box-shadow: 0 0 0 0 var(--glow); transition: box-shadow 0.2s ease, background 0.2s ease; }
.btn-call:hover { background: #2F78FF; box-shadow: 0 0 24px -2px var(--glow); }
.btn-label { font-size: 1.0625rem; }
.btn-number { font-stretch: 112%; font-size: 0.9375rem; font-weight: 500; opacity: 0.92; }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { border-color: var(--white); }

/* ---------- photo note (temsili görsel) ---------- */
.photo-note {
  position: absolute; right: 12px; bottom: 12px; margin: 0;
  font-size: 0.75rem; font-weight: 500; line-height: 1;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(5, 6, 7, 0.72);
  padding: 6px 8px; border-radius: 3px;
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: flex-end;
  padding: 120px 0 88px;
}
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-img { object-fit: cover; object-position: 60% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.94) 0%, rgba(5, 6, 7, 0.72) 38%, rgba(5, 6, 7, 0.15) 72%, rgba(5, 6, 7, 0.05) 100%),
    linear-gradient(0deg, rgba(5, 6, 7, 0.9) 0%, rgba(5, 6, 7, 0) 45%);
}
.hero-inner { position: relative; }
.hero h1 {
  position: relative; overflow: hidden;
  font-weight: 800;
  font-size: clamp(3rem, 8.4vw, 8.25rem);
  line-height: 0.92;
  max-width: 9.5em;
  padding: 0.04em 0 0.08em;
  margin: 24px 0 24px;
}
/* one-time light pass over the headline */
.hero h1::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(160, 192, 255, 0.38) 50%, transparent 62%);
  transform: translateX(-110%);
  animation: sweep 1.4s cubic-bezier(0.3, 0.6, 0.2, 1) 0.9s forwards;
}
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); color: #D9DDE2; max-width: 34em; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { right: 16px; bottom: 16px; }

/* the inspection light bar */
.light-bar {
  display: block; height: 2px; width: min(420px, 70%);
  background: linear-gradient(90deg, var(--blue) 0%, #CFE0FF 55%, var(--blue) 100%);
  box-shadow: 0 0 14px 1px var(--glow), 0 0 40px 2px rgba(30, 107, 255, 0.25);
  border-radius: 2px;
  transform-origin: left center;
  animation: light-on 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both;
}
.light-bar.static { animation: none; width: 120px; }

@keyframes light-on { from { transform: scaleX(0); opacity: 0; } 30% { opacity: 1; } to { transform: scaleX(1); opacity: 1; } }
@keyframes sweep { to { transform: translateX(110%); } }

/* ---------- services ---------- */
.services { padding: 120px 0 40px; }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 64px; align-items: end; margin-bottom: 72px; }
.section-head h2 { font-weight: 800; font-size: clamp(2.5rem, 6vw, 5rem); }
.section-head p { color: var(--muted); margin: 0; max-width: 38em; }

.service {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 64px; align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--graphite-line);
}
.service.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.service.flip .service-media { order: 2; }
.service-media { position: relative; margin: 0; overflow: hidden; border-radius: 2px; background: var(--graphite); }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-media.tall { aspect-ratio: 1 / 1; }
.service-media.wide { aspect-ratio: 3 / 2; }
.service-text { max-width: 30em; }
.service-text::before {
  content: ""; display: block; width: 56px; height: 2px; margin-bottom: 28px;
  background: var(--blue); box-shadow: 0 0 12px var(--glow);
}
.service-text h3 { font-weight: 750; font-size: clamp(1.75rem, 3.2vw, 2.75rem); margin-bottom: 20px; }
.service-text p { color: #C9CED5; margin: 0 0 24px; }
.text-call { font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-call:hover { color: var(--white); }

/* ---------- booking ---------- */
.booking {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 80px; padding: 140px 0 120px;
  text-align: center;
  border-top: 1px solid var(--graphite-line);
}
.booking-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.booking::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 55%, rgba(5, 6, 7, 0.62) 0%, rgba(5, 6, 7, 0.4) 45%, rgba(5, 6, 7, 0.7) 85%); }
.booking-inner { display: flex; flex-direction: column; align-items: center; }
.booking .light-bar { margin-bottom: 32px; }
.booking h2 { font-weight: 800; font-size: clamp(2.25rem, 5vw, 4rem); margin-bottom: 16px; }
.booking p { color: #D9DDE2; margin: 0; max-width: 32em; }
.big-number {
  display: block; margin: 40px 0 32px;
  font-stretch: 125%; font-weight: 800;
  font-size: clamp(2.25rem, 7.4vw, 6.5rem); line-height: 1;
  color: var(--white); text-decoration: none; white-space: nowrap;
}
.big-number:hover { color: var(--blue-text); }
.booking .demo-line { margin-top: 24px; font-size: 0.875rem; color: var(--muted); }

/* ---------- contact ---------- */
.contact { padding: 96px 0; background: var(--graphite); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); gap: 32px 48px; align-items: start; }
.contact h2 { font-weight: 800; font-size: clamp(2.25rem, 4vw, 3.5rem); }
.contact h3 { font-stretch: 100%; font-size: 1rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.contact p, .contact address { margin: 0 0 8px; font-style: normal; }
.contact-link { color: var(--white); font-weight: 600; text-decoration-color: var(--blue); text-underline-offset: 5px; }
.contact-link:hover { color: var(--blue-text); }

/* ---------- footer ---------- */
.site-footer { padding: 40px 0; color: var(--muted); font-size: 0.875rem; border-top: 1px solid var(--graphite-line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 16px 40px; }
.footer-grid p { margin: 0; }
.footer-brand { color: var(--white); font-weight: 600; }
.footer-disclaimer { color: #D9DDE2; font-size: 0.9375rem; }

/* ---------- mobile call bar ---------- */
.call-bar { display: none; }

/* ---------- responsive ---------- */
/* wide screens: let the photo run past the right edge so the car sits right of the headline */
@media (min-width: 1100px) {
  .hero-img { width: 128%; max-width: none; right: auto; object-position: 50% 50%; }
}

@media (max-width: 960px) {
  .section-head { grid-template-columns: 1fr; margin-bottom: 40px; }
  .service, .service.flip { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .service.flip .service-media { order: 0; }
  .service-media.tall { aspect-ratio: 4 / 3; }
  .service-text { max-width: 40em; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact h2 { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 60px; }
  .nav-toggle {
    display: inline-block; font: inherit; font-weight: 600; color: var(--white);
    background: none; border: 1px solid var(--graphite-line); border-radius: 4px;
    padding: 8px 14px; min-height: 44px; cursor: pointer;
  }
  .nav nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--black); border-bottom: 1px solid var(--graphite-line); }
  .nav nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
  .nav li a { display: block; padding: 14px 0; }
  .nav .nav-call { text-align: center; margin-top: 8px; }
  .logo-name { font-size: 1.25rem; }

  .hero { padding: 96px 0 40px; min-height: calc(100svh - var(--header-h)); }
  .hero-img { object-position: 50% 40%; }
  .hero::before { background: linear-gradient(0deg, rgba(5, 6, 7, 0.96) 0%, rgba(5, 6, 7, 0.62) 38%, rgba(5, 6, 7, 0.05) 68%); }
  .hero h1 { font-size: clamp(2.5rem, 12.5vw, 3.5rem); margin: 20px 0 16px; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; align-items: center; }
  .hero-note { top: 12px; bottom: auto; right: 12px; }

  .services { padding: 80px 0 24px; }
  .service-media.tall, .service-media.wide { aspect-ratio: 4 / 3; }
  .booking { padding: 96px 0 88px; margin-top: 40px; }
  .big-number { font-stretch: 108%; font-size: clamp(1.75rem, 8.6vw, 2.75rem); margin: 28px 0 24px; }
  .contact { padding: 72px 0; }
  .contact-grid { grid-template-columns: 1fr; }

  /* sticky call bar: space is reserved so it never covers content */
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .call-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(5, 6, 7, 0.94); backdrop-filter: blur(10px);
    border-top: 1px solid var(--graphite-line);
    transform: translateY(110%); transition: transform 0.25s ease;
  }
  .call-bar.show { transform: none; }
  .call-bar .btn { width: 100%; min-height: 56px; flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .light-bar { animation: none; }
  .hero h1::after { animation: none; display: none; }
  .call-bar, .btn-call { transition: none; }
}
