:root {
  --tamnoplava: #0b1f3a;
  --plava: #163a5f;
  --svijetloplava: #8ecae6;
  --bijela: #f7fbff;
  --zlatna: #ffd700;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background-color: #0b1f3a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 0;
  color: var(--bijela);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* lvh = stabilna visina kad se na mobitelu sakrije/pojavi adresna traka */
  height: 100vh;
  height: 100lvh;
  min-height: 100%;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.68)),
    url("/slike/homepage-bg-web-v3.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.pahulje {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.3;
}

.pahulja {
  position: absolute;
  top: -12px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.55),
    0 0 10px rgba(200, 230, 255, 0.35);
  filter: drop-shadow(0 1px 2px rgba(11, 31, 58, 0.25));
  user-select: none;
  will-change: transform;
  animation-name: pahulja-pad;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes pahulja-pad {
  0% {
    transform: translate3d(0, -5vh, 0) rotate(0deg);
  }
  100% {
    transform: translate3d(var(--drift, 20px), 110vh, 0) rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pahulje {
    display: none;
  }
}

body.pocetna-bg::before {
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100vh - 70px);
  height: calc(100lvh - 70px);
  min-height: calc(100% - 70px);
  bottom: auto;
  background-color: #eef3f8;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  background: rgba(11, 31, 58, 0.92);
  border-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  min-width: 0;
}

.logo-link span {
  white-space: nowrap;
}

.logo-ikona {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(142, 202, 230, 0.6);
  background-color: #0b1f3a;
  background-image: none;
}

.header-desno {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-stari-sajt {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--zlatna);
  white-space: nowrap;
  padding: 8px 12px;
}

.header-stari-sajt:hover {
  text-decoration: underline;
}

.sadrzaj-wrap {
  position: relative;
}

.sadrzaj-btn {
  background: var(--svijetloplava);
  color: var(--tamnoplava);
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  cursor: pointer;
}

.sadrzaj-lista {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  background: var(--tamnoplava);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.sadrzaj-wrap.open .sadrzaj-lista {
  display: block;
}

.sadrzaj-lista a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
}

.sadrzaj-lista a:hover {
  background: rgba(142, 202, 230, 0.2);
}

.site-main {
  position: relative;
  z-index: 2;
  flex: 1;
}

.prikaz {
  display: none;
}

.prikaz.aktivan {
  display: block;
}

.stanje {
  padding: 8px 0;
  color: #d7eaf5;
}

.homepage.prikaz {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  height: calc(100dvh - 70px);
  padding: 0 16px 8px;
  box-sizing: border-box;
  overflow: hidden;
  gap: 0;
}

.homepage.prikaz.aktivan {
  display: flex;
}

.homepage-glavni {
  flex: 0 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  gap: 0;
}

