/* fitnessclubshark.com — glavna stranica. Boje kao SharkManager i Shark Pass. */
:root {
  --pozadina: #05101F;
  --pozadina2: #081627;
  --kartica: #0B1A2C;
  --povrsina: #112240;
  --ivica: #1A3250;
  --ivica-svijetla: #27476D;
  --akcent: #00D4FF;
  --narandzasta: #FF7A45;
  --zelena: #19C99A;
  --crvena: #FF4D68;
  --tekst: #F4F8FC;
  --tekst2: #9DB4CE;
  --tekst3: #5E7A99;
  --sirina: 1180px;
  --meni: 72px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--meni) + 12px); }
body {
  margin: 0; background: var(--pozadina); color: var(--tekst);
  font: 400 16px/1.65 "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: var(--akcent); text-decoration: none; }
a[href^="tel:"] { white-space: nowrap; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
::selection { background: var(--akcent); color: var(--pozadina); }
.omot { width: min(var(--sirina), 100% - 48px); margin-inline: auto; }
.naslov-font { font-family: "Bebas Neue", "Oswald", Impact, sans-serif; font-weight: 400; letter-spacing: .5px; }

/* ── Meni ─────────────────────────────────────────────── */
.meni {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--meni);
  display: flex; align-items: center;
  transition: transform .45s var(--ease), background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.meni.skrolano { background: rgba(5, 16, 31, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--ivica); }
.meni.sakriven { transform: translateY(-100%); }
.meni .omot { display: flex; align-items: center; gap: 28px; }
.marka { display: flex; align-items: center; gap: 12px; color: var(--tekst); }
.marka img { width: 40px; height: 40px; }
.marka span { font-family: "Bebas Neue", Impact, sans-serif; font-size: 24px; letter-spacing: 1.2px; }
.linkovi { display: flex; gap: 26px; margin-left: auto; }
.linkovi a { position: relative; color: var(--tekst2); font-weight: 500; font-size: 15px; transition: color .25s; padding: 6px 0; }
.linkovi a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--akcent);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.linkovi a:hover { color: var(--tekst); }
.linkovi a:hover::after { transform: scaleX(1); }
.meni .poziv {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 8px;
  border: 1px solid var(--ivica-svijetla); color: var(--tekst); font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: border-color .25s, background .25s;
}
.meni .poziv svg { width: 17px; height: 17px; color: var(--akcent); }
.meni .poziv:hover { border-color: var(--akcent); background: rgba(0, 212, 255, .06); }
.hamburger { display: none; margin-left: auto; background: none; border: 0; color: var(--tekst); cursor: pointer; padding: 6px; }
.hamburger svg { width: 28px; height: 28px; }

/* ── Naslovna ─────────────────────────────────────────── */
.hero { position: relative; min-height: min(100svh, 940px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 0; }
.hero-slika {
  position: absolute; inset: 0; background: url("slike/hero.jpg") center 58% / cover no-repeat;
  transform: scale(1.06); animation: hero-zum 2.4s var(--ease) forwards, hero-dah 30s ease-in-out 2.4s infinite alternate;
}
@keyframes hero-zum { from { transform: scale(1.14); filter: brightness(.6); } to { transform: scale(1.06); filter: none; } }
@keyframes hero-dah { from { transform: scale(1.06); } to { transform: scale(1.12) translateY(-1%); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 16, 31, .88) 0%, rgba(5, 16, 31, .55) 45%, rgba(5, 16, 31, .15) 100%),
    linear-gradient(180deg, rgba(5, 16, 31, .35) 0%, transparent 30%, rgba(5, 16, 31, .9) 92%, var(--pozadina) 100%);
}
.hero-sadrzaj { position: relative; z-index: 1; padding: 150px 0 56px; }
.hero-mjesto { margin: 0 0 6px; color: var(--tekst2); font-weight: 500; letter-spacing: .3px; }
.hero h1 { font-size: clamp(76px, 13vw, 176px); line-height: .86; margin: 0 0 22px; text-transform: uppercase; }
.hero h1 span { color: var(--akcent); }
.hero .uvod { color: #CFDCEB; font-size: clamp(17px, 1.6vw, 19px); max-width: 540px; margin: 0 0 32px; }
.ulaz { opacity: 0; transform: translateY(18px); animation: ulaz .9s var(--ease) forwards; animation-delay: calc(.25s + var(--k, 0) * .12s); }
@keyframes ulaz { to { opacity: 1; transform: none; } }

.status {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 7px 14px 7px 12px;
  border-radius: 999px; background: rgba(5, 16, 31, .55); border: 1px solid var(--ivica-svijetla);
  font-weight: 600; font-size: 14px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; animation: ulaz .9s var(--ease) .2s forwards;
}
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--tekst3); }
.status.otvoreno i { background: var(--zelena); animation: puls 2.4s infinite; }
.status.zatvoreno i { background: var(--crvena); }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(25, 201, 154, .6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(25, 201, 154, 0); } }

