/* =========================================================
   Liza Suit Hotel · Gaziosmanpaşa
   Tek ekranlık rezervasyon kartı
   ========================================================= */

:root {
  --bg: #0f0f11;
  --card: #17171a;
  --card-2: #1d1d21;
  --line: rgba(214, 178, 110, .55);
  --line-soft: rgba(214, 178, 110, .22);
  --gold: #d6b26e;
  --gold-light: #f1dba6;
  --gold-deep: #a9823f;
  --cream: #efe6d4;
  --muted: #a49a88;
  --wa: #1fa855;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;

  --gold-text: linear-gradient(180deg, #f6e3b2 0%, #dcb872 48%, #b88c45 100%);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, #1c1c20 0%, var(--bg) 60%) fixed;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
p, h1, h2, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Sahne ve kart ---------- */
.stage {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
}

.card {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: calc(100dvh - 20px);
  min-height: 620px;
  max-height: 900px;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.8dvh, 18px);
  padding: clamp(16px, 2.6dvh, 26px) clamp(16px, 4.5vw, 24px);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}
/* içteki ikinci ince çerçeve */
.card::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid var(--line-soft);
  pointer-events: none;
}

/* ---------- Üst: otel adı ---------- */
.head { text-align: center; }
.emblem {
  width: clamp(26px, 4dvh, 36px);
  height: clamp(26px, 4dvh, 36px);
  color: var(--gold);
  margin: 0 auto clamp(4px, .8dvh, 8px);
}
.hotel {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(25px, 3.7dvh, 34px);
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding-left: .14em; /* harf aralığını ortala */
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.branch {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(6px, 1dvh, 10px);
  font-size: clamp(10.5px, 1.45dvh, 12px);
  font-weight: 500;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--cream);
}
.branch::before, .branch::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.branch::after { background: linear-gradient(90deg, var(--gold), transparent); }
.branch span { padding-left: .38em; }
.tagline {
  margin-top: clamp(5px, .8dvh, 8px);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 2.1dvh, 18px);
  color: var(--gold-light);
}

/* ---------- Kampanya ---------- */
.info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.4dvh, 14px);
  text-align: center;
}
.offer {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(30px, 4.6dvh, 42px);
  line-height: 1;
  color: var(--gold-light);
}
.days {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 7px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: clamp(12px, 1.6dvh, 13.5px);
  letter-spacing: .04em;
  color: var(--cream);
}
.days span + span::before {
  content: "•";
  margin: 0 .55em;
  color: var(--gold);
}

.price {
  position: relative;
  width: 100%;
  margin-top: clamp(8px, 1.2dvh, 12px);
  padding: clamp(18px, 2.6dvh, 24px) 16px clamp(10px, 1.6dvh, 16px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(214, 178, 110, .07), rgba(214, 178, 110, 0));
}
.price__tag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 4px 18px;
  background: var(--gold-text);
  color: #1a1408;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(15px, 2.1dvh, 18px);
  white-space: nowrap;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
}
.price__note {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 2.2dvh, 19px);
  color: var(--cream);
}
.price__note::before, .price__note::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.price__amount {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: .12em;
  font-family: var(--serif);
  font-weight: 700;
  line-height: .95;
  font-size: clamp(56px, 9dvh, 84px);
}
.price__num, .price__cur {
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price__cur {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .55em;
}

/* ---------- Fotoğraf galerisi ---------- */
.gallery {
  position: relative;
  flex: 1 1 auto;
  min-height: 150px;
  border: 1px solid var(--line);
  padding: 4px;
  overflow: hidden;
}
.gallery__track {
  height: 100%;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  cursor: pointer;
}
.gallery__track::-webkit-scrollbar { display: none; }
.slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
  overflow: hidden;
  background: #0b0b0c;
}
/* fotoğraf kırpılmadan gösterilir; boşluklar aynı fotoğrafın bulanık hâliyle dolar */
.slide::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: var(--bg-img) center / cover no-repeat;
  filter: blur(18px) brightness(.4) saturate(.9);
}
.slide img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.slide figcaption { display: none; }

