/* =========================================================
   OPNZPS Hero / Revolution Slider replacement
   Fonts: Bitter for headings, Trebuchet MS / Helvetica / sans-serif for body
   Full width + compact + tablet/mobile logo first
   ========================================================= */

.opnzps-hero,
.opnzps-hero * {
  box-sizing: border-box;
}

.opnzps-hero {
  --opnzps-black: #0b0b0b;
  --opnzps-dark: #111111;
  --opnzps-charcoal: #222222;
  --opnzps-soft: #f2f2f2;
  --opnzps-white: #ffffff;
  --opnzps-muted: rgba(255, 255, 255, 0.72);
  --opnzps-line: rgba(255, 255, 255, 0.18);
  --opnzps-gold: #d7b66a;

  position: relative;
  isolation: isolate;
  width: 100vw;
  max-width: 100vw;
  min-height: auto;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  color: var(--opnzps-white);
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(135deg, #050505 0%, #171717 48%, #2a2a2a 100%);
  font-family: "Trebuchet MS", Helvetica, sans-serif;
}

.opnzps-hero a {
  text-decoration: none !important;
}

.opnzps-hero__bg,
.opnzps-hero__bg-slide,
.opnzps-hero__shade,
.opnzps-hero__ambient,
.opnzps-hero__grain,
.opnzps-hero__spotlight {
  position: absolute;
  inset: 0;
}

.opnzps-hero__bg {
  z-index: -6;
  overflow: hidden;
}

.opnzps-hero__bg-slide {
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transform: scale(1.08);
  filter: grayscale(18%) contrast(1.08) brightness(0.72);
  transition:
    opacity 1100ms ease,
    transform 7000ms ease,
    filter 1100ms ease;
}

.opnzps-hero__bg-slide.is-active {
  opacity: 1;
  transform: scale(1.015);
  filter: grayscale(5%) contrast(1.12) brightness(0.78);
}

.opnzps-hero__shade {
  z-index: -5;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 36%, rgba(0, 0, 0, 0.28) 70%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.76) 100%);
}

.opnzps-hero__ambient {
  z-index: -4;
  background:
    radial-gradient(circle at var(--opnzps-x, 72%) var(--opnzps-y, 38%), rgba(255, 255, 255, 0.16), transparent 24%),
    radial-gradient(circle at 72% 78%, rgba(215, 182, 106, 0.16), transparent 26%);
  mix-blend-mode: screen;
  opacity: 0.7;
  transition: opacity 300ms ease;
}

.opnzps-hero__spotlight {
  z-index: -3;
  pointer-events: none;
  background: radial-gradient(circle at var(--opnzps-x, 50%) var(--opnzps-y, 50%), rgba(255, 255, 255, 0.12), transparent 22%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.opnzps-hero:hover .opnzps-hero__spotlight {
  opacity: 1;
}

.opnzps-hero__grain {
  z-index: -2;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.08));
}

.opnzps-hero__inner {
  width: min(1240px, calc(100% - 44px));
  min-height: clamp(420px, 54vh, 560px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  padding: clamp(46px, 6vw, 76px) 0 clamp(28px, 4vw, 46px);
}

.opnzps-hero__copy {
  max-width: 760px;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 800ms ease, transform 800ms ease;
}

.opnzps-hero.is-visible .opnzps-hero__copy {
  opacity: 1;
  transform: translateY(0);
}

.opnzps-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 8px 14px;
  border: 1px solid var(--opnzps-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.opnzps-hero__eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.12),
    0 0 24px rgba(255, 255, 255, 0.8);
  animation: opnzpsPulse 1.65s ease-in-out infinite;
}

.opnzps-hero__title {
  margin: 0;
  font-family: Bitter, Georgia, serif;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: #ffffff;
  text-wrap: balance;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.56);
}

.opnzps-hero__title::after {
  content: "";
  display: block;
  width: min(340px, 74%);
  height: 2px;
  margin-top: 24px;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.36), transparent);
  transform-origin: left center;
  animation: opnzpsLine 2.4s ease both;
}

.opnzps-hero__subtitle {
  margin: 22px 0 0;
  max-width: 720px;
  font-family: Bitter, Georgia, serif;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.16;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
  text-wrap: balance;
}

.opnzps-hero__text {
  max-width: 650px;
  margin: 18px 0 0;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.55;
  color: var(--opnzps-muted);
}

.opnzps-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.opnzps-hero__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 15px 24px;
  border-radius: 999px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease,
    background 260ms ease;
}

.opnzps-hero__btn--primary {
  color: #111111 !important;
  background: linear-gradient(135deg, #ffffff 0%, #eeeeee 54%, #bdbdbd 100%);
  box-shadow:
    0 18px 46px rgba(255, 255, 255, 0.14),
    0 18px 36px rgba(0, 0, 0, 0.34);
}

.opnzps-hero__btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
  transition: transform 650ms ease;
}

