/* ==========================================================================
   Bellucci Wine Bar · Višnjevac 3, Zagreb
   Boje uzorkovane iz logotipa i teksture · Fraunces + Jost
   ========================================================================== */

:root {
  /* Boje */
  --red: #a63b2e;
  --red-600: #922f24;
  --red-700: #7a261d;
  --wine: #5e1a14;
  --night: #24100d;
  --night-2: #331612;
  --cream: #fbebd8;
  --cream-2: #f3dcc2;
  --paper: #fcf4e9;
  --ochre: #d18f57;
  --ochre-600: #a3582c;
  --gold: #e8b77a;
  --ink: #2b1210;
  --ink-soft: #6a4a40;
  --open: #8fd18a;

  /* Tipografija */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Jost", "Futura", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  /* Raspored */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 68px;

  /* Pokret */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --noise: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .2 0 0 0 0 .15 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  color-scheme: light;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--red); color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--cream); color: var(--red-700);
  padding: .7em 1.2em; border-radius: 999px;
  font-weight: 500; text-decoration: none;
  transition: top .3s var(--ease-out);
}
.skip:focus { top: 12px; }

.i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Raspored ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(88px, 12vw, 168px); }

.red { background: var(--red) url("../assets/texture-red.jpg") center / cover; color: var(--cream); }
.paper { background-color: var(--paper); background-image: var(--noise); }
.night { background-color: var(--night); color: var(--cream); }

/* ---------- Tipografija ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .9em;
  margin: 0 0 1.25rem;
  font-family: var(--font-sans); font-weight: 500;
  font-size: .76rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ochre-600);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.red .eyebrow, .night .eyebrow { color: var(--gold); }
.red .eyebrow { color: var(--cream); }

.h2 {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: clamp(2.5rem, 6.2vw, 4.8rem);
  line-height: 1;
  letter-spacing: -.025em;
  margin: 0 0 .45em;
  text-wrap: balance;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
.h2 em {
  font-style: italic; font-weight: 400;
  color: var(--red);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.red .h2 em, .night .h2 em { color: var(--gold); }

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  line-height: 1.32; font-weight: 400;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 76px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-intro { font-size: 1.1rem; max-width: 50ch; opacity: .85; text-wrap: pretty; }
.center .section-intro { margin-inline: auto; }

/* ---------- Gumbi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 50px; padding: .95em 1.55em;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-sans); font-weight: 500;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .45s var(--ease-spring), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn .i { width: 18px; height: 18px; transition: transform .45s var(--ease-spring); }
.btn:hover { transform: translateY(-3px); }
.btn:hover .i { transform: rotate(-10deg) scale(1.1); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-cream { background: var(--cream); color: var(--red-700); box-shadow: 0 14px 30px -12px rgba(40, 8, 6, .6); }
.btn-cream:hover { background: #fff6ea; }
.btn-ghost { border-color: rgba(251, 235, 216, .55); color: var(--cream); }
.btn-ghost:hover { background: rgba(251, 235, 216, .12); border-color: var(--cream); }
.btn-ghost:hover .i { transform: translateX(4px); }
.btn-red { background: var(--red); color: var(--cream); box-shadow: 0 14px 30px -14px rgba(122, 38, 29, .8); }
.btn-red:hover { background: var(--red-600); }
.btn-outline { border-color: rgba(166, 59, 46, .45); color: var(--red-700); }
.btn-outline:hover { border-color: var(--red); background: rgba(166, 59, 46, .06); }

/* ---------- Status (otvoreno / zatvoreno) ---------- */
.status {
  display: inline-flex; align-items: center; gap: .65em;
  padding: .55em 1.05em;
  border-radius: 999px;
  border: 1px solid rgba(251, 235, 216, .32);
  background: rgba(36, 16, 13, .2);
  font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  white-space: nowrap; line-height: 1.2;
}
.status-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #c4ada0; flex: none; }
.status.is-open .status-dot { background: var(--open); }
.status.is-soon .status-dot { background: var(--gold); }
.status.is-open .status-dot::after,
.status.is-soon .status-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid currentColor; color: var(--open);
  animation: ping 2.2s var(--ease-out) infinite;
}
.status.is-soon .status-dot::after { color: var(--gold); }
.status.light { border-color: rgba(166, 59, 46, .28); background: rgba(166, 59, 46, .06); color: var(--red-700); }
.status.light.is-open .status-dot { background: #3c9a4a; }
.status.light.is-open .status-dot::after { color: #3c9a4a; }
.status.light.is-soon .status-dot { background: var(--ochre); }

@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.1); opacity: 0; } }