.ornaments-scena {
  position: relative;
  flex: 0 0 auto;
  min-height: 0;
  width: min(1400px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding-bottom: 0;
}

.homepage-desktop-only {
  display: block;
}

.zima-datumi {
  margin: 2px 0 0;
  text-align: center;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffc520;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.novosti-sa-vilsa {
  margin: 6px 0 10px;
  text-align: center;
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffc520;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.zima-blok {
  position: relative;
  z-index: 3;
  display: block;
  flex: 0 0 auto;
  width: clamp(140px, 14vw, 220px);
  aspect-ratio: 1;
  margin: -20px auto 0;
  padding: 0;
  text-decoration: none;
  border: 2px solid #e2b34a;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.35),
    0 0 10px rgba(255, 215, 0, 0.45),
    0 0 18px rgba(226, 179, 74, 0.28);
  transition: transform 0.3s ease;
}

.zima-blok img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: transparent;
}

.zima-blok:hover {
  transform: scale(1.03);
}

.ornaments-wrapper .ornament-title {
  display: block;
  z-index: 2;
}

.ornament-cta {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #0b1f3a;
  font-size: clamp(0.55rem, 1.1vw, 0.82rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.2;
  text-transform: none;
  opacity: 0;
  pointer-events: none;
  animation: ornament-cta-flash 7s ease-in-out infinite;
}

@keyframes ornament-cta-flash {
  0%,
  71.4%,
  100% {
    opacity: 0;
    transform: scale(0.92);
  }
  74%,
  95% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ornament-img-flash {
  0%,
  71.4%,
  100% {
    filter: none;
  }
  74%,
  95% {
    filter: brightness(1.8) saturate(0.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ornament-cta,
  .ornament-circle img {
    animation: none;
  }

  .ornament-cta {
    opacity: 0;
  }
}

.mobilni-novosti-panel {
  flex: 0 0 auto;
  width: 100%;
  margin-top: 8px;
}

.pocetne-novosti {
  flex: 0 0 auto;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0;
  max-height: clamp(160px, 24vh, 280px);
}

@media (min-width: 1100px) {
  .ornaments-scena {
    width: min(1600px, 100%);
  }

  .ornaments-wrapper {
    gap: clamp(36px, 5vw, 88px);
    padding: 6px 2vw 0;
  }

  .ornament-link {
    width: clamp(120px, 11.5vw, 190px);
    max-width: clamp(120px, 11.5vw, 190px);
  }

  .ornament-title {
    font-size: clamp(0.55rem, 1.35vw, 0.88rem);
  }

  .ornament-cta {
    font-size: clamp(0.7rem, 1.15vw, 0.95rem);
  }

  .zima-blok {
    width: clamp(150px, 15vw, 240px);
    margin: -24px auto 0;
  }

  .zima-datumi {
    margin-top: 6px;
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  }

  .pocetne-novosti {
    width: min(1280px, 100%);
    max-height: clamp(220px, 30vh, 360px);
  }

  .pocetne-novosti-viewport {
    padding: clamp(4px, 0.8vh, 12px) 0;
  }

  .pocetne-novosti-track {
    gap: clamp(12px, 1.4vw, 22px);
  }

  .carousel-kartica {
    flex-basis: clamp(260px, 24vw, 400px);
  }

  .carousel-naslov {
    font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  }

  .novosti-sa-vilsa {
    font-size: clamp(1.35rem, 2vw, 2rem);
  }
}

.pocetne-novosti-okidac {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  padding: 8px 12px 4px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.pocetne-novosti-naslov {
  margin: 0;
  text-align: center;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff8e1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.pocetne-novosti-strelica {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 215, 0, 0.55);
  background: rgba(11, 31, 58, 0.55);
  color: var(--zlatna);
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.25);
  animation: strelica-skok 1.4s ease-in-out infinite;
}

.pocetne-novosti-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.pocetne-novosti-viewport {
  overflow: hidden;
  padding: clamp(2px, 0.6vh, 8px) 0;
}

.pocetne-novosti-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.2vw, 16px);
}

.pocetne-novosti-track.carousel-mijenja .carousel-kartica {
  opacity: 0.25;
  transform: scale(0.9);
}

.pocetne-novosti-track.carousel-mijenja .carousel-kartica.aktivna {
  opacity: 0.45;
  transform: scale(0.96);
}

.pocetne-novosti-strelica-btn {
  width: clamp(36px, 3.2vw, 52px);
  height: clamp(36px, 3.2vw, 52px);
  border-radius: 50%;
  border: 1px solid rgba(142, 202, 230, 0.4);
  background: rgba(11, 31, 58, 0.7);
  color: var(--svijetloplava);
  font-size: clamp(1.2rem, 1.6vw, 1.7rem);
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 3;
}

.pocetne-novosti-strelica-btn:hover {
  background: rgba(142, 202, 230, 0.25);
  color: #fff;
}

.carousel-kartica {
  position: relative;
  display: block;
  flex: 0 0 clamp(200px, 22vw, 320px);
  aspect-ratio: 16 / 9;
  text-decoration: none;
  color: #fff;
  background: #123;
  border: 1px solid rgba(142, 202, 230, 0.28);
  border-radius: clamp(10px, 1vw, 14px);
  overflow: hidden;
  min-width: 0;
  opacity: 0.5;
  transform: scale(0.86);
  transition:
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.85s ease;
}

.carousel-kartica.aktivna {
  opacity: 1;
  transform: scale(1.04);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 215, 0, 0.28);
  z-index: 2;
}

.carousel-kartica img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #0a1628;
  display: block;
}

.carousel-kartica::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 18, 36, 0.45) 0%,
    rgba(8, 18, 36, 0.05) 35%,
    rgba(8, 18, 36, 0.15) 55%,
    rgba(8, 18, 36, 0.88) 100%
  );
  pointer-events: none;
}

