/* =========================================================
   EVENT.ZAGORJE — neo-brutalist nightlife
   Tamna baza + neon akcenti + tvrdi rubovi / offset sjene
   ========================================================= */

:root {
  /* boje */
  --ink:      #08080b;
  --ink-2:    #0e0e14;
  --panel:    #14141d;
  --paper:    #f4f3ec;
  --line:     #1f1f2b;

  /* brand boje iz logotipa: crno + bijelo + crvena + srebrna */
  --red:      #e4181f;   /* crveni reflektor iz logotipa */
  --red-deep: #a3111a;
  --silver:   #c9cace;   /* "zagorje" sivo iz logotipa */

  /* postojeća imena mapirana na brand (jedan akcent: crvena) */
  --magenta:  var(--red);
  --violet:   var(--red-deep);
  --cyan:     var(--silver);
  --acid:     var(--red);
  --amber:    var(--red);

  --text:     #f5f5f3;
  --muted:    #8b8b92;

  /* tipografija */
  --f-display: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --f-body:    "Space Grotesk", system-ui, -apple-system, sans-serif;
  --f-mono:    "Space Mono", "SFMono-Regular", ui-monospace, monospace;

  --text-hero: clamp(3.4rem, 1rem + 15vw, 12rem);
  --text-h2:   clamp(2.2rem, 1rem + 5.5vw, 5.2rem);
  --text-h3:   clamp(1.05rem, 0.9rem + 0.6vw, 1.4rem);

  /* prostor */
  --space-section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --gutter: clamp(1.1rem, 0.6rem + 3vw, 4rem);
  --maxw: 1280px;

  --bd: 2.5px solid var(--text);
  --shadow-hard: 8px 8px 0 0 var(--magenta);

  --dur: 320ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
/* [hidden] mora pobijediti .mobile-nav{display:flex} i .lightbox{display:grid} */
[hidden] { display: none !important; }
::selection { background: var(--magenta); color: #fff; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--acid); color: #000; padding: .7rem 1.2rem;
  font-weight: 700; border: var(--bd); transition: top var(--dur);
}
.skip-link:focus { top: 1rem; }

/* zrnata tekstura */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  --bg: var(--magenta);
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-body); font-weight: 700; font-size: .98rem;
  letter-spacing: .01em; line-height: 1;
  padding: 1rem 1.4rem; border: var(--bd);
  background: var(--bg); color: #08080b;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur);
  will-change: transform;
}
.btn__ico { width: 1.2em; height: 1.2em; flex: none; }
.btn--solid { --bg: var(--red); color: #fff; box-shadow: 6px 6px 0 0 #000; }
.btn--wire { background: transparent; color: var(--text); box-shadow: 6px 6px 0 0 var(--magenta); }
.btn--cta { --bg: var(--magenta); color: #fff; padding: .7rem 1.1rem; box-shadow: 4px 4px 0 0 #000; }
.btn--block { width: 100%; justify-content: center; padding: 1.15rem; }
.btn:hover { transform: translate(-3px, -3px); }
.btn--solid:hover { box-shadow: 10px 10px 0 0 #000; }
.btn--wire:hover { box-shadow: 10px 10px 0 0 var(--cyan); color: var(--cyan); }
.btn--cta:hover { box-shadow: 8px 8px 0 0 #000; }
.btn:active { transform: translate(2px, 2px); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .9rem var(--gutter);
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 2.5px solid var(--line);
  transition: transform 400ms var(--ease), background var(--dur), border-color var(--dur);
}
.site-header.is-hidden { transform: translateY(-110%); }
.site-header.is-scrolled { background: color-mix(in srgb, var(--ink) 92%, transparent); border-bottom-color: var(--magenta); }

.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--f-display); }
.brand__mark { color: var(--magenta); font-size: 1.3rem; animation: spin 6s linear infinite; }
@media (prefers-reduced-motion: reduce) { .brand__mark { animation: none; } }
.brand__name { font-size: 1.05rem; letter-spacing: .02em; }
.dot { color: var(--magenta); }

.nav { display: flex; gap: 1.6rem; }
.nav a {
  position: relative; font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .04em; padding: .3rem 0;
  color: var(--muted); transition: color var(--dur);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2.5px; width: 0;
  background: var(--cyan); transition: width var(--dur) var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: .4rem; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--text); transition: transform var(--dur), opacity var(--dur); }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 64px 0 auto 0; z-index: 99;
  display: flex; flex-direction: column; gap: .3rem;
  padding: 1.2rem var(--gutter) 2rem;
  background: var(--ink-2); border-bottom: var(--bd);
}
.mobile-nav a { padding: .9rem .4rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1.5px solid var(--line); }
.mobile-nav .btn { margin-top: .8rem; border-bottom: var(--bd); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem var(--gutter) 3rem; overflow: hidden;
  isolation: isolate;
}
#hero-canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; display: block; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,8,11,.9) 0%, rgba(8,8,11,.55) 34%, rgba(8,8,11,.05) 62%, transparent 80%),
    radial-gradient(120% 80% at 78% 18%, transparent 42%, rgba(8,8,11,.5) 100%),
    linear-gradient(180deg, rgba(8,8,11,.3) 0%, rgba(8,8,11,.05) 45%, var(--ink) 100%);
}

