/* ==========================================================
   DOČEK NOVE 2027 — RITUAL BEND (naslovna strana)
   Sve je ograničeno na .nlx-docek da ne utiče na ostale sekcije.
   Raspored: naslov → široka fotografija benda → kartica cena →
   dugmad, zatim dve video kartice i dijalog za uvećani prikaz.
   ========================================================== */

.nlx-docek {
  --dk-ink: #00303d;
  --dk-ink-deep: #002330;
  --dk-gold: #d0ab67;
  --dk-gold-soft: rgba(208, 171, 103, 0.38);
  --dk-gold-line: rgba(208, 171, 103, 0.72);
  --dk-serif: "Bodoni Moda", "Bodoni 72", Didot, "Bodoni MT", "Playfair Display", Georgia, serif;
  --dk-sans: "Poppins", "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;

  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 5rem;
  color: #fff;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(208, 171, 103, 0.12) 0%, transparent 46%),
    radial-gradient(circle at 90% 85%, rgba(208, 171, 103, 0.06) 0%, transparent 40%),
    linear-gradient(180deg, #02323e 0%, var(--dk-ink) 45%, var(--dk-ink-deep) 100%);
  font-family: var(--dk-sans);
}

.nlx-docek::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(640px, 70%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--dk-gold), transparent);
  opacity: 0.7;
}

.nlx-docek-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

/* ---------- naslov ---------- */
.nlx-docek-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.25rem;
}

.nlx-docek-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: var(--dk-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--dk-gold);
}

.nlx-docek h2.nlx-docek-title {
  margin: 0 0 0.85rem;
  font-family: var(--dk-serif);
  font-synthesis: none;
  /* niža optička veličina = vidljivije tanke crte na običnim ekranima */
  font-optical-sizing: none;
  font-variation-settings: "opsz" 28;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}

.nlx-docek-title-line,
.nlx-docek-title-year {
  display: block;
}

.nlx-docek-title-line {
  font-size: clamp(2.35rem, 6vw, 4.4rem);
  letter-spacing: 0.04em;
}

.nlx-docek-title-year {
  margin-top: 0.08em;
  font-size: clamp(3rem, 8vw, 5.6rem);
  letter-spacing: 0.03em;
}

.nlx-docek-band {
  margin: 0;
  font-family: var(--dk-serif);
  font-synthesis: none;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 18;
  font-weight: 500;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dk-gold);
}

/* ---------- fotografija, cene, dugmad (jedna kolona) ---------- */
.nlx-docek-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
  margin: 0 auto 3.5rem;
}

.nlx-docek-photo {
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--dk-gold-line);
  background: #001f28;
  box-shadow:
    0 0 0 4px rgba(208, 171, 103, 0.08),
    0 30px 70px -30px rgba(0, 0, 0, 0.8);
}

.nlx-docek-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 864 / 536;
  object-fit: cover;
}

/* kompaktna kartica sa tri cene */
.nlx-docek-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  margin: 1rem auto 0;
  padding: 1.1rem 1.25rem 1rem;
  box-sizing: border-box;
  border-radius: 16px;
  border: 1px solid var(--dk-gold-soft);
  background: linear-gradient(160deg, #013b4a 0%, #002a36 100%);
  box-shadow: 0 22px 46px -24px rgba(0, 0, 0, 0.85);
  text-align: center;
}