.carousel-kategorija {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  max-width: calc(100% - 24px);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(8, 20, 40, 0.72);
  border: 1px solid rgba(255, 215, 0, 0.35);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.carousel-naslov {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 2;
  margin: 0;
  text-align: center;
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.pocetne-novosti-tacke {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

@media (min-width: 701px) {
  .homepage .pocetne-novosti-tacke {
    display: none;
  }
}

.pocetne-novosti-tacka {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(142, 202, 230, 0.35);
  cursor: pointer;
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.pocetne-novosti-tacka.aktivna {
  background: var(--zlatna);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
  transform: scale(1.2);
}

@keyframes strelica-skok {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

.ornaments-wrapper {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: clamp(24px, 4.5vw, 72px);
  width: 100%;
  margin: 0 auto;
  padding: 4px 2vw 0;
  flex: 0 0 auto;
  filter:
    drop-shadow(0 0 8px rgba(255, 236, 170, 0.9))
    drop-shadow(0 0 20px rgba(255, 214, 102, 0.7))
    drop-shadow(0 0 40px rgba(255, 190, 60, 0.45));
  animation: ornaments-glow 3s ease-in-out infinite;
}

@keyframes ornaments-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 5px rgba(255, 236, 170, 0.7))
      drop-shadow(0 0 14px rgba(255, 214, 102, 0.5))
      drop-shadow(0 0 28px rgba(255, 190, 60, 0.3));
  }
  50% {
    filter:
      drop-shadow(0 0 10px rgba(255, 244, 200, 1))
      drop-shadow(0 0 26px rgba(255, 220, 110, 0.85))
      drop-shadow(0 0 50px rgba(255, 190, 60, 0.6));
  }
}

.ornament-link {
  --drop: 22px;
  --tilt: -5deg;
  flex: 0 1 auto;
  width: clamp(88px, 9.5vw, 150px);
  max-width: clamp(88px, 9.5vw, 150px);
  min-width: 0;
  margin-top: var(--drop);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transform-origin: center calc(var(--drop) * -1);
  animation: ornament-njihaj 4.4s ease-in-out infinite;
}

/* 2. i 4. najviše; 3. malo niže; 1. i 5. najniže (ista visina), razmaknutije */
.ornament-link:nth-child(1) {
  --drop: 72px;
  --tilt: -5deg;
  animation-duration: 4.0s;
}
.ornament-link:nth-child(2) { --drop: 12px; --tilt: 6deg; animation-duration: 4.6s; animation-delay: -0.5s; }
.ornament-link:nth-child(3) { --drop: 28px; --tilt: -3deg; animation-duration: 3.8s; animation-delay: -1.2s; }
.ornament-link:nth-child(4) { --drop: 12px; --tilt: 5deg; animation-duration: 5.0s; animation-delay: -0.2s; }
.ornament-link:nth-child(5) {
  --drop: 72px;
  --tilt: -6deg;
  animation-duration: 4.3s;
  animation-delay: -0.9s;
}

.ornament-string {
  width: 2px;
  height: var(--drop);
  position: absolute;
  top: calc(var(--drop) * -1);
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #fff8d0, #e2b34a 45%, #fff3b0);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.75);
}

.ornament-string::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #fff8d0 0%, #e2b34a 70%);
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.7);
}

.ornament-cap {
  width: clamp(12px, 2.4vw, 24px);
  height: clamp(8px, 1.4vw, 14px);
  background: linear-gradient(90deg, #b38728, #fff7c2, #f0d36a, #bf953f);
  border-radius: 4px 4px 2px 2px;
  position: relative;
  z-index: 2;
  margin-bottom: -4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 8px rgba(255, 215, 0, 0.45);
}

.ornament-cap::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 8px;
  border: 2px solid #f2d56b;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
}

.ornament-circle {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: clamp(2px, 0.45vw, 4px) solid #ffd700;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.45),
    0 0 0 2px rgba(255, 248, 220, 0.35),
    0 0 16px rgba(255, 215, 0, 0.4);
  background-color: #fff;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.ornament-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 34%, rgba(255, 215, 0, 0.12) 100%);
  pointer-events: none;
  z-index: 1;
}

.ornament-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  animation: ornament-img-flash 7s ease-in-out infinite;
}

.ornament-title {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 14%;
  z-index: 2;
  margin: 0;
  padding: clamp(8px, 12%, 22px) 6px 0;
  text-align: center;
  font-size: clamp(0.4rem, 1.45vw, 0.72rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff8e1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 10px rgba(0, 0, 0, 0.45);
  background: linear-gradient(
    180deg,
    rgba(11, 31, 58, 0) 0%,
    rgba(11, 31, 58, 0.4) 30%,
    rgba(8, 18, 36, 0.9) 100%
  );
  pointer-events: none;
}

.ornament-title::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
}

@keyframes ornament-njihaj {
  0%, 100% { transform: rotate(calc(var(--tilt) - 2.5deg)); }
  50% { transform: rotate(calc(var(--tilt) + 2.5deg)); }
}

@keyframes ornament-njihaj-mali {
  0%, 100% { transform: rotate(calc(var(--tilt) - 1.5deg)) scale(1); }
  50% { transform: rotate(calc(var(--tilt) + 1.5deg)) scale(1.03); }
}

.ornament-link:hover {
  animation-play-state: paused;
  transform: rotate(0deg) scale(1.06);
}

.ornament-link:hover .ornament-circle {
  border-color: #fff;
  box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4);
}

.ornament-link:hover img {
  transform: scale(1.1);
}

.homepage-mobilni-only {
  display: none;
}

.mobilni-novosti-panel {
  width: 100%;
}

@media (min-width: 1400px) {
  .homepage.prikaz {
    padding: 0 28px 12px;
  }

  .ornaments-wrapper {
    gap: clamp(36px, 5vw, 88px);
  }

  .zima-blok {
    width: clamp(160px, 13vw, 240px);
  }

  .pocetne-novosti {
    max-height: clamp(180px, 24vh, 300px);
  }

  .carousel-naslov {
    font-size: clamp(0.9rem, 1.2vw, 1.2rem);
  }
}

@media (min-width: 1800px) {
  .ornament-link {
    width: clamp(110px, 8vw, 160px);
    max-width: clamp(110px, 8vw, 160px);
  }

  .zima-blok {
    width: clamp(170px, 12vw, 250px);
  }

  .pocetne-novosti .carousel-kartica,
  .carousel-kartica {
    flex-basis: clamp(240px, 18vw, 360px);
  }
}

