/* GLOBAL RESET — dodaj na sam vrh style.css */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

:root {
  --bg-main: #0b0b0c;
  --gold: #d4af37;
  --text-body: #e6e6e6;
  --bone: #e5e2d2;
}

/* GLOBAL */
body {
  margin: 0;
  background-color: var(--bg-main);
  color: #f2f2f2;
  font-family: "Merriweather", serif;
  overflow-x: hidden;
}

/* HERO WRAPPER */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;

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

  perspective: 1200px;
  background-color: #000;
}

/* hologramski sloj utvrđenja */
.hero-3d {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: rotateFortress 25s infinite linear;

  /* gasimo dodatni žuti sjaj */
  filter: none;

  z-index: 1;
  opacity: 0.6;
}


.hero-image {
  width: 100%;
  max-width: 1400px;
  height: auto;
  transform-origin: center;

  /* gasimo pojačavanje kontrasta/svetline/žutog */
  filter: none;

  image-rendering: -webkit-optimize-contrast;
}


@keyframes rotateFortress {
  0%   { transform: rotateY(0deg)   rotateX(0deg)   scale(1.03); }
  25%  { transform: rotateY(6deg)   rotateX(2deg)   scale(1.04); }
  50%  { transform: rotateY(0deg)   rotateX(0deg)   scale(1.06); }
  75%  { transform: rotateY(-6deg)  rotateX(2deg)   scale(1.04); }
  100% { transform: rotateY(0deg)   rotateX(0deg)   scale(1.03); }
}

/* cinematic zasenčenje + zlatni sjaj */
.overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    circle at 50% 70%,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.65) 60%,
    rgba(0,0,0,0.92) 100%
  );
}
.overlay::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 65%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);

  /* još slabiji halo – skoro simboličan */
  background: radial-gradient(
    circle at center,
    rgba(212,175,55,0.07) 0%,
    rgba(0,0,0,0) 70%
  );

  filter: blur(60px);
  opacity: 0.12;

  pointer-events: none;
}




/* NAV BAR */
.main-nav {
  position: relative;
  z-index: 5;
  width: 100%;
  background: rgba(10,10,10,0.4);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212,175,55,0.2);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.8),
    0 0 40px rgba(212,175,55,0.15);
}

.main-nav-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;

  /* padding za desktop postavljamo ovde samo kao default */
  padding: 20px 60px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;

  /* sigurnosno, iako imamo global reset */
  box-sizing: border-box;
}

/* mobilni layout */
@media (max-width: 900px) {
  .main-nav-inner {
    flex-direction: column;
    gap: 16px;

    /* ovo već imaš u @media, ali sad je eksplicitno ovde */
    padding: 16px 20px;
  }

  .nav-links {
    justify-content: center;
    row-gap: 10px;
  }

  .nav-player {
    order: 3;
  }
}


.logo {
  color: var(--gold);
  font-family: "Cinzel Decorative", serif;
  font-size: 1.8em;
  font-weight: 400;
  letter-spacing: 1px;

  /* blaži sjaj da ne krcka piksele */
  text-shadow:
    0 0 4px rgba(212,175,55,0.35),
    0 0 16px rgba(212,175,55,0.12);

  filter: drop-shadow(0 0 2px rgba(212,175,55,0.25));
  white-space: nowrap;
}


/* PLAYER u navu */
.nav-player {
  display: flex;
  align-items: center;
  gap: 10px;
  background: radial-gradient(circle at 30% 30%, rgba(40,40,40,0.6) 0%, rgba(10,10,10,0.3) 60%);
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 30px;
  padding: 8px 16px;
  box-shadow:
    0 0 10px rgba(212,175,55,0.4),
    0 20px 60px rgba(0,0,0,0.9);
  backdrop-filter: blur(5px);
}

.play-btn {
  background: none;
  border: 2px solid var(--gold);
  color: var(--gold);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(212,175,55,0.4);
  font-size: 0.8rem;
  line-height: 28px;
  text-align: center;
  padding: 0;
}
.play-btn:hover {
  background: var(--gold);
  color: #0b0b0c;
  box-shadow: 0 0 12px rgba(212,175,55,0.8);
}

.track-title {
  font-family: "Cinzel Decorative", serif;
  font-size: 0.8em;
  letter-spacing: 1px;
  color: var(--gold);
  text-shadow: 0 0 6px rgba(212,175,55,0.4);
  opacity: 0.9;
  white-space: nowrap;
}

.progress-bar {
  width: 150px;
  height: 5px;
  background: rgba(255,255,255,0.07);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 6px rgba(212,175,55,0.3);
}
.progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    rgba(212,175,55,0) 100%
  );
}