.hero__inner { max-width: var(--maxw); margin-inline: auto; width: 100%; }

.hero__kicker { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.tag {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--f-mono); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .45rem .8rem; border: 2px solid var(--text);
  background: var(--text); color: #000;
}
.tag svg { width: 1.05em; height: 1.05em; flex: none; }
/* inline ikone (footer, kontakt područje) */
.ico-inline { width: 1.05em; height: 1.05em; vertical-align: -0.16em; flex: none; }
.tag--ghost { background: transparent; color: var(--text); border-color: var(--line); }

.hero__title {
  font-family: var(--f-display); font-size: var(--text-hero);
  line-height: .82; letter-spacing: -.02em; text-transform: uppercase;
  margin: .2rem 0 1.4rem;
}
.hero__title .line { display: block; }
.line--accent {
  color: transparent;
  -webkit-text-stroke: clamp(1.5px, 0.4vw, 3px) var(--red);
  text-shadow: 0 0 34px rgba(228,24,31,.42);
}

.hero__lead {
  max-width: 46ch; font-size: clamp(1.05rem, 0.95rem + 0.55vw, 1.4rem);
  color: #d9d8e4; margin-bottom: 2rem;
}
.hero__lead strong { color: var(--cyan); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }

.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 4vw, 3.4rem); }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: var(--f-display); font-size: clamp(1.8rem, 1rem + 3vw, 3.2rem); color: var(--acid); line-height: 1; }
.stat__lbl { font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: .35rem; max-width: 14ch; }

.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 1.4rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; color: var(--muted);
}
.hero__scroll-arrow { display: inline-block; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll-arrow { animation: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== HERO minimal: ponuda lijevo + upit forma desno ===== */
.hero { min-height: auto; padding-top: 8rem; padding-bottom: 3rem; }
.hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 50% at 80% 28%, rgba(228,24,31,.20), transparent 62%),
    radial-gradient(45% 45% at 12% 85%, rgba(228,24,31,.08), transparent 60%);
  animation: glowpulse 7s ease-in-out infinite;
}
@keyframes glowpulse { 0%,100% { opacity: .75; } 50% { opacity: 1; } }

/* ===== brutalna animacija ===== */
.hero__fx { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; }

