/* =========================================================================
   Duman Restoran - "Duman & Begonvil"
   Sis beyazı zemin, duman gri-mavisi mürekkep, begonvil moru tek aksan.
   Cormorant Garamond (display) + Cabin (gövde).
   ========================================================================= */

:root {
  --mist: #f2f3f1;
  --mist-deep: #e7e9e5;
  --smoke: #2b3438;
  --smoke-soft: #50595d;
  --night: #20282c;
  --bgv: #a92562;          /* begonvil */
  --bgv-deep: #8d1e52;
  --line: rgba(43, 52, 56, 0.16);
  --serif: "Cormorant Garamond", serif;
  --sans: "Cabin", sans-serif;
  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

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

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

body {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--smoke);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ------- header ------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-header.scrolled {
  background: rgba(242, 243, 241, 0.93);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 1rem; padding-bottom: 1rem;
}
.wordmark {
  font-family: var(--serif); font-weight: 600; font-size: 1.6rem;
  letter-spacing: 0.04em; text-decoration: none; line-height: 1;
}
.wordmark .dot { color: var(--bgv); }
.main-nav { display: flex; align-items: center; gap: 1.7rem; }
.main-nav a {
  text-decoration: none; font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.03em; color: var(--smoke-soft);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--smoke); border-color: var(--bgv); }

.lang-toggle { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-toggle button {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; padding: 0.3rem 0.7rem; border: 0;
  background: transparent; color: var(--smoke-soft); cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] { background: var(--bgv); color: #fff; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: 0; cursor: pointer; padding: 6px;
}
.nav-burger span { width: 22px; height: 2px; background: var(--smoke); transition: transform 0.25s, opacity 0.25s; }

/* hero'nun koyu fotoğrafı üzerinde (henüz scroll yokken) header açık renkte */
body:has(.hero) .site-header:not(.scrolled) .wordmark,
body:has(.hero) .site-header:not(.scrolled) .main-nav:not(.open) a { color: rgba(255, 255, 255, 0.92); }
body:has(.hero) .site-header:not(.scrolled) .main-nav:not(.open) a:hover,
body:has(.hero) .site-header:not(.scrolled) .main-nav:not(.open) a[aria-current="page"] { color: #fff; }
body:has(.hero) .site-header:not(.scrolled) .nav-burger:not(.open) span { background: #fff; }
body:has(.hero) .site-header:not(.scrolled) .lang-toggle { border-color: rgba(255, 255, 255, 0.45); }
body:has(.hero) .site-header:not(.scrolled) .lang-toggle button { color: rgba(255, 255, 255, 0.85); }
body:has(.hero) .site-header:not(.scrolled) .lang-toggle button[aria-pressed="true"] { background: var(--bgv); color: #fff; }

@media (max-width: 820px) {
  .nav-burger { display: flex; position: relative; z-index: 70; }
  .main-nav {
    position: fixed; inset: 0; background: var(--mist);
    flex-direction: column; justify-content: center; gap: 2.1rem;
    transform: translateY(-100%); transition: transform 0.35s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { font-size: 1.6rem; font-family: var(--serif); font-weight: 600; }
  body.nav-open { overflow: hidden; }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ------- hero ------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 115%; object-fit: cover; object-position: center 35%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(32, 40, 44, 0.88) 0%, rgba(32, 40, 44, 0.35) 45%, rgba(32, 40, 44, 0.25) 100%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: clamp(3rem, 9vh, 6rem); width: 100%; }
.hero-kicker {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: #e9b9d0; margin-bottom: 1.2rem;
}
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  line-height: 1.05; max-width: 17ch; margin-bottom: 1.3rem;
}
.hero-lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, 0.9); max-width: 36rem; margin-bottom: 2.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.04em; border-radius: 2px;
  padding: 0.85rem 1.7rem; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--bgv); color: #fff; border: 1px solid var(--bgv); }
.btn-primary:hover { background: var(--bgv-deep); border-color: var(--bgv-deep); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.8); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--smoke); }
.btn-ghost-dark { border: 1px solid var(--smoke); color: var(--smoke); }
.btn-ghost-dark:hover { background: var(--smoke); color: var(--mist); }
.hero-rating { margin-top: 2rem; font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.hero-rating strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: #fff; }
.hero-rating .stars { color: #e9b9d0; letter-spacing: 0.1em; }

/* ------- sections ------- */
section { padding-top: clamp(3.5rem, 9vh, 6rem); padding-bottom: clamp(3.5rem, 9vh, 6rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vh, 3.2rem); }
.section-head h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2rem, 3.8vw, 2.9rem); line-height: 1.1; margin-bottom: 0.9rem;
}
.section-head p { color: var(--smoke-soft); }
.rule { width: 56px; height: 2px; background: var(--bgv); border: 0; margin: 0 0 1.2rem; }