@media (max-width: 700px) {
  .homepage.prikaz {
    flex-direction: column;
    gap: 14px;
    height: auto;
    padding: 8px 14px 36px;
    overflow: visible;
  }

  .homepage.prikaz.aktivan {
    display: flex;
  }

  .homepage-glavni,
  .zima-blok,
  .homepage-desktop-only {
    display: none;
  }

  .homepage-mobilni-only {
    display: block;
  }

  a.mobilni-hero.homepage-mobilni-only {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 8px 0 4px;
    text-decoration: none;
    color: inherit;
  }

  .mobilni-hero-globe {
    display: block;
    width: min(170px, 48vw);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e2b34a;
    box-shadow:
      0 0 0 1px rgba(255, 215, 0, 0.35),
      0 0 10px rgba(255, 215, 0, 0.45),
      0 0 18px rgba(226, 179, 74, 0.28);
    background: transparent;
  }

  .mobilni-hero-globe img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    background: transparent;
  }

  .zima-datumi--mobilni {
    margin: 0;
    font-size: 0.9rem;
  }

  .mobilni-novosti-panel {
    background: rgba(8, 20, 40, 0.78);
    border: 1px solid rgba(142, 202, 230, 0.28);
    border-radius: 18px;
    padding: 14px 12px 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  }

  .mobilni-novosti-naslov {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff8e1;
  }

  .pocetne-novosti {
    width: 100%;
    margin: 0;
    padding: 0;
    max-height: none;
  }

  .pocetne-novosti-carousel {
    display: block;
  }

  .pocetne-novosti-strelica-btn {
    display: none;
  }

  .pocetne-novosti-viewport {
    overflow: hidden;
    padding: 8px 0 10px;
  }

  .pocetne-novosti-track {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }

  .pocetne-novosti-track.carousel-mijenja .carousel-kartica {
    opacity: 0.5;
  }

  .pocetne-novosti-track.carousel-mijenja .carousel-kartica.aktivna {
    opacity: 0.75;
  }

  /* pola lijeve | cijela srednja | pola desne (kartice ~50% širine) */
  .carousel-kartica,
  .pocetne-novosti .carousel-kartica,
  .pocetne-novosti .carousel-kartica.aktivna {
    flex: 0 0 50%;
    flex-basis: 50%;
    max-width: 50%;
    aspect-ratio: 4 / 5;
    opacity: 1;
    transform: none;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  }

  .pocetne-novosti .carousel-kartica.aktivna {
    z-index: 2;
  }

  .pocetne-novosti .carousel-kartica.side {
    opacity: 0.85;
  }

  .carousel-kategorija {
    display: block;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 0.58rem;
    border-radius: 6px;
    background: rgba(8, 20, 40, 0.78);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: var(--zlatna);
    letter-spacing: 0.04em;
  }

  .carousel-naslov {
    left: 10px;
    right: 10px;
    bottom: 12px;
    font-size: 0.82rem;
    text-align: center;
  }

  .mobilni-kategorije {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .mobilni-kategorije-red {
    display: grid;
    gap: 10px;
  }

  .mobilni-kategorije-red--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mobilni-kategorije-red--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobilni-kat-kartica {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 112px;
    padding: 12px 8px;
    text-decoration: none;
    text-align: center;
    color: #fff8e1;
    background-color: #123;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 215, 0, 0.42);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  }

  .mobilni-kat-kartica::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(8, 18, 36, 0.1) 0%,
      rgba(8, 18, 36, 0.35) 45%,
      rgba(8, 18, 36, 0.88) 100%
    );
    pointer-events: none;
  }

  .mobilni-kat-naziv {
    position: relative;
    z-index: 1;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
  }

  .mobilni-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
    padding: 14px 18px;
    border-radius: 999px;
    text-decoration: none;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 800;
    color: #1a1200;
    background: linear-gradient(180deg, #ffe08a 0%, #ffc520 45%, #e0a800 100%);
    box-shadow: 0 8px 20px rgba(255, 197, 32, 0.35);
  }

  .site-footer {
    padding: 8px 12px 10px;
  }

  .site-footer-brand {
    margin: 0 0 12px;
    gap: 6px 8px;
  }

  .site-footer-powered-text {
    font-size: 0.62rem;
  }

  .site-footer-sdc-ikona {
    width: 22px;
    height: 22px;
  }

  .site-footer-sdc-text {
    font-size: 1.05rem;
  }

  .site-footer-kontakt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 10px;
    margin-top: 0;
    justify-items: stretch;
  }

  .site-footer-stavka {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-align: center;
    padding: 0;
    width: 100%;
  }

  .site-footer-stavka:first-child {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .site-footer-naslov {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .site-footer-ikona {
    width: 14px;
    height: 14px;
    color: rgba(255, 215, 0, 0.75);
  }

  .site-footer-ikona svg {
    width: 14px;
    height: 14px;
  }

  .site-footer-label {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(255, 215, 0, 0.72);
  }

  .site-footer-vrijednost {
    font-size: 12.5px;
    line-height: 1.25;
    color: rgba(226, 232, 240, 0.92);
  }
}

.page-wrap {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 32px));
  margin: 32px auto;
}

