/* Ding Ding Delivery — site. Oyunun "jöle" arayüzüyle aynı dil: koyu dış çizgi, krem kart, lacivert düğme, şeftali zemin. */

@font-face {
  font-family: "Baloo 2";
  src: url("fonts/Baloo2-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("fonts/Fredoka-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --peach: #f3c89b;
  --peach-deep: #e9b47f;
  --sky: #9fd3ee;
  --cream: #f4efe6;
  --ink: #2b2420;
  --ink-soft: #5b4f46;
  --navy: #2e3a55;
  --navy-hi: #43527a;
  --gold: #d9a84a;
  --line: 3px;
  --radius: 22px;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Baloo 2", "Fredoka", var(--body);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky) 0, #cfe8f2 260px, var(--peach) 620px) no-repeat, var(--peach);
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1040px, 100% - 40px); margin-inline: auto; }

/* ---------- Üst çubuk ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; border-radius: 12px; border: var(--line) solid var(--ink); }
.brand span { font-family: "Fredoka", var(--display); font-weight: 700; font-size: 22px; letter-spacing: .2px; }
.top nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a {
  font-weight: 700; text-decoration: none; color: var(--ink);
  padding: 8px 12px; border-radius: 12px; min-height: 44px; display: inline-flex; align-items: center;
}
.top nav a:hover { background: rgba(255,255,255,.45); }
.top nav a.lang {
  border: var(--line) solid var(--ink); background: var(--cream); min-width: 52px; justify-content: center;
  box-shadow: 0 3px 0 var(--ink);
}

/* ---------- Kahraman ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  padding: 28px 0 56px;
}
.hero h1 {
  font-family: "Fredoka", var(--display); font-weight: 700;
  font-size: clamp(46px, 7vw, 80px); line-height: .95; margin: 0 0 6px;
  color: var(--cream);
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  text-shadow: 0 5px 0 var(--ink);
}
.hero h1 .bell { display: inline-block; width: .55em; vertical-align: .55em; margin-left: .05em; }
.tagline {
  display: inline-block; font-family: var(--display); font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
  color: var(--cream); background: var(--navy); padding: 4px 18px; border-radius: 999px; margin: 8px 0 20px;
  border: var(--line) solid var(--ink);
}
.lead { font-size: 20px; max-width: 34ch; margin: 0 0 26px; }

.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 10px 22px; border-radius: 16px;
  background: var(--navy); color: #fff; text-decoration: none;
  border: var(--line) solid var(--ink); box-shadow: 0 5px 0 var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.1;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn::before { /* jöle parlaması */
  content: ""; position: absolute; left: 12px; right: 12px; top: 6px; height: 5px; border-radius: 4px;
  background: rgba(255,255,255,.28);
}
.btn small { display: block; font-family: var(--body); font-weight: 600; font-size: 12px; opacity: .85; }
.btn svg { width: 26px; height: 26px; flex: none; }
.btn:hover { color: #fff; background: var(--navy-hi); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn.soon { background: var(--cream); color: var(--ink-soft); cursor: default; }
.btn.soon:hover { background: var(--cream); color: var(--ink-soft); }
.btn.soon:active { transform: none; box-shadow: 0 5px 0 var(--ink); }
.btn.soon::before { background: rgba(255,255,255,.6); }
.note { font-size: 14px; color: var(--ink-soft); margin-top: 14px; }

/* Telefon çerçevesi */
.phone {
  border: 4px solid var(--ink); border-radius: 34px; overflow: hidden; background: var(--ink);
  box-shadow: 0 10px 0 rgba(43,36,32,.85);
  aspect-ratio: 9 / 16;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.hero .phones { position: relative; height: 560px; }
.hero .phones .phone { position: absolute; width: 270px; }
.hero .phones .phone:first-child { right: 150px; top: 30px; transform: rotate(-5deg); }
.hero .phones .phone:last-child  { right: 0; top: 0; transform: rotate(4deg); }

/* ---------- Kartlar ---------- */
.card {
  background: var(--cream); border: var(--line) solid var(--ink); border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--ink);
}
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-bottom: 56px; }
.feature { padding: 24px; }
.feature h2 { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.15; margin: 10px 0 6px; }
.feature p { margin: 0; color: var(--ink-soft); }
.chip {
  width: 52px; height: 52px; border-radius: 14px; border: var(--line) solid var(--ink);
  display: grid; place-items: center; background: var(--gold);
}
.chip svg { width: 28px; height: 28px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-bottom: 64px; }
.gallery figure { margin: 0; }
.gallery figcaption { text-align: center; font-weight: 700; margin-top: 14px; }

.section-title {
  font-family: var(--display); font-weight: 800; font-size: 34px; margin: 0 0 18px; text-align: center;
}

/* ---------- Metin sayfaları (gizlilik, destek) ---------- */
.doc { padding: 34px clamp(20px, 5vw, 56px) 40px; margin: 12px 0 56px; }
.doc h1 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 5vw, 44px); line-height: 1.1; margin: 0 0 6px; }
.doc h2 { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.2; margin: 34px 0 8px; }
.doc h3 { font-size: 18px; margin: 22px 0 4px; }
.doc .meta { color: var(--ink-soft); margin: 0 0 24px; }
.doc p, .doc li { max-width: 72ch; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 2px solid rgba(43,36,32,.15); }
.doc th { font-weight: 800; }
.callout {
  background: #fff8ea; border: 2px solid var(--ink); border-radius: 16px; padding: 14px 18px; margin: 18px 0;
}
.mail {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 22px;
}
.faq details { border-top: 2px solid rgba(43,36,32,.15); padding: 12px 0; }
.faq details:last-child { border-bottom: 2px solid rgba(43,36,32,.15); }
.faq summary { cursor: pointer; font-weight: 800; font-size: 18px; min-height: 32px; }
.faq details p { margin: 8px 0 0; color: var(--ink-soft); }

/* ---------- Alt bilgi ---------- */
footer { padding: 28px 0 40px; color: var(--ink-soft); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 2px solid rgba(43,36,32,.2); padding-top: 22px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-bottom: 40px; }
  .lead { margin-inline: auto; }
  .stores { justify-content: center; }
  .hero .phones { height: 440px; max-width: 380px; margin: 0 auto; width: 100%; }
  .hero .phones .phone { width: 210px; }
  .hero .phones .phone:first-child { right: auto; left: 0; }
  .features, .gallery { grid-template-columns: 1fr; }
  .gallery { max-width: 320px; margin-inline: auto; }
}
@media (max-width: 520px) {
  .brand span { display: none; }
  .hero .phones { height: 380px; }
  .hero .phones .phone { width: 180px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Dar ekranda veri tablosu: her hizmet bir blok, sütun adı hücrenin başında */
@media (max-width: 640px) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; width: 100%; }
  .doc thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .doc tr { border-bottom: 2px solid rgba(43,36,32,.15); padding: 10px 0; }
  .doc td { border: 0; padding: 4px 0; }
  .doc td[data-label]::before {
    content: attr(data-label); display: block; font-weight: 800; font-size: 13px; color: var(--ink-soft);
    text-transform: uppercase; letter-spacing: .5px;
  }
}
@media (max-width: 520px) { .mail { font-size: 18px; overflow-wrap: anywhere; } }