/* ritüel (rakı-meze) bandı */
.ritual-band { background: var(--night); color: var(--mist); }
.ritual-band .section-head h2 { color: #fff; }
.ritual-band .section-head p { color: rgba(242, 243, 241, 0.75); }
.ritual-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.ritual-grid .photo { overflow: hidden; border-radius: 3px; }
.ritual-grid .photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.ritual-copy p { color: rgba(242, 243, 241, 0.8); margin-bottom: 1rem; }
.ritual-copy .sig {
  font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: #e9b9d0;
  margin-top: 1.6rem;
}
@media (max-width: 820px) { .ritual-grid { grid-template-columns: 1fr; } }

/* sofra kartları */
.dish-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.dish-card {
  background: #fff; border: 1px solid var(--line); border-radius: 3px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dish-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(32, 40, 44, 0.45); }
.dish-card .ph { aspect-ratio: 4 / 3; overflow: hidden; }
.dish-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.dish-card:hover .ph img { transform: scale(1.045); }
.dish-card .body { padding: 1.2rem 1.3rem 1.4rem; }
.dish-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; margin-bottom: 0.4rem; }
.dish-card p { font-size: 0.95rem; color: var(--smoke-soft); }
.dish-note { margin-top: 1.6rem; font-size: 0.92rem; color: var(--smoke-soft); }

/* mekan şeridi: avlu / kemerler / şömine */
.space-band { background: var(--mist-deep); }
.space-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.3rem; }
.space-grid figure { overflow: hidden; border-radius: 3px; background: #fff; border: 1px solid var(--line); }
.space-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.5s ease; }
.space-grid figure:hover img { transform: scale(1.04); }
.space-grid figcaption { padding: 0.75rem 0.95rem; font-size: 0.88rem; color: var(--smoke-soft); }

/* yorumlar */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.review {
  border: 1px solid var(--line); border-radius: 3px; padding: 1.7rem 1.6rem;
  background: #fff; display: flex; flex-direction: column; gap: 1rem;
}
.review .stars { color: var(--bgv); letter-spacing: 0.12em; font-size: 0.95rem; }
.review blockquote { font-size: 1.02rem; color: var(--smoke-soft); font-style: italic; }
.review cite { font-style: normal; font-weight: 700; font-size: 0.92rem; }
.review-src { margin-top: 1.4rem; font-size: 0.9rem; color: var(--smoke-soft); }
.review-src a { color: var(--bgv); }

/* ziyaret */
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 3.5rem); }
.visit-info dl { display: grid; gap: 1.3rem; }
.visit-info dt {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--bgv); margin-bottom: 0.25rem;
}
.visit-info dd { color: var(--smoke-soft); }
.map-shell { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; min-height: 380px; }
.map-shell iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
@media (max-width: 820px) { .visit-grid { grid-template-columns: 1fr; } }

/* alt sayfa hero */
.page-hero { padding-top: clamp(7rem, 16vh, 10rem); padding-bottom: clamp(2rem, 5vh, 3rem); }
.page-hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.5rem, 5.2vw, 3.8rem); line-height: 1.06; margin-bottom: 1rem;
}
.page-hero p { color: var(--smoke-soft); max-width: 40rem; }

/* foto duvar (mekan sayfası) */
.wall { columns: 3 260px; column-gap: 1.2rem; }
.wall figure { break-inside: avoid; margin-bottom: 1.2rem; border-radius: 3px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.wall img { width: 100%; }
.wall figcaption { padding: 0.7rem 0.9rem; font-size: 0.87rem; color: var(--smoke-soft); }

/* form (demo) */
.demo-form { display: grid; gap: 1rem; max-width: 480px; }
.demo-form label { font-weight: 700; font-size: 0.92rem; }
.demo-form input, .demo-form textarea {
  width: 100%; padding: 0.8rem 0.9rem; font: inherit; color: var(--smoke);
  background: #fff; border: 1px solid var(--line); border-radius: 2px; margin-top: 0.3rem;
}
.demo-form input:focus, .demo-form textarea:focus { outline: 2px solid var(--bgv); outline-offset: 1px; }
.form-note { font-size: 0.88rem; color: var(--smoke-soft); }

/* footer */
.site-footer { background: var(--night); color: rgba(242, 243, 241, 0.78); }
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem;
  padding-top: 3.2rem; padding-bottom: 2.4rem;
}
.site-footer .wordmark { color: #fff; }
.site-footer h4 {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; margin-bottom: 0.8rem;
}
.site-footer a { color: rgba(242, 243, 241, 0.78); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; display: grid; gap: 0.45rem; font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid rgba(242, 243, 241, 0.16);
  padding-top: 1.3rem; padding-bottom: 1.6rem; font-size: 0.84rem;
  color: rgba(242, 243, 241, 0.55);
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* reveal: görünürlük JS ile, CSS asla gizlemez */
.reveal { will-change: transform, opacity; }
