/* ============================================================
   KOMŞU — site.css
   Marka: krem kâğıt + şişe yeşili mürekkep + terakota vurgu
   Font: Ephesis (script, yalnız vitrin anları) + DM Sans (gövde)
   ============================================================ */

:root {
  --cream: #F8E5C6;        /* kâğıt — karakter PNG zeminiyle birebir */
  --cream-soft: #FBEFD9;   /* kart içi açık ton */
  --green: #1E4434;        /* mürekkep */
  --green-soft: #2A5947;
  --sage: #9DBCA9;         /* yeşil üstü ikincil metin */
  --terra: #C4562E;        /* vurgu — butonlar, imza */
  --terra-dark: #A34423;
  --line: #D9C39B;         /* ince cetvel çizgileri */
  --font-script: 'Ephesis', cursive;
  --font-body: 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--green);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

::selection { background: var(--terra-dark); color: var(--cream); }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible, .nav-cta:focus-visible { border-radius: 999px; }
.site-foot :focus-visible, .topstrip :focus-visible { outline-color: var(--cream); }

/* ---------- yardımcılar ---------- */

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terra-dark);
}

.script { font-family: var(--font-script); font-weight: 400; line-height: 1; }

.rule-double {
  border: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  height: 5px;
}

/* ---------- üst şerit ---------- */

.topstrip {
  background: var(--green);
  color: var(--cream);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 16px;
}
.topstrip b { color: var(--sage); font-weight: 500; }

/* ---------- nav ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 14px;
}
.nav .wordmark {
  font-family: var(--font-script);
  font-size: 44px;
  line-height: 0.8;
  text-decoration: none;
}
.nav ul { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav ul a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  display: inline-block;
  padding: 12px 4px 3px;
  transition: border-color 0.2s;
}
.nav ul a:hover { border-color: var(--terra); }
.nav .nav-cta {
  border: 1.5px solid var(--green);
  border-radius: 999px;
  padding: 12px 20px 11px;
  transition: background 0.2s, color 0.2s;
}
.nav .nav-cta:hover { background: var(--green); color: var(--cream); border-color: var(--green); }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0 40px;
}
.hero h1 {
  font-family: var(--font-script);
  font-size: clamp(64px, 9vw, 108px);
  line-height: 0.95;
  font-weight: 400;
}
.hero .hero-label { margin-bottom: 20px; }
.hero p.lead {
  margin: 26px 0 34px;
  font-size: 19px;
  max-width: 44ch;
}
.hero .btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 14px 26px;
  transition: transform 0.15s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-terra { background: var(--terra-dark); color: var(--cream); }
.btn-terra:hover { background: #8F3B1E; }
.btn-line { border: 1.5px solid var(--green); color: var(--green); }
.btn-line:hover { background: var(--green); color: var(--cream); }

.hero-figure { position: relative; text-align: center; }
.hero-figure img {
  width: min(265px, 60%);
  height: auto;
  margin: 0 auto;
  animation: stroll 5s ease-in-out infinite;
}
@keyframes stroll {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.hero-figure .ground {
  margin: 8px auto 0;
  width: 70%;
  border-top: 3px dashed var(--line);
}

/* ---------- bölüm iskeleti ---------- */

section { padding: 72px 0; }
.sec-head { max-width: 560px; margin-bottom: 44px; }
.sec-head h2 {
  font-family: var(--font-script);
  font-size: clamp(44px, 6vw, 64px);
  margin: 10px 0 16px;
}

/* ---------- mutfak kartları ---------- */

