/* ==========================================================================
   MILA HOUSE TARA — glavni stilovi
   Toplo i udobno (ne luksuzno): krem podloga, drvo, terakota, borovo zelena.
   ========================================================================== */

/* ---------- Fontovi (samostalno hostovani) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-ext-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Great Vibes";
  src: url("../fonts/great-vibes-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Great Vibes";
  src: url("../fonts/great-vibes-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokeni ---------- */
:root {
  --cream: #fbf6ee;
  --sand: #f1e7d6;
  --ink: #2e2119;
  --ink-soft: #6b5a4c;
  --wood: #b5532d;        /* terakota / drvo — akcent i dugme "Rezerviši" */
  --wood-dark: #8f3f20;
  --pine: #3e5a47;        /* borovo zelena */
  --pine-dark: #2c4234;
  --white: #fffdf9;

  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-script: "Great Vibes", "Snell Roundhand", "Brush Script MT", cursive;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 72px;
  --pad-x: clamp(20px, 3.6vw, 54px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; }
.on-dark :focus-visible, .header:not(.is-solid) :focus-visible, .hero :focus-visible { outline-color: var(--white); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch;
  color: var(--white);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.header::after { /* tanka linija ispod, kao na referenci */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; opacity: 0.32; transition: opacity 0.35s;
}
.header.is-solid {
  background: var(--cream); color: var(--ink);
  box-shadow: 0 6px 24px -18px rgba(46, 33, 25, 0.6);
}
.header.is-solid::after { opacity: 0.12; }

.header__left { display: flex; align-items: center; padding-left: var(--pad-x); }
.header__right { display: flex; align-items: stretch; justify-content: flex-end; }

.menu-btn { display: inline-flex; align-items: center; gap: 14px; padding: 12px 0; }
.menu-btn__bars { display: grid; gap: 6px; width: 28px; }
.menu-btn__bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-btn__label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }

.logo { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; line-height: 1; gap: 5px; }
.logo__mark { width: 26px; height: 15px; }
.logo__name { font-family: var(--font-serif); font-weight: 600; font-size: 21px; letter-spacing: 0.04em; }
.logo__sub { font-size: 9.5px; letter-spacing: 0.42em; text-transform: uppercase; font-weight: 500; padding-left: 0.42em; opacity: 0.92; }

.lang {
  display: inline-flex; align-items: center; padding: 0 clamp(16px, 2.4vw, 32px);
  font-size: 13px; letter-spacing: 0.14em; font-weight: 600; text-decoration: none;
}
.lang:hover { text-decoration: underline; text-underline-offset: 5px; }

.btn-book {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 102px; padding: 0 22px;
  background: var(--wood); color: var(--white);
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  transition: background-color 0.25s;
}
.btn-book:hover { background: var(--wood-dark); }

/* ---------- Meni preko celog ekrana ---------- */
.menu {
  position: fixed; inset: 0; z-index: 150;
  background: var(--sand); color: var(--ink);
  display: grid; grid-template-rows: auto 1fr auto;
  padding: 0 var(--pad-x);
  visibility: hidden; opacity: 0; transform: translateY(-14px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0s 0.45s;
}
.menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.menu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(46, 33, 25, 0.14); }
.menu__close { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; padding: 12px 0; }
.menu__close svg { width: 22px; height: 22px; }
.menu__nav { display: grid; grid-auto-flow: row; align-content: center; gap: clamp(2px, 1vh, 10px) 6vw; padding: 3vh 0; overflow-y: auto; }
@media (min-width: 900px) { .menu__nav { grid-template-columns: repeat(2, max-content); grid-auto-flow: column; grid-template-rows: repeat(4, auto); justify-content: start; } }
.menu__nav a {
  font-family: var(--font-serif); font-size: clamp(28px, 4.4vw, 60px); font-weight: 400; line-height: 1.14;
  text-decoration: none; width: fit-content; transition: color 0.2s, transform 0.3s var(--ease);
}
.menu__nav a:hover, .menu__nav a[aria-current="page"] { color: var(--wood); }
.menu__nav a:hover { transform: translateX(10px); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; padding: 22px 0 26px; border-top: 1px solid rgba(46, 33, 25, 0.14); font-size: 14px; color: var(--ink-soft); }
.menu__foot a { text-decoration: none; }
.menu__foot a:hover { color: var(--wood); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 540px; overflow: hidden; background: #1b241d; color: var(--white); }
.hero__media, .hero__layer { position: absolute; inset: 0; }
.hero__layer { opacity: 0; transition: opacity 1.1s var(--ease); }
.hero__layer.is-active { opacity: 1; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 0.9s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero__scrim { /* blagi tamni preliv gore i dole da tekst uvek bude citljiv */
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(20, 14, 10, 0.5) 0, rgba(20, 14, 10, 0) 26%),
    linear-gradient(to top, rgba(20, 14, 10, 0.42) 0, rgba(20, 14, 10, 0) 30%);
}

/* prekidac Zima / Leto */
.season {
  position: absolute; z-index: 5; left: var(--pad-x); bottom: clamp(24px, 5.4vh, 54px);
  display: inline-flex; padding: 3px; border-radius: 999px;
  border: 1px solid rgba(255, 253, 249, 0.55);
  background: rgba(30, 22, 16, 0.28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.season__btn {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px;
  height: 38px; padding: 0 20px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white);
  transition: color 0.35s var(--ease);
}
.season__btn svg { width: 17px; height: 17px; flex: none; }
.season__btn[aria-pressed="true"] { color: var(--wood); }
.season__thumb {
  position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: 0;
  border-radius: 999px; background: var(--white);
  transition: transform 0.45s var(--ease), width 0.45s var(--ease);
}

/* mala informacija o sezoni + pauza, desno dole */
.hero__controls {
  position: absolute; z-index: 5; right: var(--pad-x); bottom: clamp(24px, 5.4vh, 54px);
  display: flex; align-items: center; gap: 16px;
}
.hero__note {
  text-align: right; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4); line-height: 1.4;
}
.hero__note span { display: block; }
.hero__note span + span { opacity: 0.88; margin-top: 2px; letter-spacing: 0.04em; font-size: 13px; text-transform: none; font-weight: 400; }
.hero__pause {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid rgba(255, 253, 249, 0.55); background: rgba(30, 22, 16, 0.28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color 0.25s;
}
.hero__pause:hover { background: rgba(30, 22, 16, 0.5); }
.hero__pause svg { width: 16px; height: 16px; }
.hero__pause .i-play { display: none; }
.hero__pause.is-paused .i-pause { display: none; }
.hero__pause.is-paused .i-play { display: block; }

/* skociti popup "Rezervisi direktno" */
.promo {
  position: fixed; z-index: 90; left: 16px; bottom: clamp(88px, 13.5vh, 124px);
  width: min(400px, calc(100vw - 32px));
  background: var(--white); color: var(--ink);
  padding: 20px 22px 22px; border-radius: 14px;
  box-shadow: 0 18px 50px -14px rgba(46, 33, 25, 0.45), 0 2px 8px rgba(46, 33, 25, 0.1);
  opacity: 0; transform: translateY(18px); visibility: hidden;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), visibility 0s 0.6s;
}
.promo.is-visible { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.promo__title { font-family: var(--font-serif); font-size: 21px; font-weight: 600; line-height: 1.2; padding-right: 30px; }
.promo__text { margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); max-width: 27ch; }
.promo__btn { margin-top: 16px; }
.promo__close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; }
.promo__close:hover { background: var(--sand); }
.promo__close svg { width: 16px; height: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px;
  background: var(--wood); color: var(--white); text-decoration: none;
  font-size: 13px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  transition: background-color 0.25s, transform 0.25s var(--ease), color 0.25s, border-color 0.25s;
}
.btn:hover { background: var(--wood-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; border: 1.5px solid currentColor; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--sand); }
.btn--wood { background: var(--wood); color: var(--white); border: 0; padding: 15px 34px; font-size: 14px; }
.btn--wood:disabled { background: #cbbfae; cursor: not-allowed; transform: none; }
.btn--ghost-dark { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: var(--cream); }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Uvod / tagline ---------- */
.intro { padding: clamp(84px, 15vh, 170px) var(--pad-x) clamp(48px, 8vh, 90px); text-align: center; background: var(--cream); position: relative; z-index: 2; }
.intro__title {
  font-family: var(--font-serif); font-weight: 400; line-height: 1.16; letter-spacing: -0.012em;
  font-size: clamp(34px, 5.3vw, 76px); max-width: 17em; margin: 0 auto;
  font-variation-settings: "SOFT" 100;
}
.intro__title em { font-style: italic; color: var(--wood); }
.intro__text { margin: clamp(22px, 3.6vh, 36px) auto 0; max-width: 40em; color: var(--ink-soft); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; text-decoration: none;
  padding-bottom: 6px; border-bottom: 1.5px solid currentColor;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* brze cinjenice */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 1180px; margin: clamp(48px, 8vh, 96px) auto 0; }
.fact { padding: 6px 20px; border-left: 1px solid rgba(46, 33, 25, 0.16); }
.fact:first-child { border-left: 0; }
.fact__num { font-family: var(--font-serif); font-size: clamp(38px, 4.2vw, 58px); line-height: 1.05; color: var(--wood); font-weight: 500; }
.fact__num small { font-size: 0.5em; font-weight: 500; margin-left: 2px; }
.fact__label { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; max-width: 18ch; margin-inline: auto; }

/* ---------- Naslagani paneli (kao "section12" na referenci) ---------- */
.stack { position: relative; z-index: 1; }
.panel {
  position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px;
  display: grid; grid-template-columns: 1fr 1fr; background: var(--cream);
}
.tile { position: relative; overflow: hidden; color: var(--white); text-decoration: none; display: block; isolation: isolate; }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); z-index: -2; }
.tile::before { /* blago zatamnjenje cele fotke (naslov je u sredini) + jace dole zbog "Otkrijte" */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(28, 19, 13, 0.5) 0, rgba(28, 19, 13, 0) 30%),
    rgba(28, 19, 13, 0.24);
}
.tile:hover .tile__img { transform: scale(1.045); }
/* naslov (kaligrafski) u sredini fotke, "Otkrijte" dole levo — kao na referenci */
.tile__body {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 clamp(20px, 4vw, 64px);
}
.tile__title {
  font-family: var(--font-script); font-weight: 400; font-size: clamp(58px, 6.6vw, 110px); line-height: 1.02;
  letter-spacing: 0; text-shadow: 0 2px 28px rgba(28, 19, 13, 0.4);
}
.tile__text {
  margin-top: 14px; max-width: 24em; font-size: clamp(15.5px, 1.2vw, 18px); line-height: 1.55;
  color: rgba(255, 253, 249, 0.94); text-shadow: 0 1px 14px rgba(28, 19, 13, 0.55);
}
.tile__more {
  position: absolute; left: var(--pad-x); bottom: clamp(28px, 7vh, 64px);
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding-bottom: 5px; border-bottom: 1.5px solid currentColor;
}
.tile__more svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.tile:hover .tile__more svg { transform: translateX(5px); }