/* ==========================================================================
   Zaglavlje
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: var(--cream);
  transition: background-color .45s var(--ease-out), box-shadow .45s, transform .5s var(--ease-out), backdrop-filter .45s;
}
.site-header.is-scrolled {
  background-color: rgba(122, 38, 29, .9);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 10px 30px -18px rgba(36, 16, 13, .7);
}
.site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
.header-inner {
  height: 100%;
  width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), visibility 0s;
}
.site-header:not(.is-scrolled) .brand { opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .4s, transform .4s, visibility 0s .4s; }
body.menu-open .site-header .brand { opacity: 1; transform: none; visibility: visible; }
.brand img { height: 46px; width: auto; transition: transform .6s var(--ease-spring); }
.brand:hover img { transform: rotate(-7deg) scale(1.07); }
.brand-text {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.4rem; line-height: 1; letter-spacing: .005em;
}
.brand-text small {
  display: block; margin-top: 5px;
  font-family: var(--font-sans); font-size: .56rem; font-weight: 500;
  letter-spacing: .38em; text-transform: uppercase; color: var(--gold);
}

.nav { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.nav a {
  position: relative; padding: .6em 0;
  text-decoration: none;
  font-size: .76rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2em; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .55s var(--ease-out);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(251, 235, 216, .35);
  transition: background-color .3s, color .3s, transform .5s var(--ease-spring);
}
.icon-btn .i { width: 19px; height: 19px; }
.icon-btn:hover { background: var(--cream); color: var(--red); transform: rotate(-10deg) scale(1.05); }

.menu-btn {
  display: none; position: relative;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(251, 235, 216, .35);
  background: transparent; cursor: pointer;
}
.menu-btn span {
  position: absolute; left: 13px; right: 13px; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: transform .5s var(--ease-spring), top .35s var(--ease-out);
}
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}

/* ---------- Mobilni izbornik ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: calc(var(--header-h) + 36px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--red) url("../assets/texture-red.jpg") center / cover;
  color: var(--cream);
  overflow-y: auto;
  clip-path: circle(0 at calc(100% - var(--gutter) - 23px) 34px);
  visibility: hidden;
  transition: clip-path .8s var(--ease-out), visibility 0s .8s;
}
.mobile-menu.is-open {
  clip-path: circle(150% at calc(100% - var(--gutter) - 23px) 34px);
  visibility: visible;
  transition: clip-path .9s var(--ease-out), visibility 0s;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: .55em;
  padding: .12em 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.3rem, 10.5vw, 3.6rem); line-height: 1.12; letter-spacing: -.02em;
  text-decoration: none;
  opacity: 0; transform: translateY(26px);
  transition: opacity .4s, transform .5s var(--ease-out), color .3s;
}
.mobile-menu nav a small {
  font-family: var(--font-sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .2em; color: var(--gold);
}
.mobile-menu nav a:hover, .mobile-menu nav a:focus-visible { color: var(--gold); font-style: italic; }
.mobile-menu.is-open nav a { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i) * .07s); }
.mobile-menu-foot {
  display: grid; gap: 14px; justify-items: start;
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s, transform .6s var(--ease-out);
}
.mobile-menu.is-open .mobile-menu-foot { opacity: 1; transform: none; transition-delay: .55s; }
.mm-line { display: inline-flex; align-items: center; gap: .7em; text-decoration: none; font-size: 1.05rem; }
.mm-line .i { width: 18px; height: 18px; color: var(--gold); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--header-h) + 12px) var(--gutter) clamp(84px, 12vh, 128px);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, transparent 82%, var(--red) 100%),
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(255, 214, 170, .18), transparent 70%),
    radial-gradient(ellipse 90% 80% at 50% 45%, transparent 45%, rgba(40, 10, 8, .45) 100%);
}
.hero-rays {
  position: absolute; left: 50%; top: 42%; z-index: -3;
  width: max(1500px, 160vmax); aspect-ratio: 1;
  translate: calc(-50% + var(--px, 0px)) calc(-50% + var(--py, 0px));
  background: repeating-conic-gradient(from 0deg, rgba(251, 235, 216, .075) 0deg 5deg, transparent 5deg 14deg);
  -webkit-mask: radial-gradient(closest-side, #000 8%, rgba(0, 0, 0, .6) 30%, transparent 62%);
  mask: radial-gradient(closest-side, #000 8%, rgba(0, 0, 0, .6) 30%, transparent 62%);
  animation: spin 160s linear infinite;
  transition: translate 1.2s var(--ease-out);
  will-change: transform;
}
.hero-bubbles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }

.hero-inner { display: flex; flex-direction: column; align-items: center; max-width: 980px; }
.hero-status { margin-bottom: clamp(18px, 3.4vh, 34px); animation: fadeUp 1s var(--ease-out) .2s both; }

.hero-logo {
  width: min(300px, 52vw, 30vh);
  width: min(300px, 52vw, 30svh);
  min-width: 150px;
  perspective: 900px;
  margin-bottom: clamp(18px, 3.4vh, 36px);
}
.hero-logo-tilt {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .8s var(--ease-out);
}
.hero-logo img {
  width: 100%;
  animation: logoIn 1.6s var(--ease-out) both, float 7s ease-in-out 1.6s infinite;
}
@keyframes logoIn {
  from { opacity: 0; transform: scale(.84) translateY(18px); filter: blur(10px) drop-shadow(0 24px 40px rgba(50, 10, 6, 0)); }
  to { opacity: 1; transform: none; filter: blur(0) drop-shadow(0 24px 40px rgba(50, 10, 6, .45)); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 24px 40px rgba(50, 10, 6, .45)); }
  50% { transform: translateY(-10px); filter: drop-shadow(0 34px 44px rgba(50, 10, 6, .35)); }
}

.hero-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.7rem, 7.4vw, 6.4rem);
  line-height: .98; letter-spacing: -.03em;
  margin: 0 0 .38em;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.hero-title .line { display: block; overflow: hidden; padding: .08em .14em .1em; margin: -.08em -.14em -.1em; }
.hero-title .line > * { display: inline-block; animation: rise 1.2s var(--ease-out) both; animation-delay: var(--d, 0s); }
.hero-title em { font-style: italic; color: var(--gold); font-variation-settings: "SOFT" 100, "WONK" 1; }
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }

.hero-sub {
  max-width: 36ch; margin-bottom: 30px;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: rgba(251, 235, 216, .9);
  text-wrap: balance;
  animation: fadeUp 1s var(--ease-out) .95s both;
}
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; animation: fadeUp 1s var(--ease-out) 1.1s both; }
@media (max-width: 440px) {
  .hero-ctas .btn { padding: .9em 1.1em; letter-spacing: .11em; font-size: .74rem; gap: .5em; }
  .hero-ctas .btn .i { width: 16px; height: 16px; }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 40px; translate: -50% 0;
  width: 26px; height: 42px; border-radius: 14px;
  border: 1.5px solid rgba(251, 235, 216, .55);
  animation: fadeUp 1s var(--ease-out) 1.5s both;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; translate: -50% 0;
  width: 3px; height: 8px; border-radius: 2px; background: var(--cream);
  animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-height: 720px), (max-width: 760px) { .scroll-cue { display: none; } }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Trake (marquee)
   ========================================================================== */
