/* =========================================================
   Modo Görele Pide ve Kebap Salonu — Tasarım Sistemi (tek kaynak)
   Sade, kurumsal, "fine dining" kimlik. Dekoratif doku/motif/gradyan/
   gölge YOK. Marka görseli SADECE logo.png — başka yerde alev/kemer
   grafiği üretilmez.

   Renk/font değişkenleri SADECE :root içinde tanımlanır; tüm sayfalar
   buradan çeker. İçerik güncellemeleri için: data/content-data.js,
   data/menu-data.js, data/media-data.js. Görseller: assets/img/.
   ========================================================= */

/* ---------- Tasarım Token'ları ---------- */
:root {
  --color-bg: #121110;
  --color-surface: #1a1917;
  --color-border: #2a2825;

  /* Tek vurgu rengi: logodaki bronz/bakır. Sadece ince çizgiler, buton
     kenarlıkları, aktif sekme altı çizgi ve link/hover rengi için. */
  --color-accent: #e85d1c;

  --color-text: #f0ebe3;
  --color-text-muted: #8c8780;

  --font-display: "Playfair Display", serif;
  --font-body: "Work Sans", sans-serif;

  --container-width: 1180px;
  --header-height: 156px;

  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 6px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

/* Grid/flex öğeleri varsayılan olarak içeriğinin genişliğinden küçülmeyi
   reddeder (min-width:auto) — uzun kelimeli metin kutuları bu yüzden taşabilir.
   Bu, telefonlarda metin taşması/kenardan kesilme hatasının asıl sebebiydi. */
.hero-content, .hero-visual, .story-text, .owner-content, .contact-cards {
  min-width: 0;
}
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 1px solid var(--color-accent); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 96px 0; }
.section--alt { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--color-accent);
  display: inline-block;
}
.section-title { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 18px; }
.section-lede { color: var(--color-text-muted); font-size: clamp(15px, 1.4vw + 13px, 17px); max-width: 54ch; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn--primary:hover { background: var(--color-accent); color: var(--color-bg); }
.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--secondary:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: var(--color-bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-color: var(--color-border); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; }
.logo-img { height: 120px; width: auto; display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--color-text); }
.nav a.is-active { color: var(--color-accent); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--color-accent);
}

.header-actions { display: flex; align-items: center; gap: 22px; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
}
.lang-toggle button {
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 14px 10px;
  min-height: 44px;
  min-width: 36px;
}
.lang-toggle button.is-active { color: var(--color-accent); }
.lang-toggle-divider { color: var(--color-border); font-size: 15px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--color-text);
  display: block;
}
.footer-brand p { color: var(--color-text-muted); margin-top: 14px; max-width: 32ch; }
.footer-socials { display: flex; gap: 12px; margin-top: 18px; }
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-socials a:hover { color: var(--color-accent); border-color: var(--color-accent); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-info p, .footer-nav a { color: var(--color-text-muted); }
.footer-info p { margin-bottom: 8px; }
.footer-col-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
  display: block;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a:hover { color: var(--color-text); }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 22px 0 32px;
  color: var(--color-text-muted);
  font-size: 13px;
}

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-surface);
    border-bottom: 0 solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, border-bottom-width 0.3s ease;
  }
  .nav.is-open { max-height: 320px; border-bottom-width: 1px; }
  .nav a { padding: 16px 20px; border-bottom: 1px solid var(--color-border); }
  .nav a.is-active::after { display: none; }
  body.nav-open { overflow: hidden; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Ana Sayfa: Hero ---------- */
.hero { padding: 80px 0 104px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-title { font-size: clamp(32px, 4.8vw, 52px); margin: 18px 0 24px; }
.hero-lede { color: var(--color-text-muted); font-size: clamp(15px, 1.6vw + 13px, 18px); max-width: 48ch; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.hero-stats > div {
  min-width: 0;
  padding: 0 28px;
  border-left: 1px solid var(--color-border);
}
.hero-stats > div:first-child { padding-left: 0; border-left: none; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-text);
  display: block;
}
.hero-stat-label { color: var(--color-text-muted); font-size: 13px; letter-spacing: 0.02em; }

.hero-visual {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
}
.hero-visual-col { display: flex; flex-direction: column; gap: 18px; }
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.hero-visual-main { aspect-ratio: 4 / 5.2; }
.hero-visual-col img { aspect-ratio: 4 / 3; }

/* ---------- Ana Sayfa: Öne Çıkanlar (yatay kaydırmalı şerit) ---------- */
.featured-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 14px;
  margin: 0 -20px -14px;
  padding-left: 20px;
  padding-right: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}
@media (max-width: 640px) {
  .featured-grid { padding-left: 14vw; padding-right: 14vw; }
}
.featured-grid::-webkit-scrollbar { height: 6px; }
.featured-grid::-webkit-scrollbar-track { background: transparent; }
.featured-grid::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }

.featured-card {
  flex: 0 0 auto;
  width: 72vw;
  max-width: 280px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.featured-card:hover { border-color: var(--color-accent); }
.featured-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.featured-card-body { padding: 22px 24px 28px; }
.featured-card-body h3 { font-size: 18px; margin-bottom: 10px; }
.featured-card-body p { color: var(--color-text-muted); font-size: 14px; text-transform: none; }

.featured-cta { text-align: center; margin-top: 44px; }

@media (min-width: 640px) {
  .featured-card { width: 280px; }
}

/* ---------- Ana Sayfa: CTA Bandı ---------- */
.cta-band {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 3.6vw, 34px); margin-bottom: 18px; }
.cta-band p { color: var(--color-text-muted); max-width: 52ch; margin: 0 auto 36px; }
.cta-band-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto 8px; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .btn { padding: 14px 24px; font-size: 12px; }
  .hero { padding: 56px 0 72px; }
  .hero-stats > div { padding: 0 10px; }
  .hero-stats > div:first-child { padding-left: 0; }
  .hero-stat-num { font-size: 22px; }
  .hero-stat-label { font-size: 11px; }
}