/* znacka sa cenom na wellness plocici */
.tile__badge {
  position: absolute; top: clamp(90px, 15vh, 140px); left: var(--pad-x);
  display: inline-flex; flex-direction: column; gap: 2px;
  padding: 18px 24px; border-radius: 22px; border: 1.5px solid rgba(255, 253, 249, 0.55);
  background: rgba(30, 22, 16, 0.32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transform: rotate(-3deg);
}
.tile__badge-price { font-family: var(--font-serif); font-size: clamp(44px, 5vw, 72px); line-height: 1; font-weight: 500; }
.tile__badge-price small { font-size: 0.42em; font-weight: 500; margin-left: 6px; letter-spacing: 0.02em; }
.tile__badge-note { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; opacity: 0.92; }

/* ---------- Galerija (slajder) ---------- */
.gallery { position: relative; z-index: 2; background: var(--cream); padding: clamp(70px, 12vh, 140px) 0 clamp(60px, 10vh, 120px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 0 var(--pad-x); margin-bottom: clamp(24px, 4vh, 44px); }
.section-head h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -0.012em; }
.section-head h2 em { font-style: italic; color: var(--wood); }
.slider-nav { display: flex; gap: 10px; flex: none; }
.slider-nav button {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center;
  transition: background-color 0.25s, color 0.25s, opacity 0.25s;
}
.slider-nav button:hover:not(:disabled) { background: var(--ink); color: var(--cream); }
.slider-nav button:disabled { opacity: 0.28; cursor: default; }
.slider-nav svg { width: 20px; height: 20px; }
.slider {
  display: flex; gap: 14px; overflow-x: auto; padding: 4px var(--pad-x) 16px;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad-x);
  scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab;
}
.slider::-webkit-scrollbar { display: none; }
.slider.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.slider.is-dragging img { pointer-events: none; }
.slide { margin: 0; flex: none; scroll-snap-align: start; height: clamp(320px, 62vh, 620px); border-radius: 14px; overflow: hidden; background: var(--sand); }
.slide img { height: 100%; width: auto; max-width: none; user-select: none; -webkit-user-drag: none; }