/* glitch / RGB-split na ZAGORJE */
.line--accent { position: relative; }
.line--accent::before, .line--accent::after {
  content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%;
  color: transparent; pointer-events: none;
  -webkit-text-stroke: clamp(1.5px, 0.4vw, 3px) var(--red);
  clip-path: inset(0 0 100% 0);
}
.line--accent::before { -webkit-text-stroke-color: var(--red); animation: glitchA 3.4s steps(1) infinite; }
.line--accent::after { -webkit-text-stroke-color: var(--silver); animation: glitchB 2.9s steps(1) infinite; }
@keyframes glitchA {
  0%,90%,100% { clip-path: inset(0 0 100% 0); transform: none; }
  91% { clip-path: inset(12% 0 58% 0); transform: translateX(-4px); }
  94% { clip-path: inset(58% 0 22% 0); transform: translateX(4px); }
}
@keyframes glitchB {
  0%,88%,100% { clip-path: inset(0 0 100% 0); transform: none; }
  89% { clip-path: inset(40% 0 32% 0); transform: translateX(4px); }
  93% { clip-path: inset(22% 0 56% 0); transform: translateX(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  .line--accent::before, .line--accent::after { animation: none; clip-path: inset(0 0 100% 0); }
}
.btn { will-change: transform; }

/* scroll progress traka */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 150;
  background: var(--red); transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}

/* kinetički naslov: slova ulijeću jedno po jedno */
.hero__title .ch { display: inline-block; transform: translateY(115%); opacity: 0; }
body.is-loaded .hero__title .ch {
  transform: none; opacity: 1;
  transition: transform .7s cubic-bezier(.2,1.4,.3,1), opacity .3s linear;
  transition-delay: var(--chd, 0s);
}
@media (prefers-reduced-motion: reduce) { .hero__title .ch { transform: none; opacity: 1; } }

/* crveni curtain-wipe na slikama pri revealu (samo uz JS) */
.ref-card__media, .shot { position: relative; }
.js .ref-card__media::after, .js .shot::before {
  content: ""; position: absolute; inset: 0; z-index: 2; background: var(--red);
  transform: scaleX(1); transform-origin: 100% 50%;
  transition: transform .8s var(--ease) .15s;
}
.js .is-revealed .ref-card__media::after, .js .shot.is-revealed::before { transform: scaleX(0); }

/* marquee 2 — suprotan smjer, srebrni rub */
.marquee--rev { border-block-color: var(--line); }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 34s; }
.marquee--rev .marquee__track span { color: var(--silver); -webkit-text-stroke: 0; }
.hero__wrap {
  max-width: var(--maxw); margin-inline: auto; width: 100%;
  display: grid; grid-template-columns: 1.12fr .88fr;
  gap: clamp(1.6rem, 2vw, 3.4rem); align-items: center;
}
.hero__trust { margin: 1.3rem 0 1.8rem; font-family: var(--f-mono); font-size: .82rem; color: var(--muted); }
.hero__trust b { color: var(--text); font-weight: 700; }

/* mali equalizer (glazbeni motiv, suptilna animacija) */
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 1.1em; }
.eq i { width: 3.5px; height: 100%; background: var(--red); transform-origin: bottom; transform: scaleY(.35); animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .18s; }
.eq i:nth-child(3) { animation-delay: .38s; }
.eq i:nth-child(4) { animation-delay: .10s; }
.eq i:nth-child(5) { animation-delay: .5s; }
@keyframes eq { 0%,100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* upit forma u herou */
.quote-form { border: var(--bd); background: var(--ink-2); padding: clamp(1.3rem, 1rem + 1.4vw, 2rem); box-shadow: 10px 10px 0 0 var(--red); }
.quote-form h2 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); line-height: 1; }
.quote-form__sub { font-family: var(--f-mono); font-size: .74rem; color: var(--red); text-transform: uppercase; letter-spacing: .05em; margin: .55rem 0 1.3rem; }
.quote-form .field { margin-bottom: .9rem; }
.quote-form .btn--block { margin-top: .4rem; }