.novosti-stranica {
  width: 100%;
  margin: 0;
  padding: 0 0 120px;
  min-height: calc(100dvh - 70px);
}

body.kategorija-bg::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  min-height: 100%;
  bottom: auto;
  background-color: #0b1f3a;
  background-image:
    linear-gradient(180deg, rgba(8, 18, 36, 0.55) 0%, rgba(8, 18, 36, 0.82) 100%),
    var(--stat-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

body.kategorija-bg.kategorija-bg--svijetlo::before {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.72) 100%),
    var(--stat-bg);
}

.novosti-stranica.ima-stat-bg {
  background: transparent;
}

.novosti-stranica.ima-stat-bg .staticki-info {
  background: transparent;
}

.novosti-stranica.ima-stat-bg .staticki-info--svijetlo {
  background: transparent;
}

.novosti-stranica.ima-stat-bg.ima-stat-bg--svijetlo {
  background: transparent;
}

.staticki-hero {
  width: 100%;
}

.staticki-info {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
  background:
    linear-gradient(180deg, rgba(8, 18, 36, 0.55) 0%, rgba(8, 18, 36, 0.82) 100%),
    var(--stat-bg) center / cover no-repeat;
}

.staticki-info--svijetlo {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.72) 100%),
    var(--stat-bg) center / cover no-repeat;
}

.staticki-info--svijetlo .staticki-naslov {
  color: #c62828;
  text-shadow: none;
}

.staticki-info--svijetlo .staticki-tekst {
  color: #1a1a1a;
}

.staticki-info-sadrzaj {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 16px;
  flex: 1 1 auto;
}

.staticki-naslov {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff8e1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.staticki-tekst {
  margin: 0 0 22px;
  color: #f4f8fc;
  line-height: 1.65;
  font-size: 1.05rem;
}

.staticki-osnovno {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(8, 20, 40, 0.55);
  border: 1px solid rgba(142, 202, 230, 0.25);
}

.staticki-osnovno h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--zlatna);
}

.staticki-osnovno ul {
  margin: 0;
  padding-left: 18px;
  color: #e8f4fc;
  line-height: 1.55;
}

.staticki-ikone {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
}