/* ---------- Kontakt / rezervacija ---------- */
.contact { position: relative; z-index: 2; background: var(--pine-dark); color: var(--white); padding: clamp(80px, 14vh, 160px) var(--pad-x); text-align: center; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 90% at 50% 0, rgba(255, 253, 249, 0.09) 0, transparent 65%);
}
.contact > * { position: relative; }
.contact__eyebrow { font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; opacity: 0.85; }
.contact__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(36px, 5.2vw, 76px); line-height: 1.1; letter-spacing: -0.012em; margin: 18px auto 0; max-width: 15em; }
.contact__title em { font-style: italic; color: #f0b58f; }
.contact__text { margin: 22px auto 0; max-width: 34em; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 253, 249, 0.86); }
.contact__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.contact__actions [hidden] { display: none; }
.contact .btn--ghost:hover { background: var(--white); color: var(--pine-dark); }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 2; background: var(--cream); padding: clamp(56px, 9vh, 96px) var(--pad-x) 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; max-width: 1280px; margin: 0 auto; }
.footer .logo { align-items: flex-start; color: var(--ink); }
.footer .logo__sub { padding-left: 0; }
.footer__about { margin-top: 18px; max-width: 28ch; color: var(--ink-soft); font-size: 15.5px; }
.footer h3 { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; }
.footer li + li { margin-top: 9px; }
.footer a { text-decoration: none; color: var(--ink-soft); font-size: 15.5px; }
.footer a:hover { color: var(--wood); }
.footer li[hidden] { display: none; }
.footer__bottom { max-width: 1280px; margin: clamp(40px, 7vh, 72px) auto 0; padding-top: 22px; border-top: 1px solid rgba(46, 33, 25, 0.14); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Animacije pri skrolu ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .fact:nth-child(3) { border-left: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .panel { position: relative; height: auto; min-height: 0; grid-template-columns: 1fr; }
  .tile { height: min(78svh, 640px); min-height: 420px; }
  .btn-book { min-width: 86px; padding: 0 16px; font-size: 12px; }
  .logo__name { font-size: 18px; }
  .logo__sub { font-size: 8.5px; letter-spacing: 0.36em; }
  .menu-btn__label { display: none; }
  .slide { height: clamp(260px, 46vh, 420px); }
  .hero__note { display: none; }
  .hero__pause { width: 36px; height: 36px; }
}

@media (max-width: 560px) {
  .lang { padding: 0 12px; }
  .season__btn { height: 36px; padding: 0 15px; gap: 7px; font-size: 11.5px; }
  .promo { left: 12px; bottom: 84px; width: calc(100vw - 24px); padding: 16px 18px 18px; }
  .promo__title { font-size: 18px; }
  .promo__text { font-size: 14.5px; max-width: none; }
  .promo__btn { margin-top: 12px; padding: 11px 22px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 6px 12px; }
  .slider-nav button { width: 44px; height: 44px; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Manje pokreta ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Nove sekcije: vazduh, tematske stranice, lightbox, rezervacija
   ========================================================================== */

.eyebrow { font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; color: var(--wood); }
img[data-zoom] { cursor: zoom-in; }
.contact__price { margin-top: 26px; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }

/* ---------- Zdravlje i planinski vazduh ---------- */
.air { position: relative; z-index: 2; background: var(--sand); padding: clamp(60px, 10vh, 120px) var(--pad-x); }
.air { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.air__art { max-width: 470px; width: 100%; justify-self: end; color: var(--pine); }
.air__svg { width: 100%; height: auto; overflow: visible; }
.air__wind path { stroke-dasharray: 10 16; animation: windflow 7s linear infinite; }
.air__wind .w2 { animation-duration: 9s; animation-direction: reverse; }
.air__wind .w3 { animation-duration: 6s; }
.air__wind .w4 { animation-duration: 8s; animation-direction: reverse; }
@keyframes windflow { to { stroke-dashoffset: -260; } }
.air__title { margin-top: 12px; font-family: var(--font-serif); font-weight: 400; font-size: clamp(36px, 4.4vw, 62px); line-height: 1.08; letter-spacing: -0.012em; }
.air__title em { font-style: italic; color: var(--wood); }
.air__p { margin-top: 20px; max-width: 34em; font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.7; color: var(--ink-soft); }
@media (max-width: 800px) {
  .air { grid-template-columns: 1fr; text-align: center; }
  .air__art { justify-self: center; max-width: 320px; }
  .air__p { margin-inline: auto; }
}

/* ---------- Tematske stranice ---------- */
.phero { position: relative; height: 88vh; height: 88svh; min-height: 520px; overflow: hidden; color: var(--white); display: grid; place-items: center; background: #2a1f18; }
.phero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero__scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(24, 16, 10, 0.5) 0, rgba(24, 16, 10, 0.1) 30%), rgba(24, 16, 10, 0.26); }
.phero__body { position: relative; text-align: center; padding: 0 var(--pad-x); }
.phero__title { font-family: var(--font-script); font-weight: 400; font-size: clamp(64px, 10.5vw, 158px); line-height: 1.02; text-shadow: 0 2px 34px rgba(24, 16, 10, 0.45); }
.phero__sub { margin-top: 14px; font-size: clamp(13px, 1.3vw, 16px); letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; text-shadow: 0 1px 16px rgba(24, 16, 10, 0.55); }
.phero__down { position: absolute; left: 50%; bottom: clamp(22px, 5vh, 44px); transform: translateX(-50%); width: 46px; height: 46px; display: grid; place-items: center; border: 1.5px solid rgba(255, 253, 249, 0.7); border-radius: 50%; animation: bob 2.6s ease-in-out infinite; }
.phero__down svg { width: 20px; height: 20px; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }
.phero--low { place-items: end start; }
.phero--low .phero__body { text-align: left; padding-bottom: clamp(26px, 6vh, 64px); }
.phero--low .phero__down { display: none; }
.phero--low .phero__scrim { background: linear-gradient(to top, rgba(24, 16, 10, 0.62) 0, rgba(24, 16, 10, 0) 55%), linear-gradient(to bottom, rgba(24, 16, 10, 0.45) 0, rgba(24, 16, 10, 0) 26%); }

.lead { background: var(--cream); padding: clamp(64px, 11vh, 130px) var(--pad-x) clamp(30px, 5vh, 60px); text-align: center; }
.lead__text { max-width: 30em; margin: 0 auto; font-family: var(--font-serif); font-weight: 400; font-size: clamp(22px, 2.3vw, 33px); line-height: 1.5; letter-spacing: -0.005em; }
.lead__promo { display: inline-block; margin-top: 28px; padding: 14px 26px; border-radius: 999px; background: #efe0cf; color: var(--wood-dark); font-size: 17px; }
.lead__note { margin-top: 22px; font-size: 16px; color: var(--ink-soft); font-style: italic; }
.facts--1 { grid-template-columns: 1fr; max-width: 420px; }
.facts--2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.facts--3 { grid-template-columns: repeat(3, 1fr); max-width: 1000px; }
.lead .facts { margin-top: clamp(36px, 6vh, 70px); }
@media (max-width: 700px) {
  .facts--3 { grid-template-columns: 1fr; row-gap: 26px; }
  .facts--3 .fact, .facts--3 .fact:nth-child(3) { border-left: 0; }
  .facts--2 { grid-template-columns: 1fr 1fr; }
}

.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; max-width: 1240px; margin: 0 auto; padding: clamp(36px, 7vh, 80px) var(--pad-x); }
.split--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.split--rev .split__media { order: 2; }
.split__media { margin: 0; border-radius: 20px; overflow: hidden; background: var(--sand); box-shadow: 0 26px 60px -34px rgba(46, 33, 25, 0.55); }
.split__media img { width: 100%; height: auto; max-height: 82vh; object-fit: cover; transition: transform 1.2s var(--ease); }
.split__media:hover img { transform: scale(1.03); }
.split__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 16px; }
.split__body p { color: var(--ink-soft); font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.7; max-width: 32em; }
@media (max-width: 860px) {
  .split, .split--rev { grid-template-columns: 1fr; gap: 24px; }
  .split--rev .split__media { order: 0; }
}

.mosaic { max-width: 1400px; margin: 0 auto; padding: clamp(30px, 6vh, 70px) var(--pad-x); columns: 3 300px; column-gap: 14px; }
.mosaic__item { margin: 0 0 14px; break-inside: avoid; border-radius: 14px; overflow: hidden; background: var(--sand); }
.mosaic__item img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.mosaic__item:hover img { transform: scale(1.04); }
@media (max-width: 700px) { .mosaic { columns: 2 150px; column-gap: 10px; } .mosaic__item { margin-bottom: 10px; } }

.pager { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); border-top: 1px solid rgba(46, 33, 25, 0.12); }
.pager__link { padding: clamp(28px, 6vh, 64px) var(--pad-x); text-decoration: none; display: grid; gap: 8px; transition: background-color 0.25s; }
.pager__link:hover { background: var(--sand); }
.pager__link--next { text-align: right; border-left: 1px solid rgba(46, 33, 25, 0.12); }
.pager__label { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--wood); }
.pager__link--next .pager__label { justify-content: flex-end; }
.pager__label svg { width: 16px; height: 16px; }
.pager__title { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 40px); line-height: 1.1; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(20, 14, 10, 0.93); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: min(94vw, 1500px); max-height: 84vh; object-fit: contain; border-radius: 6px; }
.lightbox__close, .lightbox__nav { position: absolute; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: rgba(255, 253, 249, 0.12); transition: background-color 0.2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 253, 249, 0.26); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox svg { width: 22px; height: 22px; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: rgba(255, 253, 249, 0.8); font-size: 14px; padding: 0 70px; }
@media (max-width: 700px) { .lightbox__nav { top: auto; bottom: 14px; transform: none; } .lightbox__cap { bottom: 78px; padding: 0 20px; } }

