/* Allia Termal Otel · Design System Tokens */
:root {
  /* === PALETTE: Termal Earth (default) === */
  --bg: #FAF6EE;
  --bg-alt: #F2EBDD;
  --surface: #FFFFFF;
  --ink: #1A1F1A;
  --ink-soft: #3D4A3A;
  --ink-muted: #6B7264;
  --accent: #3D4A3A;        /* termal mineral green */
  --accent-warm: #8B7355;   /* aegean stone */
  --accent-sand: #C9B896;
  --line: rgba(26,31,26,0.12);
  --line-soft: rgba(26,31,26,0.06);

  /* Type · premium serif (Cormorant Garamond) + Inter (Türkçe karakter güvenli) */
  --serif: "Cormorant Garamond", "EB Garamond", Garamond, Georgia, serif;
  /* NOT: Tenor Sans, Türkçe büyük harflerde (Ü, Ş, Ğ) tracking ile bozuluyor — Inter'e geçildi */
  --sans: "Inter", -apple-system, system-ui, sans-serif;
  --sans-body: "Inter", -apple-system, system-ui, sans-serif;
  --sans-display: "Tenor Sans", "Inter", -apple-system, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  /* Scale */
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-xl: 28px;

  --max-w: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
}

/* === Palette: Coastal === */
[data-palette="coastal"] {
  --bg: #FBF8F3;
  --bg-alt: #F4EEE2;
  --ink: #2A2A24;
  --ink-soft: #4A4A3F;
  --ink-muted: #7C7A6E;
  --accent: #C2643A;
  --accent-warm: #7B8F5C;
  --accent-sand: #E8D4B8;
}

/* === Palette: Cool Marble === */
[data-palette="marble"] {
  --bg: #F0EBE2;
  --bg-alt: #E5DECF;
  --ink: #1F2937;
  --ink-soft: #3B4654;
  --ink-muted: #6F7787;
  --accent: #5A6B7F;
  --accent-warm: #A8B5C4;
  --accent-sand: #D9D1C2;
}

/* === Dark Mode === */
[data-mode="dark"] {
  --bg: #14160F;
  --bg-alt: #1C1F18;
  --surface: #21241D;
  --ink: #F5F1E8;
  --ink-soft: #DAD3C3;
  --ink-muted: #9A9A8A;
  --accent: #C9B896;
  --accent-warm: #8B7355;
  --accent-sand: #3D4A3A;
  --line: rgba(245,241,232,0.12);
  --line-soft: rgba(245,241,232,0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--sans-body);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -0.005em; }
h1 { font-weight: 300; }
/* Eyebrow: Inter kullaniyoruz · Tenor Sans Turkce karakterlerde (Ü, Ş, Ğ) tracking ile bozuluyor */
.eyebrow { font-family: var(--sans-body); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; }
.serif-i { font-style: italic; font-family: var(--serif); font-weight: 400; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
img { display: block; max-width: 100%; }

/* placeholder image with subtle stripes */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.04) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, var(--accent-sand), var(--bg-alt));
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  position: absolute; inset: auto 0 12px 0;
  text-align: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  color: rgba(26,31,26,0.55); text-transform: uppercase;
}
[data-mode="dark"] .ph { background: repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 14px), linear-gradient(135deg, #2C2F26, #1C1F18); }
[data-mode="dark"] .ph::after { color: rgba(245,241,232,0.4); }

/* Container */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; transition: all .25s ease; border: 1px solid transparent; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: var(--bg); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-link { padding: 0; text-transform: none; letter-spacing: 0; font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 2px; border-radius: 0; }

/* Section spacing */
section { padding: clamp(64px, 10vh, 120px) 0; }
/* Section head — sol başlık + sağ açıklama dengeli grid (oran 5:4) */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 6vh, 64px);
}
.section-head > div { display: flex; flex-direction: column; gap: 14px; }
.section-head h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 16ch;
}
.section-head h2 em { font-style: italic; }
.section-head p {
  max-width: 44ch;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  padding-bottom: 6px;
}
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .section-head h2 { font-size: clamp(30px, 7vw, 42px); }
  .section-head p { font-size: 15px; }
}

/* Hairline divider */
.hr { height: 1px; background: var(--line); }

/* === PHASE 1 DESIGN PATCH · Allia hero/booking/spa improvements === */

/* Hero: tight 2-stat meta strip (replaces 4-stat) */
.hero-meta-tight { display: flex; gap: 56px; margin-top: 32px; }
.hero-meta-tight > div { display: flex; flex-direction: column; gap: 6px; }
.hero-meta-tight strong { font-family: var(--serif); font-size: 36px; font-weight: 300; line-height: 1; }
.hero-meta-tight strong span { font-size: 16px; opacity: 0.7; margin-left: 2px; }