.hero-sati { position: relative; z-index: 1; border-top: 1px solid rgba(157, 180, 206, .18); background: rgba(5, 16, 31, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-sati .omot { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-sati div > div { padding: 18px 0; border-left: 1px solid rgba(157, 180, 206, .14); padding-left: 22px; transition: background .3s; }
.hero-sati div > div:first-child { border-left: 0; padding-left: 0; }
.hero-sati small { display: block; color: var(--tekst3); font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600; }
.hero-sati b { font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; font-size: 30px; letter-spacing: 1px; }
.hero-sati .danas small { color: var(--akcent); }

.dugmad { display: flex; flex-wrap: wrap; gap: 12px; }
.dugme {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 10px;
  font-weight: 600; font-size: 16px; transition: transform .3s var(--ease), background .25s, border-color .25s, color .25s;
}
.dugme svg { width: 19px; height: 19px; }
.dugme:hover { transform: translateY(-2px); }
.dugme.glavno { background: var(--akcent); color: var(--pozadina); }
.dugme.glavno:hover { background: #4FE2FF; }
.dugme.obrub { border: 1px solid var(--ivica-svijetla); color: var(--tekst); background: rgba(5, 16, 31, .35); }
.dugme.obrub:hover { border-color: var(--tekst2); }

/* Traka koja klizi */
.traka { overflow: hidden; border-block: 1px solid var(--ivica); background: var(--pozadina2); }
.traka-sadrzaj { display: flex; width: max-content; animation: traka 40s linear infinite; }
.traka span {
  font-family: "Bebas Neue", Impact, sans-serif; font-size: 22px; letter-spacing: 2px; color: var(--tekst3);
  padding: 14px 0; display: flex; align-items: center;
}
.traka span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--akcent); margin: 0 28px; opacity: .7; }
@keyframes traka { to { transform: translateX(-50%); } }

/* ── Sekcije ──────────────────────────────────────────── */
section { padding: 120px 0; }
.tamnije { background: var(--pozadina2); }
.naslov-sekcije { margin-bottom: 56px; max-width: 720px; }
.br-sekcije { display: inline-flex; align-items: center; gap: 12px; color: var(--akcent); font-weight: 600; font-size: 14px; letter-spacing: 1.5px; }
.br-sekcije::after { content: ""; width: 40px; height: 1px; background: var(--akcent); opacity: .6; }
.naslov-sekcije h2, #shark-pass h2 { font-size: clamp(46px, 6.5vw, 76px); line-height: .95; margin: 10px 0 12px; }
.naslov-sekcije p { color: var(--tekst2); margin: 0; font-size: 17px; }
.sitno { color: var(--tekst3); font-size: 14px; margin: 18px 0 0; }

/* Pojavljivanje pri skrolu */
.pojavi { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--k, 0) * .08s); }
.pojavi.vidljivo { opacity: 1; transform: none; }
/* Slike se otkrivaju odozdo kao zavjesa */
.otkrij { overflow: hidden; border-radius: 6px; }
.otkrij img { clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path 1.2s var(--ease), transform 1.6s var(--ease); }
.otkrij.vidljivo img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* ── Ponuda ───────────────────────────────────────────── */
.ponuda { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.ponuda + .ponuda { margin-top: 96px; }
.ponuda.obrnuto figure { order: 2; }
.ponuda figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ponuda figure:hover img { transform: scale(1.03); transition-duration: .8s; }
.ponuda h3 { font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; font-size: clamp(36px, 4vw, 48px); letter-spacing: .5px; margin: 0 0 12px; line-height: 1; }
.ponuda p { color: var(--tekst2); font-size: 17px; margin: 0 0 20px; }
.crtice { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.crtice li { display: flex; gap: 14px; color: var(--tekst); }
.crtice li::before { content: ""; width: 14px; height: 1px; background: var(--akcent); margin-top: 13px; flex: none; }
.link-strelica { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--tekst); border-bottom: 1px solid var(--ivica-svijetla); padding-bottom: 4px; transition: border-color .3s, gap .3s var(--ease); }
.link-strelica svg { width: 18px; height: 18px; color: var(--akcent); transition: transform .3s var(--ease); }
.link-strelica:hover { border-color: var(--akcent); }
.link-strelica:hover svg { transform: translateX(4px); }

/* ── Radno vrijeme + cijene ───────────────────────────── */
.cijene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--ivica); border-radius: 8px; overflow: hidden; }
.blok { padding: 34px 32px; background: var(--kartica); }
.blok + .blok { border-left: 1px solid var(--ivica); }
.blok h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; font-weight: 700; color: var(--tekst2); text-transform: uppercase; letter-spacing: 1.5px; }
.blok h3 svg { color: var(--akcent); width: 18px; height: 18px; }
.blok h3.drugi { margin-top: 30px; }
.red { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--ivica); color: var(--tekst2); transition: color .3s; }
.red b { color: var(--tekst); font-weight: 600; font-variant-numeric: tabular-nums; }
.red.danas { color: var(--tekst); }
.red.danas span::after {
  content: "danas"; margin-left: 10px; font-size: 11px; font-weight: 700; color: var(--akcent);
  text-transform: uppercase; letter-spacing: 1px; vertical-align: 1px;
}
.stavka { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; }
.stavka span { color: var(--tekst); }
.stavka small { display: block; color: var(--tekst3); font-size: 13px; }
.stavka i { flex: 1; border-bottom: 1px dotted var(--ivica-svijetla); transform: translateY(-4px); min-width: 12px; }
.stavka b { font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; font-size: 28px; letter-spacing: .5px; color: var(--akcent); white-space: nowrap; }

