/* Chefim AI — sitenin ortak stili (uygulamadaki "sticker" tasarımı) */
:root {
  --ink: #1f1a17;
  --ink-soft: #4a3b2e;
  --paper: #fffdf5;
  --butter: #ffd23f;
  --sticky: #fff1a8;
  --tomato: #d93a2f;
  --tomato-dark: #b5281e;
  --herb: #8fcb5b;
  --herb-dark: #2f6b1f;
  --peach: #ff8a7a;
  --sky: #b9ddf0;
  --grid: rgba(217, 58, 47, 0.22);
  --tape: rgba(255, 253, 245, 0.75);
  --shadow: 4px 5px 0 var(--ink);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: 'Baloo 2', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.55;
  background-color: var(--butter);
  background-image:
    linear-gradient(var(--grid) 1.5px, transparent 1.5px),
    linear-gradient(90deg, var(--grid) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-font-smoothing: antialiased;
  /* Baloo "fi" harflerini birleştirip i'nin noktasını siliyor (Chefim → Chefım); Türkçede anlam bozuluyor */
  font-variant-ligatures: no-common-ligatures;
  font-feature-settings: 'liga' 0, 'clig' 0;
}

a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--tomato-dark); }
:focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; border-radius: 6px; }

.hand { font-family: 'Patrick Hand', 'Comic Sans MS', cursive; }

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

/* ---------- üst çubuk ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0;
}
.logo { display: inline-flex; align-items: flex-start; gap: 4px; text-decoration: none; }
.logo b { font-size: 34px; font-weight: 800; line-height: 1.1; }
.ai {
  display: inline-block; margin-top: 4px; padding: 0 7px;
  background: var(--tomato); color: var(--paper);
  border: 3px solid var(--ink); border-radius: 9px; box-shadow: 2px 2px 0 var(--ink);
  font-size: 16px; font-weight: 800; transform: rotate(-9deg);
}
.top nav { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 700; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; }

/* ---------- sticker kartlar ---------- */
.sticker {
  position: relative;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.tape {
  position: absolute; top: -12px; width: 76px; height: 22px;
  background: var(--tape); border: 1.5px dashed rgba(31, 26, 23, 0.35);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 24px;
  background: var(--tomato); color: var(--paper);
  border: 3px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow);
  font: inherit; font-size: 20px; font-weight: 800; text-decoration: none;
  transition: transform 0.08s, box-shadow 0.08s;
}
.btn:hover { color: var(--paper); transform: translate(2px, 2px); box-shadow: 2px 3px 0 var(--ink); }
.btn.light { background: var(--paper); color: var(--ink); }
.btn.light:hover { color: var(--ink); }

.pill {
  display: inline-block; padding: 0 12px;
  background: var(--ink); color: var(--sticky);
  border-radius: 10px; font-family: 'Patrick Hand', cursive; font-size: 18px;
}

/* ---------- ana sayfa ---------- */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
  padding: 36px 0 64px;
}
.hero h1 { margin: 12px 0 14px; font-size: clamp(42px, 6vw, 68px); line-height: 1.02; font-weight: 800; }
.hero h1 span { color: var(--tomato); display: block; }
.hero p.lead { margin: 0 0 26px; font-size: 21px; max-width: 34ch; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.soon { font-size: 17px; color: var(--ink-soft); }

.chef-card {
  justify-self: center; width: min(360px, 100%); aspect-ratio: 1 / 1.08;
  background: var(--herb); border-radius: 28px; transform: rotate(-3deg);
  display: flex; align-items: flex-end; justify-content: center; overflow: visible;
}
.chef-card img { width: 78%; height: auto; display: block; margin-bottom: -2px; }
.chef-card .tape { left: 40%; transform: rotate(-5deg); }
.bubble {
  position: absolute; right: -18px; bottom: 28px; width: 170px; padding: 10px 12px;
  background: var(--sticky); border: 3px solid var(--ink); border-radius: 8px;
  box-shadow: 3px 4px 0 var(--ink); transform: rotate(7deg);
  font-family: 'Patrick Hand', cursive; font-size: 19px; line-height: 1.2;
}

section { padding: 30px 0 56px; }
section h2 { margin: 0 0 22px; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; font-weight: 800; }
section h2 small { display: block; margin-top: 4px; font-family: 'Patrick Hand', cursive; font-weight: 400; font-size: 21px; color: var(--ink-soft); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { padding: 26px 22px 22px; }
.step:nth-child(1) { transform: rotate(-1.2deg); }
.step:nth-child(2) { transform: rotate(0.8deg); background: var(--sticky); border-radius: 8px; }
.step:nth-child(3) { transform: rotate(-0.6deg); }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 10px;
  background: var(--tomato); color: var(--paper); border: 3px solid var(--ink); border-radius: 50%;
  font-size: 28px; font-weight: 800; transform: rotate(-6deg);
}
.step h3, .feature h3 { margin: 0 0 6px; font-size: 24px; line-height: 1.15; font-weight: 800; }
.step p, .feature p { margin: 0; color: var(--ink-soft); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 20px 20px 18px; }
.feature .ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: 10px;
  border: 2.5px solid var(--ink); border-radius: 14px; background: var(--butter);
}
.feature.green { background: var(--herb); }
.feature.green p { color: var(--ink); }
.feature.sky { background: var(--sky); }
.feature.sky p { color: var(--ink); }

.faq { display: grid; gap: 14px; max-width: 820px; }
.faq details { padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 12px 0; font-size: 21px; font-weight: 800; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 16px; color: var(--ink-soft); }

.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px; background: var(--sticky); border-radius: 10px; transform: rotate(-0.6deg); }
.contact h2 { margin: 0; }
.contact .hand { font-size: 20px; margin: 4px 0 0; }

/* ---------- yasal sayfalar ---------- */
.doc { padding: 28px clamp(20px, 4vw, 48px) 36px; margin: 10px 0 48px; }
.doc h1 { margin: 6px 0 4px; font-size: clamp(34px, 5vw, 48px); line-height: 1.1; font-weight: 800; }
.doc .meta { margin: 0 0 22px; font-family: 'Patrick Hand', cursive; font-size: 19px; color: var(--ink-soft); }
.doc h2 { margin: 30px 0 8px; font-size: 25px; line-height: 1.2; font-weight: 800; }
.doc h3 { margin: 18px 0 4px; font-size: 20px; font-weight: 800; }
.doc p, .doc li { color: var(--ink); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0 6px; font-size: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 9px 10px; border: 2px solid var(--ink); }
.doc th { background: var(--sticky); }
.note { padding: 14px 16px; background: var(--sticky); border: 2.5px solid var(--ink); border-radius: 10px; }
.note.warn { background: #ffd9d3; }
.table-scroll { overflow-x: auto; }

/* ---------- alt bilgi ---------- */
footer { padding: 26px 0 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 18px; font-weight: 700; }
footer small { color: var(--ink-soft); font-size: 16px; }

/* ---------- telefon ---------- */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 14px; }
  .chef-card { width: min(300px, 82%); }
  .bubble { right: -6px; width: 150px; font-size: 17px; }
  .steps, .features { grid-template-columns: 1fr; }
  .top nav { display: none; }
}
