/* ============ Rızık Sofrası ============ */
:root {
  --cream: #f8f1e6;
  --cream-2: #efe6d6;
  --paper: #fffdf9;
  --green: #0f3b2c;
  --green-2: #1d5a44;
  --orange: #e85a1a;
  --orange-dark: #c9480e;
  --orange-soft: #fde7da;
  --ink: #2b2b28;
  --muted: #6b665c;
  --line: #e3d9c6;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(60, 40, 10, .25);
  --font-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Hafif kağıt dokusu */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Kaydırınca beliren içerik */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.step-list .reveal:nth-child(2) { transition-delay: .08s; }
.step-list .reveal:nth-child(3) { transition-delay: .16s; }

img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; color: var(--green); margin: 0; line-height: 1.12; }
p { margin: 0; }
a { color: var(--orange-dark); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

@media (min-width: 768px) { :root { --gutter: 28px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px;
  border-radius: 12px; border: 2px solid transparent;
  font: 600 1rem/1 var(--font-sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--green-2); outline-offset: 2px;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 16px -6px rgba(232, 90, 26, .6); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(232, 90, 26, .7); }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn-ghost:hover { background: var(--green); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange-dark);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.badge {
  display: inline-block; background: var(--orange); color: #fff;
  font-weight: 700; font-size: .8rem; letter-spacing: .04em;
  padding: 6px 14px; border-radius: 999px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 241, 230, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s, background-color .2s;
}
.site-header.is-scrolled { background: rgba(255, 253, 249, .95); box-shadow: 0 8px 24px -16px rgba(60, 40, 10, .45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); font-family: var(--font-serif); font-size: 1.45rem; }
.brand-mark { width: 30px; height: 30px; color: var(--orange); }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 11px; border: 0; background: transparent; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--green); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  display: none; flex-direction: column; gap: 4px;
  padding: 8px var(--gutter) 16px; background: var(--cream); border-bottom: 1px solid var(--line);
}
.site-nav.is-open { display: flex; }
.site-nav a:not(.btn) { padding: 12px 4px; color: var(--green); text-decoration: none; font-weight: 500; }
.site-nav .btn { margin-top: 6px; }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 28px; padding: 0; border: 0; background: none; }
  .site-nav .btn { margin-top: 0; }
  .site-nav a:not(.btn):hover { color: var(--orange-dark); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 36px 0 40px; overflow: hidden; }
.hero-deco {
  display: none;
  position: absolute; top: 0; right: 0; width: min(70vw, 560px); height: auto; opacity: .75; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 85% 90% at 85% 10%, #000 35%, transparent 75%);
  mask-image: radial-gradient(ellipse 85% 90% at 85% 10%, #000 35%, transparent 75%);
}
.hero-inner { position: relative; display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 7.5vw, 3.9rem); margin: 12px 0 16px; letter-spacing: -.01em; }
.hero h1 em {
  font-style: normal; color: var(--orange);
  background: linear-gradient(transparent 80%, rgba(232, 90, 26, .16) 80%);
}
.hero .lead { color: var(--muted); font-size: 1.06rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-actions .btn { flex: 1 1 160px; }

.hero-visual { position: relative; height: 240px; margin: 0 6px; }
.hero-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px;
  background: rgba(255, 253, 249, .96); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; box-shadow: var(--shadow); font-size: .85rem; font-weight: 600; color: var(--green);
}
.chip-menus { flex-direction: column; align-items: flex-start; gap: 0; left: -6px; bottom: 6px; }
.chip-menus strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.35rem; line-height: 1.1; color: var(--orange); }
.chip-menus span { font-size: .78rem; color: var(--muted); font-weight: 500; }
.chip-fresh { right: -6px; top: -10px; }
.chip-fresh svg { width: 18px; height: 18px; color: var(--orange); }
.hv { position: absolute; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); border: 4px solid var(--paper); }
.hv-1 { width: 62%; height: 72%; left: 0; top: 0; }
.hv-2 { width: 46%; height: 58%; right: 0; top: 8%; }
.hv-3 { width: 48%; height: 52%; left: 30%; bottom: 0; }

@media (min-width: 900px) {
  .hero { padding: 64px 0 56px; }
  .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .hero-actions .btn { flex: 0 0 auto; }
  .hero-deco { display: block; }
  .hero-visual { height: 440px; }
  .hero-chip { padding: 12px 16px; }
  .chip-menus { left: -24px; bottom: 40px; }
  .chip-menus strong { font-size: 1.6rem; }
  .chip-fresh { right: 10px; top: auto; bottom: -6px; }
}

