/* =========================================================
   İstanbul Cara Bungalov — mobil öncelikli tasarım
   Gündüz: liken yeşili + sedir ahşap
   Gece:  orman gecesi + havuz ışığı + köz turuncusu
   ========================================================= */
:root {
  --lichen: #E2E7D8;
  --lichen-2: #D4DCC7;
  --ink: #17281F;
  --ink-soft: #4B5D51;
  --pine: #1E3328;
  --cedar: #985330;
  --cedar-soft: #C98F62;
  --ember: #EE8A3C;
  --gold: #D9B36C;
  --night: #0F1F1C;
  --night-2: #172E29;
  --night-3: #1F3B34;
  --night-line: #2C4A42;
  --moon: #E8EFE5;
  --moon-soft: #A8BCB0;
  --pool: #5CCFEA;
  --pool-deep: #1C7A99;
  --wa: #1DA851;

  --display: "Gloock", "Iowan Old Style", Georgia, serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 18px;
  --max: 1180px;
  --top-h: 60px;
  --dock-h: 66px;
  --gable: polygon(50% 0, 100% 16%, 100% 100%, 0 100%, 0 16%);
}
.lang-ar {
  --display: "Reem Kufi", "Tajawal", system-ui, sans-serif;
  --body: "Tajawal", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }
body {
  margin: 0;
  background: var(--lichen);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.lang-ar body, body.lang-ar { font-size: 17px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
.lang-ar h1, .lang-ar h2, .lang-ar h3 { font-weight: 600; letter-spacing: 0; }
p { margin: 0; text-wrap: pretty; }
.i { width: 20px; height: 20px; flex: none; }
[dir="rtl"] .i-flip, [dir="rtl"] .mbtn .i:last-child, [dir="rtl"] .review-card em .i { transform: scaleX(-1); }
:focus-visible { outline: 3px solid var(--pool); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--pine); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 22px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--pine); color: var(--lichen); }
.btn-primary:hover { background: #28443A; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #179447; }
.btn.wide { width: 100%; }

/* ---------- Üst bar ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 40; height: calc(var(--top-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--gutter) 0;
  display: flex; align-items: center; gap: 12px;
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.top.scrolled { background: color-mix(in srgb, var(--lichen) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(23, 40, 31, .08); }
.top.on-night { background: color-mix(in srgb, var(--night) 84%, transparent); color: var(--moon); box-shadow: 0 1px 0 rgba(232, 239, 229, .06); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; margin-inline-end: auto; }
.brand-logo { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(217, 179, 108, .5); }
.brand-name { font-family: "Gloock", Georgia, serif; font-size: 22px; line-height: 1; display: flex; align-items: baseline; gap: 5px; }
.brand-name span { font-family: "Manrope", system-ui, sans-serif; font-size: 12px; font-weight: 600; opacity: .7; }
.nav { display: none; }
.langs { display: flex; background: rgba(23, 40, 31, .08); border-radius: 999px; padding: 3px; }
.on-night .langs { background: rgba(232, 239, 229, .1); }
.langs a { min-width: 38px; height: 34px; display: grid; place-items: center; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; opacity: .7; }
.langs a[lang="ar"] { font-family: "Tajawal", system-ui; font-size: 16px; }
.langs a[aria-current] { background: var(--pine); color: var(--lichen); opacity: 1; }
.on-night .langs a[aria-current] { background: var(--moon); color: var(--night); }
.top-wa { display: none; }

/* ---------- Hero: gece, logo ve sıcak ışık ---------- */
.hero {
  --pad: max(var(--gutter), calc((100% - var(--max)) / 2));
  padding: calc(var(--top-h) + env(safe-area-inset-top) + 18px) var(--pad) 110px;
  display: grid; gap: 22px; color: var(--moon);
  background:
    radial-gradient(60% 34% at 50% 26%, rgba(238, 160, 70, .26), transparent 70%),
    linear-gradient(180deg, #0A161A 0%, #0F2320 55%, #16301F calc(100% - 150px), #8D9F86 calc(100% - 40px), var(--lichen) 100%);
}
.hero-logo { position: relative; margin: 0 auto; width: min(80vw, 360px); aspect-ratio: 1; }
.hero-logo::before { /* altın hâle */
  content: ""; position: absolute; inset: -9%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 178, 92, .38), rgba(242, 178, 92, .10) 70%, transparent);
  filter: blur(6px);
}
.hero-logo img { position: relative; width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9), 0 0 0 1px rgba(217, 179, 108, .35); }
.hero-copy { text-align: center; display: grid; justify-items: center; gap: 16px; }
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--gold); }
.kicker .i { width: 17px; height: 17px; }
.hero h1 { font-size: clamp(2.05rem, 8.4vw, 4.1rem); line-height: 1.05; max-width: 15ch; color: #F4EFE3; }
.lang-ar .hero h1 { line-height: 1.3; }
.lede { color: #B9C7BE; font-size: 17px; max-width: 34ch; }
.hero-actions { display: grid; gap: 10px; width: 100%; max-width: 380px; margin-top: 4px; }
.hero .btn-primary { background: var(--gold); color: #1A140A; }
.hero .btn-primary:hover { background: #E6C383; }
.hero .btn-ghost { color: #F4EFE3; box-shadow: inset 0 0 0 1.5px rgba(244, 239, 227, .45); }
.rating { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #B9C7BE; text-decoration: none; padding: 6px 4px; }
.stars { display: inline-flex; color: #E5A53A; }
.stars .i { width: 15px; height: 15px; }

/* açılış anı: logo ışığın içinden belirir */
@media (prefers-reduced-motion: no-preference) {
  .hero-logo img { animation: logoIn 1.1s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-logo::before { animation: glow 1.6s .2s ease both; }
  .hero-copy > * { animation: rise .7s .35s ease both; }
  .hero-copy > :nth-child(2) { animation-delay: .45s; }
  .hero-copy > :nth-child(3) { animation-delay: .55s; }
  .hero-copy > :nth-child(n+4) { animation-delay: .65s; }
}
@keyframes logoIn { from { opacity: 0; transform: scale(.92); filter: brightness(.4); } to { opacity: 1; transform: none; filter: none; } }
@keyframes glow { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Bungalov ---------- */
.stay { max-width: var(--max); margin: 0 auto; padding: 36px var(--gutter) 56px; display: grid; gap: 28px; }
.stay-head { display: grid; gap: 12px; }
.stay h2, .sec-head h2 { font-size: clamp(1.9rem, 7.5vw, 3.1rem); line-height: 1.08; }
.stay-head p { color: var(--ink-soft); max-width: 46ch; }
.stay-photo { margin: 0; clip-path: var(--gable); aspect-ratio: 4 / 4.6; background: var(--lichen-2); }
.stay-photo img { width: 100%; height: 100%; object-fit: cover; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.features li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(23, 40, 31, .12); }
.features li:last-child { border-bottom: 1px solid rgba(23, 40, 31, .12); }
.f-ic { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50% 50% 14px 14px; background: var(--pine); color: var(--cedar-soft); }
.f-ic .i { width: 24px; height: 24px; }
.features h3 { font-family: var(--body); font-weight: 700; font-size: 17px; letter-spacing: 0; margin-bottom: 2px; }
.lang-ar .features h3 { font-family: var(--body); }
.features p { color: var(--ink-soft); font-size: 15px; }
.times { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--pine); }

/* ---------- Gündüzden geceye ---------- */
.dusk { height: 150px; position: relative; background: linear-gradient(180deg, var(--lichen) 0%, #CDBF9A 38%, #8E8466 62%, #3A4C3F 100%); }
.dusk svg { position: absolute; inset: auto 0 -1px; width: 100%; height: 100%; display: block; }
.night { background: var(--night); color: var(--moon); position: relative; overflow: clip; }
.night::before { /* havuz ışığı */
  content: ""; position: absolute; inset: 30% 0 auto; height: 900px; pointer-events: none;
  background: radial-gradient(60% 40% at 50% 40%, rgba(92, 207, 234, .10), transparent 70%);
}
.night section { position: relative; max-width: var(--max); margin: 0 auto; padding: 44px var(--gutter); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-head.stacked { display: grid; gap: 10px; }
.sec-head p { color: var(--moon-soft); max-width: 50ch; }
.link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--pool); white-space: nowrap; padding: 8px 0; }

/* ---------- Galeri ---------- */
.gallery { padding-inline: 0 !important; }
.gallery .sec-head { padding-inline: var(--gutter); }
.strip {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 4px var(--gutter) 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.strip::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 74vw; max-width: 330px; aspect-ratio: 4 / 5; padding: 0; border: 0; background: var(--night-2); clip-path: var(--gable); scroll-snap-align: center; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.shot:hover img { transform: scale(1.04); }
.empty { padding: 0 var(--gutter); color: var(--moon-soft); }
.shot { position: relative; }
.play { position: absolute; left: 50%; top: 54%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 22, 26, .55); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .5); }
.play svg { width: 24px; height: 24px; margin-inline-start: 3px; }
.ig-badge { position: absolute; bottom: 12px; inset-inline-end: 12px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(10, 22, 26, .55); color: #fff; }
.ig-badge .i { width: 17px; height: 17px; }

/* ---------- Müsaitlik ---------- */
.avail-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-bottom: 18px; }
.guests { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.stepper { display: flex; align-items: center; background: var(--night-2); border-radius: 999px; padding: 4px; box-shadow: inset 0 0 0 1px var(--night-line); }
.stepper button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; }
.stepper button:hover { background: var(--night-3); }
.stepper button:disabled { opacity: .3; }
.stepper output { min-width: 30px; text-align: center; font-weight: 700; font-size: 18px; }
.legend { list-style: none; display: flex; gap: 14px; margin: 0; padding: 0; font-size: 13px; color: var(--moon-soft); }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; }
.lg-free { box-shadow: inset 0 0 0 1.5px var(--moon-soft); }
.lg-booked { background: repeating-linear-gradient(135deg, var(--night-line) 0 3px, transparent 3px 6px); box-shadow: inset 0 0 0 1px var(--night-line); }
.lg-sel { background: var(--pool); }

.cal-wrap { position: relative; }
.cal-nav { position: absolute; inset: 0 0 auto; display: flex; justify-content: space-between; pointer-events: none; z-index: 2; }
.cal-nav button { pointer-events: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); display: grid; place-items: center; }
.cal-nav button:disabled { opacity: .25; }
.cal-prev .i { transform: scaleX(-1); }
[dir="rtl"] .cal-prev .i { transform: none; }
[dir="rtl"] .cal-next .i { transform: scaleX(-1); }
.cal { display: grid; gap: 28px; }
.month h3 { font-size: 22px; height: 44px; display: grid; place-items: center; text-transform: capitalize; margin-bottom: 8px; }
.wd, .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.wd span { text-align: center; font-size: 12px; font-weight: 600; color: var(--moon-soft); padding: 4px 0 8px; }
.day {
  aspect-ratio: 1; width: 100%; min-width: 0; min-height: 40px; padding: 0; border: 0; border-radius: 12px; background: transparent;
  font-weight: 600; font-size: 15px; display: grid; place-items: center; position: relative;
  transition: background-color .15s ease, color .15s ease;
  font-variant-numeric: tabular-nums;
}
.day:not(:disabled):hover { background: var(--night-3); }
.day.today::after { content: ""; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--ember); }
.day.past { opacity: .28; }
.day.booked { color: #6F8A80; text-decoration: line-through; background: repeating-linear-gradient(135deg, rgba(44, 74, 66, .9) 0 3px, transparent 3px 7px); }
.day.blocked { opacity: .3; }
.day.range { background: rgba(92, 207, 234, .16); border-radius: 0; }
.day.in, .day.out { background: var(--pool); color: var(--night); font-weight: 800; text-decoration: none; }
.day.in { border-radius: 12px 4px 4px 12px; }
.day.out { border-radius: 4px 12px 12px 4px; }
.day.in.solo { border-radius: 12px; }
[dir="rtl"] .day.in { border-radius: 4px 12px 12px 4px; }
[dir="rtl"] .day.out { border-radius: 12px 4px 4px 12px; }
.day.empty { visibility: hidden; }

.result {
  position: sticky; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 5;
  margin-top: 22px; background: color-mix(in srgb, var(--night-2) 94%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 22px; padding: 14px; box-shadow: inset 0 0 0 1px var(--night-line), 0 18px 40px -18px rgba(0, 0, 0, .7);
  display: grid; gap: 10px;
}
.result-sel { display: flex; align-items: center; gap: 12px; }
.result-sel > div { display: grid; line-height: 1.25; }
.result-sel small { color: var(--moon-soft); font-size: 12px; font-weight: 600; }
.result-sel strong { font-size: 16px; }
.arrow { flex: 1; max-width: 46px; height: 1.5px; background: var(--moon-soft); position: relative; opacity: .6; }
.r-clear { margin-inline-start: auto; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--night-3); display: grid; place-items: center; }
.result-msg { font-size: 14px; line-height: 1.5; color: var(--moon-soft); }
.result[data-state="ok"] .result-msg strong { color: var(--pool); }
.result[data-state="no"] .result-msg strong { color: var(--ember); }
.result-msg strong { display: block; color: var(--moon); font-size: 16px; margin-bottom: 1px; }
.result-cta { display: grid; gap: 8px; }
.result-cta:empty { display: none; }
.result[data-state="checking"] .result-msg::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-inline-start: 8px; vertical-align: -2px; border: 2px solid var(--moon-soft); border-top-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay-note { margin-top: 14px; font-size: 14px; color: var(--moon-soft); }

/* ---------- Konum ---------- */
.loc-grid { display: grid; gap: 16px; }
.map { border-radius: 24px; overflow: hidden; height: 260px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9) contrast(1.02); }
.loc-side { display: grid; gap: 12px; align-content: start; }
.address {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; text-align: start; width: 100%;
  background: var(--night-2); border: 0; border-radius: 20px; padding: 16px; box-shadow: inset 0 0 0 1px var(--night-line);
}
.address > .i { color: var(--ember); margin-top: 2px; }
.address > span { font-weight: 600; }
.address em { grid-column: 2; display: flex; align-items: center; gap: 6px; font-style: normal; font-size: 13px; color: var(--pool); font-weight: 700; }
.address em .i { width: 16px; height: 16px; }
.maps-btns { display: grid; gap: 8px; }
.mbtn {
  display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 16px; border-radius: 18px;
  background: var(--moon); color: var(--night); text-decoration: none; font-weight: 700;
}
.mbtn span { flex: 1; }
.mbtn .i { opacity: .5; }
.mlogo { width: 28px; height: 28px; flex: none; border-radius: 7px; }
.mbtn.first { order: -1; }
.review-card {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px; padding: 16px 18px;
  border-radius: 20px; text-decoration: none; background: linear-gradient(135deg, var(--night-3), var(--night-2));
  box-shadow: inset 0 0 0 1px var(--night-line);
}
.review-card > strong { font-family: "Gloock", Georgia, serif; font-weight: 400; font-size: 46px; line-height: 1; grid-row: span 2; }
.review-card > span { display: grid; gap: 2px; }
.review-card small { color: var(--moon-soft); font-size: 13px; }
.review-card em { grid-column: 2; font-style: normal; font-size: 14px; font-weight: 700; color: var(--pool); display: flex; align-items: center; gap: 4px; }
.review-card em .i { width: 16px; height: 16px; }

/* ---------- Altbilgi ---------- */
.foot { max-width: var(--max); margin: 0 auto; padding: 36px var(--gutter) calc(30px + var(--dock-h) + 20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--night-line); display: grid; gap: 22px; }
.foot-brand { display: flex; gap: 12px; align-items: flex-start; }
.foot-brand .brand-logo { width: 56px; height: 56px; flex: none; }
.foot-brand strong { font-family: var(--display); font-weight: 400; font-size: 20px; }
.foot-brand p { color: var(--moon-soft); font-size: 14px; }
.foot-links { display: grid; gap: 4px; }
.foot-links a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; min-height: 44px; }
.foot-links .i { color: var(--pool); }
.copy { font-size: 13px; color: var(--moon-soft); }

/* ---------- Mobil alt menü ---------- */
.dock {
  position: fixed; z-index: 45; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  height: var(--dock-h); display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 6px; padding: 6px;
  background: color-mix(in srgb, var(--pine) 92%, transparent); color: var(--lichen);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 24px; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .3s ease;
}
.in-avail .dock { transform: translateY(calc(100% + 30px)); opacity: 0; pointer-events: none; }
.dock a, .dock button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; background: transparent; border-radius: 18px; text-decoration: none; font-size: 12px; font-weight: 700; }
.dock .i { width: 22px; height: 22px; }
.dock .dock-wa { background: var(--wa); color: #fff; flex-direction: row; gap: 8px; font-size: 15px; }
.dock a:active, .dock button:active { transform: scale(.96); }

/* ---------- Alt sayfa (yol tarifi) ---------- */
.sheet {
  border: 0; padding: 10px 18px calc(18px + env(safe-area-inset-bottom)); margin: auto 0 0; width: 100%; max-width: 100%;
  border-radius: 26px 26px 0 0; background: var(--night-2); color: var(--moon);
}
.sheet::backdrop { background: rgba(5, 12, 10, .55); backdrop-filter: blur(3px); }
.sheet[open] { animation: up .28s cubic-bezier(.2, .8, .2, 1); }
.sheet-grip { width: 42px; height: 5px; border-radius: 3px; background: var(--night-line); margin: 0 auto 14px; }
.sheet h2 { font-size: 24px; margin-bottom: 14px; }
.sheet .maps-btns { margin-bottom: 12px; }
.sheet .btn-ghost { color: var(--moon); }
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: #050b09; color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: #050b09; }
.lightbox img, .lightbox video { max-width: 100vw; max-height: 82dvh; object-fit: contain; touch-action: pan-y; user-select: none; }
.lightbox video { width: min(100vw, 520px); background: #000; }
.lightbox [hidden] { display: none !important; }
.lb-foot { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom)); left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 16px; }
.lb-ig { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); display: grid; place-items: center; }
.lb-close { top: calc(14px + env(safe-area-inset-top)); inset-inline-end: 14px; }
.lb-prev { inset-inline-start: 12px; top: 50%; z-index: 2; }
.lb-next { inset-inline-end: 12px; top: 50%; z-index: 2; }
.lb-prev .i { transform: scaleX(-1); }
[dir="rtl"] .lb-prev .i { transform: none; }
[dir="rtl"] .lb-next .i { transform: scaleX(-1); }
.lb-count { margin: 0; font-size: 14px; opacity: .7; }

.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(var(--dock-h) + 30px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--moon); color: var(--night); padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Tablet
   ========================================================= */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .hero-actions { grid-template-columns: 1fr 1fr; max-width: 520px; }
  .features { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .features li:nth-last-child(2) { border-bottom: 1px solid rgba(23, 40, 31, .12); }
  .shot { flex-basis: 300px; }
  .map { height: 340px; }
  .dusk { height: 190px; }
}

/* =========================================================
   Masaüstü
   ========================================================= */
@media (min-width: 960px) {
  :root { --top-h: 76px; --dock-h: 0px; }
  .dock { display: none; }
  .nav { display: flex; gap: 4px; margin-inline-end: 12px; }
  .nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; }
  .nav a:hover { background: rgba(23, 40, 31, .07); }
  .on-night .nav a:hover { background: rgba(232, 239, 229, .08); }
  .top-wa { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; }
  .brand-logo { width: 44px; height: 44px; }
  .brand-name { font-size: 25px; }

  .hero { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 56px; min-height: min(100vh, 880px); padding-bottom: 130px; background:
    radial-gradient(40% 50% at 74% 42%, rgba(238, 160, 70, .26), transparent 70%),
    linear-gradient(180deg, #0A161A 0%, #0F2320 55%, #16301F calc(100% - 200px), #8D9F86 calc(100% - 60px), var(--lichen) 100%); }
  .hero-logo { order: 2; width: min(100%, 500px); }
  .hero-copy { text-align: start; justify-items: start; }
  .hero h1 { font-size: clamp(3.1rem, 5.2vw, 4.5rem); }
  .lede { font-size: 19px; }
  .hero-actions { width: auto; display: flex; }

  .stay { grid-template-columns: 1fr 1.25fr; column-gap: 72px; row-gap: 36px; padding-block: 70px 90px; }
  .stay-head { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: end; gap: 72px; }
  .stay-photo { grid-row: span 2; aspect-ratio: auto; min-height: 520px; }
  .features { align-self: start; }
  .dusk { height: 240px; }

  .night section { padding-block: 70px; }
  .gallery { max-width: none !important; }
  .gallery .sec-head, .strip { max-width: var(--max); margin-inline: auto; }
  .strip { padding-inline: var(--gutter); scroll-snap-type: x proximity; }
  .shot { flex-basis: 320px; max-width: none; }
  .shot.tall { flex-basis: 280px; }

  .avail-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; column-gap: 48px; align-items: start; }
  .cal { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
  .result { position: sticky; top: calc(var(--top-h) + 24px); bottom: auto; margin-top: 0; padding: 20px; gap: 14px; }

  .loc-grid { grid-template-columns: 1.4fr 1fr; gap: 24px; }
  .map { height: 100%; min-height: 460px; }
  .foot { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .copy { grid-column: 1 / -1; }
  .sheet { max-width: 440px; margin: auto; border-radius: 26px; }
  .toast { bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.r-clear[hidden] { display: none; }