.marquee {
  position: relative; overflow: hidden;
  background: var(--night); color: var(--cream);
  padding: 30px 0 24px;
}
.marquee::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 15px;
  background: radial-gradient(circle at 50% 0, var(--red) 0 13.5px, transparent 14px) 0 0 / 30px 15px repeat-x;
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-group { display: flex; align-items: center; flex: none; gap: clamp(22px, 3vw, 44px); padding-right: clamp(22px, 3vw, 44px); }
.marquee span {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1.1; white-space: nowrap;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.marquee i { font-style: normal; color: var(--ochre); font-size: clamp(.9rem, 1.6vw, 1.3rem); }
@keyframes marquee { to { transform: translateX(-50%); } }

.tape {
  position: relative; z-index: 2;
  overflow: hidden;
  padding-block: 64px; margin-block: -64px;
  pointer-events: none;
}
.marquee.alt {
  background: var(--ochre); color: var(--night);
  padding: 18px 0;
  margin: -22px -30px;
  rotate: -1.6deg;
  box-shadow: 0 18px 40px -24px rgba(43, 18, 16, .55);
}
.marquee.alt::before { display: none; }
.marquee.alt .marquee-track { animation-duration: 48s; animation-direction: reverse; }
.marquee.alt span {
  font-family: var(--font-sans); font-style: normal; font-weight: 500;
  font-size: clamp(.82rem, 1.3vw, 1rem); letter-spacing: .26em; text-transform: uppercase;
}
.marquee.alt i { color: var(--red-700); font-size: .8rem; }

/* ==========================================================================
   O nama
   ========================================================================== */
.about-grid { display: grid; gap: clamp(36px, 6vw, 100px); }
@media (min-width: 900px) { .about-grid { grid-template-columns: 5fr 6fr; align-items: start; } }
.about-head .h2 { max-width: 11ch; }

.stamp { width: clamp(124px, 14vw, 176px); margin-top: clamp(20px, 3vw, 44px); color: var(--cream); }
.stamp-bg { fill: var(--red); }
.stamp text { font-family: var(--font-sans); font-size: 13px; font-weight: 500; letter-spacing: .18em; fill: var(--cream); }
.stamp .stamp-od { font-family: var(--font-display); font-style: italic; font-size: 18px; letter-spacing: 0; fill: var(--cream); opacity: .85; }
.stamp .stamp-year { font-family: var(--font-display); font-size: 38px; font-weight: 500; letter-spacing: -.01em; fill: var(--gold); }
.stamp-ring { transform-origin: 100px 100px; animation: spin 28s linear infinite; }

.about-body .lead { color: var(--red-700); margin-bottom: 1.1em; }
.about-body p:not(.lead) { color: var(--ink-soft); max-width: 58ch; }
.about-body p:not(.lead) + p { margin-top: 1em; }

.facts { display: grid; margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid rgba(166, 59, 46, .2); }
.facts li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid rgba(166, 59, 46, .2);
}
.facts strong { font-family: var(--font-display); font-weight: 500; font-size: 2rem; line-height: 1; color: var(--red); letter-spacing: -.02em; white-space: nowrap; }
.facts span { font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); text-align: right; }
@media (min-width: 560px) {
  .facts { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .facts li { flex-direction: column; justify-content: flex-start; gap: 10px; border-bottom: 0; border-left: 1px solid rgba(166, 59, 46, .2); padding: 4px 0 4px 22px; }
  .facts li:first-child { border-left: 0; padding-left: 0; }
  .facts strong { font-size: clamp(2rem, 3.4vw, 2.9rem); }
  .facts span { text-align: left; }
}

/* ==========================================================================
   Dan i noć
   ========================================================================== */
.daynight {
  --bg: #f5e1c8; --fg: var(--ink); --accent: var(--red); --muted: var(--ink-soft);
  --line: rgba(166, 59, 46, .22); --thumb-fg: var(--cream); --track: rgba(43, 18, 16, .07);
  overflow: hidden;
  background-color: var(--bg); color: var(--fg);
  transition: background-color 1.1s var(--ease-out), color 1.1s var(--ease-out);
}
.daynight[data-mode="night"] {
  --bg: var(--night); --fg: var(--cream); --accent: var(--gold); --muted: rgba(251, 235, 216, .74);
  --line: rgba(232, 183, 122, .24); --thumb-fg: var(--night); --track: rgba(251, 235, 216, .08);
}
.daynight .eyebrow, .daynight .h2 em, .dn-time, .dn-foot, .dn-list li::before, .dn-art { color: var(--accent); transition: color 1.1s var(--ease-out); }
.daynight .dn-copy > p:not(.dn-time):not(.dn-foot) { color: var(--muted); transition: color 1.1s var(--ease-out); }

.dn-sky { position: absolute; inset: 0; pointer-events: none; }
.dn-sun {
  position: absolute; top: clamp(56px, 9vw, 110px); right: clamp(-70px, 5vw, 120px);
  width: clamp(150px, 20vw, 280px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #f8d39c, var(--ochre) 64%, #c27a45);
  box-shadow: 0 0 0 18px rgba(209, 143, 87, .12), 0 0 0 42px rgba(209, 143, 87, .07), 0 0 140px 30px rgba(232, 183, 122, .35);
  transition: transform 1.4s var(--ease-out), opacity 1s var(--ease-out);
}
.dn-sun::before {
  content: ""; position: absolute; inset: -62px; border-radius: 50%;
  border: 2px dashed rgba(209, 143, 87, .4);
  animation: spin 70s linear infinite;
}
.daynight[data-mode="night"] .dn-sun { transform: translateY(160%) scale(.7); opacity: 0; }

.dn-moon {
  position: absolute; top: clamp(64px, 9vw, 110px); right: clamp(10px, 10vw, 190px);
  width: clamp(100px, 12vw, 160px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fff7ea, var(--cream) 60%, #ecd3b4);
  -webkit-mask: radial-gradient(ellipse 41% 41% at 72% 30%, transparent 98%, #000 100%);
  mask: radial-gradient(ellipse 41% 41% at 72% 30%, transparent 98%, #000 100%);
  filter: drop-shadow(0 0 28px rgba(251, 235, 216, .35));
  transform: translateY(-140%) rotate(-30deg); opacity: 0;
  transition: transform 1.4s var(--ease-out), opacity 1s var(--ease-out);
}
.daynight[data-mode="night"] .dn-moon { transform: rotate(-18deg); opacity: 1; transition-delay: .2s; }
@media (max-width: 640px) {
  .dn-sun { top: 18px; right: -64px; width: 140px; }
  .dn-sun::before { inset: -36px; }
  .dn-moon { top: 26px; right: 18px; width: 82px; }
}

.dn-stars { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease-out); }
.daynight[data-mode="night"] .dn-stars { opacity: 1; }
.star {
  position: absolute; border-radius: 50%; background: var(--cream);
  animation: twinkle var(--t, 3s) ease-in-out var(--dl, 0s) infinite alternate;
}
@keyframes twinkle { from { opacity: .15; transform: scale(.7); } to { opacity: 1; transform: scale(1.15); } }

.daynight .container { position: relative; }
.dn-head { max-width: 640px; margin-bottom: clamp(44px, 6vw, 80px); }
.dn-toggle {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 5px; border-radius: 999px;
  background: var(--track); border: 1px solid var(--line);
  transition: background-color 1.1s, border-color 1.1s;
}
.dn-toggle button {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: .8em 1.5em;
  border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--fg);
  transition: color .5s var(--ease-out);
}
.dn-toggle button .i { width: 18px; height: 18px; transition: transform .7s var(--ease-spring); }
.dn-toggle button[aria-pressed="true"] { color: var(--thumb-fg); }
.dn-toggle button[aria-pressed="true"] .i { transform: rotate(-25deg) scale(1.12); }
.dn-thumb {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px);
  border-radius: 999px; background: var(--accent);
  box-shadow: 0 8px 20px -10px rgba(43, 18, 16, .6);
  transition: transform .7s var(--ease-spring), background-color 1.1s var(--ease-out);
}
.daynight[data-mode="night"] .dn-thumb { transform: translateX(100%); }

.dn-panels { display: grid; }
.dn-panel {
  grid-area: 1 / 1;
  display: grid; gap: clamp(24px, 5vw, 80px); align-items: center;
  opacity: 0; visibility: hidden; transform: translateY(26px);
  transition: opacity .6s var(--ease-out), transform .9s var(--ease-out), visibility 0s .6s;
}
.dn-panel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .8s var(--ease-out) .25s, transform 1s var(--ease-out) .25s, visibility 0s; }
@media (min-width: 900px) { .dn-panel { grid-template-columns: 7fr 5fr; } }

.dn-time {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3.8rem, 11vw, 8rem); line-height: .9; letter-spacing: -.04em;
  font-variant-numeric: lining-nums;
}
.dn-panel h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -.015em;
  margin: .35em 0 .5em;
}
.dn-copy > p:not(.dn-time):not(.dn-foot) { max-width: 46ch; font-size: 1.08rem; }
.dn-list { margin-top: 26px; border-top: 1px solid var(--line); transition: border-color 1.1s; }
.dn-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); transition: border-color 1.1s; }
.dn-list li::before { content: "✦"; font-size: .75rem; }
.dn-foot { margin-top: 22px; font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }

.dn-art { justify-self: center; width: min(100%, 380px); }
.dn-art svg { width: 100%; height: auto; overflow: visible; }
.dn-panel.is-active .dn-art svg { animation: bob 6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-1.5deg); } }
@media (max-width: 899px) {
  .dn-art { order: -1; justify-self: start; width: min(64vw, 260px); }
}

.clink { transform-box: fill-box; transform-origin: 50% 100%; animation: clink 2.4s var(--ease-out) infinite; }
@keyframes clink { 0%, 55% { opacity: 0; transform: scale(.5); } 65% { opacity: 1; transform: scale(1.1); } 100% { opacity: 0; transform: scale(1.3); } }

/* Animirani detalji ilustracija */
.steam, .smoke { animation: steam 3.3s ease-in-out infinite; }
@keyframes steam {
  0% { transform: translateY(6px); opacity: 0; }
  35% { opacity: .9; }
  100% { transform: translateY(-12px); opacity: 0; }
}
.spark { transform-box: fill-box; transform-origin: center; animation: sparkle 2.8s ease-in-out infinite; }
@keyframes sparkle { 0%, 100% { transform: scale(.4) rotate(0); opacity: .2; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }

/* ==========================================================================
   Ponuda
   ========================================================================== */
.menu .section-intro { color: rgba(251, 235, 216, .92); }
.cards { display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px 24px 26px;
  border-radius: 26px;
  background-color: var(--paper); background-image: var(--noise);
  color: var(--ink);
  box-shadow: 0 34px 60px -32px rgba(36, 10, 6, .75);
  transition: transform .6s var(--ease-spring), box-shadow .6s var(--ease-out);
}
.card::before {
  content: ""; position: absolute; inset: 9px; border-radius: 19px;
  border: 1px solid rgba(166, 59, 46, .22); pointer-events: none;
}
.card:hover { transform: translateY(-10px) rotate(-1.2deg); box-shadow: 0 44px 70px -32px rgba(36, 10, 6, .85); }
.card:nth-child(even):hover { transform: translateY(-10px) rotate(1.2deg); }
.card-no { font-size: .72rem; font-weight: 500; letter-spacing: .24em; color: var(--ochre-600); }
.card-art { display: grid; place-items: center; height: 150px; color: var(--red); }
.card-art svg { width: auto; height: 124px; overflow: visible; transition: transform .7s var(--ease-spring); }
.card:hover .card-art svg { transform: scale(1.08) rotate(-3deg); }
.card h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.7rem, 2.2vw, 2rem); line-height: 1.05; letter-spacing: -.015em;
  margin: 4px 0 10px; color: var(--red-700);
}
.card p { color: var(--ink-soft); font-size: .98rem; line-height: 1.6; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.card-tag {
  padding: .45em .9em; border-radius: 999px;
  background: rgba(166, 59, 46, .08); color: var(--red-700);
  font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  white-space: nowrap;
}
.card-tag b { font-weight: 600; letter-spacing: .06em; }
.card-link {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: .35em;
  min-height: 36px; padding: 0 2px;
  font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); text-decoration: none;
}
.card-link .i { width: 16px; height: 16px; transition: transform .45s var(--ease-spring); }
.card-link:hover .i { transform: translateX(4px); }
.cards-dots { display: none; justify-content: center; gap: 8px; margin-top: 22px; }
.cards-dots span { width: 7px; height: 7px; border-radius: 99px; background: rgba(251, 235, 216, .4); transition: width .45s var(--ease-out), background-color .3s; }
.cards-dots span.is-active { width: 24px; background: var(--cream); }
.menu-note {
  margin-top: clamp(36px, 5vw, 56px); text-align: center;
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: rgba(251, 235, 216, .9);
}