/* plutajući poziv / WhatsApp (1 klik, stalno) */
.fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: flex; flex-direction: column; gap: .7rem; }
.fab__btn { width: 56px; height: 56px; display: grid; place-items: center; border: var(--bd); box-shadow: 4px 4px 0 0 #000; color: #fff; transition: transform var(--dur) var(--ease), box-shadow var(--dur); }
.fab__btn svg { width: 26px; height: 26px; }
.fab__call { background: var(--red); }
.fab__wa { background: #20201f; }
.fab__btn:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 0 #000; }

/* recenzije */
.reviews { max-width: var(--maxw); margin-inline: auto; padding: var(--space-section) var(--gutter); }
.review-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.review { border: var(--bd); background: var(--ink-2); padding: 1.6rem; box-shadow: 5px 5px 0 0 #000; display: flex; flex-direction: column; gap: 1rem; transition: transform var(--dur) var(--ease), box-shadow var(--dur); }
.review:hover { transform: translate(-3px,-3px); box-shadow: 10px 10px 0 0 var(--red); }
.review .stars { color: var(--red); letter-spacing: 3px; font-size: 1rem; }
.review p { font-size: 1.05rem; }
.review cite { font-family: var(--f-mono); font-size: .74rem; color: var(--muted); font-style: normal; text-transform: uppercase; letter-spacing: .05em; }

@media (max-width: 860px) {
  .hero__wrap { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding-top: 6.5rem; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--ink-2); color: var(--text); border-block: 2.5px solid var(--red);
  overflow: hidden; padding: .85rem 0;
}
.marquee__track { display: flex; width: max-content; gap: 0; animation: scrollx 28s linear infinite; }
.marquee__track span {
  font-family: var(--f-display); font-size: clamp(1.1rem, 0.8rem + 1.6vw, 2rem);
  text-transform: uppercase; white-space: nowrap; padding-right: 1.2rem;
}
.marquee__track i { color: var(--red); font-style: normal; padding: 0 .4rem; }
@keyframes scrollx { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* =========================================================
   SECTION SCAFFOLD
   ========================================================= */
section { position: relative; z-index: 2; }
.about, .services, .refs, .gallery, .contact {
  max-width: var(--maxw); margin-inline: auto;
  padding: var(--space-section) var(--gutter);
}
.section-head { margin-bottom: clamp(2.2rem, 1rem + 4vw, 4rem); max-width: 60ch; }
.eyebrow {
  display: inline-block; font-family: var(--f-mono); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--magenta);
  margin-bottom: 1rem; padding: .35rem .7rem; border: 2px solid var(--magenta);
}
.section-title {
  font-family: var(--f-display); font-size: var(--text-h2);
  line-height: .92; letter-spacing: -.01em; text-transform: uppercase;
}
.section-title em {
  font-style: normal; color: transparent;
  -webkit-text-stroke: 2px var(--red); text-shadow: 0 0 24px rgba(228,24,31,.32);
}
.section-sub { margin-top: 1.1rem; font-size: 1.08rem; color: var(--muted); }
.section-sub strong { color: var(--text); }

/* =========================================================
   FEATURES / O NAMA
   ========================================================= */
.feature-grid {
  display: grid; gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border: var(--bd);
}
.feature {
  position: relative; padding: 2rem 1.6rem 2.2rem;
  border-right: 2.5px solid var(--text); border-bottom: 2.5px solid var(--text);
  background: var(--ink-2); transition: background var(--dur), transform var(--dur) var(--ease);
}
.feature:hover { background: var(--panel); transform: translateY(-4px); }
.feature__no { font-family: var(--f-mono); font-size: .85rem; color: var(--magenta); display: block; margin-bottom: 1.4rem; }
.feature h3 { font-family: var(--f-display); font-size: var(--text-h3); text-transform: uppercase; line-height: 1.05; margin-bottom: .6rem; }
.feature p { color: var(--muted); font-size: .96rem; }

/* DJ-evi (popis s plakata) */
.djs { margin-top: clamp(2rem, 1rem + 3vw, 3.5rem); }
.djs__title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); margin-bottom: 1.1rem; }
.dj-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.dj-list li {
  font-family: var(--f-mono); font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  font-size: .85rem; padding: .55rem .95rem; border: 2px solid var(--line); background: var(--ink-2);
  transition: border-color var(--dur), color var(--dur), transform var(--dur) var(--ease);
}
.dj-list li:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* =========================================================
   USLUGE
   ========================================================= */
.service-grid {
  list-style: none; padding: 0; display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.service-card {
  position: relative; padding: 1.8rem 1.4rem; background: var(--ink-2);
  border: var(--bd); box-shadow: 5px 5px 0 0 #000;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur);
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(120% 100% at 0% 0%, rgba(255,43,214,.16), transparent 60%);
  transition: opacity var(--dur);
}
.service-card:hover { transform: translate(-4px, -4px); box-shadow: 11px 11px 0 0 var(--magenta); }
.service-card:hover::before { opacity: 1; }
.service-card--accent { background: var(--red); color: #fff; box-shadow: 5px 5px 0 0 #000; }
.service-card--accent:hover { box-shadow: 11px 11px 0 0 #000; }
.service-card--accent p { color: rgba(255,255,255,.85); }
.service-card__icon { display: block; width: 42px; height: 42px; margin-bottom: 1.1rem; color: var(--cyan); }
.service-card__icon svg { width: 100%; height: 100%; }
.service-card--accent .service-card__icon { color: #fff; }
.service-card h3 { font-family: var(--f-display); font-size: 1.18rem; text-transform: uppercase; margin-bottom: .5rem; }
.service-card p { color: var(--muted); font-size: .92rem; position: relative; }

/* =========================================================
   REFERENCE
   ========================================================= */
.ref-grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(4, 1fr);
}
.ref-card {
  grid-column: span 2; display: flex; flex-direction: column;
  border: var(--bd); background: var(--ink-2); overflow: hidden;
  box-shadow: 6px 6px 0 0 #000; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.ref-card--wide { grid-column: span 4; flex-direction: row; }
.ref-card--wide .ref-card__media { flex: 1.4; }
.ref-card--wide .ref-card__body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.ref-card:hover { transform: translate(-4px,-4px); box-shadow: 12px 12px 0 0 var(--cyan); }
.ref-card__media { position: relative; overflow: hidden; background: #000; aspect-ratio: 4/3; }
.ref-card--poster .ref-card__media { aspect-ratio: 4/5; }
.ref-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease), filter var(--dur); filter: saturate(1.05); }
.ref-card:hover .ref-card__media img { transform: scale(1.06); }
.ref-card__body { padding: 1.4rem; border-top: var(--bd); }
.ref-card--wide .ref-card__body { border-top: 0; border-left: var(--bd); }
.ref-card__date { font-family: var(--f-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--magenta); }
.ref-card__body h3 { font-family: var(--f-display); font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem); text-transform: uppercase; line-height: 1; margin: .5rem 0 .6rem; }
.ref-card__body p { color: var(--muted); font-size: .95rem; }

.logos {
  display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem;
  margin-top: 2.6rem; padding: 1.4rem; border: 2.5px dashed var(--line);
  font-family: var(--f-display); text-transform: uppercase; font-size: clamp(.95rem, .8rem + .6vw, 1.3rem);
}
.logos__lbl { font-family: var(--f-mono); font-size: .76rem; color: var(--cyan); letter-spacing: .12em; }
.logos i { color: var(--magenta); font-style: normal; }

/* =========================================================
   GALERIJA
   ========================================================= */
.gallery-grid {
  display: grid; gap: .7rem;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px; grid-auto-flow: dense;
}
.shot {
  border: var(--bd); padding: 0; background: #000; overflow: hidden;
  position: relative; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.shot::after {
  content: "↗"; position: absolute; top: .5rem; right: .6rem; z-index: 2;
  font-family: var(--f-display); color: var(--acid); opacity: 0; transition: opacity var(--dur); transform: translateY(-4px);
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease), filter var(--dur); filter: grayscale(.15); }
.shot:hover { transform: translateY(-3px); box-shadow: 7px 7px 0 0 var(--magenta); z-index: 3; }
.shot:hover img { transform: scale(1.08); filter: grayscale(0); }
.shot:hover::after { opacity: 1; transform: translateY(0); }
.shot:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.shot:nth-child(2) { grid-row: span 2; }
.shot:nth-child(6) { grid-column: span 2; }
.shot:nth-child(10) { grid-row: span 2; }

/* =========================================================
   KAKO DO PONUDE (3 koraka)
   ========================================================= */
.steps { max-width: var(--maxw); margin-inline: auto; padding: var(--space-section) var(--gutter); }
.step-grid {
  list-style: none; padding: 0; display: grid; gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border: var(--bd);
}
.step {
  padding: 2.2rem 1.6rem; background: var(--ink-2);
  border-right: 2.5px solid var(--text); border-bottom: 2.5px solid var(--text);
  transition: background var(--dur);
}
.step:hover { background: var(--panel); }
.step__no { font-family: var(--f-display); font-size: 1.7rem; color: var(--red); display: block; margin-bottom: 1rem; }
.step h3 { font-family: var(--f-display); text-transform: uppercase; font-size: 1.2rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .95rem; }
.steps__cta { margin-top: 2rem; }

/* =========================================================
   KONTAKT
   ========================================================= */
.contact { padding-bottom: calc(var(--space-section) + 1rem); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 1rem + 3vw, 3.5rem); align-items: start; }

.contact__list { list-style: none; padding: 0; margin: 2rem 0 1.4rem; display: grid; gap: .8rem; }
.contact__list a {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem;
  border: var(--bd); background: var(--ink-2);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur);
}
.contact__list a:hover { transform: translate(-3px,-3px); box-shadow: 7px 7px 0 0 var(--acid); background: var(--panel); }
.ci { width: 34px; height: 34px; flex: none; color: var(--cyan); }
.ci svg { width: 100%; height: 100%; }
.contact__list b { display: block; font-size: 1.05rem; }
.contact__list small { color: var(--muted); font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.contact__area { font-family: var(--f-mono); font-size: .85rem; color: var(--muted); }

.contact__form { border: var(--bd); background: var(--ink-2); padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); box-shadow: 8px 8px 0 0 var(--magenta); }
.contact__form h3 { font-family: var(--f-display); text-transform: uppercase; font-size: 1.5rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--f-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--f-body); font-size: 1rem; color: var(--text);
  background: var(--ink); border: 2px solid var(--line); padding: .85rem .9rem;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 4px 4px 0 0 var(--cyan);
}
.field textarea { resize: vertical; }
.form-note { margin-top: .8rem; font-family: var(--f-mono); font-size: .72rem; color: var(--muted); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { border-top: var(--bd); background: var(--ink-2); padding: clamp(2.4rem,2rem+3vw,4rem) var(--gutter) 2rem; }
.site-footer__top { max-width: var(--maxw); margin-inline: auto; display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: space-between; align-items: center; padding-bottom: 1.8rem; border-bottom: 1.5px solid var(--line); }
.footer-brand { font-family: var(--f-display); font-size: clamp(1.6rem, 1rem + 3vw, 3rem); text-transform: uppercase; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a { font-family: var(--f-mono); text-transform: uppercase; font-size: .82rem; letter-spacing: .06em; color: var(--muted); transition: color var(--dur); }
.footer-nav a:hover { color: var(--cyan); }
.site-footer__bottom { max-width: var(--maxw); margin: 1.6rem auto 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; font-family: var(--f-mono); font-size: .78rem; color: var(--muted); }
.powered { display: inline-flex; align-items: center; gap: .45em; }
.powered svg { color: var(--magenta); }
.powered strong { color: var(--magenta); }
.contact__area { display: flex; align-items: center; gap: .5em; }
.contact__area svg { color: var(--cyan); }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: rgba(4,4,7,.94); padding: clamp(1rem, 4vw, 4rem);
  opacity: 0; transition: opacity var(--dur);
}
.lightbox:not([hidden]) { opacity: 1; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; border: var(--bd); box-shadow: 12px 12px 0 0 var(--magenta); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: var(--acid); color: #000; border: var(--bd);
  width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.6rem; font-weight: 700;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}
.lightbox__close { top: 1.2rem; right: 1.2rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 1.2rem; }
.lightbox__next { right: 1.2rem; }
.lightbox__close:hover, .lightbox__nav:hover { box-shadow: 5px 5px 0 0 var(--magenta); }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.08); }

