:root{
  /* Dark theme */
  --bg:#0B0F14;
  --text:#e8edf5;
  --muted:#ffffffd1;

  /* Accents */
  --brand:#4a7fb8;
  --brand-2:#73a7df;

  --container:1200px;
  --radius:16px;
  --shadow:0 10px 30px rgba(2,6,23,.18);

  /* Slider */
  --zoomDur:11000ms;

  /* Sticky offset */
  --header-offset:6px;

  /* Global background image (RELATIVNO u odnosu na ovaj CSS fajl) */
  --page-bg: url("../../images/backgrounds/spa-bg-text.jpg");
}
@media (max-width:980px){
  :root{ --header-offset:74px; }
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
  line-height:1.65;
  color:var(--text);
  background:var(--bg);
  position:relative;

  display:flex;
  flex-direction:column;
  min-height:100svh;
}

/* Relax foto + prigušeni overlay */
body::before{
  content:"";
  position:fixed; inset:0; z-index:-2;
  background-image: var(--page-bg);
  background-size:cover; background-position:center;
  filter:brightness(.55);
}
body::after{
  content:"";
  position:fixed; inset:0; z-index:-1;
  background:
    radial-gradient(1200px 800px at 70% 10%, rgba(74,127,184,.18), transparent 60%),
    linear-gradient(to bottom, rgba(11,15,20,.7), rgba(11,15,20,.88));
}

/* Anchor offset */
section[id], .card[id]{ scroll-margin-top: var(--header-offset); }

/* Utils */
.container{ width:100%; max-width:var(--container); padding-inline:24px; margin-inline:auto; }
.muted{ color:var(--muted); }
.btn{
  display:inline-block; padding:12px 18px; border-radius:12px; text-decoration:none;
  background:var(--brand); color:#fff; font-weight:700; letter-spacing:.2px;
  border:1px solid rgba(255,255,255,.08);
  transition: transform .12s ease, box-shadow .12s ease, opacity .2s;
}
.btn:hover{ transform:translateY(-1px); box-shadow:var(--shadow); opacity:.95; }
.btn-ghost{
  background:transparent; color:#e9f2ff;
  border:1px solid rgba(233,242,255,.28);
}
.btn-ghost:hover{ background:rgba(233,242,255,.06); }

/* Header */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:50;
  background:linear-gradient(180deg, rgba(11,15,20,.85), rgba(11,15,20,0));
  backdrop-filter: blur(6px);
  transition: background .2s ease, border-color .2s ease;
  border-bottom:1px solid transparent;
}
.site-header.is-scrolled{
  background:rgba(11,15,20,.92); border-bottom-color:rgba(255,255,255,.06);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; min-height:72px; }
.brand img{ display:block; height:auto; }

/* Nav */
.site-nav{ position:relative; }
.menu{ display:flex; gap:22px; list-style:none; margin:0; padding:0; }
.menu a{
  display:inline-block; padding:10px 12px; color:var(--text); text-decoration:none; border-radius:12px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  border:1px solid transparent; line-height:1;
}
.menu a:hover{ background:rgba(255,255,255,.08); color:#fff; }
.menu a.active{
  position: relative;
  background: transparent;
  color: var(--brand-2);
  border-radius: 12px;
  padding: 9px 14px;
  box-shadow:
    0 0 0 1.6px rgba(115,167,223,0.95),
    0 6px 18px rgba(74,127,184,.045);
  border: none;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .12s ease;
}
.menu a.active:hover,
.menu a.active:focus{
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  color: #0b0f14;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1.8px rgba(255,255,255,.18),
    0 12px 36px rgba(74,127,184,.12);
}
.nav-toggle{ display:none; background:transparent; border:0; cursor:pointer; padding:10px; border-radius:10px; }
.nav-toggle .bar{ display:block; width:22px; height:2px; background:var(--text); margin:5px 0; }

/* Hero */
.hero{
  position:relative;
  height:100svh;
  min-height:520px;
  overflow:hidden;
  flex:0 0 auto;
}

.slider{ position:relative; height:100%; width:100%; }
.slide{
  position:absolute; inset:0; opacity:0; filter: blur(6px);
  transition: opacity 1.2s ease, filter 1.2s ease; display:grid; place-items:center;
}
.slide.is-active{ opacity:1; filter: blur(0); z-index:2; }

/* Slider slike – bleđe -> full kolor */
.slide img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.04);
  /* start: malo bleđe i desaturisano */
  filter: grayscale(45%) brightness(.78) saturate(.75);
  transition: transform 12s linear, filter 1.1s ease;
}

