/* ==========================================================
   FinFun - igraonica, Sisak
   Tema: svijetla (logo je JPEG na bijeloj pozadini).
   Oblici: kartice 24px, polja obrasca 14px, gumbi i oznake pill.
   Akcent za gumbe: narančasta iz logotipa. Ostale boje logotipa
   koriste se samo kao blage pozadine i ikone.
   ========================================================== */

:root {
  --ink: #17324A;
  --muted: #4B6072;
  --line: #DCE6EC;
  --bg: #FCFDFE;
  --tint: #EEF7F8;

  --orange: #F47B20;
  --orange-dark: #D8640C;
  --teal: #12A89A;
  --pink: #E6327F;
  --yellow: #F5B800;
  --blue: #1E8FE0;

  --orange-50: #FFEFE2;
  --teal-50: #DFF4F1;
  --yellow-50: #FFF5CF;
  --pink-50: #FCE6F0;
  --blue-50: #E2F0FC;

  --r-card: 24px;
  --r-field: 14px;
  --shadow: 0 14px 40px -18px rgb(23 50 74 / .28);
  --ease: cubic-bezier(.16, 1, .3, 1);

  --f-display: "Fredoka", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); font-weight: 600; margin-bottom: 2.5rem; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section-tint { background: var(--tint); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 99px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

/* ---------- Gumbi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap;
  font: 700 1rem/1 var(--f-body);
  padding: 13px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, border-color .2s, box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-lg { padding: 17px 30px; font-size: 1.06rem; }
.btn-primary { background: var(--orange); color: var(--ink); box-shadow: 0 10px 24px -12px rgb(244 123 32 / .8); }
.btn-primary:hover { background: #F78B37; transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Izbornik ---------- */
/* Lebdeća kapsula: pri vrhu stranice je prozirna, nakon skrolanja dobije staklenu podlogu */
.nav { position: sticky; top: 0; z-index: 40; padding: 10px 16px; }
.nav-inner {
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1200px; padding: 0 10px 0 24px; border-radius: 999px;
  border: 1px solid transparent;
  transition: max-width .6s var(--ease), background-color .4s, box-shadow .4s, border-color .4s;
}
.nav.scrolled .nav-inner {
  max-width: 1120px;
  background: rgb(255 255 255 / .78);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-color: rgb(255 255 255 / .9);
  box-shadow: 0 14px 40px -20px rgb(23 50 74 / .45), inset 0 1px 0 rgb(255 255 255 / .8);
}
@media (prefers-reduced-transparency: reduce) {
  .nav.scrolled .nav-inner { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.nav-logo img { height: 46px; width: auto; mix-blend-mode: multiply; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .98rem; position: relative; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links .btn { padding: 11px 20px; }
.burger { display: none; background: none; border: 0; font-size: 1.8rem; color: var(--ink); cursor: pointer; padding: 6px; }

/* ---------- Naslovna ---------- */
.hero { position: relative; padding: 48px 0 96px; overflow: hidden; }
#topSentinel { position: absolute; top: 0; height: 1px; width: 1px; }
.hero-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center;
  min-height: calc(100dvh - 72px - 144px);
}
.hero h1 { font-size: clamp(2.5rem, 1.6rem + 2.8vw, 3.9rem); font-weight: 700; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--orange-dark); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40ch; margin-bottom: 34px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-art { position: relative; aspect-ratio: 1 / .82; display: grid; place-items: center; }
.hero-photo {
  position: relative; z-index: 2; width: 100%; aspect-ratio: 4 / 3.3;
  border-radius: 36px; overflow: hidden; box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
/* Logo kao naljepnica preko fotografije */
.hero-logo {
  position: absolute; z-index: 3; left: -6%; bottom: 2%; width: 46%;
  background: #fff; border-radius: 24px; padding: 3% 3.5%;
  box-shadow: 0 18px 40px -16px rgb(23 50 74 / .45);
  transform: rotate(-5deg);
}
.hero-logo img { width: 100%; height: auto; mix-blend-mode: multiply; }
.blob { position: absolute; border-radius: 50%; z-index: 1; }
.b1 { width: 46%; aspect-ratio: 1; background: var(--teal-50); top: -2%; right: -4%; }
.b2 { width: 34%; aspect-ratio: 1; background: var(--yellow-50); bottom: -4%; left: -2%; }
.b3 { width: 16%; aspect-ratio: 1; background: var(--pink-50); top: 6%; left: 8%; }

@media (prefers-reduced-motion: no-preference) {
  .hero-logo { animation: bob 6s ease-in-out infinite; }
  .b1 { animation: drift 9s ease-in-out infinite; }
  .b2 { animation: drift 11s ease-in-out infinite reverse; }
}
@keyframes bob { 0%, 100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-10px); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(12px, -14px); } }

/* ---------- Traka napretka skrolanja (samo gdje preglednik podržava) ---------- */
.progress { display: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .progress {
      display: block; position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 50;
      background: linear-gradient(90deg, var(--teal), var(--yellow), var(--orange), var(--pink), var(--blue));
      transform-origin: left; transform: scaleX(0);
      animation: grow linear both; animation-timeline: scroll(root);
    }
    /* Logo lagano odlazi i smanjuje se dok izlazi iz ekrana */
    .hero-art { animation: heroOut linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  }
}
@keyframes grow { to { transform: scaleX(1); } }
@keyframes heroOut { to { transform: translateY(-70px) scale(.92); } }

/* ---------- Pokretna traka s ponudom ---------- */
.band {
  background: var(--ink); color: #fff; overflow: hidden;
  transform: rotate(-1.6deg); margin: -28px -20px 0; padding: 18px 0;
  position: relative; z-index: 3;
}
.band-track { display: flex; width: max-content; }
.band-group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.band-group span { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); white-space: nowrap; }
.band-group i { font-size: 1.4rem; }
.band-group i:nth-of-type(4n+1) { color: var(--yellow); }
.band-group i:nth-of-type(4n+2) { color: #3FD3C3; }
.band-group i:nth-of-type(4n+3) { color: #FF8FBF; }
.band-group i:nth-of-type(4n+4) { color: #6CC0FF; }
@media (prefers-reduced-motion: no-preference) {
  .band-track { animation: marquee 36s linear infinite; }
  .band:hover .band-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Naslovi koji se pojavljuju riječ po riječ ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em 0 .16em; margin: -.1em 0 -.16em; }
.w > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 60ms + var(--d, 0s)); }
.split-h.in .w > span { transform: none; }

/* ---------- O nama ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.about-text h2 { margin-bottom: 22px; }
.about-text p { font-size: 1.12rem; max-width: 52ch; }
.about-text p + p { margin-top: 16px; }
.about-photos { position: relative; margin-top: 36px; height: 300px; }
.about-photos img { position: absolute; width: 64%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); box-shadow: var(--shadow); }
.ap-1 { left: 0; top: 0; transform: rotate(-2deg); }
.ap-2 { right: 0; bottom: 0; transform: rotate(3deg); border: 6px solid #fff; }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.values li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.values h3 { margin-bottom: 4px; }
.values p { color: var(--muted); }
.v-ico {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.6rem; color: var(--c);
  background: color-mix(in srgb, var(--c) 14%, white);
}

/* ---------- Usluge (bento) ---------- */
.bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "lg lg game free"
    "lg lg art  art"
    "wide wide wide wide";
}
.bento > :nth-child(1) { grid-area: lg; }
.bento > :nth-child(2) { grid-area: game; }
.bento > :nth-child(3) { grid-area: free; }
.bento > :nth-child(4) { grid-area: art; }
.bento > :nth-child(5) { grid-area: wide; }
.tile {
  background: var(--bg);
  border-radius: var(--r-card);
  padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* Svjetlo koje prati pokazivač miša */
.tile { position: relative; overflow: hidden; isolation: isolate; }
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(255 255 255 / .75), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.tile-game::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(108 192 255 / .45), transparent 60%); }
@media (hover: hover) { .tile:hover::before { opacity: 1; } }
.tile p { color: var(--muted); }
.t-ico { font-size: 2.4rem; color: var(--ink); margin-bottom: 6px; }
.tile-lg { justify-content: flex-end; padding: 40px; min-height: 360px; position: relative; overflow: hidden; }
.tile-lg { --pad: 40px; justify-content: flex-start; }
.t-photo { width: calc(100% + 2 * var(--pad)); max-width: none; margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 18px; height: 240px; object-fit: cover; }
.tile-lg h3 { font-size: 2rem; }
.tile-lg p { font-size: 1.08rem; max-width: 40ch; }
.t-link { margin-top: 10px; font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.t-link i { transition: transform .3s var(--ease); }
.t-link:hover i { transform: translateX(4px); }
.tile-game { background: linear-gradient(145deg, #173A63 0%, #1E8FE0 120%); color: #fff; }
.tile-game p, .tile-game .t-ico { color: #E4F0FB; }
.tile-wide { flex-direction: row; align-items: center; gap: 24px; }
.tile-wide .t-ico { margin: 0; font-size: 3rem; color: var(--pink); }

/* ---------- Novosti ---------- */
.news { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--ink); }
.news-item { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 34px 32px 8px 0; }
.news-item + .news-item { padding-left: 32px; border-left: 1px solid var(--line); }
.news-item h3 { font-size: 1.5rem; margin-bottom: 8px; }
.news-item p { color: var(--muted); max-width: 46ch; }
.news-ico {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.8rem; color: #fff; background: var(--c);
}

/* ---------- Cjenik ---------- */
.tabs {
  display: inline-flex; gap: 6px; padding: 6px; margin-bottom: 36px;
  background: #fff; border-radius: 999px; box-shadow: 0 4px 16px -10px rgb(23 50 74 / .35);
  max-width: 100%; overflow-x: auto;
}
.tabs button {
  font: 700 1rem/1 var(--f-body); color: var(--muted);
  background: none; border: 0; border-radius: 999px; padding: 13px 22px; cursor: pointer;
  white-space: nowrap; transition: background-color .2s, color .2s;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.panel { animation: fadeUp .45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }
.pack {
  background: #fff; border-radius: var(--r-card); padding: 30px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.pack-mid { background: var(--orange-50); outline: 2px solid var(--orange); outline-offset: -2px; }
.pack-size { font-weight: 600; color: var(--muted); }
.pack-price { font-family: var(--f-display); font-weight: 700; font-size: 3.2rem; line-height: 1.05; margin-bottom: 18px; }

.pack-details {
  background: #fff; border-radius: var(--r-card); padding: 34px;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px;
}
.pack-details h3 { margin-bottom: 18px; }
.checks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.checks i {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal); font-size: .8rem; margin-top: 2px;
}
.note { color: var(--muted); font-size: .96rem; }

.mini-list { margin: 0; display: grid; gap: 4px; align-content: start; }
.mini-list div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; }
.mini-list div:not(:last-child) { border-bottom: 1px dashed var(--line); }
.mini-list dt { color: var(--muted); }
.mini-list dd { margin: 0; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

.price-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.price-group { background: #fff; border-radius: var(--r-card); padding: 32px; }
.price-group h3 { margin-bottom: 14px; }
.gift { background: var(--pink-50); }
.gift-ico { font-size: 3rem; color: var(--pink); margin-bottom: 10px; display: block; }

.flyer-link {
  display: inline-flex; gap: 8px; align-items: center; margin-top: 26px;
  font-weight: 600; color: var(--muted); text-underline-offset: 4px;
}
.flyer-link:hover { color: var(--ink); }

/* ---------- Galerija ---------- */
.gallery { columns: 3 260px; column-gap: 18px; }
.g-item {
  display: block; width: 100%; margin: 0 0 18px; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--r-card); overflow: hidden; break-inside: avoid; background: none;
}
.g-item img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.04); }
.g-ph {
  break-inside: avoid; margin: 0 0 18px; border-radius: var(--r-card);
  display: grid; place-items: center; gap: 6px; text-align: center;
  color: var(--muted); font-weight: 600; font-size: .95rem;
  background: var(--c); aspect-ratio: var(--ar);
}
.g-ph i { font-size: 2rem; opacity: .6; }

/* ---------- Recenzije ---------- */
.reviews { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.review {
  margin: 0; background: #fff; border-radius: var(--r-card); padding: 30px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
}
.review blockquote { margin: 0; font-size: 1.08rem; line-height: 1.55; }
.review-main { grid-row: span 2; background: var(--ink); color: #fff; padding: 44px; }
.review-main blockquote { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem); line-height: 1.25; }
.review-main small { color: #B9C9D6 !important; }
.q-ico { font-size: 3rem; color: var(--yellow); }
.review figcaption { display: flex; gap: 12px; align-items: center; }
.review figcaption span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.review small { color: var(--muted); font-size: .88rem; }
.avatar {
  width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; color: #fff; background: var(--c);
}
.review-cta {
  display: inline-flex; gap: 8px; align-items: center; margin-top: 28px;
  font-weight: 700; text-underline-offset: 4px;
}
.review-cta i { color: #1877F2; font-size: 1.3rem; }
.review-links { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.c-list dd a { color: var(--ink); text-underline-offset: 3px; }
.c-list dd.hours { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2px 20px; }
.c-list dd.hours strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Rezervacija (poziv na kalendar) ---------- */
.book-cta {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  background: var(--orange-50); border-radius: 32px; padding: 48px 56px;
}
.book-cta h2 { margin-bottom: 14px; }
.book-cta p { font-size: 1.12rem; color: var(--muted); margin-bottom: 22px; max-width: 48ch; }
.book-cta .booking-points a { color: var(--ink); }
@media (max-width: 767px) {
  .book-cta { grid-template-columns: 1fr; padding: 28px 22px; gap: 24px; border-radius: var(--r-card); }
  .book-cta .btn { width: 100%; }
}
.booking { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.booking-intro { position: sticky; top: 110px; }
.booking-intro h2 { margin-bottom: 18px; }
.booking-intro p { font-size: 1.12rem; color: var(--muted); margin-bottom: 28px; }
.booking-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.booking-points li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.booking-points i { font-size: 1.4rem; color: var(--teal); }

.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 36px; box-shadow: var(--shadow); position: relative;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.form > .field { margin-bottom: 22px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #F7FAFC; border: 1.5px solid #C4D2DC; border-radius: var(--r-field);
  padding: 12px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #6A7E8E; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 4px rgb(30 143 224 / .18);
}
.field textarea { resize: vertical; }
.err { display: none; color: #B42318; font-size: .88rem; font-weight: 600; }
.field.invalid input, .field.invalid select { border-color: #B42318; }
.field.invalid .err { display: block; }
.form-error { color: #B42318; font-weight: 600; margin-bottom: 14px; }

.success {
  position: absolute; inset: 0; background: #fff; border-radius: var(--r-card);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 10px; padding: 32px; animation: fadeUp .5s var(--ease);
}
.success[hidden] { display: none; }
.success-ico { font-size: 4rem; color: var(--orange); }
.success p { color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: stretch; }
.contact-info h2 { margin-bottom: 28px; }
.c-list { margin: 0 0 28px; display: grid; gap: 18px; }
.c-list div { display: grid; gap: 2px; }
.c-list dt { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.c-list dt i { color: var(--teal); font-size: 1.2rem; }
.c-list dd { margin: 0 0 0 30px; color: var(--muted); }
.todo { background: var(--yellow-50); color: #7A5A00; padding: 1px 8px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; font-size: 1.5rem; text-decoration: none;
  transition: transform .25s var(--ease), background-color .2s, color .2s;
}
.socials a:hover { transform: translateY(-3px); background: var(--ink); color: #fff; }
.map { border-radius: var(--r-card); overflow: hidden; min-height: 380px; background: #fff; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Podnožje ---------- */
.footer { padding: 64px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-logo { width: 190px; height: auto; mix-blend-mode: multiply; margin-bottom: 10px; }
.footer p { color: var(--muted); }
.footer nav, .footer-follow { display: grid; gap: 10px; }
.footer nav a, .footer-follow a { text-decoration: none; color: var(--muted); font-weight: 500; }
.footer nav a:hover, .footer-follow a:hover { color: var(--ink); }
.copy { margin-top: 48px; font-size: .9rem; }

/* ---------- WhatsApp ---------- */
.whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #1FA855; color: #fff; font-size: 2rem; text-decoration: none;
  box-shadow: 0 12px 28px -10px rgb(31 168 85 / .7);
  transition: transform .25s var(--ease);
}
.whatsapp:hover { transform: scale(1.07); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 60; background: rgb(12 26 40 / .92);
  display: grid; place-items: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86dvh; border-radius: 18px; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgb(255 255 255 / .14); color: #fff; font-size: 1.4rem; cursor: pointer;
  display: grid; place-items: center;
}
.lb-btn:hover { background: rgb(255 255 255 / .26); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Otkrivanje pri skrolanju ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .bento .reveal:not(.in), .js .packs .reveal:not(.in), .js .reviews .reveal:not(.in) { transform: translateY(30px) scale(.95); }
  .js .reveal.split-h { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .panel, .success { animation: none; }
}

/* ---------- Responzivno ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 20px; }
  .nav-links a:not(.btn) { font-size: .92rem; }
}

@media (max-width: 960px) {
  .burger { display: block; }
  .nav-links {
    position: absolute; top: calc(100% - 2px); left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 12px 24px 24px; border: 1px solid var(--line); border-radius: 24px;
    box-shadow: 0 20px 30px -24px rgb(23 50 74 / .5);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav:has(.nav-links.open) .nav-inner { background: #fff; border-color: var(--line); }
  .nav-links a:not(.btn) { padding: 12px 0; font-size: 1.05rem; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 10px; }

  .hero-grid, .about, .booking, .contact { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; gap: 40px; }
  .hero-art { max-width: 560px; width: 100%; margin: 0 auto; }
  .about, .booking, .contact { gap: 40px; }
  .booking-intro { position: static; }

  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "lg lg" "game free" "art art" "wide wide";
  }
  .tile-lg { min-height: 300px; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .about-photos { height: 260px; max-width: 560px; }
  .review-main { grid-row: auto; grid-column: 1 / -1; }
  .pack-details { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  h2 { margin-bottom: 1.75rem; }
  .hero { padding: 24px 0 64px; }
  .hero-btns .btn { flex: 1 1 auto; }

  .bento { grid-template-columns: 1fr; grid-template-areas: "lg" "game" "free" "art" "wide"; }
  .tile, .tile-lg { padding: 26px; }
  .tile-lg { --pad: 26px; }
  .t-photo { height: 200px; }
  .reviews { grid-template-columns: 1fr; }
  .about-photos { height: 210px; }
  .hero-logo { left: -2%; width: 50%; }
  .tile-wide { flex-direction: column; align-items: flex-start; }

  .news { grid-template-columns: 1fr; }
  .news-item, .news-item + .news-item { padding: 28px 0 8px; border-left: 0; grid-template-columns: 52px 1fr; gap: 16px; }
  .news-item + .news-item { border-top: 1px solid var(--line); margin-top: 20px; }
  .news-ico { width: 52px; height: 52px; font-size: 1.5rem; }

  .tabs { display: flex; }
  .tabs button { padding: 12px 16px; font-size: .95rem; }
  .packs, .price-cols { grid-template-columns: 1fr; }
  .pack { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 22px 24px; }
  .pack-size { width: 100%; }
  .pack-price { font-size: 2.4rem; margin: 0; }
  .pack-details, .price-group { padding: 24px; }
  .gallery { columns: 2; column-gap: 12px; }
  .g-ph, .g-item { margin-bottom: 12px; font-size: .82rem; }

  .review, .review-main { padding: 26px; }
  .grid-2 { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .map, .map iframe { min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .whatsapp { width: 54px; height: 54px; font-size: 1.8rem; right: 16px; bottom: 16px; }
}

/* ==========================================================
   Novosti: gumb u izborniku, istaknuta novost i prozor na ulasku
   ========================================================== */
.nav-news {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 .95rem/1 var(--f-body); color: var(--pink);
  background: var(--pink-50); border: 0; border-radius: 999px; padding: 9px 14px; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s;
}
.nav-news:hover { transform: translateY(-1px); background: #F9D5E6; }
.nav-news:active { transform: scale(.97); }

.news-feature {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; margin-bottom: 18px;
  background: #fff; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow);
}
.news-feature img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; aspect-ratio: 1; }
.nf-body { padding: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; justify-content: center; }
.nf-body h3 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem); }
.nf-body p { color: var(--muted); font-size: 1.08rem; max-width: 44ch; }
.nf-date {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem;
  color: #0B6F66; background: var(--teal-50); padding: 7px 12px; border-radius: 999px;
}
.nf-list { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 10px; }
.nf-list li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.nf-list i { color: var(--blue); font-size: 1.2rem; }
.nf-body .btn i, .nm-body .btn i { font-size: 1.25rem; }

/* Prozor */
.news-modal {
  width: min(880px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: 28px; background: #fff; color: var(--ink);
  box-shadow: 0 40px 120px -30px rgb(23 50 74 / .6); overflow: hidden;
}
.news-modal::backdrop { background: rgb(15 32 48 / .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (prefers-reduced-motion: no-preference) {
  .news-modal[open] { animation: nmIn .5s var(--ease); }
  .news-modal[open]::backdrop { animation: nmFade .4s ease; }
  .news-modal.closing { animation: nmOut .22s ease forwards; }
}
@keyframes nmIn { from { opacity: 0; transform: translateY(28px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes nmOut { to { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes nmFade { from { opacity: 0; } }

.nm-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 10px 28px; }
.nm-head h2 { margin: 0; font-size: 1.5rem; display: flex; gap: 10px; align-items: center; }
.nm-head h2 i { color: var(--pink); }
.nm-close {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--tint);
  font-size: 1.2rem; color: var(--ink); display: grid; place-items: center; cursor: pointer;
}
.nm-close:hover { background: #DDEBEE; }

.nm-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.nm-track::-webkit-scrollbar { display: none; }
.nm-slide {
  flex: 0 0 100%; scroll-snap-align: start;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center;
  padding: 8px 28px 8px;
}
.nm-img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 20px; }
.nm-art { display: grid; place-items: center; font-size: 7rem; }
.nm-art-game { background: linear-gradient(145deg, #173A63 0%, #1E8FE0 120%); color: #E4F0FB; }
.nm-art-gift { background: var(--pink-50); color: var(--pink); }
.nm-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.nm-body h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.nm-body p { color: var(--muted); font-size: 1.06rem; }
.nm-body .btn { margin-top: 6px; }

.nm-foot { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 18px 20px 22px; }
.news-modal.single .nm-foot { display: none; }
.nm-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
  display: grid; place-items: center; font-size: 1.1rem; color: var(--ink); cursor: pointer;
}
.nm-arrow:disabled { opacity: .35; cursor: default; }
.nm-dots { display: flex; gap: 8px; }
.nm-dots button {
  width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: #C4D2DC; transition: width .3s var(--ease), background-color .3s;
}
.nm-dots button[aria-selected="true"] { width: 28px; background: var(--ink); }

@media (max-width: 960px) {
  .nav-news { align-self: flex-start; margin: 6px 0; }
  .news-feature { grid-template-columns: 1fr; }
  .news-feature img { aspect-ratio: 4 / 3.2; }
}
@media (max-width: 767px) {
  .nf-body { padding: 24px; }
  .news-modal { border-radius: 24px; }
  .nm-head { padding: 14px 14px 6px 20px; }
  .nm-slide { grid-template-columns: 1fr; gap: 16px; padding: 4px 20px; align-content: start; }
  .nm-img { aspect-ratio: 16 / 11; }
  .nm-art { font-size: 4.5rem; }
  .nm-body { gap: 10px; }
  .nm-body .btn { width: 100%; }
  .nm-foot { padding: 14px 16px 18px; }
}
