/* =====================================================================
 * Emirgan Fincan — Stil dosyası (mobil öncelikli)
 * Marka renkleri config.js içindeki "colors" alanından app.js tarafından
 * --brand-primary / --brand-accent / --brand-cream değişkenlerine yazılır.
 * Aşağıdaki değerler JavaScript çalışmazsa kullanılan varsayılanlardır.
 * ===================================================================== */

:root {
  --brand-primary: #1f2a24;
  --brand-accent: #2f6b57;
  --brand-cream: #f6f7f5;

  /* Tema belirteçleri (açık tema) */
  --bg: var(--brand-cream);
  --surface: #ffffff;
  --surface-alt: #eef0ec;
  --text: #1d2420;
  --text-muted: #5b6660;
  --heading: var(--brand-primary);
  --accent: var(--brand-accent);
  --btn-bg: var(--brand-primary);
  --btn-text: #ffffff;
  --border: rgba(31, 42, 36, 0.16);
  --error: #b3261e;
  --success: #2e6b3a;
  --focus: #1a5fb4;
  --shadow: 0 6px 24px rgba(31, 42, 36, 0.1);

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-brand: "Caveat", "Segoe Script", cursive;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: 16px;
  --radius: 14px;
  --header-h: 64px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151b18;
    --surface: #1e2622;
    --surface-alt: #26302b;
    --text: #e9ece7;
    --text-muted: #aab5ae;
    --heading: #eef0ec;
    --btn-bg: var(--brand-accent);
    --btn-text: #151b18;
    --border: rgba(233, 236, 231, 0.16);
    --error: #ff8a80;
    --success: #8bd39a;
    --focus: #8ab4f8;
    --shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  font-family: var(--font-serif);
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(1.9rem, 6vw, 2.6rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 8px;
}

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

.container.narrow {
  max-width: 640px;
}

.section {
  padding: 4rem 0;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.section-lead {
  color: var(--text-muted);
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-text);
}

.btn-primary:hover {
  background: var(--accent);
  color: #ffffff;
}

.btn-outline {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn:active {
  transform: translateY(1px);
}

.btn-block {
  width: 100%;
}

/* ---------- Üst bilgi ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--heading);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: none;
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem var(--gutter) 1rem;
}

.site-nav a {
  display: block;
  padding: 0.85rem 0.25rem;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.site-nav li:last-child a {
  border-bottom: 0;
}

.site-nav a:hover {
  color: var(--accent);
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: block;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .site-nav ul {
    display: flex;
    gap: 1.75rem;
    padding: 0;
  }

  .site-nav a {
    padding: 0.4rem 0;
    border: 0;
  }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 12% 18%, #dfe9e2 0%, transparent 55%),
    radial-gradient(circle at 88% 85%, #d3e2d8 0%, transparent 55%),
    var(--surface-alt);
  color: var(--text);
  padding: 3rem 0 3.5rem;
  text-align: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 2rem;
  align-items: center;
}

.hero-kicker {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.wordmark {
  display: block;
  width: auto;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  height: 40px;
  color: var(--heading);
}

.logo .wordmark {
  height: 40px;
  width: 150px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero-wordmark {
  margin: 0 auto 1.25rem;
  display: flex;
  justify-content: center;
  color: var(--heading);
}

.hero-wordmark .wordmark {
  width: min(400px, 78vw);
  height: auto;
}



.hero-tagline {
  max-width: 30rem;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 320px;
  margin: 1.25rem auto 0;
}

.hero-left {
  display: grid;
  justify-items: center;
  width: 100%;
}

.hero-head {
  margin-bottom: 2.5rem;
}

.hero-head .hero-actions {
  margin: 0 auto;
  justify-content: center;
}

.hero-sign {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sign {
  display: block;
  width: 100%;
  height: auto;
}



.sign-sub {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.32em;
}

.sign-bar {
  position: relative;
  background: #ffffff;
  color: #ffffff;
  clip-path: polygon(3% 0, 97% 0, 100% 25%, 100% 75%, 97% 100%, 3% 100%, 0 75%, 0 25%);
  padding: 0.7rem 0.5rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.4em;
  font-size: 1.05rem;
}

.sign-bar::before {
  content: "";
  position: absolute;
  inset: 4px;
  background: #0d0d0d;
  clip-path: polygon(3% 0, 97% 0, 100% 25%, 100% 75%, 97% 100%, 3% 100%, 0 75%, 0 25%);
}

.sign-bar span {
  position: relative;
  z-index: 1;
}

/* Fotoğraf alanı */
@media (min-width: 520px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }
}

@media (min-width: 860px) {
  .hero {
    padding: 5rem 0;
  }
}

.hero-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.slides {
  position: relative;
  aspect-ratio: 4 / 3;
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.is-active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-controls {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  background: rgba(20, 28, 24, 0.55);
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: #1f2a24;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slider-dots {
  display: flex;
  gap: 0.45rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.slider-dot[aria-current="true"] {
  background: #ffffff;
  transform: scale(1.25);
}

.slider-btn:focus-visible,
.slider-dot:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .slide {
    transition: none;
  }
}

@media (min-width: 520px) {
  .hero-actions {
    flex-direction: row;
    max-width: none;
  }
}

@media (min-width: 860px) {
  .hero {
    padding: 5rem 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }
}

/* ---------- Hakkımızda ---------- */
.about-grid {
  display: grid;
  gap: 2rem;
}

.about-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.about-facts li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-inline-start: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.about-facts strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--heading);
}