.staticki-tekst--hint {
  margin-bottom: 12px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.staticki-ikone--kucice,
.staticki-ikone--pub {
  margin: 0 0 18px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

@media (max-width: 700px) {
  .staticki-ikone--kucice {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staticki-ikone--kucice .staticki-ikona:last-child {
    grid-column: 1 / -1;
  }

  .staticki-ikone--pub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staticki-ikone--pub .staticki-ikona[data-staticki-stavka="rezervacije"] {
    grid-column: 1 / -1;
  }
}

.staticki-ikone--kucice .staticki-ikona,
.staticki-ikone--pub .staticki-ikona {
  cursor: pointer;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.staticki-ikone--kucice .staticki-ikona[aria-pressed="true"],
.staticki-ikone--pub .staticki-ikona[aria-pressed="true"] {
  background: rgba(255, 215, 0, 0.22);
  border-color: rgba(255, 215, 0, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.staticki-kucica-detalj-tekst p {
  margin: 0 0 10px;
}

.staticki-kucica-detalj-tekst p:last-child {
  margin-bottom: 0;
}

.staticki-kucica-detalj {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(8, 20, 40, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.35);
  animation: kucica-detalj-ulaz 0.35s ease;
}

.staticki-kucica-detalj[hidden] {
  display: none;
}

.staticki-kucica-detalj-naslov {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--zlatna);
}

.staticki-kucica-detalj-tekst {
  margin: 0;
  color: #e8f4fc;
  line-height: 1.65;
  font-size: 1.02rem;
}

.staticki-rezervacije-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.staticki-rezervacije-tekst {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 100%;
  font-size: 1.12rem;
}

.staticki-rezervacije-tekst p {
  margin: 0;
  line-height: 1.65;
}

.staticki-rezervacije-slika {
  margin: 0;
  width: 100%;
  max-width: 420px;
  justify-self: center;
}

.staticki-rezervacije-slika img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  cursor: zoom-in;
}

@media (min-width: 701px) {
  .staticki-rezervacije-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 32px;
    align-items: stretch;
  }

  .staticki-rezervacije-tekst {
    font-size: 1.18rem;
    gap: 22px;
  }

  .staticki-rezervacije-slika {
    max-width: 420px;
    justify-self: stretch;
    display: flex;
    align-items: center;
  }

  .staticki-rezervacije-slika img {
    width: 100%;
    max-height: 420px;
    height: auto;
    object-fit: contain;
  }
}

@keyframes kucica-detalj-ulaz {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.staticki-ikone--lunapark {
  margin: 0 0 22px;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.staticki-ikone--lunapark .staticki-ikona span:last-child {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
}

.staticki-osnovno--ponuda {
  margin-top: 4px;
}

.staticki-tekst--zakljucak {
  margin-top: 8px;
  font-weight: 600;
  color: #fff8e1;
}

.staticki-ikona {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  text-align: center;
  padding: 14px 10px;
  border-radius: 14px;
  background: rgba(8, 20, 40, 0.62);
  border: 1px solid rgba(255, 215, 0, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

a.staticki-ikona:hover {
  transform: translateY(-3px);
  background: rgba(11, 31, 58, 0.85);
}

.staticki-ikona-simbol {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff7c2, #e2b34a 55%, #9a6b16);
  font-size: 1.4rem;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.35);
}

.staticki-ikona span:last-child {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.staticki-tajmer {
  margin: 0 0 20px;
  padding: 16px 10px;
  border-radius: 16px;
  background: transparent;
  border: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.staticki-tajmer-naslov {
  margin: 0 0 12px;
  color: #c62828;
  font-weight: 800;
  text-align: center;
}

.staticki-tajmer-brojevi {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.staticki-tajmer-brojevi div {
  text-align: center;
  padding: 12px 4px;
  border-radius: 14px;
  background: transparent;
  min-width: 0;
}

.staticki-tajmer-brojevi span {
  display: block;
  font-size: clamp(1.35rem, 6.5vw, 2.4rem);
  font-weight: 800;
  color: #c62828;
  line-height: 1.1;
}

.staticki-tajmer-brojevi small {
  display: block;
  color: #c62828;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(0.62rem, 2.8vw, 0.85rem);
  font-weight: 700;
}

@media (max-width: 700px) {
  .staticki-tajmer {
    padding: 12px 4px;
  }

  .staticki-tajmer-brojevi {
    gap: 4px;
    max-width: 100%;
  }

  .staticki-tajmer-brojevi div {
    padding: 8px 2px;
  }
}

.staticki-uplata {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 215, 0, 0.16);
  border: 1px solid rgba(255, 215, 0, 0.45);
}

.staticki-uplata:hover {
  background: rgba(255, 215, 0, 0.28);
}

.staticki-uplata-ikona {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(8, 20, 40, 0.65);
  font-size: 1.4rem;
}

.staticki-uplata strong {
  display: block;
  color: var(--zlatna);
}

.staticki-uplata small {
  color: #d7eaf5;
}

.novosti-lista {
  width: min(980px, calc(100% - 32px));
  margin: 24px auto 0;
  padding-bottom: 96px;
  scroll-margin-top: 80px;
}

.novosti-lista > :last-child {
  margin-bottom: 0;
}

.objava-istaknuta {
  position: relative;
  display: block;
  min-height: 300px;
  margin-bottom: 18px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background-color: #123;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(142, 202, 230, 0.28);
}

.objava-istaknuta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 36, 0.15) 0%, rgba(8, 18, 36, 0.82) 100%);
}

.objava-istaknuta h2 {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.objava-kartica {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  background: rgba(8, 20, 40, 0.88);
  border: 1px solid rgba(142, 202, 230, 0.28);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
  text-decoration: none;
  color: inherit;
}

.objava-kartica img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  object-position: center;
  background: #0a1628;
}

.detalj-slike--najava {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detalj-slike--najava.detalj-slike--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detalj-slike--najava img {
  height: clamp(160px, 26vw, 280px);
}

.objava-kartica h2 {
  margin: 16px 16px 6px;
}

.objava-datum {
  position: absolute;
  right: 16px;
  bottom: 12px;
  color: var(--svijetloplava);
  font-size: 0.9rem;
}

.objava-kartica p {
  margin: 0 16px 40px;
  color: #f4f8fc;
}

.objava-kategorija {
  margin: 0 0 8px;
  color: #d7eaf5;
}

.objava-tijelo {
  position: relative;
  background: rgba(8, 20, 40, 0.9);
  border: 1px solid rgba(142, 202, 230, 0.28);
  border-radius: 16px;
  padding: 20px 24px 48px;
}

.objava-tijelo h1 {
  margin: 0 0 8px;
  line-height: 1.2;
}

.objava-tekst {
  margin: 14px 0 0;
  color: #f4f8fc;
  line-height: 1.65;
  font-size: 1.05rem;
}

.objava-saznaj-vise {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--zlatna);
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.objava-saznaj-vise:hover {
  color: #fff8e1;
}

.detalj-slike {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.detalj-slike--1 {
  grid-template-columns: 1fr;
}

.detalj-slike--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detalj-slike--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detalj-slike img {
  width: 100%;
  height: clamp(180px, 28vw, 280px);
  border-radius: 12px;
  object-fit: contain;
  object-position: center;
  background: #0a1628;
  display: block;
}

.detalj-slike--1 img {
  height: clamp(220px, 42vw, 420px);
}

.detalj-carousel {
  margin: 22px 0 0;
}

.detalj-carousel-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.detalj-carousel-viewport {
  overflow: hidden;
  padding: 8px 0;
}

.detalj-carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.4vw, 16px);
}

.detalj-carousel-track.carousel-mijenja .detalj-carousel-slika {
  opacity: 0.25;
  transform: scale(0.9);
}

.detalj-carousel-track.carousel-mijenja .detalj-carousel-slika.aktivna {
  opacity: 0.45;
  transform: scale(0.96);
}

.detalj-carousel-slika {
  flex: 0 0 clamp(160px, 22vw, 280px);
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0.5;
  transform: scale(0.86);
  transition:
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.85s ease;
  background: rgba(0, 0, 0, 0.25);
}

.detalj-carousel-slika.aktivna {
  opacity: 1;
  transform: scale(1.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 215, 0, 0.25);
  z-index: 2;
}

.detalj-carousel-slika img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #0a1628;
}

.detalj-carousel-btn {
  width: clamp(34px, 3vw, 44px);
  height: clamp(34px, 3vw, 44px);
  border-radius: 50%;
  border: 1px solid rgba(142, 202, 230, 0.4);
  background: rgba(11, 31, 58, 0.7);
  color: var(--svijetloplava);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.detalj-carousel-btn:hover {
  background: rgba(142, 202, 230, 0.25);
  color: #fff;
}

.detalj-carousel-tacke {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.detalj-carousel-tacka {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(142, 202, 230, 0.35);
  cursor: pointer;
}

.detalj-carousel-tacka.aktivna {
  background: var(--zlatna);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
  transform: scale(1.2);
}

.detalj-slike img,
.detalj-carousel-slika img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 16px;
  background: rgba(4, 12, 24, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-slika {
  max-width: min(1100px, 96vw);
  max-height: min(88vh, 920px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  background: #0b1f3a;
}

.lightbox-zatvori {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 215, 0, 0.45);
  border-radius: 50%;
  background: rgba(11, 31, 58, 0.9);
  color: #fff8e1;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.lightbox-zatvori:hover {
  background: rgba(255, 215, 0, 0.2);
  color: var(--zlatna);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 215, 0, 0.45);
  border-radius: 50%;
  background: rgba(11, 31, 58, 0.9);
  color: #fff8e1;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-nav:hover {
  background: rgba(255, 215, 0, 0.2);
  color: var(--zlatna);
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

@media (max-width: 700px) {
  .lightbox {
    padding: 56px 8px 16px;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 1.7rem;
  }

  .lightbox-prev {
    left: 6px;
  }

  .lightbox-next {
    right: 6px;
  }

  .lightbox-slika {
    max-width: calc(100vw - 96px);
  }
}

body.lightbox-otvoren {
  overflow: hidden;
}

.forma {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  width: min(100%, 720px);
  margin-inline: auto;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-sizing: border-box;
}

.forma input,
.forma textarea,
.forma select {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(142, 202, 230, 0.4);
  background: rgba(11, 31, 58, 0.72);
  color: #fff;
}

.forma input::placeholder,
.forma textarea::placeholder {
  color: rgba(226, 232, 240, 0.65);
  opacity: 1;
}

.forma-program {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.forma-program-naslov {
  margin: 0 0 8px;
  color: var(--zlatna);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.forma-program-opcije {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.forma-program-kartica {
  position: relative;
  display: grid;
  grid-template-rows: 28px auto auto;
  gap: 4px;
  align-content: start;
  justify-items: start;
  margin: 0;
  min-height: 0;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(2, 8, 23, 0.55);
  color: #f4f8fc;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.forma-program-kartica:hover {
  border-color: rgba(142, 202, 230, 0.65);
  background: rgba(8, 18, 36, 0.72);
  transform: translateY(-1px);
}

.forma-program-kartica input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.forma-program-ikona {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 1.2rem;
  line-height: 1;
}

.forma-program-ime {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.forma-program-opis {
  font-size: 0.76rem;
  line-height: 1.3;
  color: rgba(215, 234, 245, 0.82);
}

.forma-program-kartica:has(input:checked) {
  border-color: #7dd3fc;
  background: rgba(8, 18, 36, 0.92);
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.45),
    0 0 18px rgba(56, 189, 248, 0.28);
}

.forma-program-kartica:has(input:focus-visible) {
  outline: 2px solid rgba(125, 211, 252, 0.8);
  outline-offset: 2px;
}

.sadrzaj-stari-sajt {
  display: none;
}

@media (max-width: 700px) {
  .site-header {
    padding: 10px 12px;
    gap: 8px;
  }

  .logo-link {
    gap: 8px;
    font-size: 1rem;
  }

  .logo-ikona {
    width: 40px;
    height: 40px;
  }

  .header-stari-sajt {
    display: none;
  }

  .sadrzaj-btn {
    padding: 7px 14px;
    font-size: 0.92rem;
  }

  .sadrzaj-stari-sajt {
    display: block;
  }

  .page-wrap {
    margin: 18px auto 28px;
  }

  .page-wrap h1 {
    margin: 0 0 12px;
    font-size: 1.45rem;
  }

  .forma {
    gap: 8px;
    padding: 14px;
  }

  .forma input,
  .forma textarea,
  .forma select {
    padding: 9px 11px;
  }

  .forma-program-opcije {
    gap: 8px;
  }

  .forma-program-kartica {
    padding: 8px 10px;
  }
}

.forma button {
  background: var(--svijetloplava);
  color: #0f172a;
  border: 0;
  border-radius: 10px;
  padding: 13px 16px;
  font-weight: 600;
  cursor: pointer;
}

.admin-akcija {
  background: var(--svijetloplava);
  color: var(--tamnoplava);
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.prijava-uskoro {
  margin: 18px 0 8px;
  font-size: 1.15rem;
  color: #fff;
  font-weight: 600;
}

#prijava-forma[hidden],
#prijava-poruka[hidden] {
  display: none !important;
}

.prijava-tajmer {
  margin-top: 28px;
}

.prijava-tajmer-naslov,
.prijava-tajmer .staticki-tajmer-brojevi span,
.prijava-tajmer .staticki-tajmer-brojevi small {
  color: #fff;
}

.poruka {
  margin-top: 10px;
}

.site-footer {
  position: relative;
  z-index: 20;
  text-align: center;
  padding: 22px 20px 24px;
  margin-top: auto;
  background: rgba(11, 31, 58, 0.92);
  border-top: 1px solid rgba(142, 202, 230, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0 0 16px;
}

.site-footer-powered-text {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 251, 255, 0.88);
}

.site-footer-sdc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer-sdc-ikona {
  width: 34px;
  height: 34px;
  display: block;
  flex-shrink: 0;
}

.site-footer-sdc-text {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
}

.site-footer-kontakt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(247, 251, 255, 0.92);
  justify-items: stretch;
}

.site-footer-stavka {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  text-align: center;
  width: 100%;
}

.site-footer-stavka:first-child {
  grid-column: 1 / -1;
  justify-self: center;
}

.site-footer-naslov {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (min-width: 701px) {
  .site-footer-kontakt {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer-stavka:first-child {
    grid-column: auto;
    width: auto;
  }
}

.site-footer-ikona {
  display: inline-flex;
  color: rgba(255, 215, 0, 0.8);
}

.site-footer-ikona svg {
  display: block;
}

.site-footer-label {
  display: inline;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 215, 0, 0.75);
}

.site-footer-vrijednost {
  color: rgba(247, 251, 255, 0.92);
  text-decoration: none;
}

a.site-footer-vrijednost:hover {
  color: var(--zlatna);
  text-decoration: underline;
}

.admin-tabela {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 32px;
  background: rgba(0, 0, 0, 0.2);
}

.admin-tabela th,
.admin-tabela td {
  border: 1px solid rgba(142, 202, 230, 0.2);
  padding: 8px;
  text-align: left;
}


@media (prefers-reduced-motion: reduce) {
  .ornament-link {
    animation: none;
    transform: rotate(var(--tilt));
  }
}

@media (max-width: 640px) {
  .objava-kartica {
    grid-template-columns: 1fr;
  }

  .objava-kartica img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .detalj-slike--najava {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detalj-slike--najava img {
    height: 110px;
  }

  .objava-tijelo {
    padding: 16px 16px 44px;
  }

  .detalj-slike {
    gap: 8px;
  }

  .detalj-slike--1,
  .detalj-slike--2,
  .detalj-slike--3 {
    grid-template-columns: repeat(var(--detalj-cols, 1), minmax(0, 1fr));
  }

  .detalj-slike--1 { --detalj-cols: 1; }
  .detalj-slike--2 { --detalj-cols: 2; }
  .detalj-slike--3 { --detalj-cols: 3; }

  .detalj-slike img {
    height: 120px;
  }

  .detalj-slike--1 img {
    height: 200px;
  }

  .detalj-carousel {
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
  }

  .detalj-carousel-wrap {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    gap: 0;
  }

  .detalj-carousel-wrap > * {
    grid-column: 1;
    grid-row: 1;
  }

  .detalj-carousel-viewport {
    overflow: visible;
    padding: 4px 6px 8px;
    width: 100%;
  }

  .detalj-carousel-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    align-items: stretch;
  }

  .detalj-carousel-slika {
    flex: none;
    width: 100%;
    max-width: none;
    aspect-ratio: 4 / 5;
    opacity: 0.62;
    transform: none;
    box-shadow: none;
  }

  .detalj-carousel-slika.aktivna {
    opacity: 1;
    transform: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 215, 0, 0.35);
    z-index: 1;
  }

  .detalj-carousel-track.carousel-mijenja .detalj-carousel-slika,
  .detalj-carousel-track.carousel-mijenja .detalj-carousel-slika.aktivna {
    opacity: 0.35;
    transform: none;
  }

  .detalj-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 30px;
    height: 30px;
    font-size: 1.05rem;
    background: rgba(11, 31, 58, 0.85);
  }

  .detalj-carousel-btn[data-detalj-dir="-1"] {
    left: 2px;
  }

  .detalj-carousel-btn[data-detalj-dir="1"] {
    right: 2px;
  }
}