/* SmestajVlasenica — scene: a family back from the slope, blue hour outside, firelight inside. Dark. */
:root {
  --bg: oklch(0.18 0.022 255);
  --bg-2: oklch(0.22 0.026 255);
  --bg-3: oklch(0.27 0.03 255);
  --ink: oklch(0.96 0.008 250);
  --muted: oklch(0.77 0.02 250);
  --line: oklch(0.36 0.03 255);
  --accent: oklch(0.80 0.125 70);
  --accent-deep: oklch(0.70 0.13 60);
  --accent-ink: oklch(0.23 0.04 60);
  --booked: oklch(0.30 0.02 255);
  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --body: 'Manrope', system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1320px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.display { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.02; margin: 0; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 15px; letter-spacing: 0.02em; text-decoration: none; cursor: pointer; transition: background .3s, transform .3s; }
.btn:hover { background: oklch(0.85 0.12 72); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid oklch(0.96 0.008 250 / 0.35); }
.btn.ghost:hover { border-color: var(--ink); background: oklch(0.96 0.008 250 / 0.06); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.solid { background: oklch(0.18 0.022 255 / 0.88); backdrop-filter: blur(10px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo span { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: 0.01em; }
.logo em { font-style: italic; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .3s; }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { min-height: 42px; padding: 0 18px; font-size: 13px; color: var(--ink); }
@media (max-width: 860px) { .nav-links a:not(.btn) { display: none; } }
@media (max-width: 480px) { .logo span { font-size: 21px; } .logo svg { width: 28px; } .nav-links .btn { padding: 0 14px; } }

/* Snow */
.snow { position: absolute; inset: 0; pointer-events: none; z-index: 2; }

/* Reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .12s; } .rv.d2 { transition-delay: .24s; } .rv.d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* Calendar (shared by stan + vlasnik) */
.cal-month h4 { margin: 0 0 14px; font-family: var(--display); font-size: 26px; font-weight: 500; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.cal-wd { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 4px 0 8px; }
.cal-day { height: 46px; border-radius: 10px; border: 1px solid var(--line); background: transparent; font-size: 15px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s, color .2s; }
.cal-day:hover:not(:disabled) { border-color: var(--accent); }
.cal-day.booked { background: var(--booked); border-color: var(--booked); color: oklch(0.60 0.02 250); text-decoration: line-through; cursor: not-allowed; }
.cal-day.past { opacity: .35; cursor: not-allowed; }
.cal-day.sel { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cal-day.mid { background: oklch(0.80 0.125 70 / 0.18); border-color: oklch(0.80 0.125 70 / 0.4); }
.legend { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 8px; border: 1px solid var(--line); }
.legend i.b { background: var(--booked); border-color: var(--booked); }
.legend i.s { background: var(--accent); border-color: var(--accent); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; position: relative; overflow: hidden; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.foot .big { font-family: var(--display); font-size: clamp(48px, 9vw, 140px); line-height: .9; font-weight: 500; letter-spacing: -0.02em; margin: 56px 0 0; color: var(--bg-3); white-space: nowrap; }
.foot .big em { color: oklch(0.80 0.125 70 / 0.35); }
.foot small { color: var(--muted); font-size: 13px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