/* Hero: price anchor · psychological starting-from microtext */
.hero-price-anchor {
  display: inline-flex; align-items: baseline; gap: 12px;
  margin-top: 28px;
  padding: 14px 22px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-family: var(--sans-body);
}
.hero-price-anchor .eyebrow { color: rgba(255,255,255,0.7); }
.hero-price-anchor .price-from { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.hero-price-anchor .price-suffix { font-size: 12px; opacity: 0.75; letter-spacing: 0.02em; }

/* Booking: "EN ÇOK SEÇİLEN" extras tag */
.bk-extra-tag {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 9px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.18em;
  font-weight: 500;
  border-radius: 4px;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Booking: Bireysel/Kurumsal radio row */
.bk-radio-row {
  display: flex; gap: 20px; margin-top: 4px;
}
.bk-radio-row label {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; cursor: pointer;
  color: var(--ink-soft);
  letter-spacing: 0;
  text-transform: none;
}
.bk-radio-row input[type="radio"] {
  width: 16px; height: 16px;
  accent-color: var(--accent);
}

/* Sections: Ritual card tag (e.g. "ŞEFİN ÖNERİSİ") */
.ritual-card { position: relative; }
.ritual-tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 11px;
  background: rgba(26,31,26,0.85);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  font-weight: 500;
  border-radius: 4px;
  z-index: 2;
  backdrop-filter: blur(8px);
}

/* Mobile: hero meta + price anchor compact */
@media (max-width: 720px) {
  .hero-meta-tight { gap: 24px; margin-top: 20px; }
  .hero-meta-tight strong { font-size: 26px; }
  .hero-price-anchor {
    margin-top: 18px;
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 6px 10px;
  }
  .hero-price-anchor .price-from { font-size: 18px; }
  .hero-price-anchor .price-suffix { font-size: 11px; width: 100%; }
}

/* Tipografi düzeltme: tüm rakam alanlarında tabular sans-serif */
.hero-meta-tight strong,
.hero-price-anchor .price-from,
.bk-room-price strong,
.bk-sum-total strong,
.bk-extra-price strong,
.dest-stats strong,
.spa-numbers strong,
.reviews-head h2,
.score-row strong,
.rd-quick strong,
.rd-price-row strong,
.rd-sticky-book strong,
.num {
  font-family: var(--sans-body) !important;
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-style: normal;
}

/* Inline number span — tek rakam vurgusu için (h2 içinde "63 oda" gibi)
   font-size: inherit !important · ebeveyn .spa-numbers span / .dest-stats span / vb.
   selector'larının daha düşük specificity'li bu kuralı override edip rakamı
   küçültmesini engeller (örn. 2.400m² bug'ı). */
.num {
  font-weight: 500;
  letter-spacing: -0.01em;
  display: inline-block;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit;
}
h1 .num, h2 .num { font-weight: 300; }
/* Strong içindeki .num her zaman strong'un boyutunu alsın */
strong .num, .spa-numbers strong .num, .dest-stats strong .num { font-size: inherit !important; }

/* Birim · m², °C, %, ₺ — rakamın yanında küçük ve hafif şeffaf */
.unit {
  font-family: var(--sans-body);
  font-size: 0.5em;
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0;
  margin-left: 2px;
  vertical-align: baseline;
  display: inline-block;
}

/* Offer / Room price typography — sans tabular, premium */
.offer-foot strong,
.offer-price {
  font-family: var(--sans-body);
  font-size: 22px !important;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
  display: flex !important;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
  line-height: 1.05;
}
.offer-price-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 400;
}
.gastro-list strong {
  font-family: var(--sans-body) !important;
  font-size: 16px !important;
  font-weight: 500;
  font-feature-settings: "tnum" 1, "lnum" 1;
  color: var(--ink);
}
.room-price-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-right: 4px;
}

/* Promise Band — magazine-grade editorial section, hero alti, no card chrome */
.promise-band {
  background:
    radial-gradient(140% 100% at 50% 0%, rgba(61,74,58,0.05) 0%, transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  padding: clamp(72px, 12vh, 128px) 0 clamp(56px, 9vh, 100px);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.promise-band::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 1px;
  background: var(--accent);
  opacity: 0.6;
}
.promise-head {
  text-align: center;
  margin: 0 auto clamp(48px, 7vh, 80px);
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.promise-head .eyebrow { color: var(--accent); }
.promise-headline {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.promise-headline em {
  font-style: italic;
  color: var(--accent);
}
.promise-band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
  position: relative;
}
.promise-band-grid::before,
.promise-band-grid::after {
  content: '';
  position: absolute;
  top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line-soft);
}
.promise-band-grid::before { left: calc(33.333% - clamp(16px, 2vw, 32px)); }
.promise-band-grid::after { left: calc(66.666% - clamp(16px, 2vw, 32px)); }
.promise-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 4px 4px;
  background: transparent;
  border: none;
  border-radius: 0;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.promise-card:hover {
  transform: translateY(-3px);
}
.promise-eyebrow {
  font-family: var(--sans-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}
.promise-title {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 4px 0 6px;
}
.promise-pull {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.promise-rest {
  font-style: normal;
}
.promise-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 36ch;
}
.promise-card .promise-link {
  margin-top: 12px;
  font-family: var(--sans-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  align-self: flex-start;
  transition: gap 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.promise-card .promise-link span {
  font-size: 14px;
  line-height: 1;
  transition: transform 0.3s ease;
}
.promise-card .promise-link:hover {
  gap: 12px;
  color: var(--accent);
  border-color: var(--accent);
}
.promise-card .promise-link:hover span {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .promise-band-grid { grid-template-columns: 1fr; gap: 36px; }
  .promise-band-grid::before,
  .promise-band-grid::after { display: none; }
  .promise-card { padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
  .promise-card:last-child { border-bottom: none; }
  .promise-headline { font-size: 32px; }
}

/* Mobile booking bar tutarlılığı */
@media (max-width: 720px) {
  .booking-perks {
    gap: 14px !important;
    font-size: 12px !important;
    flex-direction: column;
    text-align: center;
  }
  .booking-val { font-size: 16px !important; }
}