/* PRVI slajd centriran */
.slider .slide:nth-of-type(1) img{
  object-position: center center;
}

/* Ostali (2,3...) top-based */
.slider .slide:nth-of-type(n+2) img{
  object-position: top center;
}

/* Aktivni slajd: u punoj boji */
.slide.is-active img{
  animation: zoomIn var(--zoomDur) ease forwards;
  filter: grayscale(0%) brightness(1) saturate(1.05);
}
@keyframes zoomIn{ 0%{transform:scale(1.04)} 100%{transform:scale(1.1)} }

.overlay{ position:absolute; inset:0; background: radial-gradient(ellipse at center, rgba(0,0,0,.18) 0%, rgba(0,0,0,.5) 60%, rgba(0,0,0,.72) 100%); }
.caption{ position:relative; z-index:3; padding:0 24px; text-align:center; }
.caption h1,.caption h2{
  max-width:980px; margin:0 auto; font-size:clamp(28px, 3.5vw, 48px);
  line-height:1.2; font-weight:800; text-shadow:0 2px 18px rgba(0,0,0,.55);
}

/* Slider controls */
.ctrl{
  position:absolute; top:50%; transform:translateY(-50%); z-index:4;
  background: rgba(0,0,0,.35); border:1px solid rgba(255,255,255,.08); color:#fff;
  width:44px; height:44px; border-radius:12px; font-size:28px; display:grid; place-items:center; cursor:pointer;
}
.ctrl:hover{ background:rgba(0,0,0,.55); }
.ctrl.prev{ left:16px; } .ctrl.next{ right:16px; }
.dots{ position:absolute; bottom:18px; left:50%; transform:translateX(-50%); z-index:4; display:flex; gap:10px; }
.dot{ width:10px; height:10px; border-radius:999px; border:1px solid rgba(255,255,255,.6); background:transparent; cursor:pointer; }
.dot.is-active{ background:#fff; }

/* Sekcije */
.section{ padding:84px 0; }
.section-light{
  background:transparent;
  color:var(--text);
  border-top:1px solid rgba(255,255,255,.08);
}

/* Naslovi */
:root{ --heading:#eef4ff; }
.section h1,.section h2,.section h3{ color:var(--heading); }
.section .muted{ color:var(--muted); }

/* Kartice */
.card{
  background: rgba(17,23,31,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border:1px solid rgba(233,242,255,.12);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
}
.card .features{ list-style:none; padding:0; margin:0 0 16px; color:#d1d9e4; }
.card .features li{ margin:8px 0; }

/* === Banners (ne diram dalje, ostaje kao kod tebe) === */
.section-banners{ padding:36px 0 12px; }
.banners-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  align-items:stretch;
}
.banner-card{
  position:relative;
  display:block;
  overflow:hidden;
  border-radius:18px;
  box-shadow: var(--shadow);
  border:1px solid rgba(233,242,255,.20);
  transform:translateZ(0);
  text-decoration:none;
  color:inherit;
  aspect-ratio: 16 / 10;
  max-height: 420px;
  height: auto;
  min-height: 200px;
}
.banner-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition: transform .6s ease;
  display:block;
}
.banner-card:not(.is-disabled):hover img{
  transform: scale(1.05);
}
.banner-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.65));
  pointer-events:none;
}
.banner-caption{
  position:absolute;
  inset:auto 18px 18px 18px;
  color:#fff;
  text-shadow:0 3px 18px rgba(0,0,0,.6);
  z-index:5;
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:flex-start;
  max-width:68%;
}
.banner-caption .eyebrow{
  display:inline-block;
  background: rgba(74,127,184,.9);
  color:#fff;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  letter-spacing:.08em;
  font-weight:700;
}
.banner-caption h3{
  margin:6px 0 0;
  font-size: clamp(20px, 3.2vw, 30px);
  line-height:1.02;
  font-weight:800;
}