.about-facts span {
  color: var(--text-muted);
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 3fr 2fr;
    align-items: center;
    gap: 4rem;
  }
}

/* ---------- Menü ---------- */
.menu {
  background: var(--surface-alt);
}

.menu-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 0.4rem;
  padding: 0.4rem 0.4rem 0.75rem;
  margin: 1rem 0 1.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.menu-tabs::-webkit-scrollbar {
  display: none;
}

.menu-tab:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.menu-tab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: 500 0.95rem/1.2 var(--font-sans);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-tab:hover {
  border-color: var(--accent);
}

.menu-tab[aria-selected="true"] {
  background: var(--btn-bg);
  border-color: var(--btn-bg);
  color: var(--btn-text);
}

.menu-panel {
  display: grid;
  gap: 1rem;
}

.menu-item {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}

.menu-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.menu-item h3 {
  font-size: 1.1rem;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.menu-price {
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.menu-desc {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
  padding: 0;
  list-style: none;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.badge-vegan {
  background: #e3f1e3;
  border-color: #b9dbb9;
  color: #24562f;
}

.badge-allergen {
  background: #f1f3ef;
  border-color: #efcfb3;
  color: #24562f;
}

@media (prefers-color-scheme: dark) {
  .badge-vegan {
    background: #1f3523;
    border-color: #335a3a;
    color: #b8e6c0;
  }

  .badge-allergen {
    background: #1f2a24;
    border-color: #3d4a43;
    color: #b9dbc8;
  }
}

.menu-cat-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

.menu-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .menu-panel {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Galeri ---------- */
.gallery-slider {
  position: relative;
  margin-top: 1.5rem;
}

.gallery-grid {
  list-style: none;
  margin: 0;
  padding: 0 0.25rem 0.5rem;
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.gallery-item {
  flex: 0 0 78%;
  scroll-snap-align: start;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1f2a24;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.gallery-slider > .gallery-btn[data-dir="-1"] { inset-inline-start: 0.25rem; }
.gallery-slider > .gallery-btn[data-dir="1"] { inset-inline-end: 0.25rem; }

.gallery-btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

@media (min-width: 640px) {
  .gallery-item {
    flex-basis: 46%;
  }
}

@media (min-width: 860px) {
  .gallery-item {
    flex-basis: 31%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-grid {
    scroll-behavior: auto;
  }
}

/* ---------- Rezervasyon ---------- */
.reservation {
  background: var(--surface-alt);
}

.res-form {
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 1rem;
  min-width: 0;
}

.field-row {
  display: grid;
  gap: 0 1rem;
}

@media (min-width: 480px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
}

input,
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}

textarea {
  resize: vertical;
}

input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: transparent;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--error);
  border-width: 2px;
}

.field-error {
  margin: 0.3rem 0 0;
  min-height: 0;
  font-size: 0.875rem;
  color: var(--error);
}

.field-error:empty {
  display: none;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-status {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--error);
}

/* ---------- İletişim ---------- */
.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-list {
  font-style: normal;
  margin-bottom: 1.5rem;
}

.contact-list p {
  margin-bottom: 0.4rem;
  overflow-wrap: anywhere;
}

.contact-list a {
  color: var(--accent);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.hours-table th,
.hours-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.hours-table th {
  font-weight: 500;
}

.hours-table td {
  text-align: right;
  color: var(--text-muted);
}

.hours-table tr.is-today th,
.hours-table tr.is-today td {
  color: var(--accent);
  font-weight: 600;
}

.social-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.map-placeholder {
  min-height: 260px;
  border-radius: var(--radius);
  border: 2px dashed var(--border);
  background: var(--surface);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted);
}

.map-placeholder svg {
  width: min(240px, 100%);
}

.map-road { fill: none; stroke: var(--border); stroke-width: 6; }
.map-water { fill: none; stroke: #8fb3c9; stroke-width: 8; opacity: 0.6; }
.map-pin { fill: var(--accent); }
.map-pin-dot { fill: var(--surface); }

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .map-placeholder {
    min-height: 100%;
  }
}

.map-card {
  min-height: 280px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.6rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.map-card-icon {
  width: 56px;
  height: 56px;
}

.map-card-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--heading);
}

.map-card-address {
  margin: 0;
  color: var(--text-muted);
}

.map-btn {
  margin-top: 0.5rem;
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 600;
  text-decoration: none;
}

.map-btn:hover,
.map-btn:focus-visible {
  filter: brightness(1.1);
}

/* ---------- Alt bilgi ---------- */
.site-footer {
  background: #161d19;
  color: rgba(255, 255, 255, 0.8);
  padding: 2rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-inner p {
  margin: 0;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ---------- Hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ---------- Dil seçici ve Instagram (üst menü) ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  order: 2;
}

.lang-btn {
  min-height: 32px;
  padding: 0.4rem 0.65rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: 600 0.8rem/1 var(--font-sans);
  cursor: pointer;
}

.lang-btn[lang="ar"] {
  font-family: "Noto Sans Arabic", var(--font-sans);
  font-size: 0.85rem;
}

.lang-btn[aria-pressed="true"] {
  background: var(--btn-bg);
  color: var(--btn-text);
}

.lang-btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.nav-toggle {
  order: 3;
}

.nav-instagram a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  color: inherit;
}

.nav-instagram svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 860px) {
  .site-nav {
    order: 2;
  }

  .lang-switch {
    order: 3;
  }

  .nav-instagram:not([hidden]) {
    display: inline-block;
  }
}

/* ---------- Dil geçişi (akıcı) ---------- */
main,
.site-header,
.site-footer {
  transition: opacity 0.15s ease;
}

body.is-switching main {
  opacity: 0.3;
}

@media (prefers-reduced-motion: reduce) {
  main,
  .site-header,
  .site-footer {
    transition: none;
  }
}

/* ---------- Arapça (sağdan sola) ---------- */
html[lang="ar"] body,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .logo {
  font-family: "Noto Sans Arabic", var(--font-sans);
}

html[lang="ar"] .eyebrow,
html[lang="ar"] .hero-kicker,
html[lang="ar"] .site-nav a,
html[lang="ar"] .lang-btn {
  letter-spacing: normal;
  text-transform: none;
}

html[dir="rtl"] .hero-actions {
  direction: rtl;
}

html[dir="rtl"] .hours-table th {
  text-align: start;
}

html[dir="rtl"] .hours-table td {
  text-align: end;
}


/* ---------- Kaydırmaya bağlı video ---------- */
.scroll-video {
  position: relative;
  height: 220vh;
  background: #0d0d0d;
}

.scroll-video-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.scroll-video-el {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-video {
    height: auto;
  }

  .scroll-video-sticky {
    position: relative;
    height: auto;
  }

  .scroll-video-el {
    height: auto;
  }
}

/* Masaüstünde sekmeler sarılır; fare ile kaydırma gerekmez */
@media (min-width: 860px) {
  .menu-tabs {
    flex-wrap: wrap;
    overflow: visible;
    justify-content: flex-start;
    row-gap: 0.6rem;
  }
}

/* Google Haritalar bağlantısı (Instagram ile aynı boyut) */
.nav-maps a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  color: inherit;
}

.nav-maps svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  order: 1;
}