.gallery__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(15, 15, 17, .72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--gold-light);
  cursor: pointer;
  transition: background-color .25s, opacity .25s;
}
.gallery__btn:hover { background: rgba(214, 178, 110, .18); }
.gallery__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.gallery__btn--prev { left: 12px; }
.gallery__btn--next { right: 12px; }

.gallery__meta {
  position: absolute;
  left: 4px; right: 4px; bottom: 4px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 22px 12px 8px;
  background: linear-gradient(0deg, rgba(10, 10, 11, .78), transparent);
  pointer-events: none;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.gallery__caption { color: var(--cream); }
.gallery__count { color: var(--muted); }
.gallery__count b { color: var(--gold-light); font-weight: 500; }
.gallery__count i { font-style: normal; }

/* ---------- Rezervasyon ---------- */
.actions { display: flex; flex-direction: column; gap: 8px; }

.call {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: clamp(8px, 1.3dvh, 12px) 14px clamp(8px, 1.3dvh, 12px) clamp(8px, 1.3dvh, 12px);
  border: 1px solid var(--gold);
  background: linear-gradient(180deg, rgba(214, 178, 110, .12), rgba(214, 178, 110, .03));
  transition: background-color .25s, transform .15s;
}
.call:hover { background-color: rgba(214, 178, 110, .1); }
.call:active { transform: scale(.99); }
.call__icon {
  flex: none;
  width: clamp(42px, 6dvh, 52px);
  height: clamp(42px, 6dvh, 52px);
  display: grid;
  place-items: center;
  background: var(--gold-text);
  color: #1a1408;
}
.call__icon svg { width: 46%; height: 46%; fill: currentColor; }
.call__text { display: flex; flex-direction: column; min-width: 0; }
.call__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}
.call__number {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(27px, 4dvh, 34px);
  line-height: 1.05;
  letter-spacing: .01em;
  color: var(--cream);
  white-space: nowrap;
}
.call__go {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding: 6px 0 6px 12px;
  border-left: 1px solid var(--line-soft);
}

.actions__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: clamp(42px, 5.6dvh, 48px);
  padding: 0 10px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background-color .25s, border-color .25s;
  white-space: nowrap;
}
.pill svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.pill--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.pill--wa:hover { background: #18914a; }
.pill--map { background: transparent; color: var(--cream); }
.pill--map svg { color: var(--gold); }
.pill--map:hover { background: rgba(214, 178, 110, .1); border-color: var(--gold); }

/* ---------- Harita penceresi ---------- */
.map {
  width: min(720px, calc(100vw - 20px));
  max-height: calc(100dvh - 20px);
  padding: 0;
  border: 1px solid var(--gold);
  background: var(--card);
  color: var(--cream);
}
.map[open] { display: flex; flex-direction: column; }
.map::backdrop { background: rgba(6, 6, 7, .78); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.map__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 12px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.map__title { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--gold-light); }
.map__title span {
  margin-left: 8px;
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--muted);
}
.map__close {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: none; border: 1px solid var(--line-soft); cursor: pointer;
}
.map__close svg { width: 18px; height: 18px; stroke: var(--gold-light); stroke-width: 1.6; fill: none; }
.map__frame { flex: 1; min-height: 0; }
.map__frame iframe { display: block; width: 100%; height: min(60dvh, 460px); border: 0; }
.map__route {
  display: block;
  padding: 15px;
  text-align: center;
  background: var(--gold-text);
  color: #1a1408;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---------- Çok kısa telefon ekranları ---------- */
@media (max-height: 680px) and (max-width: 899px) {
  .emblem { display: none; }
  .card { min-height: 0; }
}

/* ---------- Masaüstü: iki sütunlu kart ---------- */
@media (min-width: 900px) {
  .stage { padding: 24px; }
  .card {
    max-width: 1080px;
    height: min(700px, calc(100dvh - 48px));
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "head    gallery"
      "info    gallery"
      "actions gallery";
    column-gap: clamp(28px, 3.4vw, 48px);
    row-gap: 0;
    padding: clamp(28px, 4dvh, 40px);
  }
  .head { grid-area: head; }
  .info { grid-area: info; justify-content: center; }
  .gallery { grid-area: gallery; min-height: 0; }
  .actions { grid-area: actions; }
  .price__amount { font-size: clamp(64px, 10dvh, 92px); }
}

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