/* ── Raspored ─────────────────────────────────────────── */
.sedmica { display: grid; grid-template-columns: repeat(7, 1fr); border: 1px solid var(--ivica); border-radius: 8px; overflow: hidden; }
.dan-kol { padding: 22px 16px 26px; background: var(--kartica); min-height: 240px; transition: background .4s; }
.dan-kol + .dan-kol { border-left: 1px solid var(--ivica); }
.dan-kol h4 { margin: 0 0 16px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--tekst2); }
.dan-kol.danas { background: #0E2238; }
.dan-kol.danas h4 { color: var(--akcent); }
.dan-kol.danas h4::after { content: " · danas"; color: var(--akcent); }
.termin { padding: 10px 0 10px 12px; border-left: 2px solid; margin-bottom: 12px; line-height: 1.35; }
.termin b { display: block; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.termin span { display: block; font-size: 14px; color: var(--tekst); }
.termin small { display: block; font-size: 12px; color: var(--tekst3); }
.termin.zene { border-color: var(--narandzasta); }
.termin.zene b { color: #FFB290; }
.termin.judo { border-color: var(--zelena); }
.termin.judo b { color: #7EEBCB; }
.termin.slobodno { border-color: var(--akcent); }
.termin.slobodno b { color: #8FE9FF; }
.legenda { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 18px; color: var(--tekst2); font-size: 14px; }
.legenda span { display: inline-flex; align-items: center; gap: 8px; }
.legenda span::before { content: ""; width: 14px; height: 2px; }
.legenda .l-zene::before { background: var(--narandzasta); }
.legenda .l-judo::before { background: var(--zelena); }
.legenda .l-slobodno::before { background: var(--akcent); }

/* ── Judo ─────────────────────────────────────────────── */
.judo-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.judo-tekst > p { color: var(--tekst2); font-size: 17px; margin: 0 0 26px; }
.lokacije { margin: 0 0 30px; }
.lokacije dt { font-weight: 700; margin-top: 16px; display: flex; align-items: center; gap: 10px; }
.lokacije dt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--zelena); }
.lokacije dd { margin: 4px 0 0 18px; color: var(--tekst2); }
.judo-slike { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 520px; }
.judo-slike .visoka { grid-row: span 2; }
.judo-slike img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.judo-slike figure:nth-child(2) img { transition-delay: .12s; }
.judo-slike figure:nth-child(3) img { transition-delay: .24s; }
.videi { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 40px; }
.videi video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 6px; background: var(--kartica); }

/* ── Galerija ─────────────────────────────────────────── */
.galerija { columns: 3 280px; column-gap: 14px; }
.galerija figure { break-inside: avoid; margin-bottom: 14px; overflow: hidden; border-radius: 6px; }
.galerija img { width: 100%; cursor: zoom-in; transition: transform .8s var(--ease), filter .6s; filter: saturate(.9) brightness(.92); }
.galerija figure:hover img { transform: scale(1.04); filter: saturate(1.05) brightness(1); }

/* ── Shark Pass ───────────────────────────────────────── */
.app { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.telefon { justify-self: center; width: min(290px, 78%); border-radius: 40px; padding: 9px; background: #02060C; border: 1px solid var(--ivica-svijetla); box-shadow: 0 40px 100px rgba(0, 0, 0, .55); }
.telefon img { border-radius: 32px; }
.app-uvod { color: var(--tekst2); font-size: 17px; max-width: 560px; margin: 0 0 30px; }
.koraci { list-style: none; counter-reset: k; padding: 0; margin: 0; display: grid; gap: 0; max-width: 560px; }
.koraci li { counter-increment: k; display: grid; grid-template-columns: 52px 1fr; padding: 18px 0; border-top: 1px solid var(--ivica); }
.koraci li:last-child { border-bottom: 1px solid var(--ivica); }
.koraci li::before { content: "0" counter(k); grid-row: span 2; font-family: "Bebas Neue", Impact, sans-serif; font-size: 30px; line-height: 1; color: var(--akcent); }
.koraci b { font-weight: 600; }
.koraci span { color: var(--tekst2); font-size: 15px; }

/* ── Kontakt ──────────────────────────────────────────── */
.kontakt { display: grid; grid-template-columns: 1fr 1.35fr; gap: 48px; align-items: stretch; }
.kontakt-lista { display: grid; align-content: start; }
.kontakt-lista a { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--ivica); color: var(--tekst); font-size: 17px; transition: padding .35s var(--ease), color .25s; }
.kontakt-lista a:first-child { border-top: 1px solid var(--ivica); }
.kontakt-lista a:hover { padding-left: 8px; }
.kontakt-lista svg { color: var(--akcent); width: 22px; height: 22px; }
.kontakt-lista small { display: block; color: var(--tekst3); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.mapa { border-radius: 8px; overflow: hidden; min-height: 420px; border: 1px solid var(--ivica); }
.mapa iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.35) contrast(1.05); }

/* ── Podnožje ─────────────────────────────────────────── */
footer { border-top: 1px solid var(--ivica); padding: 30px 0; color: var(--tekst3); font-size: 14px; }
footer .omot { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
footer a { color: var(--tekst2); }
footer a:hover { color: var(--tekst); }
.marka-mala { display: inline-flex; align-items: center; gap: 10px; }
.marka-mala img { width: 26px; height: 26px; }

/* ── Lightbox ─────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; cursor: zoom-out;
  background: rgba(2, 7, 14, .94); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lightbox.otvoren { opacity: 1; visibility: visible; }
.lightbox img { max-height: 88vh; max-width: 94vw; border-radius: 6px; transform: scale(.94); transition: transform .45s var(--ease); }
.lightbox.otvoren img { transform: none; }

/* Plutajuće dugme za poziv (telefon) */
.plutajuce {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; display: none;
  width: 58px; height: 58px; border-radius: 50%; place-items: center;
  background: var(--akcent); color: var(--pozadina); box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
/* na naslovnoj već postoji dugme Pozovi — plutajuće se pojavi tek ispod nje */
.plutajuce.vidi { opacity: 1; transform: none; pointer-events: auto; }
.plutajuce svg { width: 24px; height: 24px; stroke-width: 2; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .pojavi, .ulaz, .status { opacity: 1; transform: none; }
  .otkrij img { clip-path: none; transform: none; }
}

/* ── Tablet ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .linkovi { gap: 18px; }
  .marka span { display: none; }
  .sedmica { grid-template-columns: repeat(4, 1fr); }
  .dan-kol { border-left: 1px solid var(--ivica); border-top: 1px solid var(--ivica); margin: -1px 0 0 -1px; min-height: 0; }
}
@media (max-width: 960px) {
  .ponuda, .judo-grid, .app, .kontakt { grid-template-columns: 1fr; gap: 36px; }
  .ponuda.obrnuto figure { order: 0; }
  .cijene-grid { grid-template-columns: 1fr; }
  .blok + .blok { border-left: 0; border-top: 1px solid var(--ivica); }
  .videi { grid-template-columns: repeat(3, 1fr); }
  .app .telefon { order: 2; }
  .judo-slike { height: 420px; }
}

/* ── Telefon ──────────────────────────────────────────── */
@media (max-width: 720px) {
  :root { --meni: 64px; }
  section { padding: 84px 0; }
  .omot { width: min(var(--sirina), 100% - 36px); }
  .linkovi {
    position: fixed; inset: var(--meni) 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(5, 16, 31, .98); border-bottom: 1px solid var(--ivica);
    clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--ease);
  }
  .linkovi.otvoren { clip-path: inset(0 0 0 0); }
  .linkovi a { padding: 16px 24px; border-top: 1px solid var(--ivica); font-size: 17px; }
  .linkovi a::after { display: none; }
  .meni { background: rgba(5, 16, 31, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .hamburger { display: block; }
  .meni .poziv { display: none; }
  .plutajuce { display: grid; }
  .hero-sadrzaj { padding: 130px 0 40px; }
  .hero::after { background: linear-gradient(180deg, rgba(5, 16, 31, .55) 0%, rgba(5, 16, 31, .45) 40%, rgba(5, 16, 31, .92) 85%, var(--pozadina) 100%); }
  .hero-sati b { font-size: 24px; }
  .hero-sati div > div { padding-left: 12px; }
  .hero-sati small { font-size: 10px; letter-spacing: .6px; }
  .sedmica { grid-template-columns: 1fr 1fr; }
  .dan-kol { padding: 18px 14px; }
  .judo-slike { height: 340px; }
  .videi { grid-template-columns: repeat(2, 1fr); }
  .ponuda + .ponuda { margin-top: 72px; }
  .blok { padding: 28px 22px; }
}