@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .cards {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%;
    gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding: 14px var(--gutter) 24px;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .cards::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: center; }
  .card:hover, .card:nth-child(even):hover { transform: none; }
  .cards-dots { display: flex; margin-top: 4px; }
}

/* ==========================================================================
   Cjenik
   ========================================================================== */
.cjenik::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 15px;
  background: radial-gradient(circle at 50% 0, var(--red) 0 13.5px, transparent 14px) 0 0 / 30px 15px repeat-x;
}
.cj-search { position: relative; width: min(100%, 480px); margin: 0 auto 14px; }
.cj-search .i { position: absolute; left: 20px; top: 50%; translate: 0 -50%; width: 19px; height: 19px; color: var(--ochre-600); pointer-events: none; }
.cj-search input {
  width: 100%; min-height: 54px;
  padding: .8em 1.3em .8em 3.1em;
  border-radius: 999px; border: 1.5px solid rgba(166, 59, 46, .25);
  background: #fffaf3; color: var(--ink);
  font: 400 1rem var(--font-sans);
  -webkit-appearance: none; appearance: none;
  transition: border-color .3s, box-shadow .3s;
}
.cj-search input::placeholder { color: rgba(106, 74, 64, .7); }
.cj-search input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(166, 59, 46, .12); }

.cj-tabs {
  position: sticky; top: 0; z-index: 6;
  display: flex; gap: 8px;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  margin-inline: calc(-1 * var(--gutter)); padding: 12px var(--gutter);
  background: rgba(252, 244, 233, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: top .5s var(--ease-out);
}
.cj-tabs::-webkit-scrollbar { display: none; }
html.header-shown .cj-tabs { top: var(--header-h); }
.cj-tab:first-child { margin-left: auto; }
.cj-tab:last-child { margin-right: auto; }
@media (min-width: 900px) {
  .cj-tabs { flex-wrap: wrap; justify-content: center; overflow: visible; }
  .cj-tab:first-child, .cj-tab:last-child { margin: 0; }
}
.cj-tab {
  flex: none;
  display: inline-flex; align-items: center; gap: .55em;
  min-height: 44px; padding: .55em 1.1em;
  border-radius: 999px; border: 1px solid rgba(166, 59, 46, .28);
  background: transparent; color: var(--red-700); cursor: pointer;
  font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease-spring);
}
.cj-tab:hover { border-color: var(--red); transform: translateY(-2px); }
.cj-tab[aria-selected="true"] { background: var(--red); border-color: var(--red); color: var(--cream); }
.cjenik.is-searching .cj-tab[aria-selected="true"] { background: transparent; color: var(--red-700); border-color: rgba(166, 59, 46, .28); }
.cj-count {
  min-width: 1.7em; padding: .15em .45em; border-radius: 999px;
  background: rgba(166, 59, 46, .1);
  font-size: .64rem; letter-spacing: 0; text-align: center; font-variant-numeric: tabular-nums;
}
.cj-tab[aria-selected="true"] .cj-count { background: rgba(251, 235, 216, .22); }
.cjenik.is-searching .cj-tab[aria-selected="true"] .cj-count { background: rgba(166, 59, 46, .1); }

.cj-board {
  position: relative;
  margin-top: 14px;
  padding: clamp(34px, 5vw, 68px) clamp(22px, 5vw, 68px) clamp(30px, 4.5vw, 60px);
  border-radius: 6px;
  background: #fffaf2;
  box-shadow: 0 44px 80px -54px rgba(43, 18, 16, .55), 0 2px 0 rgba(166, 59, 46, .06);
}
.cj-board::before, .cj-board::after { content: ""; position: absolute; pointer-events: none; border-radius: 3px; }
.cj-board::before { inset: 10px; border: 1.5px solid var(--red); }
.cj-board::after { inset: 15px; border: 1px solid rgba(166, 59, 46, .3); }

.cj-head { text-align: center; margin-bottom: clamp(26px, 4vw, 46px); }
.cj-head h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.55rem, 4vw, 2.6rem); line-height: 1.1;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--red-700);
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
.cj-head p { margin-top: 10px; font-size: .68rem; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; color: var(--red); }
.cj-note {
  display: inline-block; margin-top: 16px;
  padding: .35em .9em; border-radius: 999px;
  background: rgba(209, 143, 87, .16); color: var(--ochre-600);
  font-family: var(--font-display); font-style: italic; font-size: .95rem;
}

