

.hero {
  position: relative;
  overflow: visible;
  background: var(--navy-900);
  isolation: isolate;
}

.hero-stage {
  position: relative;
  min-height: calc(100svh - 112px);
  overflow: hidden;
  background: var(--navy-900);
  isolation: isolate;
}

.hero-slider,
.hero-slide,
.hero-slide__background,
.hero-slide__overlay {
  position: absolute;
  inset: 0;
}

.hero-slider {
  z-index: 0;
  overflow: hidden;
  background: var(--navy-900);
}

.hero-slide {
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  isolation: isolate;
  transition:
    opacity 1s ease,
    visibility 1s ease;
}

.hero-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-slide__background {
  z-index: -2;
  background-image: var(--hero-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
  transition: transform 7s ease;
  will-change: transform;
}

.hero-slide.is-active .hero-slide__background {
  transform: scale(1.07);
}

.hero-slide__overlay {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(3, 10, 20, 0.98) 0%,
      rgba(4, 13, 27, 0.9) 27%,
      rgba(5, 15, 29, 0.54) 50%,
      rgba(5, 14, 27, 0.08) 70%,
      rgba(4, 10, 20, 0.12) 100%
    ),
    linear-gradient(
      180deg,
      rgba(3, 9, 18, 0.72) 0%,
      rgba(3, 9, 18, 0.05) 40%,
      rgba(3, 9, 18, 0.16) 70%,
      rgba(3, 9, 18, 0.88) 100%
    );
  pointer-events: none;
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 112px);
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  padding-bottom: clamp(54px, 7vh, 96px);
}

.hero-slide__copy {
  width: min(820px, 58vw);
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease 180ms,
    transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1) 180ms;
}

.hero-slide.is-active .hero-slide__copy {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide__title {
  margin: 0;
  color: var(--white);
  font-family: "Inter", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 0.99;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow: 0 12px 42px rgba(0, 0, 0, 0.32);
}

.hero-slide__title span {
  display: inline-block;
  margin-top: 0.12em;
  font-size: clamp(2rem, 3vw, 3rem);
}

.hero-slide__description {
  position: relative;
  max-width: 640px;
  margin: 32px 0 0;
  padding-top: 28px;
  color: var(--white-soft);
  font-size: clamp(1rem, 1.22vw, 1.3rem);
  line-height: 1.65;
}

.hero-slide__description::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 88px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  box-shadow: 0 0 22px rgba(201, 161, 74, 0.28);
}

/* Slider kontrole */

.hero-slider-dots {
  position: absolute;
  right: max(28px, calc((100vw - var(--container)) / 2));
  bottom: 28px;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition:
    width 300ms ease,
    border-radius 300ms ease,
    border-color 300ms ease,
    background-color 300ms ease;
}

.hero-slider-dot:hover,
.hero-slider-dot:focus-visible {
  border-color: var(--gold-300);
}

.hero-slider-dot.is-active {
  width: 30px;
  border-color: var(--gold-400);
  border-radius: 999px;
  background: var(--gold-400);
}

.hero-slider-dot:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

/* =========================================================
   STALNA TRAKA ISPOD HEROA
   ========================================================= */

.hero-toolbar {
  position: relative;
  z-index: 15;
  border-top: 1px solid rgba(201, 161, 74, 0.46);
  border-bottom: 1px solid rgba(201, 161, 74, 0.32);
  background:
    radial-gradient(
      circle at 28% 0%,
      rgba(201, 161, 74, 0.08),
      transparent 30%
    ),
    rgba(3, 10, 20, 0.98);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
}

.hero-toolbar__inner {
  min-height: 106px;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.2vw, 20px);
  padding-top: 17px;
  padding-bottom: 17px;
}