/* ---------- Rezervacija ---------- */
.page-booking main { padding-top: var(--header-h); background: var(--cream); }
.bk-head { text-align: center; padding: clamp(46px, 8vh, 96px) var(--pad-x) clamp(20px, 3vh, 36px); }
.bk-head__title { margin: 12px auto 0; font-family: var(--font-serif); font-weight: 400; font-size: clamp(38px, 5.6vw, 78px); line-height: 1.06; letter-spacing: -0.012em; }
.bk-head__title em { font-style: italic; color: var(--wood); }
.bk-head__text { margin: 18px auto 0; max-width: 34em; color: var(--ink-soft); font-size: clamp(17px, 1.5vw, 20px); }
.bk-head__facts { display: inline-block; margin-top: 22px; padding: 10px 22px; border-radius: 999px; background: #efe0cf; color: var(--wood-dark); font-size: 16px; }

.bk { max-width: 1180px; margin: 0 auto; padding: 10px var(--pad-x) clamp(60px, 10vh, 120px); }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: 14.5px; color: var(--ink-soft); margin-bottom: 26px; }
.legend li { display: inline-flex; align-items: center; gap: 9px; }
.legend__how { font-weight: 600; color: var(--ink); }
.legend__dot { width: 18px; height: 18px; border-radius: 6px; display: inline-block; }
.legend__dot--free { background: #d6ead0; box-shadow: inset 0 0 0 1.5px #9cc793; }
.legend__dot--booked { background: #f2c6bf; box-shadow: inset 0 0 0 1.5px #d98c81; }
.legend__dot--none { background: #efe8dc; box-shadow: inset 0 0 0 1.5px #d9cfbf; }
.bk__status { text-align: center; color: var(--ink-soft); margin-bottom: 16px; min-height: 1.6em; }
.bk__status.is-error { color: #9b2c22; font-weight: 600; }
.bk__status:empty { display: none; }

.cals { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 36px); }
@media (max-width: 900px) { .cals { grid-template-columns: 1fr; } }
.cal { background: var(--white); border-radius: 24px; padding: clamp(18px, 2.4vw, 30px); box-shadow: 0 30px 70px -44px rgba(46, 33, 25, 0.6), 0 0 0 1px rgba(46, 33, 25, 0.06); }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cal__title { font-family: var(--font-script); font-weight: 400; font-size: clamp(38px, 3.6vw, 52px); line-height: 1; color: var(--wood-dark); }
.cal__nav { display: flex; gap: 8px; }
.cal__btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(46, 33, 25, 0.25); display: grid; place-items: center; transition: background-color 0.2s, color 0.2s, opacity 0.2s; }
.cal__btn:hover:not(:disabled) { background: var(--ink); color: var(--cream); }
.cal__btn:disabled { opacity: 0.28; cursor: default; }
.cal__btn svg { width: 18px; height: 18px; }
.cal__month { margin: 14px 0 12px; text-align: center; font-family: var(--font-serif); font-size: clamp(20px, 2vw, 25px); }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal__wd { text-align: center; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); padding-bottom: 4px; }
.day {
  position: relative; aspect-ratio: 1 / 1.06; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  font-size: 15px; font-weight: 600; line-height: 1.1; color: var(--ink); background: transparent; border: 0; padding: 0;
  transition: background-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.day__p { font-size: 10.5px; font-weight: 500; opacity: 0.75; letter-spacing: 0.01em; }
.day--empty { visibility: hidden; }
.day--none, .day--past { color: #b7aa98; font-weight: 500; cursor: default; }
.day--none { background: #f4eee4; }
.day--past { background: transparent; opacity: 0.55; }
.day--free { background: #d9ecd3; color: #24522b; box-shadow: inset 0 0 0 1.5px #a9d0a0; }
.day--free:hover:not(.is-start):not(.is-end):not(.is-in) { background: #c5e2bd; transform: translateY(-1px); }
.day--booked { background: #f5cdc7; color: #8a2f26; box-shadow: inset 0 0 0 1.5px #e39b90; cursor: not-allowed; }
.day--booked .day__p { display: none; }
.day--today::after { content: ""; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--wood); }
.day.is-end-ok { cursor: pointer; }
.day.is-end-ok.day--booked, .day.is-end-ok.day--none { outline: 2px dashed var(--wood); outline-offset: -3px; }
.day.is-in { background: #f0d3bf; color: var(--wood-dark); box-shadow: inset 0 0 0 1.5px #dfae8f; }
.day.is-start, .day.is-end { background: var(--wood); color: var(--white); box-shadow: none; }
.day.is-start .day__p, .day.is-end .day__p { opacity: 0.9; }
.day.is-end { background: var(--wood-dark); }
.day.is-preview { background: #f7e4d6; box-shadow: inset 0 0 0 1.5px #e6bc9f; color: var(--wood-dark); }
.cal__hint { min-height: 1.5em; margin-top: 14px; text-align: center; font-size: 14.5px; color: var(--wood-dark); font-weight: 600; }

.bk-summary { margin: clamp(22px, 4vh, 40px) auto 0; }
.bk-summary__empty { text-align: center; color: var(--ink-soft); }
.bk-summary__card { max-width: 860px; margin: 0 auto; background: var(--pine-dark); color: var(--white); border-radius: 22px; padding: 22px clamp(20px, 3vw, 34px); display: grid; grid-template-columns: repeat(4, auto) auto; gap: 14px 30px; align-items: center; justify-content: space-between; }
.bk-summary__card .k { display: block; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.75; font-weight: 600; }
.bk-summary__card .v { display: block; margin-top: 3px; font-family: var(--font-serif); font-size: clamp(19px, 2vw, 25px); }
.bk-summary__card .total .v { font-size: clamp(26px, 3vw, 36px); color: #f6c9a8; }
.bk-summary__unit { grid-column: 1 / -1; font-family: var(--font-script); font-size: 34px; line-height: 1; color: #f6c9a8; }
.bk-summary__clear { text-decoration: underline; text-underline-offset: 4px; font-size: 14px; opacity: 0.85; color: var(--white); }
.bk-summary__clear:hover { opacity: 1; }
@media (max-width: 700px) { .bk-summary__card { grid-template-columns: 1fr 1fr; } .bk-summary__clear { grid-column: 1 / -1; justify-self: start; } }

.bk-form { max-width: 860px; margin: 26px auto 0; background: var(--white); border-radius: 24px; padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 30px 70px -44px rgba(46, 33, 25, 0.6), 0 0 0 1px rgba(46, 33, 25, 0.06); }
.bk-form[hidden] { display: none; }
.bk-form__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(26px, 3vw, 36px); margin-bottom: 20px; }
.bk-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field span { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--cream); border: 1.5px solid #e4d8c7; border-radius: 12px; padding: 13px 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wood); box-shadow: 0 0 0 3px rgba(181, 83, 45, 0.18); }
.field.is-invalid input { border-color: #c0392b; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 15px; color: var(--ink-soft); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--wood); flex: none; }
.bk-form__note { margin: 14px 0 20px; font-size: 14px; color: var(--ink-soft); }
.bk-form__error { margin-bottom: 14px; padding: 12px 16px; border-radius: 12px; background: #fbe3df; color: #8a2f26; font-weight: 600; font-size: 15px; }
.bk-form__error[hidden] { display: none; }
@media (max-width: 640px) { .bk-form__grid { grid-template-columns: 1fr 1fr; } .field:nth-child(2), .field:nth-child(3) { grid-column: 1 / -1; } }

.bk-success { max-width: 700px; margin: 30px auto 0; text-align: center; background: #e2f0dd; border-radius: 24px; padding: clamp(28px, 5vw, 56px); color: #24522b; }
.bk-success[hidden] { display: none; }
.bk-success__title { font-family: var(--font-script); font-weight: 400; font-size: clamp(48px, 6vw, 72px); line-height: 1; margin-bottom: 14px; }
.bk-success p { max-width: 30em; margin: 0 auto 24px; font-size: 18px; }