.cj-cols { columns: 2 330px; column-gap: clamp(36px, 5vw, 80px); }
.cj-group { margin-bottom: 26px; }
.cj-group:last-child { margin-bottom: 0; }
.cj-group h4 {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  break-after: avoid;
  margin: 0 0 2px; padding-bottom: 8px;
  border-bottom: 1.5px solid var(--red);
  font-family: var(--font-display); font-weight: 700;
  font-size: .9rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--red-700);
}
.cj-group ul { margin: 0; }
.cj-item { break-inside: avoid; padding: 11px 0 10px; border-bottom: 1px solid rgba(166, 59, 46, .15); }
.cj-row { display: flex; align-items: baseline; gap: 8px; }
.cj-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 450; line-height: 1.3; color: var(--ink); }
.cj-dots { flex: 1 1 16px; min-width: 16px; height: 1px; border-bottom: 2px dotted rgba(166, 59, 46, .32); transform: translateY(-4px); }
.cj-vol { font-size: .8rem; color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cj-tag {
  white-space: nowrap; padding: .22em .6em; border-radius: 999px;
  background: rgba(209, 143, 87, .18); color: var(--ochre-600);
  font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.cj-price {
  min-width: 4.3em; text-align: right; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  color: var(--red-700); font-variant-numeric: tabular-nums;
}
/* Vina: čaša + boca */
.cj-price, .cj-vol, .cj-tag { flex: none; }
.cj-colheads { display: flex; gap: 8px; }
.pair .cj-price { min-width: 0; }
.cj-colheads span, .has-pair .pair .cj-price { width: var(--pw, 4.6rem); }
.cj-colheads span {
  text-align: right;
  font-family: var(--font-sans); font-size: .6rem; font-weight: 600; letter-spacing: .18em;
  color: var(--ochre-600);
}
.cj-price small {
  margin-right: .4em;
  font-family: var(--font-sans); font-size: .58rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ochre-600);
}
.has-pair .cj-price small { display: none; }
@media (max-width: 560px) {
  .pair .cj-row { flex-wrap: wrap; justify-content: flex-end; column-gap: 18px; row-gap: 2px; }
  .pair .cj-name { flex: 1 0 100%; }
  .pair .cj-dots { display: none; }
  .has-pair .pair .cj-price { width: auto; }
  .has-pair .cj-price small { display: inline; }
  .has-pair .cj-colheads { display: none; }
}

.cj-desc { margin-top: 1px; font-family: var(--font-display); font-style: italic; font-size: .92rem; color: var(--ink-soft); }
.cj-badge {
  display: inline-block; margin-left: 8px; vertical-align: 3px;
  padding: .28em .62em; border-radius: 999px;
  background: var(--gold); color: var(--night);
  font-family: var(--font-sans); font-size: .56rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.cj-item.is-star .cj-name { color: var(--red-700); font-weight: 600; }
.cj-cat {
  display: block; margin-bottom: 1px;
  font-family: var(--font-sans); font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ochre-600);
}
.cj-panel { animation: cjIn .55s var(--ease-out); }
@keyframes cjIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cj-empty { text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--ink-soft); padding: 12px 0; }
.cj-legal { max-width: 72ch; margin: 26px auto 0; text-align: center; font-size: .82rem; line-height: 1.6; color: var(--ink-soft); }
.cj-legal p + p { margin-top: .2em; }
.cj-legal a { color: var(--red-700); }

@media (max-width: 520px) {
  .cj-board { padding-inline: 24px; }
  .cj-name, .cj-price { font-size: 1.02rem; }
  .cj-vol { font-size: .74rem; }
}

/* ==========================================================================
   Barometar raspoloženja
   ========================================================================== */
.mood {
  background:
    radial-gradient(ellipse 55% 50% at 85% 25%, rgba(166, 59, 46, .38), transparent 70%),
    radial-gradient(ellipse 45% 45% at 5% 95%, rgba(209, 143, 87, .14), transparent 70%),
    var(--night);
}
.mood-grid { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 960px) { .mood-grid { grid-template-columns: 1fr 1.05fr; } }
.mood-copy > p:not(.eyebrow) { color: rgba(251, 235, 216, .76); max-width: 42ch; font-size: 1.08rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
  min-height: 46px; padding: .62em 1.25em;
  border-radius: 999px; border: 1px solid rgba(251, 235, 216, .28);
  background: rgba(251, 235, 216, .04); color: var(--cream);
  font-family: var(--font-display); font-style: italic; font-size: 1.06rem;
  cursor: pointer;
  transition: background-color .35s, color .35s, border-color .35s, transform .45s var(--ease-spring);
}
.chip:hover { border-color: var(--gold); transform: translateY(-3px) rotate(-1.5deg); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--night); }

.mood-result {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(22px, 4vw, 52px); align-items: center;
  padding: clamp(26px, 4vw, 48px);
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(251, 235, 216, .07), rgba(251, 235, 216, .02));
  border: 1px solid rgba(251, 235, 216, .12);
}
.vessel { --level: 72px; --wine: #ee6f2d; position: relative; width: clamp(118px, 15vw, 200px); aspect-ratio: 200 / 260; }
.vessel svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transition: opacity .5s var(--ease-out), transform .7s var(--ease-spring); }
.vessel svg { opacity: 0; transform: scale(.82) translateY(14px); }
.vessel[data-kind="glass"] .glass,
.vessel[data-kind="tumbler"] .tumbler,
.vessel[data-kind="cup"] .cup { opacity: 1; transform: none; }
.ice { fill: rgba(255, 255, 255, .22); stroke: rgba(251, 235, 216, .85); stroke-width: 2; }

