/* Hell Escape Rooms, treći pravac (15.10.2026): mračno, krupno, jedna crvena. Pravila u DESIGN.md */

:root {
  --bg: #0a0909;
  --bg-2: #141212;
  --bg-3: #1d1a19;
  --line: rgb(240 234 226 / 0.1);
  --text: #f0eae2;
  --muted: #a99f95;
  --red: #d11a2a;
  --red-hover: #ec2a3b;

  --f-head: "League Gothic", "Oswald", "Arial Narrow", sans-serif;
  --f-text: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --f-cond: "Barlow Condensed", "Arial Narrow", sans-serif;

  --wrap: 78rem;
  --gut: clamp(1rem, 4vw, 2.5rem);
  --sec: clamp(4.5rem, 10vw, 8.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--f-text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: rgb(240 234 226 / 0.35); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--red-hover); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--red); color: #fff; padding: 0.6rem 1rem; }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }

/* ---------- tipografija ---------- */
.h2, .page-title {
  font: 400 clamp(2.6rem, 6vw, 4.5rem)/0.95 var(--f-head); text-transform: uppercase; letter-spacing: 0.01em;
  margin: 0 0 2rem; text-wrap: balance;
}
.page-title { font-size: clamp(3.2rem, 9vw, 6.5rem); margin-bottom: 1rem; }
.page-head { padding-block: clamp(8rem, 15vw, 11rem) clamp(2rem, 5vw, 3.5rem); }
.kicker { display: inline-block; margin: 0 0 1rem; font: 600 0.9rem/1 var(--f-cond); letter-spacing: 0.22em; text-transform: uppercase; color: var(--red-hover); }
.kicker::before { content: ""; display: inline-block; width: 0.55rem; height: 0.55rem; margin-right: 0.6rem; background: var(--red); border-radius: 50%; vertical-align: 0.05em; }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.55; margin: 0 0 1.25rem; max-width: 40rem; }
.facts { margin: 1.25rem 0 0; font: 600 1rem/1.4 var(--f-cond); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.prose { max-width: 40rem; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font: 400 1.9rem/1 var(--f-head); text-transform: uppercase; margin: 2.4rem 0 0.7rem; }
.prose--page { padding-bottom: var(--sec); }
.prose--page .fw-container, .prose--page [class*="fw-col"] { width: auto !important; max-width: 100%; padding: 0 !important; float: none !important; }

/* ---------- dugmad ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: 0.75rem 1.6rem;
  font: 600 1rem/1 var(--f-cond); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  border-radius: 2px; cursor: pointer; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn--red { background: var(--red); color: #fff; border: 0; }
.btn--red:hover { background: var(--red-hover); }
.btn--line { border: 1px solid rgb(240 234 226 / 0.4); color: var(--text); background: transparent; }
.btn--line:hover { border-color: var(--text); }
.btn--text { min-height: 0; padding: 0.4rem 0; color: var(--text); border-bottom: 1px solid var(--red); border-radius: 0; }
.btn--text:hover { color: var(--red-hover); }
.btn--wide { width: 100%; margin-top: 1.5rem; }

/* ---------- zaglavlje ---------- */
.site-head { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background-color 0.3s var(--ease); }
.site-head.is-scrolled, .site-head:has(.nav.is-open) { background: rgb(10 9 9 / 0.97); box-shadow: 0 1px 0 var(--line); }
.site-head__in { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; display: flex; align-items: center; gap: 1.75rem; min-height: 4.75rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-right: auto; }
.brand img { width: 3rem; height: 3rem; object-fit: contain; }
.brand__name { font: 400 1.6rem/1 var(--f-head); text-transform: uppercase; letter-spacing: 0.03em; }
.brand__name span { color: var(--muted); }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav ul a { font: 600 0.95rem/1 var(--f-cond); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding-block: 0.5rem; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--text); }
.nav__phone { font: 600 1rem/1 var(--f-cond); letter-spacing: 0.08em; text-decoration: none; white-space: nowrap; }
.nav__cta { min-height: 2.6rem; padding-inline: 1.2rem; }
.nav-toggle { display: none; }
@media (max-width: 60rem) {
  .brand__name span { display: none; }
  .nav-toggle { display: grid; place-items: center; width: 3rem; height: 3rem; margin-right: -0.5rem; background: none; border: 0; color: var(--text); cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 1.5rem; height: 2px; background: currentColor; position: relative; transition: transform 0.3s var(--ease), background-color 0.2s; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; inset: calc(4.75rem + env(safe-area-inset-top, 0px)) 0 auto; flex-direction: column; align-items: stretch; gap: 1.25rem;
    padding: 1.5rem var(--gut) calc(2rem + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1px solid var(--line);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 0.45s var(--ease), visibility 0s linear 0.45s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.45s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; font: 400 2.4rem/1.1 var(--f-head); letter-spacing: 0.02em; padding-block: 0.35rem; color: var(--text); }
  .nav__cta { min-height: 3.25rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.hero--room { min-height: min(88svh, 52rem); }
.hero--short { min-height: min(62svh, 36rem); }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, rgb(10 9 9 / 0.9), rgb(10 9 9 / 0.35) 55%, rgb(10 9 9 / 0.1)), linear-gradient(to top, var(--bg) 1%, rgb(10 9 9 / 0) 50%); }
.hero__copy { padding-block: 8rem clamp(3.5rem, 9vh, 6rem); }
.hero__title { font: 400 clamp(4.5rem, 15vw, 11rem)/0.85 var(--f-head); text-transform: uppercase; letter-spacing: 0.01em; margin: 0; }
.hero__title--md { font-size: clamp(3.4rem, 10vw, 7rem); }
.hero__sub { margin: 0.75rem 0 0; font: 600 clamp(1rem, 2vw, 1.3rem)/1.2 var(--f-cond); letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); }
.hero__slogan { margin: 1.5rem 0 0; font-size: clamp(1.15rem, 2vw, 1.4rem); max-width: 32rem; }