@media (min-width:1400px){
  .banner-card{
    max-height:480px;
    min-height:240px;
    aspect-ratio: 16/9;
  }
  .banner-caption{ max-width:54%; }
}
@media (max-width:1200px){
  .banner-card{ max-height:380px; min-height:190px; aspect-ratio: 16/10; }
  .banner-caption{ left:16px; bottom:16px; max-width:78%; }
  .banner-caption h3{ font-size: clamp(18px, 4.2vw, 28px); }
}
@media (max-width:980px){
  .banners-grid{ grid-template-columns:1fr; gap:16px; }
  .banner-card{ border-radius:12px; min-height:160px; aspect-ratio: 16/9; max-height: none; }
  .banner-caption{ left:12px; bottom:12px; max-width:86%; }
  .banner-caption .eyebrow{ padding:6px 10px; font-size:11px; }
  .banner-caption h3{ font-size: clamp(18px, 6vw, 24px); }
}
.banner-card:focus{
  outline: 3px solid rgba(115,167,223,.14);
  outline-offset: 6px;
  transform: translateY(-4px);
}
.banner-card:hover .banner-overlay{
  background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.55));
}

/* INTRO, offer, grid, specs itd – bez promena u logici */
.section-intro .intro-wrap{
  display:grid; gap:34px; align-items:start; grid-template-columns:1.3fr .7fr;
}
@media (max-width:1024px){ .section-intro .intro-wrap{ grid-template-columns:1fr; } }
.eyebrow{ color:var(--brand-2); text-transform:uppercase; letter-spacing:.08em; font-size:12px; font-weight:700; margin:0 0 10px; }
.intro-title{ font-size: clamp(30px, 4vw, 48px); line-height:1.15; margin:0 0 12px; color:#fff; font-weight:800; }
.lead{ font-size: clamp(18px, 1.35vw, 20px); color:#d8e4f1; margin:0 0 12px; }
.micro{ color:#c4ced9; margin:6px 0 0; }
.offer{ position:relative; overflow:hidden; padding:24px 22px 20px; }
.offer::before{
  content:""; position:absolute; inset:-1px; z-index:0;
  background:
    radial-gradient(500px 280px at -10% -20%, rgba(74,127,184,.35), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0));
}
.offer-title{
  position:relative; z-index:1;
  font-size:13px; letter-spacing:.16em; font-weight:800; color:#e9f2ff; opacity:.95; margin:0 0 8px;
}
.offer-list{ position:relative; z-index:1; list-style:none; padding:0; margin:0; }
.offer-list li{
  position:relative; padding-left:28px; margin:10px 0; color:#e6edf7;
}
.offer-list li::before{
  content:"✓"; position:absolute; left:0; top:2px;
  width:18px; height:18px; border-radius:6px;
  background:var(--brand); color:#0b1220; font-weight:900; font-size:12px; line-height:18px; text-align:center;
  box-shadow:0 0 0 3px rgba(74,127,184,.22);
}
.grid{ display:grid; gap:22px; }
.grid.cols-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.cols-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width:980px){ .grid.cols-3, .grid.cols-2{ grid-template-columns:1fr; } }
.specs{ list-style:none; padding:0; margin:10px 0 6px; color:#d1d9e4; }
.specs li{ margin:6px 0; }

/* Pricing, gallery, gym, kontakt, mapa, footer – ostaju kao kod tebe... */

.pricing .card{ padding:28px; transition: transform .12s ease, box-shadow .12s ease; }
.pricing .card:hover{ transform:translateY(-2px); box-shadow:0 16px 50px rgba(2,6,23,.28); }
.price{
  font-size:32px; font-weight:800; color:#ffffff; margin:8px 0 16px;
  text-shadow:0 6px 24px rgba(0,0,0,.35);
}
.gallery{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:14px; }
.gallery img{
  width:100%; height:220px; object-fit:cover; border-radius:14px;
  border:1px solid rgba(233,242,255,.20); cursor:pointer;
}
@media (max-width:980px){ .gallery{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .gallery{ grid-template-columns:1fr; } }

.gym-card{ display:flex; flex-direction:column; gap:8px; }
.gym-ico{
  width:44px; height:44px; display:grid; place-items:center; border-radius:12px;
  background:rgba(233,242,255,.1); color:#f8fafc; border:1px solid rgba(233,242,255,.22);
}
.gym-grid .gym-card h3{ margin:8px 0 6px; }

.contact-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
  text-align:center;
}

.contact-list{
  display:grid;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
  color:#cfd6df;
  font-size:1.05rem;   /* malo veći font */
}

.contact-list strong{ color:#ffffff; }
.contact-list a{
  color:#eaf2ff; text-decoration:none; border-bottom:1px dashed rgba(234,242,255,.35);
}
.contact-list a:hover{ border-bottom-color: rgba(234,242,255,.7); }
.contact-actions{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
}


.map-card{ width:100%; overflow:hidden; display:flex; flex-direction:column; gap:12px; }
.map{
  width:100%; height:360px; border-radius:14px;
  border:1px solid rgba(233,242,255,.2); background:transparent;
}
.map-iframe-wrap iframe{ display:block; }
@media (max-width:640px){ .map{ height:280px; } }
.map-actions{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }
.map-actions .btn{ background:var(--brand); color:#fff; border-color:rgba(255,255,255,.12); font-weight:700; }

.site-footer{
  border-top:1px solid rgba(255,255,255,.08);
  background:#0a0e13;
  color:#cbd5e1;
  margin-top:auto;
}
.footer-inner{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 0; }
.site-footer a{ color:#93c5fd; text-decoration:none; }
.site-footer a:hover{ text-decoration:underline; }
@media (max-width:640px){ .footer-inner{ flex-direction:column; text-align:center; gap:6px; } }

/* Responsive nav */
@media (max-width:980px){
  .menu{
    display:none; position:absolute; right:0; top:64px; background:#0c1219; padding:12px;
    border:1px solid rgba(255,255,255,.12); border-radius:14px; width:min(92vw, 340px); flex-direction:column;
  }
  .menu.show{ display:flex; }
  .nav-toggle{ display:inline-block; }
  .header-inner{ min-height:64px; }
}

/* Lightbox */
.lightbox{
  position:fixed; inset:0; display:none; align-items:center; justify-content:center;
  background:rgba(0,0,0,.85); z-index:60; padding:24px;
}
.lightbox.show{ display:flex; }
.lb-img{ max-width:min(92vw, 1200px); max-height:80vh; border-radius:12px; box-shadow:0 20px 60px rgba(0,0,0,.4); }
.lb-close, .lb-prev, .lb-next{
  position:absolute; background:rgba(0,0,0,.5); color:#fff; border:1px solid rgba(255,255,255,.18);
  width:44px; height:44px; border-radius:12px; display:grid; place-items:center; cursor:pointer;
}
.lb-close{ top:18px; right:18px; font-size:24px; }
.lb-prev{ left:18px; font-size:28px; }
.lb-next{ right:18px; font-size:28px; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover{ background:rgba(0,0,0,.65); }

/* Mobilni – bez strelica */
@media (max-width:640px){
  .ctrl{ display:none; }
  .caption h1,.caption h2{ font-size: clamp(24px, 5.8vw, 36px); }
}

/* Sekcije sa dnom */
#galerija, #kontakt{ padding-bottom: calc(84px + var(--header-offset)); }

/* Back to top */
.back-to-top{
  position:fixed; right:18px; bottom:18px; z-index:55;
  width:44px; height:44px; border-radius:12px; border:1px solid rgba(255,255,255,.1);
  background:rgba(11,15,20,.85); color:#fff; cursor:pointer;
  display:none; align-items:center; justify-content:center; font-size:18px;
}
.back-to-top.show{ display:flex; }

/* Focus highlight */
.card.pill-focus{
  outline:2px solid var(--brand);
  box-shadow:0 0 0 4px rgba(74,127,184,.18), var(--shadow);
  transition:outline-color .2s ease;
}
@keyframes pillFlash{
  0%{ box-shadow:0 0 0 6px rgba(74,127,184,0), var(--shadow); }
  30%{ box-shadow:0 0 0 3px rgba(74,127,184,.35), var(--shadow); }
  100%{ box-shadow:0 0 0 6px rgba(74,127,184,0), var(--shadow); }
}
.card.pill-focus{ animation: pillFlash 1200ms ease-out; }

/* Tel link */
a[href^="tel"]{
  color:#fff !important;
  font-weight:700;
  text-decoration:none !important;
  border-bottom:none !important;
  -webkit-tap-highlight-color: transparent;
}
a[href^="tel"]:link,
a[href^="tel"]:visited,
a[href^="tel"]:hover,
a[href^="tel"]:active,
a[href^="tel"]:focus{
  color:#fff !important;
  text-decoration:none !important;
  border-bottom:none !important;
}

/* Globalni linkovi */
a{
  color:#fff;
  font-weight:700;
  text-decoration:none;
  border-bottom:none;
}
a:visited{ color:#fff; }
a:hover,
a:focus,
a:active{
  color:#fff;
  text-decoration:none;
  border-bottom:none;
  opacity:.92;
}
.site-footer a,
.contact-list a,
.menu a{
  text-decoration:none !important;
  border-bottom:none !important;
  color:#fff !important;
  font-weight:700;
}

/* Video teaser */
.section-dark{
  background: rgba(0,0,0,.35);
  backdrop-filter: saturate(120%) blur(2px);
}
.video-wrap{
  position: relative;
  width: 100%;
  border-radius: var(--radius, 16px);
  overflow: hidden;
  box-shadow: var(--shadow, 0 10px 30px rgba(2,6,23,.18));
  isolation: isolate;
}
.video-wrap::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(0,0,0,.20), rgba(0,0,0,.10));
  pointer-events:none;
  z-index:1;
}
.video{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio: 16 / 9;
}
@media (max-width: 680px){
  .video{ aspect-ratio: 9 / 16; }
}

/* Specs sa ikonama */
.specs{ list-style:none; padding:0; margin:14px 0 0; display:grid; gap:10px; }
.specs li{ display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:12px;
  background: rgba(255,255,255,.06); color:var(--text,#e8edf5); }
.spec-ico{ width:22px; height:22px; flex:0 0 22px; display:inline-block; opacity:.9 }

/* bogatiji tekst */
.prose{ line-height:1.65; color:var(--text,#e8edf5); }
.prose p{ margin:10px 0; }
.prose .inline-img{
  width:100%; border-radius:14px; display:block; margin:12px 0;
  box-shadow: var(--shadow, 0 10px 30px rgba(2,6,23,.18));
}
@media(min-width:860px){
  .prose .float-right{ float:right; width:48%; margin:6px 0 12px 18px; }
  .prose .float-left{ float:left; width:48%; margin:6px 18px 12px 0; }
}

/* Kratki hero */
.hero--short{
  height:755px;
  min-height:755px;
}
@media (max-width:980px){
  .hero--short{ height:300px; min-height:300px; }
}
@media (max-width:640px){
  .hero--short{ height:240px; min-height:240px; }
}

/* Slika + info */
.media-specs{
  display:grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap:32px; align-items:flex-start;
}
@media (max-width:980px){
  .media-specs{
    grid-template-columns:1fr;
  }
}
.media-specs .media{
  margin:0; border-radius:16px; overflow:hidden;
  border:1px solid rgba(233,242,255,.20); box-shadow:var(--shadow);
}
.media-specs .media img{ display:block; width:100%; height:100%; object-fit:cover; }
.media-specs .specs-card .title{ margin:0 0 10px; font-weight:800; color:#fff; }

/* desna kartica clean */
.media-specs .specs-card{
  background: transparent;
  border: none;
  box-shadow: none;
  padding-left: 4px;
}
/* Parametri – animacija odozgo nadole */
.spec-item{
  opacity: 0;
  transform: translateY(-10px);
  transition:
    transform .7s cubic-bezier(.2,.9,.2,1),
    opacity .6s ease;
}

.spec-item.spec-item--visible{
  opacity: 1;
  transform: translateY(0);
}

.media-specs .specs li:last-child{
  border-bottom: none;
  padding-bottom: 0;
}
.specs-badge{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 2px solid rgba(64, 177, 253);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 0 0, rgba(245,158,11,.22), rgba(15,23,42,.98));
  box-shadow: 0 10px 26px rgba(0,0,0,.7);
  flex-shrink: 0;
}
.specs-badge img.spec-ico{
  width: 26px;
  height: 26px;
  display: block;
}
.specs-text{
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.specs-label{
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #40B1FD;
}
.specs-value{
  font-size: 0.98rem;
  color: #e5e7eb;
}
@media (max-width:640px){
  .media-specs .specs li{
    padding: 10px 0;
  }
  .specs-badge{
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }
}

/* Split blokovi */
.split{
  display:grid; grid-template-columns:1fr 1fr; gap:22px; align-items:stretch;
}
.split .media{
  margin:0; border-radius:16px; overflow:hidden;
  border:1px solid rgba(233,242,255,.20); box-shadow:var(--shadow);
}
.split .media img{ display:block; width:100%; height:100%; object-fit:cover; }
@media(max-width:980px){ .split{ grid-template-columns:1fr; } }

/* --- Image load reveal: bleđe -> full kolor --- */
.img-reveal{
  transform: translateY(26px) scale(1.05);
  filter: blur(12px) brightness(.78) saturate(.8) grayscale(45%);
  opacity: 0;
  transition:
    transform 1s cubic-bezier(.19,.9,.22,1),
    filter .95s ease,
    opacity .9s ease;
  will-change: transform, filter, opacity;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.img-reveal.is-visible{
  transform: translateY(0) scale(1);
  filter: blur(0) brightness(1) saturate(1.05) grayscale(0%);
  opacity: 1;
}
/* Parno – glavna slika levo: crno-bela, pa boja na hover */
.img-parno-param.is-visible{
  filter: grayscale(100%) brightness(.9);
}

.img-parno-param.is-visible:hover{
  filter: grayscale(0%) brightness(1.05) saturate(1.15);
}

/* lagani hover kada je već vidljiva */
.img-reveal.is-visible:hover{
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.06) saturate(1.15);
}

/* shimmer pri učitavanju */
.img-reveal.loading-shimmer{
  animation: shimmerMove 1000ms linear infinite;
}
@keyframes shimmerMove{
  0%{ transform: translateY(14px) scale(1.03); }
  50%{ transform: translateY(8px) scale(1.01); }
  100%{ transform: translateY(14px) scale(1.03); }
}

/* Reveal blokova */
.reveal{
  transform: translateY(18px);
  opacity: 0;
  transition: transform .7s cubic-bezier(.2,.9,.2,1), opacity .6s ease;
  will-change: transform, opacity;
}
.reveal.is-revealed{
  transform: translateY(0);
  opacity: 1;
}

/* Jednaka visina media + card */
.split,
.media-specs {
  align-items: stretch;
}
.split .media,
.media-specs .media,
.split .card,
.media-specs .specs-card {
  height: 100%;
  min-height: 0;
}
.split .media img,
.media-specs .media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.split .card,
.media-specs .specs-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  box-sizing: border-box;
}
.prose::after { content: ""; display: table; clear: both; }

@media (max-width: 980px) {
  .split .media, .split .card, .media-specs .media, .media-specs .specs-card { height: auto; }
  .split .media img, .media-specs .media img { height: auto; aspect-ratio: 16/10; }
  .split .card, .media-specs .specs-card { padding-top:12px; padding-bottom:12px; }
}

/* Naslovi bliže vrhu */
.media-specs .specs-card,
.split .card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 10px;
  min-height: 0;
  box-sizing: border-box;
}
.media-specs .specs-card .title,
.split .card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.05;
}
.media-specs .specs-card h2.title { margin-top: 0; }

/* sash / sash-box */
.sash {
  --sash-bg: var(--brand-2);
  --sash-accent: rgba(11,15,20,.06);
  position: relative;
  display: inline-block;
  padding: 0.18em 0.9em;
  font-style: italic;
  font-weight: 800;
  color: #eaf6ff;
  z-index: 1;
  line-height: 1.2;
}
.sash::before{
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  top: 8%;
  bottom: 6%;
  background: linear-gradient(90deg, rgba(115,167,223,0.15) 0%, var(--sash-bg) 100%);
  transform: skewX(-18deg);
  border-radius: 6px;
  z-index: -1;
  box-shadow: 0 6px 18px rgba(2,6,23,.25);
  pointer-events: none;
}
.sash + .sash { margin-left: 0.2rem; }
@media (max-width: 640px){
  .sash{ padding: 0.12em 0.6em; font-size: .96rem; }
  .sash::before{ transform: skewX(-14deg); left:-8%; right:-8%; top:6%; bottom:6%; }
  .media-specs .specs-card,
  .split .card { padding-top: 12px; padding-bottom:12px; }
}
.btn-outline:hover,
.btn-outline:focus{
  background: var(--brand-2);
  color: #0b0f14;
  box-shadow: var(--shadow);
  text-decoration: none;
  border-color: rgba(255,255,255,.06);
}
.sash-box {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: rgba(255,255,255,.06);
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
  font-style: italic;
  font-weight: 800;
  line-height: 1.15;
  box-shadow: 0 6px 18px rgba(2,6,23,.18);
  border: 1px solid rgba(233,242,255,.06);
}
@media (max-width:640px){
  .sash-box { padding: 9px 10px; border-radius:10px; font-size: .98rem; }
}

/* sakrij hero na mobilnom + pomeri sadržaj ispod headera */
@media (max-width:640px) {
  .hero { display: none !important; }

  /* pošto nema <main>, guramo ceo sadržaj ispod headera */
  body.home-full {
    padding-top: calc(var(--header-offset) + 135px);
  }

  /* malo razmaka iznad prvog bloka sa banerima */
  body.home-full .section-banners {
    margin-top: 0;
  }
}


/* ---- TEXT REVEAL (sporije + za ponavljanje, JS menja .is-revealed) ---- */
.text-reveal{
  opacity: 0;
  transform: translateY(26px);
  transition:
    transform 1.05s cubic-bezier(.19,.9,.22,1),
    opacity .9s ease;
  will-change: transform, opacity;
  display:block;
  transition-delay: var(--delay, 0ms);
}
.text-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.card .text-reveal,
.split .text-reveal,
.media-specs .text-reveal,
.prose .text-reveal { display: block; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .text-reveal { transition: none !important; transform: none !important; opacity: 1 !important; }
  .img-reveal { transition: none !important; filter: none !important; transform: none !important; opacity: 1 !important; }
}

/* Header offset fix */
main { padding-top: var(--header-offset); }

/* Banner caption fine-tune */
.banner-caption { position: absolute; left: 18px; bottom: 16px; right: 18px; z-index: 3; pointer-events: none; }
.banner-caption .eyebrow { display: inline-block; background: rgba(15,35,50,0.85); color: #fff; padding: 6px 10px; border-radius: 20px; font-size: 0.85rem; }
.banner-caption h3 { margin: 8px 0 0; font-size: 1.9rem; color: #fff; line-height: 1; text-shadow: 0 6px 18px rgba(0,0,0,0.6); }
.banner-overlay { background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.5)); }
.section-head{
  background: transparent;
  border: none;
  padding: 6px 0 24px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.section-head h2{
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  margin: 0 0 12px;
  font-weight: 800;
  color: var(--heading);
}

.section-head .muted,
.section-head p{
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}


@media (max-width: 640px) {
  .banner-caption h3 { font-size: 1.4rem; }
  .banner-caption .eyebrow { font-size: 0.75rem; padding: 5px 8px; }
}

.hero + main {
  padding-top: 0 !important;
}

/* === HOME FULL WIDTH: samo sadržaj ispod headera === */
body.home-full .section > .container{
  max-width: 100%;
}


body.home-full .hero .caption h1,
body.home-full .hero .caption h2{
  font-family: "Pacifico", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  opacity: 0;
  transform: translateY(26px);
  color: #ffffff;

  /* OKVIR OKO SLOVA – bez text-stroke, samo senke */
  text-shadow:
    -3px -3px 0 #0474BD,
     3px -3px 0 #0474BD,
    -3px  3px 0 #0474BD,
     3px  3px 0 #0474BD,
     0px  0px 8px rgba(0,0,0,0.85); /* malo tamna aura da bude čitljivo */
}


/* kada slide postane aktivan, tekst lagano ulazi posle slike */
body.home-full .slide.is-active .caption h1,
body.home-full .slide.is-active .caption h2{
  animation: heroCaptionIn 1.1s cubic-bezier(.19,.9,.22,1) .6s forwards;
}

@keyframes heroCaptionIn{
  0%{
    opacity: 0;
    transform: translateY(26px);
  }
  100%{
    opacity: 1;
    transform: translateY(0);
  }
}

/* === HOME INDEX: MOBILE TWEAKS (TERETANA + KONTAKT) === */
@media (max-width:640px){

  /* Teretana kartice: ikonice centrirane, tekst pregledniji */
  .home-full .gym-grid .gym-card{
    align-items: center;
    text-align: center;
    padding: 18px 16px;
  }

  .home-full .gym-grid .gym-ico{
    margin-bottom: 6px;
  }

  .home-full .gym-grid .gym-card h3{
    margin-top: 4px;
  }

  .home-full .gym-grid .gym-card p{
    max-width: 28ch;
  }

  /* Kontakt kartica: blokovi po redovima */
  #kontakt .contact-card{
    align-items: flex-start;
    text-align: left;
    padding: 20px 18px;
  }

  #kontakt .contact-list{
    grid-auto-rows: auto;
    font-size: 1rem;
  }

  #kontakt .contact-list li{
    padding: 6px 0 10px;
    border-bottom: 1px solid rgba(148,163,184,.32);
  }

  #kontakt .contact-list li:last-child{
    border-bottom: none;
  }

  #kontakt .contact-list li strong{
    display: block;
    margin-bottom: 2px;
    font-size: 0.9rem;
    letter-spacing: .02em;
  }

  #kontakt .contact-list .js-tel{
    font-size: 1.32rem;
  }

  #kontakt .map-card{
    margin-top: 18px;
  }
}

.menu .has-submenu {
  position: relative;
}

.menu .has-submenu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 14px; /* buffer zona */
  background: transparent;
}