/* =========================================================
   REVEAL — CSS transition + IntersectionObserver (otporno).
   Bez JS-a (nema .js klase) sve ostaje vidljivo.
   ========================================================= */
.js [data-reveal], .js [data-reveal-group] > * {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.is-revealed { opacity: 1 !important; transform: none !important; }

/* HERO intro — čisti CSS (ne ovisi o rAF/GSAP tickeru) */
.js .hero__kicker,
.js .hero__title .line,
.js .hero__lead,
.js .hero__actions,
.js .hero__stats { opacity: 0; transform: translateY(26px); }
body.is-loaded .hero__kicker,
body.is-loaded .hero__title .line,
body.is-loaded .hero__lead,
body.is-loaded .hero__actions,
body.is-loaded .hero__stats {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
body.is-loaded .hero__kicker { transition-delay: .08s; }
body.is-loaded .hero__title .line:nth-child(1) { transition-delay: .18s; }
body.is-loaded .hero__title .line:nth-child(2) { transition-delay: .30s; }
body.is-loaded .hero__lead { transition-delay: .46s; }
body.is-loaded .hero__actions { transition-delay: .58s; }
body.is-loaded .hero__stats { transition-delay: .70s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-card, .ref-card--wide { grid-column: span 1; }
  .ref-card--wide { flex-direction: column; }
  .ref-card--wide .ref-card__body { border-left: 0; border-top: var(--bd); }
}
@media (max-width: 860px) {
  .nav, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .shot:nth-child(1) { grid-column: span 2; }
  .shot:nth-child(2) { grid-row: span 1; }
  .shot:nth-child(6) { grid-column: span 2; }
  .hero__stats { gap: 1.4rem; }
  .btn { width: 100%; justify-content: center; }
  .hero__actions { gap: .7rem; }
}
@media (max-width: 460px) {
  .ref-grid { grid-template-columns: 1fr; }
  :root { --shadow-hard: 6px 6px 0 0 var(--magenta); }
}

/* reduce motion: ugasi transforme/parallax */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