/* MENI LINKOVI */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav-links a {
  position: relative;
  font-size: 0.8em;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #f2f2f2;
  text-decoration: none;
  text-shadow: 0 0 6px rgba(0,0,0,0.8);
  transition: color 0.3s ease;
  white-space: nowrap;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  height: 1px;
  width: 0%;
  background: radial-gradient(circle at 50% 50%, rgba(212,175,55,1) 0%, rgba(212,175,55,0) 70%);
  box-shadow: 0 0 8px rgba(212,175,55,0.8);
  transition: width 0.3s ease;
}
.nav-links a:hover {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(212,175,55,0.5);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a.active-link {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(212,175,55,0.6);
}
.nav-links a.active-link::after {
  width: 100%;
  box-shadow: 0 0 12px rgba(212,175,55,0.8);
}

/* HERO CONTENT BLOK */
.hero-content {
  position: absolute;
  left: 50%;
  bottom: 12vh;
  transform: translateX(-50%);
  z-index: 4;
  width: 100%;
  pointer-events: none;
  display: flex;
  justify-content: center;
  text-align: center;
}
.hero-content-inner {
  max-width: 600px;
  padding: 20px 30px;
  background: radial-gradient(
    circle at 50% 40%,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.15) 60%,
    rgba(0,0,0,0) 100%
  );
  border-radius: 8px;
  pointer-events: auto;
}
.hero-content-inner h2 {
  font-family: "Cinzel Decorative", serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 1.2rem + 1.2vw, 2.4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);

  /* manje slojeva, manji blur -> manje pikselizovan oreol */
  text-shadow:
    0 0 2px rgba(0,0,0,0.8),
    0 0 6px rgba(0,0,0,0.9),
    0 0 8px rgba(212,175,55,0.22);

  /* zadrži pulsiranje ako hoćeš da živi, ok je jer menja intenzitet a ne širi glow */
  animation: pulseGold 8s infinite ease-in-out;
}
@keyframes pulseGold {
  0%, 100% {
    text-shadow:
      0 0 2px rgba(0,0,0,0.8),
      0 0 6px rgba(0,0,0,0.9),
      0 0 8px rgba(212,175,55,0.22);
  }
  50% {
    text-shadow:
      0 0 4px rgba(0,0,0,0.85),
      0 0 10px rgba(0,0,0,1),
      0 0 14px rgba(212,175,55,0.35);
  }
}
.hero-content-inner p {
  max-width: 500px;
  margin: 12px auto 0 auto;
  line-height: 1.5;
  font-size: 0.95em;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: #cfcfcf;
  text-shadow: 0 0 8px rgba(0,0,0,0.9);
  opacity: 0.9;
}
.btn {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 24px 11px;
  border: 1px solid rgba(212,175,55,0.55);
  color: var(--gold);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  font-family: "Cinzel Decorative", serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;

  box-shadow:
    0 0 6px rgba(212,175,55,0.28),
    0 25px 40px rgba(0,0,0,0.9);

  text-shadow:
    0 0 4px rgba(212,175,55,0.5);

  transition: all 0.25s ease;
  pointer-events: auto;
}

.btn:hover {
  background: rgba(212,175,55,0.1);
  box-shadow:
    0 0 20px rgba(212,175,55,0.6),
    0 35px 60px rgba(0,0,0,0.95);
  color: #fff;
  border-color: rgba(212,175,55,0.9);
  text-shadow: 0 0 8px rgba(212,175,55,0.8);
}

/* UVOD SEKCJA */
.intro {
  padding: 80px 15%;
  text-align: center;
  background: radial-gradient(circle at center, #151515 0%, #0b0b0c 100%);
}
.intro h3 {
  color: var(--gold);
  font-family: "Cinzel Decorative", serif;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(212,175,55,0.4);
  margin-bottom: 20px;
}
.intro-lead {
  max-width: 900px;
  margin: 0 auto;
  color: #cfcfcf;
  line-height: 1.7;
  font-weight: 300;
  font-size: 1.2em;
  letter-spacing: 0.03em;
  text-shadow: 0 0 8px rgba(0,0,0,0.8);
  opacity: 0.9;
}

/* RAZVOJ DVE KOLONE */
/* intro-flex sada je ograničen kontejner da ne beži u beskonačnost */
.intro-flex {
  margin-top: 48px;

  /* širina celog bloka (slika levo + tekst desno) */
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* leva kolona (artefakt slika) */
.intro-artefact {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 450px;
}
.intro-artefact-frame {
  position: relative;
  max-width: 450px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.35);
  background: #000;
  box-shadow:
    0 0 40px rgba(212,175,55,0.15),
    0 60px 120px rgba(0,0,0,0.9);
}
.intro-artefact-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: brightness(0.88) contrast(1.05) saturate(1.15);
  transition: filter 0.6s ease, transform 8s ease;
  transform: scale(1.02);
  user-select: none;
}
.intro-artefact-frame:hover .intro-artefact-img {
  filter: brightness(1) contrast(1.1);
  transform: scale(1.04);
}

/* suptilni zlatni bloom pri dnu slike */
.intro-artefact-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 80%,
    rgba(212,175,55,0.18) 0%,
    rgba(0,0,0,0) 70%
  );
  mix-blend-mode: soft-light;
  opacity: 0.6;
}