.opnzps-hero__btn--primary:hover::before {
  transform: translateX(120%) skewX(-18deg);
}

.opnzps-hero__btn--ghost {
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.opnzps-hero__btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.42);
}

.opnzps-hero__btn i,
.opnzps-hero__btn span {
  position: relative;
  z-index: 1;
}

.opnzps-hero__visual {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition:
    opacity 900ms ease 120ms,
    transform 900ms ease 120ms;
}

.opnzps-hero.is-visible .opnzps-hero__visual {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.opnzps-hero__crest-wrap {
  position: relative;
  width: clamp(190px, 22vw, 300px);
  aspect-ratio: 600 / 853;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  will-change: transform;
  animation: opnzpsFloat 5.8s ease-in-out infinite;
}

.opnzps-hero__crest-glow {
  position: absolute;
  inset: 11% -18% 2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.06) 42%, transparent 66%);
  filter: blur(18px);
  transform: translateZ(-20px);
}

.opnzps-hero__crest {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.58));
}

/* Thumbnails */
.opnzps-hero__gallery {
  display: none !important;
}

.opnzps-hero__thumb {
  position: relative;
  height: 82px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #222222;
  opacity: 0.72;
  transform: translateY(0) scale(1);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.opnzps-hero__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(25%) contrast(1.08);
  transition:
    transform 650ms ease,
    filter 260ms ease;
}

.opnzps-hero__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  transition: border-color 220ms ease;
}

.opnzps-hero__thumb:hover,
.opnzps-hero__thumb.is-active {
  opacity: 1;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.opnzps-hero__thumb:hover img,
.opnzps-hero__thumb.is-active img {
  transform: scale(1.08);
  filter: grayscale(0) contrast(1.15);
}

.opnzps-hero__thumb.is-active::after {
  border-color: rgba(255, 255, 255, 0.78);
}

.opnzps-hero__bottom {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding-bottom: clamp(26px, 4vw, 44px);
}

.opnzps-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
}

.opnzps-hero__stat {
  min-height: 88px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.opnzps-hero__stat strong {
  display: block;
  font-family: Bitter, Georgia, serif;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 0.9;
  color: #ffffff;
}

.opnzps-hero__stat span {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.opnzps-hero__controls {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.52);
  backdrop-filter: blur(12px);
}

.opnzps-hero__arrow,
.opnzps-hero__dot {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.opnzps-hero__arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #d7d7d7);
  color: #111111;
  font-size: 28px;
  line-height: 1;
  transition:
    transform 220ms ease,
    background 220ms ease;
}

.opnzps-hero__arrow:hover {
  transform: translateY(-2px) scale(1.04);
  background: #ffffff;
}

.opnzps-hero__dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.opnzps-hero__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  transition:
    width 260ms ease,
    background 260ms ease;
}

.opnzps-hero__dot.is-active {
  width: 30px;
  background: #ffffff;
}

/* =========================================================
   Animations
   ========================================================= */

@keyframes opnzpsPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.72);
    opacity: 0.68;
  }
}

@keyframes opnzpsFloat {
  0%,
  100% {
    transform: translateY(0) rotateZ(-1deg);
  }

  50% {
    transform: translateY(-13px) rotateZ(1.2deg);
  }
}