/* ---------- sobe (veliki redovi) ---------- */
.rooms { padding-block: var(--sec) 0; }
.rooms--archive { padding-top: 0; }
.room {
  width: min(100% - 2 * var(--gut), var(--wrap)); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center;
  padding-block: clamp(2.5rem, 6vw, 5rem); border-top: 1px solid var(--line);
}
.room--flip .room__media { order: 2; }
.room__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.room__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1s var(--ease); }
.room__media:hover .room__img { transform: scale(1.04); }
.room__name { font: 400 clamp(3.2rem, 7vw, 5.5rem)/0.9 var(--f-head); text-transform: uppercase; margin: 0; }
.room__name a { text-decoration: none; }
.room__name a:hover { color: var(--red-hover); }
.room__sub { margin: 0.6rem 0 0; font: 600 1rem/1.2 var(--f-cond); letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.room__story { margin: 1.5rem 0 0; color: #d6cec4; font-size: 1.1rem; max-width: 34rem; }
@media (max-width: 52rem) {
  .room { grid-template-columns: 1fr; gap: 1.75rem; }
  .room--flip .room__media { order: 0; }
  .room__media { aspect-ratio: 4 / 3; }
}

/* ---------- kako se igra ---------- */
.intro { padding-block: var(--sec); background: var(--bg-2); margin-top: var(--sec); }
.intro__in { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2rem clamp(2rem, 6vw, 5rem); }
.intro__text p:not(.lead) { color: var(--muted); max-width: 40rem; margin: 0; }
@media (max-width: 52rem) { .intro__in { grid-template-columns: 1fr; } }

/* ---------- cene ---------- */
.prices { background: var(--bg-2); padding: 1.5rem 1.75rem; border-radius: 2px; }
.prices + .prices { margin-top: 1rem; }
.prices__title { margin: 0 0 0.75rem; font: 600 0.9rem/1.3 var(--f-cond); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.prices dl { margin: 0; }
.prices dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 0.55rem; border-top: 1px solid var(--line); }
.prices dt { font-size: 1rem; }
.prices dd { margin: 0; font: 400 1.6rem/1 var(--f-head); letter-spacing: 0.02em; white-space: nowrap; }

/* ---------- rođendani ---------- */
.party { padding-block: var(--sec); }
.party__in { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem clamp(2rem, 6vw, 5rem); align-items: center; }
.party__in > div > p:not(.lead) { color: var(--muted); margin: 0 0 1.75rem; }
@media (max-width: 52rem) { .party__in { grid-template-columns: 1fr; } }

/* ---------- lokacije ---------- */
.places { padding-block: var(--sec); background: var(--bg-2); }
.places__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.25rem; }
.place { padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--bg); border-top: 3px solid var(--red); }
.contact .place { background: var(--bg-2); }
.place__name { font: 400 2.2rem/1 var(--f-head); text-transform: uppercase; margin: 0 0 0.6rem; }
.place__note { margin: 0 0 0.75rem; color: var(--red-hover); font-weight: 600; }
.place__hours { margin: 0 0 0.75rem; color: var(--muted); }
.place__rooms { margin: 0 0 1.25rem; }