.menu .submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: rgba(11,15,20,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 0;
  list-style: none;
  min-width: 220px;
  display: none;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
  z-index: 999;
}

.menu .submenu li a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
  border-radius: 8px;
}

.menu .submenu li a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.menu .has-submenu:hover .submenu {
  display: block;
}


/* === FULL WIDTH PROMO BANERI — UPDATED === */

.promo-banners {
  width: 100%;
  margin: 0;
  padding: 40px 0; /* padding gore i dole */
}

.promo-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 0 24px;
  margin: 0 auto;
  max-width: 100%;
}

.promo-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 7; /* SMANJENA VISINA (ranije 16/9) */
  cursor: pointer;
}
/* === UKLANJANJE OVERLAYA, ČISTA SLIKA === */
.promo-card img {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}
.promo-caption h3 {
  color: #fff !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

.promo-card::before,
.promo-card::after {
  display: none !important;
}

.promo-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  color: #fff;
  text-shadow: 0 0 12px rgba(0,0,0,0.6);
}

/* ==== EYEBROW BADGE (OTKRIJ / U PRIPREMI) ==== */
.promo-caption .eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 20, 40, 0.85); /* tamna plavo-siva kapsula */
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}


.promo-caption h3 {
  font-size: 32px;
  margin: 0;
  font-weight: 700;
}