.header-social li[hidden] {
  display: none;
}

/* Telefonda ikonlar menüde; masaüstünde dil seçicinin yanında */
.header-social {
  display: none;
}

@media (min-width: 860px) {
  .header-social {
    display: flex;
  }

  .site-nav .nav-instagram,
  .site-nav .nav-maps {
    display: none;
  }
}

/* Masaüstünde sağ grup: sosyal ikonlar + harita + diller, birbirine yakın */
.header-right {
  display: contents;
}

@media (min-width: 860px) {
  .header-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    order: 3;
  }
}

/* Masaüstünde kategori sekmeleri: eşit boyutlu, düzenli ızgara */
@media (min-width: 860px) {
  .menu-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.5rem;
    overflow: visible;
    padding: 0;
    margin: 1rem 0 2rem;
  }

  .menu-tab {
    width: 100%;
    min-height: 48px;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    font-size: 0.9rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}


/* Ana kategori kartları */
.menu-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 1rem 0 0.5rem;
}

.menu-group {
  min-height: 72px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--heading);
  font: 600 1.05rem/1.25 var(--font-serif);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.menu-group:hover {
  border-color: var(--accent);
}

.menu-group.is-active {
  background: var(--btn-bg);
  border-color: var(--btn-bg);
  color: var(--btn-text);
}

