/* EKVDrive web sitesi — ortak stil. Renkler uygulama ikonundan (sarı zemin + lacivert). */
:root {
  --bg: #f6f5f0;
  --surface: #ffffff;
  --fg: #1d1c18;
  --muted: #5d5a50;
  --line: #dedbd0;
  --taxi: #f7c025;
  --navy: #2b3a62;
  --navy-ink: #ffffff;
  --link: #1f4fa3;
  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15161b;
    --surface: #20222b;
    --fg: #f1efe6;
    --muted: #b3ae9e;
    --line: #353845;
    --link: #8fb2f0;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--link); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }

/* Dil seçimi: html[data-lang] olmayan dildeki öğeler gizlenir. */
html[data-lang="tr"] [data-l="en"],
html[data-lang="en"] [data-l="tr"] { display: none !important; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 760px; }

.checker {
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--navy) 0 10px, var(--taxi) 10px 20px);
}

/* Üst çubuk */
.topbar { background: var(--taxi); color: var(--navy); }
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 12px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: .02em;
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.topnav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.topnav a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 8px;
}
.topnav a:hover { background: rgba(255, 255, 255, .45); }
.langswitch {
  display: inline-flex;
  background: rgba(255, 255, 255, .55);
  border-radius: 999px;
  padding: 3px;
}
.langswitch button {
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  border: 0;
  background: transparent;
  color: var(--navy);
  padding: 3px 11px;
  border-radius: 999px;
  cursor: pointer;
}
.langswitch button[aria-pressed="true"] { background: var(--navy); color: var(--navy-ink); }

/* Başlık bandı (alt sayfalar) */
.band { background: var(--taxi); color: var(--navy); }
.band .wrap { padding-block: 8px 28px; }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 15px;
}
h1, h2, h3 { line-height: 1.15; }
h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 7vw, 56px);
  margin: 4px 0 6px;
  text-wrap: balance;
}
h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 38px);
  margin: 0 0 14px;
}
h3 { font-size: 20px; margin: 0 0 6px; }

/* Ana sayfa hero */
.hero { background: var(--taxi); color: var(--navy); }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  padding-block: 28px 48px;
}
.hero p.lead { font-size: 20px; max-width: 34ch; margin: 0 0 22px; }
.hero-logo { width: min(320px, 100%); height: auto; aspect-ratio: 1; justify-self: center; border-radius: 22%; box-shadow: 0 18px 40px rgba(43, 58, 98, .25); }
@media (max-width: 720px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 20px; padding-block: 16px 36px; }
  .hero-logo { width: 120px; grid-row: 1; justify-self: start; }
}

/* Mağaza düğmeleri */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 18px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--navy-ink);
  text-decoration: none;
  line-height: 1.15;
}
.store svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.store small { display: block; font-size: 12px; opacity: .85; }
.store b { font-size: 19px; }
.store.soon { background: transparent; color: var(--navy); border: 2px dashed var(--navy); cursor: default; }

/* Bölümler */
section.block { padding-block: 44px; }
section.block + section.block { border-top: 1px solid var(--line); }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 16px;
  min-width: 0;
}
.card p { margin: 0; color: var(--muted); }
.step {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--taxi);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 10px;
}
ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
ul.ticks li { padding-left: 30px; position: relative; }
ul.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .5em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--taxi);
  border-bottom: 3px solid var(--taxi);
  transform: rotate(-45deg);
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { .split { grid-template-columns: 1fr; } }
.muted { color: var(--muted); }

/* Metin sayfaları (destek, gizlilik) */
main.doc .wrap { padding-block: 28px 56px; }
.doc section { margin-bottom: 22px; }
.doc p, .doc ul { margin: 0 0 8px; max-width: 70ch; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 4px; }
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
summary { font-weight: 700; font-size: 18px; cursor: pointer; }
details p { margin: 8px 0 0; max-width: 68ch; }
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 14px; }
.contact .card .k {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 700;
}
.email {
  font-family: ui-monospace, Consolas, monospace;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* QR yönlendirme sayfası */
.qr-page { min-height: 100vh; display: flex; flex-direction: column; }
.qr-page main { flex: 1; display: grid; place-items: center; padding: 28px 0 40px; }
.qr-box { text-align: center; max-width: 460px; display: grid; justify-items: center; gap: 14px; }
.qr-box img { width: 120px; height: 120px; border-radius: 26px; }
.qr-box .stores { justify-content: center; }
.note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--muted);
  text-align: left;
}

/* Alt bilgi */
footer.site { background: var(--navy); color: #d9dcea; font-size: 15px; }
footer.site .wrap {
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
}
footer.site a { color: #ffffff; font-weight: 600; }
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; }