@keyframes opnzpsLine {
  from {
    transform: scaleX(0);
    opacity: 0;
  }

  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .opnzps-hero,
  .opnzps-hero * {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   Tablet / mobile fix
   Logo first, then text
   ========================================================= */

@media (max-width: 1180px) {
  .opnzps-hero {
    min-height: auto !important;
  }

  .opnzps-hero__shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.66) 54%, rgba(0, 0, 0, 0.9) 100%);
  }

  .opnzps-hero__inner {
    display: flex !important;
    flex-direction: column-reverse !important;
    width: min(100% - 36px, 920px) !important;
    min-height: auto !important;
    padding: 52px 0 28px !important;
    gap: 24px !important;
    text-align: center !important;
  }

  .opnzps-hero__visual {
    width: 100% !important;
    max-width: 260px !important;
    min-height: auto !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    order: 1 !important;
  }

  .opnzps-hero__crest-wrap {
    width: 210px !important;
    max-width: 210px !important;
    margin: 0 auto !important;
  }

  .opnzps-hero__copy {
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto !important;
    order: 2 !important;
  }

  .opnzps-hero__eyebrow {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .opnzps-hero__title {
    max-width: 760px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(36px, 7vw, 58px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.045em !important;
  }

  .opnzps-hero__title::after {
    margin-left: auto !important;
    margin-right: auto !important;
    background: linear-gradient(
      90deg,
      transparent,
      #ffffff,
      rgba(255, 255, 255, 0.36),
      transparent
    ) !important;
  }

  .opnzps-hero__subtitle,
  .opnzps-hero__text {
    max-width: 680px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .opnzps-hero__actions {
    justify-content: center !important;
  }

  .opnzps-hero__bottom {
    width: min(100% - 36px, 920px) !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 18px !important;
    padding-bottom: 28px !important;
  }

  .opnzps-hero__stats {
    width: 100% !important;
    max-width: 760px !important;
  }

  .opnzps-hero__controls {
    justify-self: center !important;
  }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {
  .opnzps-hero__inner {
    width: min(100% - 28px, 680px) !important;
    padding: 34px 0 22px !important;
    gap: 18px !important;
  }

  .opnzps-hero__visual {
    max-width: 170px !important;
  }

  .opnzps-hero__crest-wrap {
    width: 145px !important;
    max-width: 145px !important;
  }

  .opnzps-hero__eyebrow {
    max-width: 100% !important;
    margin-bottom: 14px !important;
    padding: 7px 12px !important;
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
  }

  .opnzps-hero__title {
    font-size: clamp(28px, 8.4vw, 40px) !important;
    line-height: 1 !important;
    letter-spacing: -0.035em !important;
  }

  .opnzps-hero__title::after {
    width: min(230px, 80%) !important;
    margin-top: 16px !important;
  }

  .opnzps-hero__subtitle {
    margin-top: 16px !important;
    font-size: 17px !important;
    line-height: 1.22 !important;
  }

  .opnzps-hero__text {
    margin-top: 12px !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  .opnzps-hero__actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-top: 22px !important;
  }

  .opnzps-hero__btn {
    width: 100% !important;
    min-height: 48px !important;
    padding: 13px 16px !important;
    font-size: 12px !important;
  }

  .opnzps-hero__bottom {
    width: min(100% - 28px, 680px) !important;
    padding-bottom: 22px !important;
  }

  .opnzps-hero__stats {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  .opnzps-hero__stat {
    min-height: auto !important;
    padding: 11px 14px !important;
    border-radius: 16px !important;
  }

  .opnzps-hero__stat strong {
    font-size: 28px !important;
  }

  .opnzps-hero__stat span {
    margin-top: 5px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
  }

  .opnzps-hero__controls {
    width: 100% !important;
    justify-content: center !important;
    padding: 8px !important;
  }

  .opnzps-hero__arrow {
    width: 40px !important;
    height: 40px !important;
    font-size: 24px !important;
  }
}

/* =========================================================
   Very small phones
   ========================================================= */

@media (max-width: 420px) {
  .opnzps-hero__inner {
    padding-top: 30px !important;
  }

  .opnzps-hero__visual {
    max-width: 145px !important;
  }

  .opnzps-hero__crest-wrap {
    width: 125px !important;
    max-width: 125px !important;
  }

  .opnzps-hero__title {
    font-size: clamp(26px, 8vw, 34px) !important;
  }

  .opnzps-hero__subtitle {
    font-size: 16px !important;
  }

  .opnzps-hero__text {
    font-size: 14px !important;
  }
}
/* =========================================================
   Manifest nav — desktop/mobile split active style
   Active/hover: samo belji tekst, bez bele pozadine
   ========================================================= */

/* Reset: skida belu pozadinu sa svih aktivnih filtera */
.opnzps-manifest__nav a,
.opnzps-manifest__nav a:visited,
.opnzps-manifest__nav a:focus,
.opnzps-manifest__nav a:active,
.opnzps-manifest__nav a.is-active {
  background: transparent !important;
  box-shadow: none !important;
}

/* Desktop osnovno stanje */
.opnzps-manifest__nav a {
  color: rgba(255, 255, 255, 0.62) !important;
}

/* Desktop hover + active */
.opnzps-manifest__nav a:hover,
.opnzps-manifest__nav a.is-active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

/* Tačkica desktop */
.opnzps-manifest__nav a::before {
  background: rgba(255, 255, 255, 0.24) !important;
  box-shadow: none !important;
}

.opnzps-manifest__nav a:hover::before,
.opnzps-manifest__nav a.is-active::before {
  background: #ffffff !important;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.45) !important;
}

/* Mobile/tablet: pill ostaje taman, samo tekst pobeli */
@media (max-width: 1100px) {
  .opnzps-manifest__nav a,
  .opnzps-manifest__nav a:visited,
  .opnzps-manifest__nav a:focus,
  .opnzps-manifest__nav a:active {
    color: rgba(255, 255, 255, 0.62) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .opnzps-manifest__nav a:hover,
  .opnzps-manifest__nav a.is-active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .opnzps-manifest__nav a::before {
    background: rgba(255, 255, 255, 0.24) !important;
    box-shadow: none !important;
  }

  .opnzps-manifest__nav a:hover::before,
  .opnzps-manifest__nav a.is-active::before {
    background: #ffffff !important;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.45) !important;
  }
}