/* watermark potpis */
.artifact-watermark {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-family: "Cinzel Decorative", serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.4);

  text-shadow:
    0 0 4px rgba(0,0,0,0.9),
    0 0 12px rgba(0,0,0,0.8),
    0 0 24px rgba(212,175,55,0.2);

  padding: 6px 10px;
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 4px;

  background: radial-gradient(
    circle at 30% 30%,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.15) 60%,
    rgba(0,0,0,0) 100%
  );

  box-shadow:
    0 20px 40px rgba(0,0,0,0.9),
    0 0 20px rgba(212,175,55,0.15);

  mix-blend-mode: screen;
  user-select: none;
  pointer-events: none;
}

/* desna kolona (tekst) */
.intro-sidecopy {
  flex: 1 1 auto;
  max-width: 520px;
  color: #cfcfcf;
  line-height: 1.7;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-shadow: 0 0 8px rgba(0,0,0,0.8);
  opacity: 0.9;
}
.intro-sidecopy p {
  margin-top: 0;
  margin-bottom: 1.2em;
  font-family: "Merriweather", serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #cfcfcf;
}

/* desktop layout */
@media (min-width: 900px) {
  .intro-flex {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 60px; /* malo veći razmak slika/tekst */
  }

  .intro-artefact {
    justify-content: flex-start;
  }

  .intro-sidecopy {
    text-align: left;
  }

  .intro {
    text-align: center;
  }
}

/* VIDEO SEKCIJA */
.video-section {
  position: relative;
  text-align: center;
  padding: 120px 0 140px;
  background: radial-gradient(circle at 50% 20%, rgba(10,10,10,1) 0%, #0b0b0c 60%);
}
.video-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 200px;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(212,175,55,0.15) 0%,
    rgba(0,0,0,0) 70%
  );
  filter: blur(60px);
  opacity: 0.3;
  pointer-events: none;
}

.video-description-top {
  max-width: 700px;
  margin: 0 auto 60px auto;
  text-align: center;
  color: #c9c9c9;
  font-size: 1.15em;
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.03em;
  text-shadow: 0 0 8px rgba(0,0,0,0.8);
  opacity: 0.9;
}
.video-description-top h3 {
  color: var(--gold);
  font-family: "Cinzel Decorative", serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(212,175,55,0.4);
  margin-top: 30px;
  margin-bottom: 0;
  opacity: 0.8;
  line-height: 1.5;
}

.art-frame {
  width: 80%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  position: relative;
  border: 1px solid rgba(212,175,55,0.25);
  box-shadow:
    0 0 60px rgba(212,175,55,0.15),
    0 40px 120px rgba(0,0,0,0.9);
}
.art-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(212,175,55,0.4);
  box-shadow: 0 0 30px rgba(212,175,55,0.4);
  mix-blend-mode: screen;
  opacity: 0.25;
  pointer-events: none;
}

.art-video {
  width: 100%;
  display: block;
  cursor: pointer;
  background-color: #000;
  object-fit: cover;
}

/* zlatni "play" overlay */
.video-play-overlay {
  position: absolute;
  inset: 0;

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

  font-family: "Cinzel Decorative", serif;
  font-size: 2.5rem;
  letter-spacing: 0.15em;
  color: var(--gold);

  text-shadow:
    0 0 8px rgba(212,175,55,0.6),
    0 0 30px rgba(212,175,55,0.25),
    0 0 60px rgba(212,175,55,0.15);

  background: radial-gradient(
    circle at 50% 50%,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.15) 60%,
    rgba(0,0,0,0) 100%
  );

  pointer-events: none;
  opacity: 1;
  transition: opacity 0.25s ease;
}
.video-play-overlay.hidden {
  opacity: 0;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #333;
  color: #999;
  font-size: 0.9em;
  background-color: #0b0b0c;
  box-shadow: 0 -40px 120px rgba(0,0,0,0.9);
}

/* FADE-IN */
.fade-in {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  filter: blur(6px);
  transition:
    opacity 1s cubic-bezier(0.16, 0.84, 0.44, 1),
    transform 1s cubic-bezier(0.16, 0.84, 0.44, 1),
    filter 1s cubic-bezier(0.16, 0.84, 0.44, 1);
  will-change: opacity, transform, filter;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .main-nav-inner {
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px;
  }

  .nav-links {
    justify-content: center;
    row-gap: 10px;
  }

  .nav-player {
    order: 3;
  }

  .hero-content {
    bottom: 10vh;
  }
  .hero-content-inner {
    max-width: 90%;
    padding: 16px 20px;
  }

  .intro {
    padding: 60px 20px;
  }

  .intro-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .intro-sidecopy {
    max-width: 500px;
    text-align: center;
  }

  .video-section {
    padding: 100px 20px 120px;
  }

  .video-description-top {
    padding: 0 10px;
    font-size: 1em;
  }

  .art-frame {
    width: 90%;
  }

  .video-play-overlay {
    font-size: 2rem;
  }
}