@media (max-width: 600px) {
  :root { --header-height: 108px; }
  .logo-img { height: 78px; }
  .lang-toggle button { font-size: 14px; padding: 14px 8px; }
}

/* ---------- Menü Sayfası ---------- */
.menu-hero {
  padding: 56px 0 32px;
  text-align: center;
}
.menu-hero .section-head { margin: 0 auto; text-align: center; }
.menu-hero .eyebrow::before { display: none; }
.menu-hero .eyebrow { justify-content: center; }

.menu-tabs-wrap {
  position: sticky;
  top: var(--header-height);
  z-index: 60;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.menu-tabs {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 18px 20px;
  max-width: var(--container-width);
  margin: 0 auto;
  scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab {
  flex: 0 0 auto;
  padding: 12px 4px;
  min-height: 44px;
  border: none;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.menu-tab.is-active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.menu-panels-section { padding: 48px 0 96px; }
.menu-container { max-width: 760px; margin: 0 auto; padding: 0 20px; }

.menu-panel { display: none; }
.menu-panel.is-active { display: block; }

.menu-item-list { display: flex; flex-direction: column; gap: 22px; }
.menu-item { padding-bottom: 20px; border-bottom: 1px solid var(--color-border); }
.menu-item:last-child { border-bottom: none; }
.menu-item-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.menu-item-name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
}
.menu-item-price {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text);
  white-space: nowrap;
}
.menu-item-desc { color: var(--color-text-muted); font-size: 14px; margin-top: 6px; max-width: 60ch; }

.menu-item-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 2px 9px;
  margin-bottom: 8px;
}

.menu-item.has-image { display: flex; gap: 16px; align-items: flex-start; }
.menu-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}
.menu-item.has-image .menu-item-text { flex: 1; min-width: 0; }

.menu-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 13px;
  margin-top: 40px;
}

/* ---------- Hakkımızda Sayfası ---------- */
.page-hero { padding: 56px 0 24px; text-align: center; }
.page-hero .section-head { margin: 0 auto; text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::before { display: none; }

.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.story-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.story-text p { color: var(--color-text-muted); margin-bottom: 18px; font-size: 16px; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.owner-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  align-items: center;
}
.owner-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.owner-quote {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.55;
  color: var(--color-text);
  margin-bottom: 28px;
}
.owner-meta { display: flex; align-items: center; gap: 14px; }
.owner-meta-line { width: 34px; height: 1px; background: var(--color-accent); }
.owner-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: 0.01em; }
.owner-role {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-grid img { aspect-ratio: 16 / 10; }
  .owner-section { grid-template-columns: 1fr; }
  .owner-photo img { aspect-ratio: 16 / 11; }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- İletişim Sayfası ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 22px; }
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contact-card svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; color: var(--color-accent); }
.contact-card-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
  display: block;
}
.contact-card p { font-size: 16px; }
.contact-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}
.contact-hours-row + .contact-hours-row { border-top: 1px solid var(--color-border); }
.contact-hours-row span:first-child { color: var(--color-text-muted); font-size: 14px; }
.contact-hours-row span:last-child { font-family: var(--font-body); font-weight: 600; font-size: 14px; }

.contact-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

.map-embed {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.2);
}

/* ---------- WhatsApp ---------- */
/* Yüzen WhatsApp butonu bilinçli olarak site paletinin dışında —
   WhatsApp yeşili kullanıcıların anında tanıdığı bir renk, değiştirilmedi. */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  z-index: 999;
  transition: transform 0.2s ease, background 0.2s ease;
}
.whatsapp-float:hover { background: #20bd5a; transform: scale(1.05); }
.whatsapp-float svg { width: 30px; height: 30px; }

@media (max-width: 560px) {
  .whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}

.btn-icon { width: 17px; height: 17px; flex-shrink: 0; }

/* ---------- Google Değerlendirme Çağrısı (Ana Sayfa) ---------- */
.google-cta { text-align: center; }
.google-cta .eyebrow { justify-content: center; }
.google-cta .eyebrow::before { display: none; }
.google-cta .section-lede { margin: 0 auto 32px; }

.star-row {
  display: flex;
  justify-content: center;
  gap: 5px;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.star-row svg { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .map-embed { aspect-ratio: 4 / 3; }
}

/* ---------- Scroll animasyonu ---------- */
/* prefers-reduced-motion açıkken bu blok hiç uygulanmaz — içerik her zaman
   doğrudan görünür kalır, erişilebilirlik için şart. */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease-out, transform 0.45s ease-out;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Logo yükleme titreşimi (sadece Ana Sayfa) ---------- */
@media (prefers-reduced-motion: no-preference) {
  body[data-page="home"] .logo-img {
    animation: logoFlicker 0.9s ease-in-out 1;
  }
}
@keyframes logoFlicker {
  0%, 100% { opacity: 1; }
  15% { opacity: 0.72; }
  30% { opacity: 1; }
  45% { opacity: 0.8; }
  60% { opacity: 1; }
  75% { opacity: 0.88; }
}