.kitchen { background: var(--cream-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 22px 22px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(30, 68, 52, 0.08); }
.card h3 { font-size: 17px; letter-spacing: 0.04em; margin-bottom: 6px; }
.card p { font-size: 14.5px; color: var(--green-soft); line-height: 1.5; }
.card .cat-script { font-family: var(--font-script); font-size: 34px; color: var(--terra); display: block; margin-bottom: 10px; }
.card-star { border: 1.5px solid var(--terra); }
.card-star .badge {
  position: absolute;
  top: -13px;
  right: 16px;
  background: var(--terra-dark);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  padding: 4px 12px 3px;
  border-radius: 999px;
}
.menu-note {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.menu-note .script { font-size: 30px; color: var(--terra); }

/* ---------- ziyaret ---------- */

.visit-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.info-list { list-style: none; }
.info-list li {
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}
.info-list .label { display: block; margin-bottom: 6px; }
.info-list a { text-decoration: none; border-bottom: 1.5px solid var(--line); transition: border-color 0.2s; }
.info-list a:hover { border-color: var(--terra); }
.map-card {
  border: 1.5px dashed var(--terra);
  border-radius: 16px;
  padding: 40px 36px;
  background: var(--cream-soft);
}
.map-card .map-script { font-size: 52px; color: var(--terra); margin: 14px 0 10px; }
.map-card .map-addr { color: var(--green-soft); margin-bottom: 26px; }

/* ---------- footer ---------- */

.site-foot {
  background: var(--green);
  color: var(--cream);
  padding: 64px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.foot-grid .wordmark { font-family: var(--font-script); font-size: 72px; line-height: 0.9; }
.foot-grid .motto { color: var(--sage); margin-top: 10px; font-size: 15px; }
.foot-grid .foot-h {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}
.foot-grid p, .foot-grid a { font-size: 15px; color: var(--cream); text-decoration: none; }
.foot-grid a { display: inline-block; padding: 8px 0; }
.foot-grid a:hover { color: var(--sage); }
.foot-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(248, 229, 198, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--sage);
}

/* ---------- görünme animasyonu ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-figure img { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   MENÜ SAYFASI (QR)
   ============================================================ */

.menu-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 36px 20px 60px;
}
.menu-head { text-align: center; margin-bottom: 8px; }
.menu-head .wordmark {
  font-family: var(--font-script);
  font-size: 84px;
  line-height: 0.9;
  text-decoration: none;
  display: inline-block;
}
.menu-head .sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--terra-dark);
  margin-top: 12px;
}
.menu-rules { margin: 26px 0 8px; }

.menu-section { padding: 26px 0 10px; }
.menu-section > h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 16px;
}
.menu-section > h2::before,
.menu-section > h2::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--line);
}
.menu-items { list-style: none; margin-top: 18px; }
.menu-items li { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; }
.menu-items li.has-photo { align-items: center; gap: 14px; }
.menu-items .thumb {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.menu-items .item-main { flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.menu-items .name { font-weight: 500; }
.menu-items .dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.menu-items .price { font-weight: 700; white-space: nowrap; }
.menu-items .desc {
  flex-basis: 100%;
  font-size: 14px;
  color: var(--green-soft);
  margin-top: -6px;
  padding-bottom: 4px;
}
.menu-items li.has-desc { flex-wrap: wrap; }

.soon {
  text-align: center;
  padding: 10px 0 6px;
}
.soon .script { font-size: 34px; color: var(--terra); }
.soon p { font-size: 13.5px; color: var(--green-soft); margin-top: 6px; }

.menu-foot {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px 60px;
  text-align: center;
  font-size: 13px;
  color: var(--green-soft);
}
.menu-foot a { text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-foot .backlink { display: inline-block; padding: 12px 16px; }

/* ---------- mobil hızlı-erişim çubuğu ---------- */

.quickbar { display: none; }

/* ---------- responsive ---------- */

@media (max-width: 820px) {
  section { padding: 52px 0; }
  .hero { grid-template-columns: 1fr; padding-top: 28px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .btns { justify-content: center; }
  .hero .btns .btn { flex: 1 1 40%; justify-content: center; }
  .hero .hero-label { margin-bottom: 14px; }
  .hero-figure { order: -1; }
  .hero-figure img { width: min(185px, 48%); }
  .nav ul { gap: 10px; }
  .nav ul .hide-m { display: none; }
  .visit-grid { grid-template-columns: 1fr; }
  .map-card { padding: 28px 20px; }
  .map-card .btns .btn { flex: 1 1 40%; justify-content: center; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }

  body { padding-bottom: 78px; }
  .quickbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 8px;
    background: var(--green);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 18px rgba(30, 68, 52, 0.18);
  }
  .quickbar a {
    text-align: center;
    text-decoration: none;
    color: var(--cream);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 12px 0;
    border-radius: 999px;
    border: 1px solid rgba(248, 229, 198, 0.4);
  }
  .quickbar a.qb-primary { background: var(--terra-dark); border-color: var(--terra-dark); }
}
