/* =====================================================================
   Tarsus Su Sesi Cafe & Restaurant
   "Su Sesi Serenity" — Stitch tasarımından uyarlandı, TURKUAZ palet.
   Hafif, build'siz özel CSS. Fontlar Google Fonts'tan @import ile gelir.
   ===================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Syne:wght@600;700&family=Homemade+Apple&display=swap");

:root {
  /* --- Turkuaz palet (logodaki su mavisinden) --- */
  --primary:        #00697b;  /* derin teal — başlıklar */
  --primary-deep:   #004e5c;  /* en koyu teal */
  --brand:          #16a7bf;  /* canlı turkuaz — butonlar/vurgu (logo) */
  --brand-dark:     #0d8398;  /* koyu turkuaz hover */
  --brand-soft:     #d7eef2;  /* açık su tonu */

  /* --- Yüzeyler (sıcak krem) --- */
  --surface:        #faf9f6;
  --surface-low:    #f4f3f1;
  --surface-high:   #ebeae6;
  --sand:           #e9dfc6;  /* kum beji — öne çıkan kartlar */
  --sand-dim:       #d8cdb0;

  --ink:            #1a1c1a;  /* ana metin */
  --muted:          #46504f;  /* ikincil metin */
  --line:           #e2e1dc;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body:    "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label:   "Syne", var(--font-body);
  --font-hand:    "Homemade Apple", cursive;

  --maxw: 1200px;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 32px;
  --shadow: 0 10px 40px -15px rgba(0, 82, 101, 0.18);
  --shadow-sm: 0 4px 18px -8px rgba(0, 82, 101, 0.20);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* İnce kağıt/grain dokusu (yüklenemezse görünmez, sorun değil) */
.grain-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: .035;
  background: url("https://www.transparenttextures.com/patterns/natural-paper.png");
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--primary); margin: 0 0 .5em; line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { margin: 0 0 1rem; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

/* --- Bölümler --- */
.section { padding: clamp(56px, 9vw, 96px) 0; }
.section--cream  { background: var(--surface-low); }
.section--high   { background: var(--surface-high); }
.section--brand  { background: var(--brand-soft); }
.section__title  { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 6vw, 56px); }

/* Eyebrow etiketi (Syne, uppercase) */
.eyebrow {
  display: inline-block; font-family: var(--font-label); font-weight: 600;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand-dark); margin-bottom: 14px;
}
/* El yazısı vurgu */
.handwriting { font-family: var(--font-hand); color: var(--brand-dark); font-size: 1.3rem; line-height: 1.8; }
.italic-accent { font-style: italic; font-weight: 400; }

/* ---------- Floating Nav ---------- */
.site-header { position: sticky; top: 14px; z-index: 50; padding: 0 16px; }
.nav {
  position: relative;
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(250, 249, 246, 0.82); backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 82, 101, 0.08);
  border-radius: 999px; padding: 8px 14px 8px 18px; box-shadow: var(--shadow-sm);
}
.nav__logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--primary); }
.nav__logo img { height: 56px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--muted); font-family: var(--font-label); font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--brand-dark); }
.nav__links a.is-active { border-bottom: 2px solid var(--brand); padding-bottom: 2px; }
.nav__lang { display: flex; gap: 4px; align-items: center; }
.nav__lang a { padding: 4px 9px; border-radius: 999px; border: none; }
.nav__lang a.is-active { background: var(--brand); color: #fff; }
.nav__toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--primary); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-label); font-weight: 600; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 14px 30px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--brand); color: #fff; box-shadow: var(--shadow);
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}
.btn:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--outline { background: transparent; color: var(--primary); border: 1.5px solid var(--line); box-shadow: none; }
.btn--outline:hover { background: var(--surface-high); color: var(--primary); border-color: var(--brand); }
.btn--lg { padding: 16px 36px; border-radius: var(--r-md); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 86vh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; background: linear-gradient(120deg, #0a5263, #00697b 60%, #16a7bf); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
/* Yazının net okunması için sola koyu degrade + genel hafif karartma */
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3,38,46,.82) 0%, rgba(3,38,46,.55) 42%, rgba(3,38,46,.18) 75%, rgba(3,38,46,.08) 100%),
    linear-gradient(0deg, rgba(3,38,46,.30), rgba(3,38,46,0) 40%); }