.nlx-docek-card-label {
  margin: 0 0 0.6rem;
  font-family: var(--dk-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.nlx-docek-zones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.nlx-docek-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.2rem 0.4rem;
}

.nlx-docek-zone + .nlx-docek-zone {
  border-left: 1px solid rgba(208, 171, 103, 0.24);
}

.nlx-docek-zone-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--dk-sans);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.nlx-docek-zone-dot {
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* boje tačkica prate oznake zona na plakatu */
.nlx-docek-zone--b .nlx-docek-zone-dot { background: #ffffff; }
.nlx-docek-zone--silver .nlx-docek-zone-dot { background: #bdbdbd; }
.nlx-docek-zone--gold .nlx-docek-zone-dot { background: #d9b886; border-color: rgba(208, 171, 103, 0.7); }

.nlx-docek-zone-price {
  font-family: var(--dk-serif);
  /* deblje tanke crte da se € jasno čita (isto kao u pop-upu) */
  font-optical-sizing: none;
  font-variation-settings: "opsz" 11;
  font-synthesis: none;
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--dk-gold);
  white-space: nowrap;
}

.nlx-docek-address {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 0.6rem;
  margin: 0.95rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(208, 171, 103, 0.2);
  font-size: 0.86rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.86);
}

.nlx-docek-address-sep {
  color: var(--dk-gold);
}

.nlx-docek-address a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(208, 171, 103, 0.45);
}

.nlx-docek-address a:hover,
.nlx-docek-address a:focus-visible {
  color: var(--dk-gold);
}

/* ---------- dugmad ---------- */
.nlx-docek-actions {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 440px;
  margin-top: 1.5rem;
}

.nlx-docek-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.6rem;
  padding: 1rem 1.6rem;
  box-sizing: border-box;
  border-radius: 999px;
  font-family: var(--dk-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: #002936;
  background: linear-gradient(135deg, rgb(184, 150, 90), rgb(208, 171, 103), rgb(240, 212, 138));
  box-shadow: 0 18px 40px -18px rgba(184, 150, 90, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.nlx-docek-cta:hover,
.nlx-docek-cta:focus-visible {
  color: #002936;
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 22px 48px -18px rgba(184, 150, 90, 0.75);
}

.nlx-docek-plan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.1rem;
  padding: 0.8rem 1.6rem;
  box-sizing: border-box;
  border-radius: 999px;
  border: 1px solid var(--dk-gold-line);
  font-family: var(--dk-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: var(--dk-gold);
  background: transparent;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.nlx-docek-plan-btn:hover,
.nlx-docek-plan-btn:focus-visible {
  color: #fff;
  background: rgba(208, 171, 103, 0.14);
}

/* diskretan tekst link za ceo plakat */
.nlx-docek-poster-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.5rem;
  font-family: var(--dk-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: rgba(208, 171, 103, 0.55);
  text-underline-offset: 0.35em;
  color: rgba(255, 255, 255, 0.78);
}

.nlx-docek-poster-link:hover,
.nlx-docek-poster-link:focus-visible {
  color: var(--dk-gold);
}

.nlx-docek-cta:focus-visible,
.nlx-docek-plan-btn:focus-visible,
.nlx-docek-poster-link:focus-visible,
.nlx-docek-address a:focus-visible {
  outline: 2px solid var(--dk-gold);
  outline-offset: 3px;
}

/* ---------- video kartice ---------- */
.nlx-docek-videos-title {
  margin: 0 0 1.5rem;
  text-align: center;
  font-family: var(--dk-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dk-gold);
}

.nlx-docek-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nlx-docek-video {
  margin: 0;
  min-width: 0;
}

.nlx-docek-video-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--dk-gold-soft);
  background: #001f28;
  box-shadow: 0 24px 56px -28px rgba(0, 0, 0, 0.8);
  aspect-ratio: 320 / 568;
}

.nlx-docek-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #001f28;
}

.nlx-docek-video figcaption {
  margin-top: 0.85rem;
  text-align: center;
  font-family: var(--dk-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dk-gold);
}

/* ---------- responsive ---------- */
@media (max-width: 768px) {
  .nlx-docek {
    padding: 3.5rem 0 3.25rem;
  }
  .nlx-docek-inner {
    padding: 0 1rem;
  }
  .nlx-docek-head {
    margin-bottom: 1.5rem;
  }
  .nlx-docek-eyebrow {
    margin-bottom: 0.8rem;
    font-size: 0.68rem;
    letter-spacing: 0.26em;
  }
  .nlx-docek h2.nlx-docek-title {
    margin-bottom: 0.7rem;
  }
  .nlx-docek-stage {
    margin-bottom: 2.75rem;
  }
  .nlx-docek-photo {
    border-radius: 16px;
  }
  .nlx-docek-card {
    margin-top: 0.75rem;
    padding: 0.95rem 0.6rem 0.85rem;
    border-radius: 14px;
  }
  .nlx-docek-zone {
    padding: 0.15rem 0.25rem;
    gap: 0.4rem;
  }
  .nlx-docek-zone-name {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    gap: 0.35rem;
  }
  .nlx-docek-zone-price {
    font-size: 1.6rem;
  }
  .nlx-docek-address {
    font-size: 0.82rem;
  }
  .nlx-docek-actions {
    margin-top: 1.25rem;
  }
  .nlx-docek-cta {
    font-size: 0.84rem;
    letter-spacing: 0.06em;
  }
  .nlx-docek-videos-title {
    margin-bottom: 1rem;
  }
  .nlx-docek-videos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    max-width: 440px;
    margin: 0 auto;
  }
  .nlx-docek-video-frame {
    border-radius: 12px;
  }
  .nlx-docek-video figcaption {
    margin-top: 0.6rem;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
  }

  /* dok dugmad sekcije prolaze ispod plutajućih dugmadi, ona se sklanjaju */
  html.nlx-docek-floats-off .chat-widget,
  html.nlx-docek-floats-off .nlx-scroll-top {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
}

@media (max-width: 380px) {
  .nlx-docek-title-line {
    font-size: 2.1rem;
    letter-spacing: 0.03em;
  }
  .nlx-docek-title-year {
    font-size: 2.85rem;
  }
  .nlx-docek-band {
    letter-spacing: 0.12em;
  }
  .nlx-docek-zone-name {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }
  .nlx-docek-zone-price {
    font-size: 1.45rem;
  }
  .nlx-docek-address {
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
  }
  .nlx-docek-address-sep {
    display: none;
  }
}

/* ---------- uvećani prikaz (raspored stolova i ceo plakat) ---------- */
html.nlx-docek-plan-lock {
  overflow: hidden;
}

.nlx-docek-plan {
  /* ceo ekran je dijalog, kartica je u sredini: klik van kartice zatvara */
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: "Poppins", "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow: hidden;
}

.nlx-docek-plan[open] {
  display: grid;
  place-items: center;
}

.nlx-docek-plan::backdrop {
  background: rgba(0, 20, 27, 0.86);
}

.nlx-docek-plan-box {
  display: flex;
  flex-direction: column;
  width: min(92vw, 880px);
  max-height: 94vh;
  max-height: 94dvh;
  border-radius: 16px;
  border: 1px solid rgba(208, 171, 103, 0.45);
  background: #002330;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.nlx-docek-plan-bar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.55rem 0.55rem 1.1rem;
  border-bottom: 1px solid rgba(208, 171, 103, 0.22);
}

.nlx-docek-plan-title {
  margin: 0;
  font-family: "Poppins", "Lato", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d0ab67;
}

.nlx-docek-plan-close {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(208, 171, 103, 0.7);
  border-radius: 50%;
  background: #00303d;
  color: #d0ab67;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.nlx-docek-plan-close:hover,
.nlx-docek-plan-close:focus-visible {
  color: #fff;
  background: #014152;
}

.nlx-docek-plan-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: #001b24;
}

.nlx-docek-plan-img {
  display: block;
  /* kvadratni plakat: stane ceo u karticu bez sečenja */
  width: min(100%, calc(94dvh - 140px));
  height: auto;
  margin: 0 auto;
}

.nlx-docek-plan.is-zoomed .nlx-docek-plan-img {
  width: 200%;
  max-width: none;
}

.nlx-docek-plan-actions {
  flex: none;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.65rem;
  border-top: 1px solid rgba(208, 171, 103, 0.22);
}

.nlx-docek-plan-zoom,
.nlx-docek-plan-full {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(208, 171, 103, 0.7);
  background: transparent;
  color: #d0ab67;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.nlx-docek-plan-zoom:hover,
.nlx-docek-plan-zoom:focus-visible,
.nlx-docek-plan-full:hover,
.nlx-docek-plan-full:focus-visible {
  color: #fff;
  background: rgba(208, 171, 103, 0.14);
}

.nlx-docek-plan-close:focus-visible,
.nlx-docek-plan-zoom:focus-visible,
.nlx-docek-plan-full:focus-visible {
  outline: 2px solid #d0ab67;
  outline-offset: 2px;
}

/* uspravan plakat (ceo poster): stane ceo po visini */
.nlx-docek-plan.is-portrait .nlx-docek-plan-box {
  width: min(92vw, 620px);
}

.nlx-docek-plan.is-portrait .nlx-docek-plan-img {
  width: min(100%, calc((94dvh - 140px) * 0.5625));
}

.nlx-docek-plan.is-portrait.is-zoomed .nlx-docek-plan-img {
  width: 200%;
  max-width: none;
}

@media (max-width: 768px) {
  .nlx-docek-plan-box {
    width: calc(100vw - 16px);
    border-radius: 12px;
  }
  .nlx-docek-plan-title {
    font-size: 0.64rem;
    letter-spacing: 0.14em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nlx-docek-cta,
  .nlx-docek-plan-btn {
    transition: none;
  }
}