.glass-body { fill: rgba(251, 235, 216, .05); }
.glass-line { fill: none; stroke: var(--cream); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.glint { fill: none; stroke: rgba(255, 255, 255, .32); stroke-width: 5; stroke-linecap: round; }
.liquid { transform: translateY(var(--level)); transition: transform 1.3s var(--ease-spring); }
.vessel.is-draining .liquid { transition: transform .42s cubic-bezier(.55, 0, .9, .4); }
.liquid-wave { fill: var(--wine); transition: fill .6s var(--ease-out); animation: wave 2.6s linear infinite; }
@keyframes wave { to { transform: translateX(100px); } }
.bubbles circle { fill: rgba(255, 255, 255, .8); opacity: 0; }
.vessel[data-fizz="true"] .bubbles circle { animation: bubble 2.4s ease-in infinite; }
@keyframes bubble { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 85% { opacity: .6; } 100% { transform: translateY(-74px); opacity: 0; } }

.cup-line { fill: none; stroke: var(--cream); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.cup-fill { fill: rgba(251, 235, 216, .06); }
.cup-steam path { fill: none; stroke: var(--cream); stroke-width: 3; stroke-linecap: round; opacity: .75; }

.result-card .eyebrow { margin-bottom: .6rem; }
.result-title {
  font-family: var(--font-display); font-weight: 400; font-style: italic;
  font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.02; letter-spacing: -.02em;
  color: var(--gold); margin-bottom: .35em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.result-price {
  display: inline-block; margin-bottom: 14px;
  padding: .3em .8em; border-radius: 999px;
  background: rgba(232, 183, 122, .14); color: var(--gold);
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; font-variant-numeric: tabular-nums;
}
.result-text { color: rgba(251, 235, 216, .84); font-size: 1.05rem; }
.result-link {
  display: inline-flex; align-items: center; gap: .45em; margin-top: 18px; min-height: 40px;
  font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cream); text-decoration: none;
  border-bottom: 1px solid rgba(251, 235, 216, .35);
  transition: border-color .3s, color .3s;
}
.result-link .i { width: 16px; height: 16px; transition: transform .45s var(--ease-spring); }
.result-link:hover { color: var(--gold); border-color: var(--gold); }
.result-link:hover .i { transform: translateX(4px); }
.result-swap { animation: swapIn .6s var(--ease-out); }
@keyframes swapIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 520px) {
  .mood-result { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .result-card .eyebrow { justify-content: center; }
  .result-card .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
}

/* ==========================================================================
   Jedan dan u Bellucciju
   ========================================================================== */
.timeline { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(3, 1fr); }
.tl-card {
  --r: 0deg;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  min-height: clamp(250px, 26vw, 330px);
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: 26px;
  text-decoration: none;
  transform: rotate(var(--r));
  box-shadow: 0 26px 50px -32px rgba(43, 18, 16, .6);
  transition: transform .7s var(--ease-spring), box-shadow .6s var(--ease-out);
}
.tl-card:hover { transform: rotate(0) translateY(-8px) scale(1.02); box-shadow: 0 36px 60px -30px rgba(43, 18, 16, .65); }
.tl-card:nth-child(1) { --r: -1.6deg; }
.tl-card:nth-child(2) { --r: 1.1deg; }
.tl-card:nth-child(3) { --r: -.7deg; }
.tl-card:nth-child(4) { --r: 1.4deg; }
.tl-card:nth-child(5) { --r: -1.1deg; }
.tl-card:nth-child(6) { --r: .9deg; }
.t1 { background: var(--cream); color: var(--red-700); box-shadow: inset 0 0 0 1px rgba(166, 59, 46, .2), 0 26px 50px -32px rgba(43, 18, 16, .5); }
.t2 { background: #efc48f; color: var(--night); }
.t3 { background: var(--ochre); color: var(--night); }
.t4 { color: var(--cream); }
.t5 { background: var(--wine); color: var(--cream); }
.t6 { background: var(--night); color: var(--cream); }
.t6 .tl-time { color: var(--gold); }

.tl-top { display: flex; justify-content: space-between; align-items: flex-start; }
.tl-time {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 4.6vw, 3.8rem); line-height: 1; letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.tl-ig { width: 22px; height: 22px; opacity: .7; transition: opacity .3s, transform .6s var(--ease-spring); }
.tl-card:hover .tl-ig { opacity: 1; transform: rotate(-14deg) scale(1.2); }
.tl-icon {
  position: absolute; z-index: -1; right: -8%; bottom: 12%;
  width: 58%; height: auto; aspect-ratio: 1;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  opacity: .17; transform: rotate(-8deg);
  transition: transform .9s var(--ease-spring), opacity .5s;
}
.tl-card:hover .tl-icon { transform: rotate(4deg) scale(1.1); opacity: .28; }
.tl-cap {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.25; max-width: 13ch;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.center-cta { display: flex; justify-content: center; margin-top: clamp(44px, 6vw, 72px); }

@media (max-width: 1023px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .timeline {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%;
    gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding: 16px var(--gutter) 26px;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .timeline::-webkit-scrollbar { display: none; }
  .tl-card { scroll-snap-align: center; min-height: 290px; }
  .tl-card:hover { transform: rotate(var(--r)); }
}

/* ==========================================================================
   Posjetite nas
   ========================================================================== */
.visit { padding-top: clamp(110px, 13vw, 180px); }
.visit-grid { display: grid; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 960px) { .visit-grid { grid-template-columns: 5fr 6fr; align-items: stretch; } }
.visit .status { margin-top: 4px; }

.info-list { display: grid; gap: 22px; margin: 34px 0 36px; }
.info-list dt { margin-bottom: 4px; font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ochre-600); }
.info-list dd { font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.25; letter-spacing: -.01em; }
.info-list dd a {
  text-decoration: none;
  background: linear-gradient(var(--red), var(--red)) 0 100% / 0 1.5px no-repeat;
  transition: background-size .55s var(--ease-out), color .3s;
}
.info-list dd a:hover { background-size: 100% 1.5px; color: var(--red-700); }
.info-list small { display: block; margin-top: 2px; font-family: var(--font-sans); font-size: .92rem; color: var(--ink-soft); }

.hours { width: 100%; border-collapse: separate; border-spacing: 0; }
.hours caption { text-align: left; margin-bottom: 10px; font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ochre-600); }
.hours th, .hours td { padding: 14px 14px; border-bottom: 1px solid rgba(166, 59, 46, .18); transition: background-color .4s, color .4s; }
.hours th { text-align: left; font-weight: 400; font-size: 1rem; }
.hours td { text-align: right; white-space: nowrap; font-family: var(--font-display); font-size: 1.18rem; font-variant-numeric: tabular-nums; }
.hours tr:first-child th, .hours tr:first-child td { border-top: 1px solid rgba(166, 59, 46, .18); }
.hours tr.is-today th, .hours tr.is-today td { background: var(--red); color: var(--cream); border-color: transparent; }
.hours tr.is-today th { border-radius: 14px 0 0 14px; }
.hours tr.is-today td { border-radius: 0 14px 14px 0; }
.hours .short { display: none; }
.today-tag {
  display: none; margin-left: 10px; vertical-align: 2px;
  padding: .25em .65em; border-radius: 999px;
  background: var(--gold); color: var(--night);
  font-size: .6rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.is-today .today-tag { display: inline-block; }
@media (max-width: 420px) {
  .hours .long { display: none; }
  .hours .short { display: inline; }
}
.visit-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.map-frame {
  position: relative; overflow: hidden;
  min-height: 440px;
  border-radius: 30px;
  background: var(--cream-2);
  border: 1px solid rgba(166, 59, 46, .2);
  box-shadow: 0 44px 80px -44px rgba(43, 18, 16, .55);
}
.map-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: sepia(.38) saturate(1.15) hue-rotate(-12deg) contrast(1.02);
}
.map-badge {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px; border-radius: 20px;
  background: var(--paper); color: var(--ink); text-decoration: none;
  box-shadow: 0 16px 36px -16px rgba(43, 18, 16, .55);
  transition: transform .5s var(--ease-spring);
}
.map-badge:hover { transform: translateY(-4px) rotate(-1deg); }
.map-badge img { width: 42px; height: auto; }
.map-badge strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; line-height: 1.2; }
.map-badge span span { font-size: .8rem; color: var(--ink-soft); }
@media (max-width: 959px) { .map-frame { min-height: 0; aspect-ratio: 4 / 3.4; } }

/* ==========================================================================
   Podnožje
   ========================================================================== */
.footer { position: relative; text-align: center; padding: clamp(80px, 10vw, 140px) 0 calc(40px + env(safe-area-inset-bottom)); overflow: hidden; }
.footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 15px;
  background: radial-gradient(circle at 50% 0, var(--paper) 0 13.5px, transparent 14px) 0 0 / 30px 15px repeat-x;
}
.footer-logo { width: clamp(104px, 11vw, 140px); margin: 0 auto 6px; filter: drop-shadow(0 18px 30px rgba(50, 10, 6, .35)); }
.cheers {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(4.4rem, 16vw, 12.5rem); line-height: .95; letter-spacing: -.035em;
  margin: .05em 0 .32em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  cursor: default; user-select: none;
}
.cheers span[aria-hidden] { display: inline-block; }
.js .cheers span[aria-hidden] { opacity: 0; }
.cheers.is-in span[aria-hidden] { animation: wobbleIn 1.1s var(--ease-spring) both; animation-delay: calc(var(--i) * .06s); }
.cheers.is-in:hover span[aria-hidden] { animation: jump .7s var(--ease-spring) both; animation-delay: calc(var(--i) * .04s); }
@keyframes wobbleIn { from { opacity: 0; transform: translateY(60%) rotate(10deg); } to { opacity: 1; transform: none; } }
@keyframes jump { 0% { opacity: 1; transform: none; } 40% { opacity: 1; transform: translateY(-14%) rotate(-6deg); } 100% { opacity: 1; transform: none; } }

.footer-cols {
  display: grid; gap: 28px;
  max-width: 920px; margin: 0 auto;
  padding: 38px 0;
  border-block: 1px solid rgba(251, 235, 216, .25);
}
@media (min-width: 720px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.f-label { margin-bottom: 10px; font-size: .7rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.footer-cols p:not(.f-label) { font-family: var(--font-display); font-size: 1.16rem; line-height: 1.55; }
.footer a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.footer a:hover { background-size: 100% 1px; }
.legal { margin-top: 30px; font-size: .78rem; letter-spacing: .06em; opacity: .75; }
.legal-company { margin-top: 6px; font-size: .72rem; opacity: .6; }

/* ==========================================================================
   Brze akcije (mobitel)
   ========================================================================== */
.action-bar {
  position: fixed; z-index: 40;
  left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: none; grid-template-columns: repeat(4, 1fr); gap: 4px;
  padding: 6px; border-radius: 22px;
  background: rgba(36, 16, 13, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 18px 40px -14px rgba(20, 6, 4, .7), inset 0 0 0 1px rgba(251, 235, 216, .08);
  transform: translateY(160%);
  transition: transform .6s var(--ease-spring);
}
.action-bar.is-visible { transform: none; }
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 56px; padding: 8px 4px; border-radius: 16px;
  color: var(--cream); text-decoration: none;
  font-size: .6rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  transition: background-color .3s, transform .3s var(--ease-spring);
}
.action-bar a:first-child { background: var(--red); }
.action-bar a:active { transform: scale(.95); }
.action-bar .i { width: 20px; height: 20px; }
@media (max-width: 760px) {
  .action-bar { display: grid; }
  .footer { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
}

/* ==========================================================================
   Otkrivanje pri skrolanju
   ========================================================================== */
.js [data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .tl-card[data-reveal] { transform: translateY(30px) rotate(var(--r)); }
.js .tl-card[data-reveal].is-in { transform: rotate(var(--r)); transition: opacity .9s var(--ease-out) var(--d, 0s), transform .7s var(--ease-spring), box-shadow .6s var(--ease-out); }
.js .tl-card[data-reveal].is-in:hover { transform: rotate(0) translateY(-8px) scale(1.02); transition-delay: 0s; }
.js .card[data-reveal].is-in { transition: opacity .9s var(--ease-out) var(--d, 0s), transform .6s var(--ease-spring), box-shadow .6s var(--ease-out); }
.js .card[data-reveal].is-in:hover { transform: translateY(-10px) rotate(-1.2deg); transition-delay: 0s; }
.js .card[data-reveal].is-in:nth-child(even):hover { transform: translateY(-10px) rotate(1.2deg); }
@media (max-width: 640px) {
  .js .card[data-reveal].is-in:hover, .js .card[data-reveal].is-in:nth-child(even):hover { transform: none; }
  .js .tl-card[data-reveal].is-in:hover { transform: rotate(var(--r)); }
}

/* ==========================================================================
   Smanjeno kretanje
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .cheers span[aria-hidden] { opacity: 1; }
  .hero-rays { animation: none; }
}