.hero__inner { position: relative; z-index: 1; max-width: 640px; }
.hero .eyebrow { color: #9fe6f0; }
.hero h1 { margin-bottom: 18px; color: #ffffff; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero h1 .italic-accent { color: #bfeff6; }
.hero p { font-size: 1.12rem; color: rgba(255,255,255,.94); max-width: 32em; margin-bottom: 28px; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn--outline { color: #fff; border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.08); }
.hero .btn--outline:hover { background: #fff; color: var(--primary); border-color: #fff; }

/* ---------- Story (asimetrik) ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.story__media { position: relative; }
.story__media .ph-card { aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transform: rotate(-2deg); }
.story__media .ph-badge { position: absolute; bottom: -26px; right: -20px; width: 168px; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); border: 8px solid var(--surface); transform: rotate(3deg); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Öne çıkan kartlar ---------- */
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.h-card { background: var(--surface-low); border-radius: var(--r-lg); padding: 26px; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; transition: transform .4s ease; }
.h-card:hover { transform: translateY(-6px); }
.h-card--featured { background: var(--sand); transform: translateY(-24px); }
.h-card--featured:hover { transform: translateY(-30px); }
.h-card__media { width: 100%; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; margin-bottom: 18px; }
.h-card__media img { width: 100%; height: 100%; object-fit: cover; }
.h-card .eyebrow { margin-bottom: 8px; }
.h-card h3 { margin-bottom: 10px; }
.h-card p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.h-card__price { margin-top: auto; font-family: var(--font-label); font-weight: 700; color: var(--brand-dark); font-size: 1.15rem; }

/* ---------- Genel kart ---------- */
.card { background: var(--surface-low); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .4s ease; }
.card:hover { transform: translateY(-5px); }
.card__media { aspect-ratio: 4/3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 24px; }
.card__body h3 { margin-bottom: 10px; }
.card__body p { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--center { align-items: center; }

/* ---------- Placeholder görsel ---------- */
.placeholder-img, .ph-fill {
  width: 100%; height: 100%; min-height: 120px; display: flex; align-items: center; justify-content: center;
  color: var(--brand-dark); font-family: var(--font-label); font-size: .8rem; letter-spacing: .05em;
  text-align: center; padding: 12px;
  background:
    repeating-linear-gradient(45deg, var(--brand-soft), var(--brand-soft) 16px, #cfe9ee 16px, #cfe9ee 32px);
}
.placeholder-img { aspect-ratio: 4/5; border-radius: var(--r-lg); border: 1px dashed var(--brand); }

/* ---------- Menü ---------- */
#menu-root { max-width: 720px; margin: 0 auto; }
.menu-cat { margin-bottom: 56px; }
.menu-cat__media { position: relative; width: 100%; max-width: 460px; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r-lg); margin: 0 auto 22px; box-shadow: var(--shadow); }
.menu-cat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.menu-cat__ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--brand-dark); font-family: var(--font-label); font-size: .85rem; letter-spacing: .05em;
  background: repeating-linear-gradient(45deg, var(--brand-soft), var(--brand-soft) 16px, #cfe9ee 16px, #cfe9ee 32px);
  border: 1px dashed var(--brand);
}
.menu-cat > h3 { display: inline-block; color: var(--primary); padding-bottom: 8px; border-bottom: 2px solid var(--brand); margin-bottom: 18px; }
.menu-item { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; padding: 13px 0; border-bottom: 1px dotted var(--line); }
.menu-item__name { font-weight: 600; color: var(--ink); }
.menu-item__desc { color: var(--muted); font-size: .88rem; }
.menu-item__price { font-family: var(--font-label); font-weight: 700; color: var(--brand-dark); white-space: nowrap; }

/* ---------- Galeri (bento + grid) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 220px; gap: 16px; }
.bento > * { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.bento > * img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.bento > *:hover img { transform: scale(1.05); }
.bento .b-tall { grid-column: span 8; grid-row: span 2; }
.bento .b-sm   { grid-column: span 4; grid-row: span 1; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid > * { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1; }
.gallery-grid > * img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-grid > *:hover img { transform: scale(1.05); }

/* ---------- İletişim ---------- */
.info-card { background: var(--sand); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow); }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(0,0,0,.07); }
.info-list li:last-child { border-bottom: 0; }
.info-list strong { min-width: 96px; color: var(--primary); font-weight: 600; }
.map-embed { width: 100%; aspect-ratio: 16/10; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-high); border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: 40px; padding: clamp(40px, 6vw, 64px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
/* Eski sayfalardaki inline color:#fff başlıkları açık footer'da okunur kalsın */
.site-footer h3 { color: var(--primary) !important; font-size: 1.2rem; }
.site-footer .footer-col h4 { font-family: var(--font-label); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.site-footer .footer-col p { margin: 0 0 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--brand-dark); }
.social { display: flex; gap: 12px; }
.social a { width: 42px; height: 42px; border-radius: 999px; background: var(--surface); display: inline-flex; align-items: center; justify-content: center; color: var(--primary); font-family: var(--font-label); font-weight: 700; font-size: .8rem; transition: all .2s; }
.social a:hover { background: var(--brand); color: #fff; }
.footer-bottom { text-align: center; border-top: 1px solid var(--line); padding-top: 20px; font-size: .85rem; color: var(--muted); }

/* ---------- Reveal animasyon ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .nav__toggle { display: block; }
  /* Mobilde linkler pill'in ALTINDA ayrı bir kart olarak açılır (taşma yok) */
  .nav__links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(250, 249, 246, 0.98); backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 82, 101, 0.08); border-radius: 18px;
    box-shadow: var(--shadow); padding: 12px; display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 11px 14px; border-radius: 10px; }
  .nav__links a:hover, .nav__links a.is-active { background: var(--brand-soft); border-bottom: 0; }
  .nav__lang { justify-content: flex-start; gap: 8px; padding: 6px 10px; margin-top: 4px; border-top: 1px solid var(--line); }
  .nav__lang a { display: inline-block; }
  .story { grid-template-columns: 1fr; }
  .story__media { max-width: 420px; margin: 0 auto; }
  .story__media .ph-badge { display: none; }
  .highlights { grid-template-columns: 1fr; }
  .h-card--featured { transform: none; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .bento { grid-auto-rows: 180px; }
  .bento .b-tall { grid-column: span 12; }
  .bento .b-sm { grid-column: span 6; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