.promo-card.disabled {
  pointer-events: none;
  opacity: 1 !important;
  filter: none !important;
}

.promo-ribbon {
  position: absolute;
  top: 16px;
  left: -32px;
  background: #b80000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 40px;
  transform: rotate(-45deg);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }

  .promo-card {
    aspect-ratio: 16 / 10;
  }

  .promo-caption h3 {
    font-size: 24px;
  }
}

/* === HARD FIX ZA PROMO BANERE — BEZ OVERLAYA & BELO SLOVO === */

.promo-card img {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

.promo-card::before,
.promo-card::after {
  display: none !important;
}

/* Disabled = nije tamnije */
.promo-card.disabled {
  pointer-events: none;
  opacity: 1 !important;
  filter: none !important;
}

/* Čist beli tekst */
.promo-caption h3 {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 0 4px rgba(0,0,0,0.4) !important;
}

/* Kapsula za “OTKRIJ / U PRIPREMI” */
.promo-caption .eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  color: #fff !important;
  background: rgba(0, 0, 0, 0.55) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 1 !important;
}

/* Uklanjamo sve globalne fade/blur efekte sa promo teksta */
.promo-caption .eyebrow,
.promo-caption h3 {
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}

/* Promo kartica mora da iseče zoomovanu sliku */
.promo-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px; /* ili 12px — šta god koristiš */
}

/* Slika bez radius-a — kartica radi masku */
.promo-card img {
  border-radius: 0 !important;
  transition: transform 0.4s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-card:hover img {
  transform: scale(1.06);
}