/* ---------- Güven bandı ---------- */
.trust { background: var(--paper); border-top: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding-block: 8px; }
.trust-list li { display: flex; align-items: center; gap: 12px; padding: 14px 4px; }
.trust-list strong { display: block; font-size: .9rem; color: var(--green); line-height: 1.25; }
.trust-list span { font-size: .78rem; color: var(--muted); }
.trust-icon {
  flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange-dark);
}
.trust-icon svg, .step-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-list div span { display: none; }
@media (min-width: 900px) {
  .trust-list { grid-template-columns: repeat(4, 1fr); padding-block: 18px; }
  .trust-list li { padding: 8px 20px; }
  .trust-list li + li { border-left: 1px solid var(--line); }
  .trust-list strong { font-size: .98rem; }
  .trust-list div span { display: block; }
  .trust-icon { width: 48px; height: 48px; }
}

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-head { max-width: 640px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(1.8rem, 5.5vw, 2.6rem); margin: 6px 0 10px; }
.section-head p { color: var(--muted); }
@media (min-width: 900px) { .section { padding: 80px 0; } .section-head { margin-bottom: 36px; } }

/* ---------- Menüler (alt alta) ---------- */
.menus { background: var(--paper); border-block: 1px solid var(--line); }
.menu-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 768px) { .menu-list { gap: 32px; } }

.menu-panel {
  background: var(--cream); border: 1px solid var(--line); border-radius: 22px;
  padding: 20px var(--gutter) 20px; scroll-margin-top: 80px;
  position: relative; overflow: hidden; isolation: isolate;
  background-image: radial-gradient(circle at 100% 0%, rgba(232, 90, 26, .07), transparent 45%);
}
.panel-num {
  position: absolute; z-index: -1; top: -18px; right: 10px;
  font-family: var(--font-serif); font-size: 7.5rem; line-height: 1; color: rgba(15, 59, 44, .06);
  pointer-events: none; user-select: none;
}
@media (min-width: 768px) { .panel-num { font-size: 12rem; top: -34px; right: 24px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.panel-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; }
.panel-head h3 { font-size: clamp(1.6rem, 5.5vw, 2.4rem); margin: 10px 0 6px; }
.panel-head p { color: var(--muted); }
.panel-summary { margin-top: 10px !important; font-size: .92rem; color: var(--ink) !important; }
.panel-summary strong { color: var(--green); }
.panel-cta-top { display: none; }
.panel-cta-bottom { margin-top: 18px; }

@media (min-width: 768px) {
  .menu-panel { padding: 32px; }
  .panel-head { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
  .panel-cta-top { display: inline-flex; flex: 0 0 auto; }
  .panel-cta-bottom { display: none; }
}

/* ---------- Dish carousel (mobile) / grid (desktop) ---------- */
.dish-scroller { margin: 0 calc(var(--gutter) * -1); }
.dish-track {
  list-style: none; margin: 0; padding: 4px var(--gutter) 6px;
  display: flex; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.dish-track::-webkit-scrollbar { display: none; }

.dish {
  flex: 0 0 74%; scroll-snap-align: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 6px 18px -14px rgba(60, 40, 10, .5);
  transition: transform .25s ease, box-shadow .25s ease;
}
@media (hover: hover) {
  .dish:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(60, 40, 10, .55); }
}
.dish-img { aspect-ratio: 16 / 11; background: var(--cream-2); overflow: hidden; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.dish:hover .dish-img img { transform: scale(1.04); }
.dish-body { padding: 12px 14px 16px; }
.dish-cat {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--orange-dark); background: var(--orange-soft); padding: 3px 9px; border-radius: 999px;
}
.dish h4 { font-size: 1.3rem; margin-top: 8px; position: relative; padding-bottom: 10px; }
.dish h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--orange); }

.swipe-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gutter) 0; }
.swipe-hint { font-size: .82rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.swipe-hint::before { content: "⇆"; font-size: 1.05rem; color: var(--orange); }
.dots { display: inline-flex; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--line); transition: width .2s, background-color .2s; }
.dot.is-active { width: 22px; background: var(--orange); }

@media (min-width: 560px) { .dish { flex-basis: 44%; } }

@media (min-width: 900px) {
  .dish-scroller { margin: 0; }
  .dish-track {
    display: grid; grid-template-columns: repeat(var(--count), minmax(0, 1fr)); gap: 16px;
    overflow: visible; padding: 0;
  }
  .swipe-meta { display: none; }
}