/* ---------- stranica sobe ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 1fr); gap: 3rem clamp(2rem, 6vw, 5.5rem); padding-block: clamp(3rem, 7vw, 5.5rem) var(--sec); align-items: start; }
.story__text .prose { color: #d6cec4; font-size: 1.12rem; }
.story__poster { margin-bottom: 1.5rem; max-width: 20rem; }
.story__poster img { width: 100%; }
.specs { margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: 1rem 1.5rem; }
.specs dt { font: 600 0.8rem/1.2 var(--f-cond); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 0.2rem 0 0; font: 400 1.9rem/1 var(--f-head); text-transform: uppercase; }
.specs--contact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin-bottom: 3rem; }
.specs--contact dd { font-size: 1.7rem; overflow-wrap: anywhere; }
.specs--contact a { text-decoration: none; }
.story__where { margin: 0 0 1.5rem; color: var(--muted); }
.story__where span { color: var(--red-hover); font-weight: 600; }
.story__where a { color: var(--text); }
@media (max-width: 52rem) { .story { grid-template-columns: 1fr; } }
.contact { padding-bottom: var(--sec); }

/* ---------- rezervacija: Booked kalendar ---------- */
.booking { padding-block: var(--sec); background: var(--bg-2); scroll-margin-top: 4.5rem; }
.booking__how { color: var(--muted); max-width: 44rem; margin: -0.75rem 0 2rem; }
.booking__how a { color: var(--text); white-space: nowrap; }
.hell-booked { max-width: 60rem; }
body.hell .hell-booked .booked-calendar-wrap { font-family: var(--f-text); }
body.hell .hell-booked div.booked-calendar { background: var(--bg) !important; border: 1px solid var(--line) !important; border-radius: 2px; box-shadow: none !important; }
body.hell .hell-booked div.booked-calendar .bc-head, body.hell .hell-booked div.booked-calendar .bc-head .bc-row, body.hell .hell-booked div.booked-calendar .bc-head .bc-col { background: var(--bg) !important; color: var(--text) !important; border-color: var(--line) !important; }
body.hell .hell-booked div.booked-calendar .bc-head .bc-row.top .bc-col { padding-block: 1rem !important; }
body.hell .hell-booked div.booked-calendar .monthName { font: 400 2rem/1 var(--f-head) !important; text-transform: uppercase; letter-spacing: 0.02em; color: var(--text) !important; }
body.hell .hell-booked div.booked-calendar .bc-head .bc-row.days .bc-col { background: var(--bg-2) !important; font: 600 0.8rem/1 var(--f-cond) !important; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted) !important; padding-block: 0.8rem !important; }
body.hell .hell-booked div.booked-calendar .page-left, body.hell .hell-booked div.booked-calendar .page-right { color: var(--text) !important; }
body.hell .hell-booked div.booked-calendar .page-left:hover, body.hell .hell-booked div.booked-calendar .page-right:hover { color: var(--red-hover) !important; }
body.hell .hell-booked div.booked-calendar .bc-body, body.hell .hell-booked div.booked-calendar .bc-body .bc-row { background: var(--bg) !important; border-color: var(--line) !important; }
body.hell .hell-booked div.booked-calendar .bc-body .bc-col { background: var(--bg) !important; border-color: var(--line) !important; }
body.hell .hell-booked div.booked-calendar .bc-body .bc-col .date { background: transparent !important; color: var(--text) !important; }
body.hell .hell-booked div.booked-calendar .bc-body .bc-col .date .number { font: 400 1.6rem/1 var(--f-head) !important; background: transparent !important; border: 0 !important; color: inherit !important; }
body.hell .hell-booked div.booked-calendar .bc-body .bc-col:not(.prev-date):not(.blur):not(.booked):hover .date,
body.hell .hell-booked div.booked-calendar .bc-body .bc-col.active .date { background: var(--red) !important; color: #fff !important; cursor: pointer; }
body.hell .hell-booked div.booked-calendar .bc-body .bc-col.prev-date, body.hell .hell-booked div.booked-calendar .bc-body .bc-col.blur,
body.hell .hell-booked div.booked-calendar .bc-body .bc-col.booked, body.hell .hell-booked div.booked-calendar .bc-body .bc-col.prev-month,
body.hell .hell-booked div.booked-calendar .bc-body .bc-col.next-month { background: var(--bg-2) !important; }
body.hell .hell-booked div.booked-calendar .bc-body .bc-col.prev-date .date, body.hell .hell-booked div.booked-calendar .bc-body .bc-col.blur .date,
body.hell .hell-booked div.booked-calendar .bc-body .bc-col.booked .date, body.hell .hell-booked div.booked-calendar .bc-body .bc-col.prev-month .date,
body.hell .hell-booked div.booked-calendar .bc-body .bc-col.next-month .date { color: rgb(169 159 149 / 0.4) !important; }
body.hell .hell-booked div.booked-calendar .bc-row.entryBlock, body.hell .hell-booked div.booked-calendar .bc-row.entryBlock .bc-col { background: var(--bg-2) !important; color: var(--text) !important; }
body.hell .hell-booked .booked-appt-list { background: var(--bg-2) !important; color: var(--text) !important; }
body.hell .hell-booked .booked-appt-list h2 { font: 400 1.8rem/1.05 var(--f-head) !important; text-transform: uppercase; color: var(--text) !important; }
body.hell .hell-booked .booked-appt-list .timeslot { border-top: 1px solid var(--line) !important; }
body.hell .hell-booked .booked-appt-list .timeslot .timeslot-range { font: 400 1.6rem/1 var(--f-head) !important; color: var(--text) !important; }
body.hell .hell-booked .booked-appt-list .timeslot .timeslot-range i, body.hell .hell-booked .booked-appt-list .spots-available { display: none !important; }
body.hell .hell-booked button.new-appt.button, body.hell .booked-modal input[type="submit"].button-primary {
  background: var(--red) !important; color: #fff !important; border: 0 !important; border-radius: 2px !important;
  font: 600 0.95rem/1 var(--f-cond) !important; letter-spacing: 0.14em !important; text-transform: uppercase !important; padding: 0.8rem 1.3rem !important; min-height: 2.75rem;
}
body.hell .hell-booked button.new-appt.button:hover, body.hell .booked-modal input[type="submit"].button-primary:hover { background: var(--red-hover) !important; }
body.hell .hell-booked .button-timeslot { font: 600 1rem/1 var(--f-cond) !important; letter-spacing: 0.08em !important; }
body.hell .hell-booked button.new-appt.button[disabled] { background: var(--bg-3) !important; color: var(--muted) !important; }

/* Booked forma (modal) */
body.hell .booked-modal .bm-window, body.hell .booked-modal .bm-window .booked-scrollable { background: var(--bg-2) !important; color: var(--text) !important; border-radius: 2px !important; }
body.hell .booked-modal .bm-window p.booked-title-bar { background: var(--bg) !important; color: var(--text) !important; font: 400 1.5rem/1.1 var(--f-head) !important; text-transform: uppercase; }
body.hell .booked-modal .bm-window .close { color: var(--text) !important; }
body.hell .booked-form .booked-appointments { background: var(--bg) !important; border: 1px solid var(--line) !important; box-shadow: none !important; }
body.hell .booked-form .booked-appointments, body.hell .booked-form .booked-appointments * { color: var(--text); }
body.hell .booked-form .booked-appointments strong, body.hell .booked-form .booked-appointments .calendar-name { color: var(--red-hover) !important; }
body.hell .booked-form p, body.hell .booked-form label, body.hell .booked-form .field-label { color: var(--text) !important; }
body.hell .booked-form .field input[type=text], body.hell .booked-form .field input[type=email], body.hell .booked-form .field input[type=tel],
body.hell .booked-form .field input[type=password], body.hell .booked-form .field textarea, body.hell .booked-form .field select {
  background: var(--bg) !important; color: var(--text) !important; border: 1px solid rgb(240 234 226 / 0.25) !important; border-radius: 2px !important;
}
body.hell .booked-form .field input:focus, body.hell .booked-form .field textarea:focus { border-color: var(--red-hover) !important; outline: none; }
body.hell .booked-form .field input::placeholder { color: rgb(169 159 149 / 0.9) !important; }
body.hell .booked-form .required-asterisk { color: var(--red-hover) !important; }
body.hell .booked-modal button.cancel, body.hell .booked-modal .button.cancel {
  background: transparent !important; color: var(--text) !important; border: 1px solid rgb(240 234 226 / 0.35) !important; border-radius: 2px !important;
  font: 600 0.95rem/1 var(--f-cond) !important; letter-spacing: 0.14em !important; text-transform: uppercase !important; padding: 0.8rem 1.3rem !important; min-height: 2.75rem;
}

/* ---------- ostale sobe ---------- */
.others { padding-block: var(--sec); }
.others__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.25rem; }
.other { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; text-decoration: none; background: var(--bg-2); }
.other img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1s var(--ease); }
.other::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(10 9 9 / 0.92), rgb(10 9 9 / 0) 55%); }
.other:hover img { transform: scale(1.04); }
.other__name, .other__facts { position: absolute; left: 1.25rem; right: 1.25rem; z-index: 1; }
.other__name { bottom: 2.6rem; font: 400 2.4rem/1 var(--f-head); text-transform: uppercase; }
.other__facts { bottom: 1.2rem; font: 600 0.85rem/1.2 var(--f-cond); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- podnožje ---------- */
.foot { background: #000; padding: clamp(3.5rem, 8vw, 5.5rem) 0 calc(2rem + env(safe-area-inset-bottom, 0px)); }
.foot__in { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; }
.foot__brand img { width: 4.5rem; height: 4.5rem; object-fit: contain; margin-bottom: 0.75rem; }
.foot__brand p { margin: 0 0 1rem; font: 400 1.8rem/1 var(--f-head); text-transform: uppercase; }
.foot__phone { display: block; font: 400 2rem/1 var(--f-head); letter-spacing: 0.02em; text-decoration: none; }
.foot__brand span { color: var(--muted); font-size: 0.9rem; }
.foot__col { display: flex; flex-direction: column; gap: 0.55rem; }
.foot__col a { text-decoration: none; overflow-wrap: anywhere; }
.foot__col a:hover { color: var(--red-hover); }
.foot__head { margin: 0 0 0.4rem; font: 600 0.8rem/1.2 var(--f-cond); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.foot__fine { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: rgb(169 159 149 / 0.8); }
@media (max-width: 52rem) { .foot__in { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

.posts { list-style: none; padding: 0; margin: 0 0 var(--sec); }
.posts li { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.posts time { color: var(--muted); white-space: nowrap; }
.lost { min-height: 70svh; }

/* ---------- jedan trenutak pokreta: otvaranje hero-a ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__img { animation: fadeIn 1.6s var(--ease) both; }
  .hero__copy > * { animation: rise 0.9s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero__copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero__copy > :nth-child(n+4) { animation-delay: 0.24s; }
}
@keyframes fadeIn { from { opacity: 0; transform: scale(1.04); } }
@keyframes rise { from { opacity: 0; transform: translateY(1rem); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; } }
/* Booked boje (color-theme) koje gaze naše: prošli dani i današnji dan */
body.hell .hell-booked div.booked-calendar .bc-body .bc-row.week .bc-col.prev-date .date,
body.hell .hell-booked div.booked-calendar .bc-body .bc-row.week .bc-col.prev-month .date,
body.hell .hell-booked div.booked-calendar .bc-body .bc-row.week .bc-col.next-month .date,
body.hell .hell-booked div.booked-calendar .bc-body .bc-row.week .bc-col.blur .date,
body.hell .hell-booked div.booked-calendar .bc-body .bc-row.week .bc-col.booked .date { background: var(--bg-2) !important; color: rgb(169 159 149 / 0.4) !important; }
body.hell .hell-booked div.booked-calendar .bc-body .bc-row.week .bc-col.today .date .number { text-decoration: underline 3px var(--red); text-underline-offset: 0.35em; color: var(--text) !important; background: transparent !important; }
body.hell .hell-booked div.booked-calendar .bc-body .bc-row.week .bc-col.today:hover .date .number { color: #fff !important; }
body.hell .hell-booked div.booked-calendar .bc-body .bc-row.week .bc-col .date .number { background: transparent !important; border: 0 !important; box-shadow: none; color: inherit !important; }
/* Booked hover na redu termina: bez belog reda i sivoplavog dugmeta */
body.hell .hell-booked .booked-appt-list .timeslot:hover { background: var(--bg-3) !important; }
body.hell .hell-booked .booked-appt-list .timeslot:hover .timeslot-range,
body.hell .hell-booked .booked-appt-list .timeslot:hover .timeslot-time { color: var(--text) !important; }
body.hell div.booked-calendar .booked-appt-list .timeslot .timeslot-people button:hover,
body.hell div.booked-calendar .booked-appt-list .timeslot .timeslot-people button.button:hover,
body.hell .hell-booked .booked-appt-list .timeslot:hover button.new-appt.button { background: var(--red-hover) !important; color: #fff !important; }
body.hell div.booked-calendar .bc-body .bc-row.week .bc-col.active .date,
body.hell div.booked-calendar .bc-body .bc-row.week .bc-col.active:hover .date { background: var(--red) !important; color: #fff !important; }

/* WordPress admin traka (ulogovan korisnik) ne sme da preklopi meni */
body.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-head { top: 46px; } body.admin-bar .nav { top: calc(4.75rem + 46px); } }
@media (max-width: 600px) { body.admin-bar .site-head { top: 0; } }

/* Stranica sobe: podaci u jednom redu, ispod plakat levo i priča desno */
.specbar { border-bottom: 1px solid var(--line); background: var(--bg); }
.specs--bar { display: flex; flex-wrap: wrap; gap: 1.25rem clamp(1.5rem, 4vw, 3.5rem); margin: 0; padding-block: clamp(1.5rem, 3vw, 2.25rem); }
.specs--bar dd { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.specs__where { margin-left: auto; }
.specs__where p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.95rem; }
.specs__where span { color: var(--red-hover); font-weight: 600; }
.specs__where a { color: var(--text); }
@media (max-width: 52rem) { .specs__where { margin-left: 0; flex-basis: 100%; } }
.story { grid-template-columns: minmax(14rem, 0.85fr) minmax(0, 1.4fr); align-items: start; }
.story__poster { max-width: none; margin: 0; position: sticky; top: 6.5rem; }
.story__text .prices { margin-top: 2rem; max-width: 30rem; }
@media (max-width: 52rem) { .story { grid-template-columns: 1fr; } .story__poster { position: static; max-width: 20rem; } }

/* ---------- padajući meni "Sobe" ---------- */
.nav__list > li { position: relative; }
.sub-toggle {
  display: inline-flex; align-items: center; gap: 0.45rem; background: none; border: 0; cursor: pointer; padding: 0.5rem 0;
  font: 600 0.95rem/1 var(--f-cond); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.sub-toggle:hover, .sub-toggle[data-current], .has-sub.is-open .sub-toggle { color: var(--text); }
.sub-toggle__chev { width: 0.45rem; height: 0.45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.15rem) rotate(45deg); transition: transform 0.3s var(--ease); }
.has-sub.is-open .sub-toggle__chev { transform: translateY(0.1rem) rotate(-135deg); }
.sub ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.sub__room { display: flex; align-items: center; gap: 0.9rem; padding: 0.5rem; text-decoration: none; border-radius: 2px; transition: background-color 0.2s; }
.sub__room:hover, .sub__room[aria-current] { background: var(--bg-3); }
.sub__img { width: 3rem; height: 3.75rem; object-fit: cover; flex: none; background: var(--bg-3); }
.sub__text { display: grid; gap: 0.2rem; }
.sub__name { font: 400 1.5rem/1 var(--f-head); text-transform: uppercase; color: var(--text); }
.sub__name em { font: 600 0.7rem/1 var(--f-cond); font-style: normal; letter-spacing: 0.14em; color: #fff; background: var(--red); padding: 0.2rem 0.35rem; vertical-align: 0.3rem; margin-left: 0.3rem; }
.sub__facts { font: 600 0.78rem/1.2 var(--f-cond); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sub__all { display: block; margin-top: 0.5rem; padding: 0.75rem 0.5rem 0.25rem; border-top: 1px solid var(--line); font: 600 0.85rem/1 var(--f-cond); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--red-hover); }
.head-cta { display: none; }

@media (min-width: 60.01rem) {
  .sub {
    position: absolute; top: calc(100% + 0.9rem); left: -1rem; width: 23rem; padding: 0.75rem; z-index: 60;
    background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 1.5rem 3rem -1rem rgb(0 0 0 / 0.8);
    opacity: 0; visibility: hidden; transform: translateY(-0.4rem); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -1rem; height: 1rem; } /* most između dugmeta i menija za miš */
  .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
  @media (hover: hover) {
    .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
  }
}

@media (max-width: 60rem) {
  .site-head { background: rgb(10 9 9 / 0.97); box-shadow: 0 1px 0 var(--line); }
  .site-head__in { gap: 0.75rem; min-height: 4rem; }
  .brand img { width: 2.5rem; height: 2.5rem; }
  .brand__name { font-size: 1.4rem; }
  .head-cta { display: inline-flex; min-height: 2.6rem; padding: 0.6rem 1rem; font-size: 0.85rem; letter-spacing: 0.12em; }
  .nav { inset: calc(4rem + env(safe-area-inset-top, 0px)) 0 auto; max-height: calc(100svh - 4rem - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain; }
  .nav__cta { display: none; }
  .sub-toggle { width: 100%; justify-content: space-between; font: 400 2.4rem/1.1 var(--f-head); letter-spacing: 0.02em; color: var(--text); padding-block: 0.35rem; min-height: 3rem; }
  .sub-toggle__chev { width: 0.7rem; height: 0.7rem; border-width: 0 3px 3px 0; margin-right: 0.4rem; }
  .sub { display: none; padding: 0.25rem 0 0.75rem; }
  .has-sub.is-open .sub { display: block; }
  .sub__room { padding: 0.6rem 0.25rem; min-height: 4rem; }
  .nav__phone { font-size: 1.15rem; padding-block: 0.5rem; }
  .hero__copy { padding-top: 6.5rem; }
}
@media (max-width: 22.5rem) { .brand__name { display: none; } }
body.admin-bar .nav { top: calc(4rem + 46px); }

/* ---------- telefon: kraći put do kalendara, veće mete za prst ---------- */
@media (max-width: 52rem) {
  .story { padding-block: 2rem 3.5rem; gap: 1.5rem; }
  .story__poster { display: none; }
  .specs--bar { gap: 1rem 1.75rem; }
  .booking { padding-block: 3rem; }
  .booking__how { margin-bottom: 1.25rem; }
  .room { padding-block: 2.25rem; }
  .room__name { font-size: 3.2rem; }
  .actions { gap: 0.75rem 1.5rem; margin-top: 1.5rem; }
  .actions .btn--red { flex: 1 1 auto; }
  .foot__col a { padding-block: 0.35rem; }
  .others__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .other__name { font-size: 1.7rem; bottom: 2.3rem; left: 0.75rem; right: 0.75rem; }
  .other__facts { left: 0.75rem; right: 0.75rem; font-size: 0.7rem; }
}

/* Booked: izabrani dan (i danas kad je izabran) bez belog kruga preko broja */
body.hell .hell-booked .booked-calendar-wrap div.booked-calendar .bc-body .bc-row.week .bc-col.active .date .number,
body.hell .hell-booked .booked-calendar-wrap div.booked-calendar .bc-body .bc-row.week .bc-col.today.active .date .number,
body.hell .hell-booked .booked-calendar-wrap div.booked-calendar .bc-body .bc-row.week .bc-col.active:hover .date .number,
body.hell .hell-booked .booked-calendar-wrap div.booked-calendar .bc-body .bc-row.week .bc-col:hover .date .number {
  background: transparent !important; color: #fff !important; border-radius: 0 !important; width: auto !important; height: auto !important; text-decoration: none; box-shadow: none !important;
}

/* Meni na telefonu: sličica pored naziva sobe, "Sve sobe" kao mala veza */
@media (max-width: 60rem) {
  .nav .sub .sub__room { display: flex; font: inherit; color: inherit; letter-spacing: normal; text-transform: none; padding: 0.55rem 0.25rem; }
  .nav .sub .sub__img { width: 2.75rem; height: 3.4rem; }
  .nav .sub .sub__name { font-size: 1.6rem; }
  .nav .sub .sub__all { font: 600 0.9rem/1 var(--f-cond); letter-spacing: 0.16em; color: var(--red-hover); padding: 1rem 0.25rem 0.5rem; }
}
@media (max-width: 60rem) { .nav { min-height: calc(100svh - 4rem - env(safe-area-inset-top, 0px)); } }
/* Booked oblačić iznad dana ("5 slobodno") u tamnom */
body.hell .tooltipster-light { background: var(--bg-3) !important; border: 1px solid var(--line) !important; border-radius: 2px !important; }
body.hell .tooltipster-light .tooltipster-content { color: var(--text) !important; font: 600 0.85rem/1.2 var(--f-cond) !important; letter-spacing: 0.08em; text-transform: uppercase; }
body.hell .tooltipster-light .tooltipster-arrow span, body.hell .tooltipster-light .tooltipster-arrow-border { border-top-color: var(--bg-3) !important; border-bottom-color: var(--bg-3) !important; }

/* ---------- galerija sobe ---------- */
.gallery { padding-bottom: var(--sec); }
.gallery__row { display: grid; gap: 1rem; }
.gallery__row--2 { grid-template-columns: 1.15fr 0.85fr; }
.gallery__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery__item { margin: 0; overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 5; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 52rem) {
  .gallery { padding-bottom: 2.5rem; }
  .gallery__row, .gallery__row--2, .gallery__row--3 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.75rem; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; width: auto; }
  .gallery__row::-webkit-scrollbar { display: none; }
  .gallery__item { flex: 0 0 82%; scroll-snap-align: center; }
}
@media (max-width: 52rem) { .gallery__row, .gallery__row--2, .gallery__row--3 { width: 100%; margin-inline: 0; padding-inline: var(--gut); } }
@media (min-width: 52.01rem) {
  .gallery__row--2, .gallery__row--3 { grid-auto-rows: clamp(26rem, 44vw, 40rem); }
  .gallery__row .gallery__item { aspect-ratio: auto; height: 100%; }
}