.menu-group:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

@media (min-width: 860px) {
  .menu-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.site-credit {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  opacity: 0.75;
  letter-spacing: 0.02em;
}

/* Masaüstünde hero sola hizalı; altında kaydırmalı video */
@media (min-width: 860px) {
  .hero {
    text-align: left;
    padding: 3rem 0 2.5rem;
  }

  .hero-grid,
  .hero-left {
    justify-items: start;
  }

  .hero-sign {
    justify-self: start;
    max-width: 380px;
  }

  .hero-actions {
    margin: 1.25rem 0 0;
    justify-content: flex-start;
  }
}

/* Hero: kaydırmaya bağlı video arka planı, içerik solda */
.scroll-video.hero {
  height: 240vh;
  background: #0d0d0d;
}

.scroll-video.hero .scroll-video-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
}

.scroll-video.hero .scroll-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(10, 14, 12, 0.72) 0%, rgba(10, 14, 12, 0.35) 55%, rgba(10, 14, 12, 0.1) 100%);
}

.hero-overlay-inner {
  width: 100%;
  text-align: left;
}

.hero-overlay .hero-grid,
.hero-overlay .hero-left {
  justify-items: start;
}

.hero-overlay .hero-sign {
  justify-self: start;
  max-width: 340px;
}

@media (max-width: 859px) {
  .scroll-video.hero {
    height: 200vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-video.hero {
    height: 100vh;
  }
}

.scroll-video.hero {
  padding: 0;
  margin: 0;
}

/* Tabela sağda */
.hero-overlay .hero-grid,
.hero-overlay .hero-left {
  justify-items: end;
}

.hero-overlay .hero-sign {
  justify-self: end;
}

.hero-overlay-inner {
  display: flex;
  justify-content: flex-end;
}

/* Video bitince menü hemen gelsin: ekstra bekleme yok */
.scroll-video.hero {
  height: 200vh;
}

@media (max-width: 859px) {
  .scroll-video.hero {
    height: 200vh;
  }
}

/* Hero: tek ekran, video kendiliğinden oynar */
.scroll-video.hero {
  height: 100vh;
  min-height: 520px;
}

.scroll-video.hero .scroll-video-sticky {
  position: relative;
  height: 100%;
}

/* Menü: daha zengin görünüm */
#menu {
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand-accent) 10%, var(--bg)) 0%, var(--bg) 320px);
}

#menu .eyebrow {
  letter-spacing: 0.22em;
}

#menu h2 {
  position: relative;
  padding-bottom: 0.6rem;
}

#menu h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 0.7rem;
  border-radius: 2px;
  background: var(--accent);
}

.menu-group {
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.menu-group:hover {
  transform: translateY(-2px);
}

.menu-item {
  position: relative;
  border-inline-start: 4px solid var(--accent);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.menu-item:hover {
  transform: translateY(-2px);
}

.menu-item h3 {
  color: var(--heading);
}

.menu-tab {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}


/* Konum: gömülü harita + adres kartı */
.map-wrap {
  display: grid;
  gap: 0.75rem;
}

.map-frame {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.map-card-slim {
  padding: 1rem 1.25rem;
  text-align: left;
  place-content: start;
  justify-items: start;
  min-height: 0;
  box-shadow: none;
}

.map-card-slim .map-btn {
  margin-top: 0.25rem;
}


/* Google yorumları */
.review-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.review-card {
  margin: 0;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.review-stars {
  color: #e0a526;
  letter-spacing: 0.15em;
  font-size: 1rem;
}

.review-card blockquote {
  margin: 0.6rem 0 0.8rem;
  color: var(--text);
  line-height: 1.6;
}

.review-card figcaption {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.reviews-more {
  margin-top: 1.5rem;
  text-align: center;
}

.reviews-more a {
  color: var(--heading);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 640px) {
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Hero tabelası: mobilde ortada, masaüstünde sağda */
.hero-overlay-inner {
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-overlay .hero-grid,
.hero-overlay .hero-left {
  justify-items: center;
}

.hero-overlay .hero-sign {
  justify-self: center;
  margin-inline: auto;
}

@media (min-width: 860px) {
  .hero-overlay-inner {
    justify-content: flex-end;
    text-align: left;
  }

  .hero-overlay .hero-grid,
  .hero-overlay .hero-left {
    justify-items: end;
  }

  .hero-overlay .hero-sign {
    justify-self: end;
    margin-inline: 0;
  }
}

/* Telefonda tabela videonun üstünde */
@media (max-width: 859px) {
  .hero-overlay {
    align-items: flex-start;
    padding-top: 5.5rem;
  }
}