/* ---------- Steps ---------- */
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step-list li { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 22px; }
.step-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--green); color: #fff; margin-bottom: 16px;
}
.step-icon svg { width: 26px; height: 26px; }
.step-no {
  position: absolute; top: 18px; right: 20px;
  font-family: var(--font-serif); font-size: 2.6rem; line-height: 1; color: var(--orange); opacity: .25;
}
.step-list h3 { font-size: 1.4rem; margin-bottom: 6px; }
.step-list p { color: var(--muted); }
@media (min-width: 768px) { .step-list { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- Quote form ---------- */
.quote { background: var(--green); color: #e9efe9; }
.quote h2 { color: #fff; font-size: clamp(1.8rem, 5.5vw, 2.6rem); margin: 6px 0 10px; }
.quote .eyebrow { color: #ffb48a; }
.quote-inner { display: grid; gap: 24px; }
.quote-intro p { color: #c8d6cd; }
.quote-contact { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.quote-contact li { display: flex; flex-direction: column; gap: 2px; }
.quote-contact span { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffb48a; }
.quote-contact a { color: #fff; text-decoration: none; font-weight: 500; }
.quote-contact a:hover { text-decoration: underline; }

.quote-form {
  display: grid; gap: 14px; background: var(--paper); color: var(--ink);
  border-radius: 22px; padding: 22px var(--gutter);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--green); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 1rem var(--font-sans); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230f3b2c' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px var(--orange-soft); }
.field-error { font-size: .85rem; color: #b42318; }
.field-error:empty { display: none; }
.input-validation-error { border-color: #b42318 !important; }

/* Spam tuzağı: ekran dışında, ekran okuyuculardan da gizli */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-alert ul { margin: 0; padding: 0; list-style: none; }
.form-alert.validation-summary-errors {
  background: #fdecea; color: #8a1c12; border: 1px solid #f5c2bc; border-radius: 12px; padding: 12px 14px; font-size: .92rem;
}
.form-alert.validation-summary-valid { display: none; }

.quote-blocked h3 { font-size: 1.5rem; }
.quote-blocked p { color: var(--muted); }
.blocked-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.blocked-actions .btn { flex: 1 1 200px; }
.field-full { grid-column: 1 / -1; }

.alert-success {
  background: #e6f4ea; color: #14532d; border: 1px solid #a7d8b5; border-radius: 14px; padding: 14px 16px;
}

@media (min-width: 768px) {
  .quote-form { grid-template-columns: 1fr 1fr; padding: 32px; gap: 18px; }
}
@media (min-width: 1000px) {
  .quote-inner { grid-template-columns: .8fr 1.2fr; align-items: start; gap: 48px; }
  .quote-inner .alert-success { grid-column: 2; }
  .quote-form { grid-column: 2; }
  .quote-intro { grid-row: 1 / span 2; position: sticky; top: 100px; }
}

/* ---------- Footer ---------- */
.site-footer { background: #0b2b20; color: #b9c8bf; padding: 40px 0 20px; font-size: .95rem; }
.footer-inner { display: grid; gap: 22px; }
.brand-footer { color: #fff; margin-bottom: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-nav a { color: #e9efe9; text-decoration: none; }
.footer-nav a:hover { color: #ffb48a; }
.footer-credit { display: block; margin-top: 4px; font-size: .75rem; opacity: .6; }
.footer-credit a { color: inherit; }
.footer-copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-contact { font-style: normal; display: flex; flex-direction: column; gap: 6px; }
.footer-contact a { color: #e9efe9; text-decoration: none; }
.footer-contact a:hover { color: #ffb48a; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1fr 1.2fr auto; align-items: start; gap: 40px; } }

/* ---------- Sabit iletişim butonları ---------- */
/* Mobil: ekranın altında 3 eşit butonlu çubuk */
.quick-contact {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--paper); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px -10px rgba(60, 40, 10, .35);
  padding-bottom: env(safe-area-inset-bottom);
}
.qc {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 60px; text-decoration: none; font-size: .78rem; font-weight: 600; color: var(--green);
}
.qc svg { width: 24px; height: 24px; }
.qc-wa svg { color: #25d366; }
.qc-tel svg { color: var(--orange); }
.qc-mail svg { color: var(--green-2); }
.qc + .qc { border-left: 1px solid var(--line); }
.qc:focus-visible { outline: 3px solid var(--green-2); outline-offset: -3px; }
body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }

/* Masaüstü: sağ altta yuvarlak ikonlar, üzerine gelince etiket açılır */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .quick-contact {
    left: auto; right: 24px; bottom: 24px;
    display: flex; flex-direction: column; gap: 12px;
    background: none; border: 0; box-shadow: none; padding: 0;
  }
  .qc + .qc { border-left: 0; }
  .qc {
    position: relative; width: 56px; height: 56px; min-height: 0; border-radius: 50%;
    color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 8px 20px -6px rgba(0, 0, 0, .35);
    transition: transform .15s;
  }
  .qc:hover { transform: scale(1.08); }
  .qc svg { width: 26px; height: 26px; color: #fff !important; }
  .qc-wa { background: #25d366; }
  .qc-tel { background: var(--orange); }
  .qc-mail { background: var(--green); }
  .qc:focus-visible { outline-offset: 3px; }
  .qc span {
    position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
    white-space: nowrap; background: var(--green); color: #fff; font-size: .85rem;
    padding: 6px 12px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .15s;
  }
  .qc:hover span, .qc:focus-visible span { opacity: 1; }
}

/* ---------- Simple pages (Gizlilik, Hata) ---------- */
main > h1, main > h2, main > p, main > div:not([class]) { max-width: 1200px; margin-left: auto; margin-right: auto; padding: 0 var(--gutter); }
main > h1:first-child { padding-top: 40px; margin-bottom: 12px; }