.hero-toolbar__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-toolbar .button {
  min-width: 0;
  min-height: 50px;
  padding: 0 17px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.hero-toolbar .button--primary {
  min-width: 165px;
}

.hero-toolbar .button--secondary {
  min-width: 178px;
}

.hero-toolbar .button i {
  font-size: 1rem;
  line-height: 1;
  transition: transform var(--transition);
}

.hero-toolbar .button:hover i,
.hero-toolbar .button:focus-visible i {
  transform: translateX(4px);
}

.hero-toolbar__items {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.hero-toolbar__items::-webkit-scrollbar {
  display: none;
}

.hero-toolbar__chip {
  flex: 0 0 auto;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(201, 161, 74, 0.48);
  border-radius: 999px;
  background: rgba(14, 26, 43, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  transition:
    border-color 300ms ease,
    background-color 300ms ease,
    transform 300ms ease;
}

.hero-toolbar__chip > i {
  color: var(--gold-400);
  font-size: 1rem;
  line-height: 1;
}

.hero-toolbar__chip:hover {
  border-color: rgba(242, 217, 141, 0.9);
  background: rgba(201, 161, 74, 0.09);
  transform: translateY(-2px);
}

.hero-toolbar__chip--logo {
  min-width: 82px;
  padding: 0 12px;
}

.hero-toolbar__chip--logo img {
  display: block;
  width: auto;
  max-width: 88px;
  height: auto;
  max-height: 24px;
  object-fit: contain;
}

.hero-toolbar__chip--cfmoto {
  min-width: 108px;
}

.hero-toolbar__chip--cfmoto img {
  max-width: 91px;
}

.hero-toolbar__chip--efse {
  min-width: 106px;
}

.hero-toolbar__chip--efse img {
  max-width: 88px;
  max-height: 28px;
}

/* =========================================================
   HERO RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {
  .hero-toolbar__inner {
    gap: 12px;
  }

  .hero-toolbar__items {
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .hero-stage,
  .hero-slide__content {
    min-height: 82svh;
  }

  .hero-slide__background {
    background-position: 62% center;
  }

  .hero-slide__overlay {
    background:
      linear-gradient(
        90deg,
        rgba(3, 10, 20, 0.98) 0%,
        rgba(4, 13, 27, 0.9) 44%,
        rgba(5, 15, 29, 0.44) 78%,
        rgba(5, 14, 27, 0.22) 100%
      ),
      linear-gradient(
        180deg,
        rgba(3, 9, 18, 0.7) 0%,
        rgba(3, 9, 18, 0.08) 45%,
        rgba(3, 9, 18, 0.9) 100%
      );
  }

  .hero-slide__copy {
    width: min(720px, 80vw);
  }

  .hero-slider-dots {
    right: 28px;
  }

  .hero-toolbar__inner {
    flex-wrap: wrap;
  }

  .hero-toolbar__actions {
    width: 100%;
  }

  .hero-toolbar__items {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .hero-stage,
  .hero-slide__content {
    min-height: 78svh;
  }

  .hero-slide__background {
    background-position: 68% center;
  }

  .hero-slide__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(3, 9, 18, 0.66) 0%,
        rgba(3, 9, 18, 0.24) 26%,
        rgba(3, 9, 18, 0.82) 62%,
        rgba(3, 9, 18, 0.98) 100%
      ),
      linear-gradient(
        90deg,
        rgba(3, 10, 20, 0.9) 0%,
        rgba(4, 13, 27, 0.42) 100%
      );
  }

  .hero-slide__content {
    align-items: flex-end;
    padding-top: 150px;
    padding-bottom: 68px;
  }

  .hero-slide__copy {
    width: 100%;
  }

  .hero-slide__title {
    font-size: clamp(2.35rem, 10.8vw, 3.8rem);
    line-height: 1.02;
  }

  .hero-slide__description {
    max-width: 520px;
    margin-top: 24px;
    padding-top: 21px;
    font-size: 0.92rem;
    line-height: 1.57;
  }

  .hero-slide__description::before {
    width: 64px;
    height: 3px;
  }

  .hero-slider-dots {
    right: 18px;
    bottom: 20px;
  }

  .hero-toolbar__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .hero-toolbar__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .hero-toolbar .button,
  .hero-toolbar .button--primary,
  .hero-toolbar .button--secondary {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
    font-size: 0.74rem;
  }

  .hero-toolbar__items {
    width: calc(100vw - 34px);
    overflow-x: auto;
    padding: 1px 0 5px;
    scroll-snap-type: x proximity;
  }

  .hero-toolbar__chip {
    scroll-snap-align: start;
  }
}

@media (max-width: 430px) {
  .hero-toolbar__actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide__background,
  .hero-slide__copy {
    transition-duration: 0.01ms;
  }

  .hero-slide__background,
  .hero-slide.is-active .hero-slide__background {
    transform: none;
  }
}


/* =========================================================
   KARTICE ISPOD HERO SEKCIJE
   ========================================================= */

.ns-links-section {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 8vw, 140px) 0;
  background:
    radial-gradient(
      circle at 50% 15%,
      rgba(201, 161, 74, 0.08),
      transparent 38%
    ),
    linear-gradient(
      180deg,
      #06101e 0%,
      #081524 52%,
      #040b15 100%
    );
}

.ns-links-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background-image:
    linear-gradient(
      rgba(201, 161, 74, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(201, 161, 74, 0.025) 1px,
      transparent 1px
    );

  background-size: 70px 70px;

  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 20%,
    #000 80%,
    transparent
  );
}

.ns-links-section .container {
  position: relative;
  z-index: 2;
}

/* Naslov sekcije */

.ns-section-heading {
  max-width: 820px;
  margin: 0 auto clamp(42px, 5vw, 72px);
  text-align: center;
}

.ns-section-heading__label {
  display: block;
  margin-bottom: 12px;

  color: #c9a14a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ns-section-heading h2 {
  margin: 0;

  color: #ffffff;
  font-family: "Inter", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.ns-section-heading p {
  max-width: 700px;
  margin: 22px auto 0;

  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  line-height: 1.75;
}

/* Grid */

.ns-card-grid {
  display: grid;
  gap: clamp(14px, 1.4vw, 22px);
}

.ns-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ns-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(14px, 1.4vw, 22px);
}

/* Kartica */

.ns-feature-card {
  --mouse-x: 50%;
  --mouse-y: 50%;

  position: relative;
  display: block;
  min-width: 0;

  aspect-ratio: 16 / 9;
  overflow: hidden;

  color: #ffffff;
  text-decoration: none;

  border: 1px solid rgba(201, 161, 74, 0.58);
  border-radius: 10px;

  background: #07111f;

  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);

  isolation: isolate;

  transition:
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 320ms ease,
    box-shadow 420ms ease;
}

.ns-feature-card__image,
.ns-feature-card__overlay,
.ns-feature-card__light {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Fotografija + rezervna pozadina */

.ns-feature-card__image {
  z-index: -3;

  background-image:
    var(--card-image),
    linear-gradient(135deg, #152a43, #050b14);

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  filter:
    saturate(0.88)
    contrast(1.04)
    brightness(0.92);

  transform: scale(1.015);

  transition:
    transform 900ms cubic-bezier(0.18, 0.72, 0.2, 1),
    filter 500ms ease;
}

/* Zatamnjenje fotografije */

.ns-feature-card__overlay {
  z-index: -2;

  background:
    linear-gradient(
      180deg,
      rgba(3, 8, 15, 0.05) 0%,
      rgba(3, 8, 15, 0.15) 38%,
      rgba(3, 8, 15, 0.95) 100%
    ),
    linear-gradient(
      90deg,
      rgba(3, 8, 15, 0.55) 0%,
      transparent 70%
    );

  transition: opacity 400ms ease;
}

/* Svjetlost koja prati miš */

.ns-feature-card__light {
  z-index: -1;
  opacity: 0;

  background: radial-gradient(
    400px circle at var(--mouse-x) var(--mouse-y),
    rgba(242, 217, 141, 0.2),
    transparent 42%
  );

  transition: opacity 300ms ease;
}

/* Sadržaj kartice */

.ns-feature-card__content {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: flex-end;
  gap: 14px;

  padding: clamp(17px, 1.5vw, 26px);
}

.ns-feature-card__icon {
  flex: 0 0 auto;

  width: clamp(43px, 3.3vw, 54px);
  height: clamp(43px, 3.3vw, 54px);

  display: grid;
  place-items: center;

  color: #c9a14a;

  border: 1px solid rgba(201, 161, 74, 0.75);
  border-radius: 50%;

  background: rgba(4, 11, 22, 0.6);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition:
    color 320ms ease,
    background-color 320ms ease,
    border-color 320ms ease,
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ns-feature-card__icon i {
  font-size: clamp(1.15rem, 1.4vw, 1.5rem);
  line-height: 1;
}

.ns-feature-card__text {
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ns-feature-card__text strong {
  color: #ffffff;

  font-size: clamp(1rem, 1.25vw, 1.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.ns-feature-card__text small {
  color: rgba(255, 255, 255, 0.72);

  font-size: clamp(0.74rem, 0.8vw, 0.9rem);
  line-height: 1.4;
}

.ns-feature-card__arrow {
  flex: 0 0 auto;

  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  margin-left: auto;

  color: #c9a14a;

  border-radius: 50%;
  background: rgba(4, 11, 22, 0.58);

  transition:
    color 320ms ease,
    background-color 320ms ease,
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ns-feature-card__arrow i {
  font-size: 1.1rem;
  line-height: 1;
}

/* Hover */

.ns-feature-card:hover,
.ns-feature-card:focus-visible {
  z-index: 3;

  border-color: rgba(242, 217, 141, 0.95);

  box-shadow:
    0 30px 65px rgba(0, 0, 0, 0.4),
    0 0 35px rgba(201, 161, 74, 0.15),
    inset 0 0 0 1px rgba(242, 217, 141, 0.08);

  transform: translateY(-8px);
}

.ns-feature-card:hover .ns-feature-card__image,
.ns-feature-card:focus-visible .ns-feature-card__image {
  filter:
    saturate(1.04)
    contrast(1.06)
    brightness(0.98);

  transform: scale(1.08);
}

.ns-feature-card:hover .ns-feature-card__overlay,
.ns-feature-card:focus-visible .ns-feature-card__overlay {
  opacity: 0.84;
}

.ns-feature-card:hover .ns-feature-card__light,
.ns-feature-card:focus-visible .ns-feature-card__light {
  opacity: 1;
}

.ns-feature-card:hover .ns-feature-card__icon,
.ns-feature-card:focus-visible .ns-feature-card__icon {
  color: #07111f;

  border-color: #c9a14a;
  background: #c9a14a;

  transform: translateY(-3px);
}

.ns-feature-card:hover .ns-feature-card__arrow,
.ns-feature-card:focus-visible .ns-feature-card__arrow {
  color: #07111f;
  background: #c9a14a;

  transform: translateX(4px);
}

.ns-feature-card:focus-visible {
  outline: 2px solid #f2d98d;
  outline-offset: 4px;
}

/* Tablet */

@media (max-width: 1180px) {
  .ns-card-grid--four,
  .ns-card-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ns-card-grid--three .ns-feature-card:last-child {
    grid-column: 1 / -1;

    width: calc(50% - 11px);
    justify-self: center;
  }
}

/* Mobilni */

@media (max-width: 700px) {
  .ns-links-section {
    padding: 75px 0;
  }

  .ns-section-heading {
    margin-bottom: 36px;
    text-align: left;
  }

  .ns-section-heading p {
    margin-left: 0;
  }

  .ns-card-grid--four,
  .ns-card-grid--three {
    grid-template-columns: 1fr;
  }

  .ns-card-grid--three .ns-feature-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .ns-feature-card {
    aspect-ratio: 16 / 10;
  }

  .ns-feature-card__content {
    gap: 11px;
  }

  .ns-feature-card__text small {
    display: none;
  }

  .ns-feature-card__arrow {
    width: 36px;
    height: 36px;
  }
}

/* Isključivanje animacija kada ih korisnik ne želi */

@media (prefers-reduced-motion: reduce) {
  .ns-feature-card,
  .ns-feature-card__image,
  .ns-feature-card__icon,
  .ns-feature-card__arrow {
    transition: none;
  }
}


/* =========================================================
   AKTUELNOSTI / BLOG SEKCIJA
   ========================================================= */

.ns-news-section {
  position: relative;
  overflow: hidden;

  padding: clamp(85px, 8vw, 135px) 0;

  background:
    radial-gradient(
      circle at 82% 15%,
      rgba(201, 161, 74, 0.08),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      #040b15 0%,
      #071321 50%,
      #06101e 100%
    );
}

.ns-news-section::before {
  content: "";
  position: absolute;
  inset: 0;

  opacity: 0.26;

  background-image:
    linear-gradient(
      rgba(201, 161, 74, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(201, 161, 74, 0.025) 1px,
      transparent 1px
    );

  background-size: 72px 72px;

  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 20%,
    #000 80%,
    transparent
  );

  pointer-events: none;
}

.ns-news-section .container {
  position: relative;
  z-index: 2;
}

/* Naslov sekcije */

.ns-news-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 35px;

  margin-bottom: clamp(38px, 5vw, 65px);
}

.ns-news-heading > div {
  max-width: 790px;
}

.ns-news-heading__label {
  display: block;

  margin-bottom: 13px;

  color: #c9a14a;

  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ns-news-heading h2 {
  margin: 0;

  color: #ffffff;

  font-family: "Inter", Georgia, serif;
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -0.035em;

  text-wrap: balance;
}

.ns-news-heading__link {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;

  gap: 11px;

  padding: 13px 19px;

  color: #c9a14a;
  text-decoration: none;

  border: 1px solid rgba(201, 161, 74, 0.62);
  border-radius: 6px;

  background: rgba(201, 161, 74, 0.035);

  font-size: 0.84rem;
  font-weight: 700;

  transition:
    color 300ms ease,
    background-color 300ms ease,
    transform 300ms ease;
}

.ns-news-heading__link i {
  transition: transform 300ms ease;
}

.ns-news-heading__link:hover {
  color: #06101e;
  background: #c9a14a;

  transform: translateY(-3px);
}

.ns-news-heading__link:hover i {
  transform: translateX(4px);
}

/* Raspored */

.ns-news-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(360px, 0.85fr);

  gap: clamp(16px, 1.6vw, 25px);
}

.ns-news-grid__side {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));

  gap: clamp(16px, 1.6vw, 25px);
}

/* Kartica */

.ns-news-card {
  position: relative;
  min-width: 0;
  overflow: hidden;

  border: 1px solid rgba(201, 161, 74, 0.46);
  border-radius: 11px;

  background: #07111f;

  box-shadow:
    0 25px 55px rgba(0, 0, 0, 0.27),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);

  transition:
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 320ms ease,
    box-shadow 420ms ease;
}

.ns-news-card--featured {
  min-height: clamp(510px, 48vw, 670px);
}

.ns-news-card--small {
  min-height: 0;
}

.ns-news-card__link {
  position: relative;

  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;

  color: #ffffff;
  text-decoration: none;

  isolation: isolate;
}

.ns-news-card__image,
.ns-news-card__overlay {
  position: absolute;
  inset: 0;

  pointer-events: none;
}

.ns-news-card__image {
  z-index: -2;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  filter:
    saturate(0.9)
    contrast(1.04)
    brightness(0.88);

  transform: scale(1.015);

  transition:
    transform 900ms cubic-bezier(0.18, 0.72, 0.2, 1),
    filter 500ms ease;
}

.ns-news-card__overlay {
  z-index: -1;

  background:
    linear-gradient(
      180deg,
      rgba(2, 7, 13, 0.04) 0%,
      rgba(2, 7, 13, 0.2) 35%,
      rgba(2, 7, 13, 0.97) 100%
    ),
    linear-gradient(
      90deg,
      rgba(2, 7, 13, 0.55),
      transparent 72%
    );

  transition: opacity 400ms ease;
}

.ns-news-card__content {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;

  padding: clamp(24px, 3vw, 45px);
}

.ns-news-card--small .ns-news-card__content {
  padding: clamp(20px, 2vw, 29px);
}

/* Kategorija */

.ns-news-card__category {
  display: inline-flex;
  align-items: center;

  min-height: 29px;

  margin-bottom: 14px;
  padding: 5px 11px;

  color: #07111f;

  border-radius: 30px;
  background: #c9a14a;

  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;

  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.22);
}

/* Datum */

.ns-news-card__date {
  display: inline-flex;
  align-items: center;

  gap: 7px;

  margin-bottom: 11px;

  color: rgba(255, 255, 255, 0.62);

  font-size: 0.75rem;
}

.ns-news-card__date i {
  color: #c9a14a;
  font-size: 0.8rem;
}

/* Naslovi i opis */

.ns-news-card h3 {
  max-width: 770px;

  margin: 0;

  color: #ffffff;

  font-family: "Inter", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.7rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;

  text-wrap: balance;
}

.ns-news-card--small h3 {
  max-width: 500px;

  font-size: clamp(1.28rem, 1.65vw, 1.85rem);
  line-height: 1.18;
}

.ns-news-card p {
  max-width: 670px;

  margin: 17px 0 0;

  color: rgba(255, 255, 255, 0.68);

  font-size: clamp(0.88rem, 1vw, 1rem);
  line-height: 1.7;
}

/* Pročitaj više */

.ns-news-card__read-more {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  margin-top: 22px;

  color: #c9a14a;

  font-size: 0.8rem;
  font-weight: 700;
}

.ns-news-card__read-more i {
  transition: transform 300ms ease;
}

/* Hover */

.ns-news-card:hover,
.ns-news-card:focus-within {
  z-index: 3;

  border-color: rgba(242, 217, 141, 0.88);

  box-shadow:
    0 35px 75px rgba(0, 0, 0, 0.42),
    0 0 35px rgba(201, 161, 74, 0.12);

  transform: translateY(-7px);
}

.ns-news-card:hover .ns-news-card__image,
.ns-news-card:focus-within .ns-news-card__image {
  filter:
    saturate(1.04)
    contrast(1.07)
    brightness(0.94);

  transform: scale(1.07);
}

.ns-news-card:hover .ns-news-card__overlay,
.ns-news-card:focus-within .ns-news-card__overlay {
  opacity: 0.9;
}

.ns-news-card:hover .ns-news-card__read-more i,
.ns-news-card:focus-within .ns-news-card__read-more i {
  transform: translateX(5px);
}

.ns-news-card__link:focus-visible {
  outline: 2px solid #f2d98d;
  outline-offset: -4px;
}

/* Mobilni link */

.ns-news-mobile-link {
  display: none;

  margin-top: 28px;
}

.ns-news-mobile-link a {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  min-height: 52px;

  color: #06101e;
  text-decoration: none;

  border-radius: 6px;

  background:
    linear-gradient(
      135deg,
      #f0d07b,
      #c9a14a,
      #a8832f
    );

  font-size: 0.88rem;
  font-weight: 700;
}

/* Tablet */

@media (max-width: 1000px) {
  .ns-news-grid {
    grid-template-columns: 1fr;
  }

  .ns-news-card--featured {
    min-height: 560px;
  }

  .ns-news-grid__side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .ns-news-card--small {
    min-height: 350px;
  }
}

/* Mobilni */

@media (max-width: 700px) {
  .ns-news-section {
    padding: 75px 0;
  }

  .ns-news-heading {
    align-items: flex-start;
  }

  .ns-news-heading__link {
    display: none;
  }

  .ns-news-card--featured {
    min-height: 510px;
  }

  .ns-news-grid__side {
    grid-template-columns: 1fr;
  }

  .ns-news-card--small {
    min-height: 390px;
  }

  .ns-news-card__content,
  .ns-news-card--small .ns-news-card__content {
    padding: 23px;
  }

  .ns-news-card h3 {
    font-size: clamp(1.75rem, 9vw, 2.55rem);
  }

  .ns-news-card--small h3 {
    font-size: 1.55rem;
  }

  .ns-news-card p {
    display: none;
  }

  .ns-news-mobile-link {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ns-news-card,
  .ns-news-card__image,
  .ns-news-card__read-more i,
  .ns-news-heading__link,
  .ns-news-heading__link i {
    transition: none;
  }
}


/* =========================================================
   PARALLAX RAZMAK IZMEĐU SEKCIJA
   ========================================================= */

.ns-parallax-break {
  position: relative;

  width: 100%;
  min-height: 1000px;

  overflow: hidden;

  background-image:
    url("../assets/images/hero/hero-1.jpg");

  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;

  isolation: isolate;
}

/* Diskretno zatamnjenje fotografije */

.ns-parallax-break__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    radial-gradient(
      circle at 72% 40%,
      rgba(201, 161, 74, 0.1),
      transparent 38%
    ),
    linear-gradient(
      90deg,
      rgba(2, 8, 16, 0.32) 0%,
      rgba(2, 8, 16, 0.08) 48%,
      rgba(2, 8, 16, 0.2) 100%
    ),
    linear-gradient(
      180deg,
      rgba(3, 9, 18, 0.6) 0%,
      rgba(3, 9, 18, 0.04) 18%,
      rgba(3, 9, 18, 0.05) 80%,
      rgba(3, 9, 18, 0.75) 100%
    );

  pointer-events: none;
}

/* Sjena prema gornjoj sekciji */

.ns-parallax-break::before {
  content: "";

  position: absolute;
  inset: 0 0 auto;
  z-index: 2;

  height: 130px;

  background:
    linear-gradient(
      180deg,
      rgba(4, 11, 21, 0.88),
      transparent
    );

  pointer-events: none;
}

/* Sjena prema kontakt sekciji */

.ns-parallax-break::after {
  content: "";

  position: absolute;
  inset: auto 0 0;
  z-index: 2;

  height: 170px;

  background:
    linear-gradient(
      180deg,
      transparent,
      #030912
    );

  pointer-events: none;
}


/* =========================================================
   KONTAKT SEKCIJA
   ========================================================= */

.ns-contact-section {
  position: relative;

  overflow: hidden;

  padding:
    clamp(95px, 10vw, 165px)
    0;

  color: #ffffff;
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(201, 161, 74, 0.08),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      #030912 0%,
      #06101e 55%,
      #030912 100%
    );

  scroll-margin-top: 88px;
  isolation: isolate;
}

/* Dekorativni zlatni sjaj */

.ns-contact-section::before {
  content: "";

  position: absolute;
  top: 12%;
  right: -150px;
  z-index: -1;

  width: 620px;
  height: 620px;

  border-radius: 50%;

  background: rgba(201, 161, 74, 0.07);
  filter: blur(130px);

  pointer-events: none;
}

.ns-contact-layout {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns:
    minmax(0, 0.88fr)
    minmax(500px, 1.12fr);

  align-items: center;

  gap: clamp(50px, 7vw, 110px);
}

@media (max-width: 1050px) {
  .ns-parallax-break {
    min-height: 800px;
    background-position: 62% center;
  }

  .ns-contact-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .ns-contact-intro {
    max-width: 750px;
  }

  .ns-contact-card {
    max-width: 780px;
  }
}

@media (max-width: 700px) {
  .ns-parallax-break {
    min-height: 600px;

    /*
     * Fixed pozadina često ne radi pouzdano na mobilnom
     * Safariju, zato koristimo normalnu pozadinu.
     */
    background-attachment: scroll;
    background-position: 66% center;
  }

  .ns-contact-section {
    padding: 80px 0;
  }

  .ns-form-row {
    grid-template-columns: 1fr;
  }

  .ns-contact-card {
    padding: 25px 18px;
  }
}
/* Lijevi sadržaj */

.ns-contact-intro__label {
  display: block;

  margin-bottom: 16px;

  color: #c9a14a;

  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ns-contact-intro h2 {
  max-width: 650px;

  margin: 0;

  color: #ffffff;

  font-family: "Inter", Georgia, serif;
  font-size: clamp(2.7rem, 4.5vw, 5.2rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;

  text-wrap: balance;
}

.ns-contact-intro > p {
  max-width: 590px;

  margin: 26px 0 0;

  color: rgba(255, 255, 255, 0.72);

  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  line-height: 1.75;
}

/* Kontakt podaci */

.ns-contact-details {
  display: flex;
  flex-direction: column;

  gap: 14px;

  margin-top: 38px;
}

.ns-contact-details a {
  display: flex;
  align-items: center;

  gap: 15px;

  width: fit-content;

  color: #ffffff;
  text-decoration: none;

  transition:
    color 300ms ease,
    transform 300ms ease;
}

.ns-contact-details a > span {
  flex: 0 0 auto;

  width: 45px;
  height: 45px;

  display: grid;
  place-items: center;

  color: #c9a14a;

  border: 1px solid rgba(201, 161, 74, 0.55);
  border-radius: 50%;

  background: rgba(5, 14, 26, 0.58);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition:
    color 300ms ease,
    background-color 300ms ease,
    border-color 300ms ease;
}

.ns-contact-details a > span i {
  font-size: 1.05rem;
  line-height: 1;
}

.ns-contact-details a div {
  display: flex;
  flex-direction: column;

  gap: 3px;
}

.ns-contact-details small {
  color: rgba(255, 255, 255, 0.55);

  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ns-contact-details strong {
  color: inherit;

  font-size: 0.98rem;
  font-weight: 600;
}

.ns-contact-details a:hover {
  color: #c9a14a;
  transform: translateX(5px);
}

.ns-contact-details a:hover > span {
  color: #06101e;

  border-color: #c9a14a;
  background: #c9a14a;
}

/* Kartica forme */

.ns-contact-card {
  padding: clamp(27px, 3vw, 48px);

  border: 1px solid rgba(201, 161, 74, 0.52);
  border-radius: 14px;

  background:
    linear-gradient(
      145deg,
      rgba(12, 27, 46, 0.88),
      rgba(4, 12, 23, 0.78)
    );

  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.ns-contact-card__heading {
  display: flex;
  align-items: center;

  gap: 16px;

  margin-bottom: 32px;
}

.ns-contact-card__heading > span {
  flex: 0 0 auto;

  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  color: #06101e;

  border-radius: 50%;
  background: #c9a14a;

  box-shadow:
    0 0 28px rgba(201, 161, 74, 0.24);
}

.ns-contact-card__heading > span i {
  font-size: 1.25rem;
  line-height: 1;
}

.ns-contact-card__heading h3 {
  margin: 0;

  color: #ffffff;

  font-size: clamp(1.35rem, 1.7vw, 1.75rem);
  font-weight: 700;
}

.ns-contact-card__heading p {
  margin: 5px 0 0;

  color: rgba(255, 255, 255, 0.58);

  font-size: 0.88rem;
}

/* Forma */

.ns-contact-form {
  display: flex;
  flex-direction: column;

  gap: 19px;
}

.ns-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 17px;
}

.ns-form-group {
  min-width: 0;
}

.ns-form-group label {
  display: block;

  margin-bottom: 8px;

  color: rgba(255, 255, 255, 0.82);

  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.ns-form-control {
  position: relative;
}

.ns-form-control > i {
  position: absolute;
  top: 50%;
  left: 17px;

  z-index: 2;

  color: rgba(201, 161, 74, 0.82);

  font-size: 1rem;

  transform: translateY(-50%);

  pointer-events: none;
}

.ns-form-control--textarea > i {
  top: 18px;
  transform: none;
}

.ns-form-control input,
.ns-form-control select,
.ns-form-control textarea {
  width: 100%;

  color: #ffffff;

  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  outline: none;

  background: rgba(2, 9, 17, 0.62);

  font-family: inherit;
  font-size: 0.94rem;

  transition:
    border-color 300ms ease,
    background-color 300ms ease,
    box-shadow 300ms ease;
}

.ns-form-control input,
.ns-form-control select {
  height: 54px;

  padding: 0 45px 0 48px;
}

.ns-form-control textarea {
  min-height: 135px;

  padding: 16px 18px 16px 48px;

  line-height: 1.55;
  resize: vertical;
}

.ns-form-control input::placeholder,
.ns-form-control textarea::placeholder {
  color: rgba(255, 255, 255, 0.37);
}

.ns-form-control select {
  cursor: pointer;
  appearance: none;

  background-image:
    linear-gradient(45deg, transparent 50%, #c9a14a 50%),
    linear-gradient(135deg, #c9a14a 50%, transparent 50%);

  background-position:
    calc(100% - 21px) 23px,
    calc(100% - 16px) 23px;

  background-size:
    5px 5px,
    5px 5px;

  background-repeat: no-repeat;
}

.ns-form-control select option {
  color: #ffffff;
  background: #071321;
}

.ns-form-control input:focus,
.ns-form-control select:focus,
.ns-form-control textarea:focus {
  border-color: rgba(201, 161, 74, 0.9);

  background-color: rgba(5, 15, 27, 0.86);

  box-shadow:
    0 0 0 3px rgba(201, 161, 74, 0.1);
}

/* Submit dugme */

.ns-contact-submit {
  width: 100%;
  min-height: 57px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 13px;

  margin-top: 5px;
  padding: 13px 24px;

  color: #06101e;

  border: 1px solid #c9a14a;
  border-radius: 8px;

  background:
    linear-gradient(
      135deg,
      #f0d07b,
      #c9a14a,
      #a8832f
    );

  box-shadow:
    0 14px 35px rgba(201, 161, 74, 0.2);

  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform 300ms ease,
    box-shadow 300ms ease,
    filter 300ms ease;
}

.ns-contact-submit i {
  font-size: 1.1rem;

  transition: transform 300ms ease;
}

.ns-contact-submit:hover {
  filter: brightness(1.07);

  box-shadow:
    0 18px 42px rgba(201, 161, 74, 0.3);

  transform: translateY(-3px);
}

.ns-contact-submit:hover i {
  transform: translateX(5px);
}

.ns-contact-submit:active {
  transform: translateY(0);
}

.ns-contact-submit:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

/* Responsive */

@media (max-width: 1050px) {
  .ns-contact-layout {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .ns-contact-intro {
    max-width: 750px;
  }

  .ns-contact-card {
    max-width: 780px;
  }
}

@media (max-width: 650px) {
  .ns-contact-section {
    padding: 75px 0;

    background-attachment: scroll;
    background-position: 65% center;
  }

  .ns-form-row {
    grid-template-columns: 1fr;
  }

  .ns-contact-card {
    padding: 25px 18px;
  }

  .ns-contact-card__heading {
    margin-bottom: 27px;
  }

  .ns-contact-intro h2 {
    font-size: clamp(2.35rem, 12vw, 3.55rem);
  }

  .ns-contact-details a {
    width: 100%;
  }
}

