/* ============================================================
   SPIRIT OF YOUTH — Design System v2
   Single source of truth za sve vizuelne tokene
   ============================================================ */


:root {

  /* ----------------------------------------------------------
     BOJE — Primarne
  ---------------------------------------------------------- */
  --color-dark:        #0A2B40;
  --color-navy:        #262E44;
  --color-accent:      #7CCDDD;
  --color-accent-dark: #5BBCCF;
  --color-mid:         #408292;

  /* ----------------------------------------------------------
     BOJE — Neutralne
  ---------------------------------------------------------- */
  --color-white:       #FFFFFF;
  --color-off-white:   #F9F9F9;
  --color-border:      #E5E5E5;
  --color-border-dark: rgba(255,255,255,0.07);
  --color-text-body:   #3D4F55;
  --color-text-dark:   #1A2E3A;
  --color-text-muted:  #8FA3AB;

  /* Tamna pozadina — alpha varijante */
  --color-dark-95: rgba(10,43,64,0.95);
  --color-dark-80: rgba(10,43,64,0.80);
  --color-dark-40: rgba(10,43,64,0.40);

  /* Accent — alpha varijante */
  --color-accent-10: rgba(124,205,221,0.10);
  --color-accent-08: rgba(124,205,221,0.08);
  --color-accent-06: rgba(124,205,221,0.06);
  --color-accent-20: rgba(124,205,221,0.20);
  --color-accent-30: rgba(124,205,221,0.30);

  /* ----------------------------------------------------------
     TIPOGRAFIJA
  ---------------------------------------------------------- */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Veličine — sistematski skala */
  --text-2xs:  9px;   /* badge, dot labele */
  --text-xs:  11px;   /* eyebrow, meta labele */
  --text-sm:  13px;   /* sekundarni tekst, kartice */
  --text-base:15px;   /* body paragraf */
  --text-md:  18px;   /* h3, istaknuti tekst */
  --text-lg:  24px;   /* h2 mali */
  --text-xl:  32px;   /* h2 */
  --text-2xl: 42px;   /* h1 mali */
  --text-3xl: 56px;   /* h1 */

  /* Težine */
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semi:    600;
  --weight-bold:    700;
  --weight-black:   800;

  /* Line height */
  --leading-tight:  1.1;
  --leading-snug:   1.3;
  --leading-normal: 1.6;
  --leading-body:   1.85;  /* NOVO: za body paragraf */
  --leading-loose:  1.75;

  /* Letter spacing — sistem */
  --tracking-tight:    -0.03em;  /* h1, display */
  --tracking-snug:     -0.02em;  /* h2 */
  --tracking-normal:    0;
  --tracking-wide:      0.05em;
  --tracking-wider:     0.08em;
  --tracking-widest:    0.12em;
  --tracking-label:     0.10em;  /* NOVO: konzistentno za sve labele */
  --tracking-eyebrow:   0.12em;  /* NOVO: eyebrow specifično */

  /* ----------------------------------------------------------
     SPACING — 8px grid skala
  ---------------------------------------------------------- */
  --space-1:   4px;
  --space-2:   8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-5:   24px;
  --space-6:   32px;
  --space-7:   48px;
  --space-8:   64px;
  --space-9:   96px;
  --space-10: 128px;

  /* ----------------------------------------------------------
     SPACING — Sekcije (standardizovano)
     Svi hero-vi: 160px top
     Sekcije: 96px top/bottom
     CTA sekcije (dark): 100px
     Kompaktne sekcije: 72px
  ---------------------------------------------------------- */
  --section-y:         96px;    /* standardna sekcija */
  --section-y-lg:     120px;    /* istaknute sekcije */
  --section-y-sm:      72px;    /* kompaktne sekcije */
  --section-y-cta:    100px;    /* CTA tamne sekcije */
  --hero-pt:          160px;    /* hero padding-top */
  --hero-pt-sm:       130px;    /* hero padding-top @960px */
  --hero-pt-xs:       110px;    /* hero padding-top @640px */
  --section-padding-y: 96px;    /* backward compat */

  /* ----------------------------------------------------------
     CONTAINER
  ---------------------------------------------------------- */
  --container-max:    1200px;
  --container-pad:     24px;

  /* ----------------------------------------------------------
     DUGMAD — sistem
  ---------------------------------------------------------- */
  --btn-radius:        6px;
  --btn-radius-pill:   100px;
  --btn-padding-sm:    9px 20px;
  --btn-padding:      11px 28px;   /* default */
  --btn-padding-lg:   14px 32px;
  --btn-font-size:    12px;
  --btn-font-size-sm: 11px;
  --btn-weight:        700;
  --btn-tracking:      0.08em;
  --btn-transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;

  /* ----------------------------------------------------------
     BORDER RADIUS — sistem
  ---------------------------------------------------------- */
  --radius-xs:  2px;
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-2xl:28px;

  /* ----------------------------------------------------------
     SENKE — sistem
  ---------------------------------------------------------- */
  --shadow-xs:  0 1px 4px  rgba(10,43,64,0.06);
  --shadow-sm:  0 2px 8px  rgba(10,43,64,0.07);
  --shadow-md:  0 4px 20px rgba(10,43,64,0.11);
  --shadow-lg:  0 8px 40px rgba(10,43,64,0.15);
  --shadow-xl:  0 16px 60px rgba(10,43,64,0.18);
  --shadow-accent:     0 6px 20px rgba(124,205,221,0.30);
  --shadow-accent-lg:  0 12px 36px rgba(124,205,221,0.38);

  /* ----------------------------------------------------------
     IKONICE — sistem
  ---------------------------------------------------------- */
  --icon-xs:   14px;
  --icon-sm:   18px;
  --icon-md:   24px;
  --icon-lg:   32px;
  --icon-xl:   48px;
  --icon-2xl:  64px;

  /* ----------------------------------------------------------
     ANIMACIJE — sistem (konzistentno sa motion CSS)
  ---------------------------------------------------------- */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:      cubic-bezier(0.4, 0, 1, 1);
  --ease-inout:   cubic-bezier(0.4, 0, 0.2, 1);
  --motion-ease:  cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast:    150ms;
  --duration-normal:  300ms;
  --duration-slow:    500ms;
  --motion-fast:      200ms;
  --motion-base:      400ms;
  --motion-slow:      600ms;

  /* ----------------------------------------------------------
     Z-INDEX — sistem
  ---------------------------------------------------------- */
  --z-base:     0;
  --z-above:   10;
  --z-header: 100;
  --z-overlay:150;
  --z-modal:  200;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-body);
  background: var(--color-white);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  color: var(--color-text-dark);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}
h1 { font-size: var(--text-3xl); font-weight: var(--weight-black); text-transform: uppercase; }
h2 { font-size: var(--text-xl); font-weight: var(--weight-bold); text-transform: none; letter-spacing: -0.02em; }
h3 { font-size: var(--text-md); font-weight: var(--weight-semi); }
h4 { font-size: var(--text-base); font-weight: var(--weight-semi); }
p  { line-height: var(--leading-loose); color: var(--color-text-body); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: var(--space-3);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section { padding-top: var(--section-padding-y); padding-bottom: var(--section-padding-y); }
.section--light { background: var(--color-off-white); }
.section--dark  { background: var(--color-dark); }
.section--navy  { background: var(--color-navy); }

.section-header--center {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-8);
}
.section-header--center h2 { margin-bottom: var(--space-4); }
.section-header--center p  { color: var(--color-text-muted); }
.section--dark .section-header--center h2,
.section--navy .section-header--center h2 { color: var(--color-white); }
.section--dark .section-header--center p,
.section--navy .section-header--center p  { color: rgba(255,255,255,0.55); }
.section--dark .eyebrow, .section--navy .eyebrow { color: var(--color-accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  border: 2px solid transparent;
  font-family: var(--font-heading);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-weight);
  text-transform: uppercase;
  letter-spacing: var(--btn-tracking);
  line-height: 1;
  transition: var(--btn-transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-dark); }
.btn--primary:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); box-shadow: var(--shadow-accent); }
.btn--outline { background: transparent; border-color: var(--color-accent); color: var(--color-accent); }
.btn--outline:hover { background: rgba(124,205,221,0.08); box-shadow: 0 4px 14px rgba(124,205,221,0.2); }
.btn--dark { background: var(--color-dark); border-color: var(--color-dark); color: var(--color-white); }
.btn--dark:hover { background: #0f3a54; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; border-color: var(--color-border); color: var(--color-text-body); }
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }
.section--dark .btn--outline, .section--navy .btn--outline { border-color: rgba(255,255,255,0.4); color: var(--color-white); }
.section--dark .btn--outline:hover, .section--navy .btn--outline:hover { border-color: var(--color-accent); color: var(--color-accent); background: rgba(124,205,221,0.08); }

/* ============================================================
   MOTION SYSTEM — v2
   Spirit of Youth · District Sensation

   Princip: suptilno, konzistentno, performantno.
   Sve koristi will-change i composite properties.
   ============================================================ */

/* ── Osnovna easing kriva ── */
:root {
  --motion-ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --motion-ease-in: cubic-bezier(0.4, 0, 1, 1);
  --motion-fast:    200ms;
  --motion-base:    400ms;
  --motion-slow:    600ms;
  --motion-slower:  900ms;
}

/* ─────────────────────────────────────────────────────
   PAGE TRANSITION
   fade-in na učitavanju, fade-out na odlasku
───────────────────────────────────────────────────── */
body {
  opacity: 0;
  transition: opacity 200ms ease;
  animation: body-fallback-show 0s 600ms forwards;
}
@keyframes body-fallback-show { to { opacity: 1; } }
body.page-entered { opacity: 1; animation: none; }
body.page-leaving { opacity: 0; animation: none; }

/* ─────────────────────────────────────────────────────
   REVEAL SISTEM
   Direkcije: up (default), down, left, right, scale
───────────────────────────────────────────────────── */

/* -- Default: fade up -- */
.reveal,
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
  transition:
    opacity  var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
  animation: reveal-fallback 0s 1200ms forwards;
}
@keyframes reveal-fallback {
  to { opacity: 1; transform: translateY(0); }
}
.reveal.is-visible,
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

/* -- Fade down (za elemente koji "padaju" odozgo) -- */
.reveal-down {
  opacity: 0;
  transform: translateY(-20px);
  will-change: opacity, transform;
  transition:
    opacity  var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}
.reveal-down.is-visible { opacity: 1; transform: translateY(0); }

/* -- Fade levo (ulaz s desne strane) -- */
.reveal-left {
  opacity: 0;
  transform: translateX(32px);
  will-change: opacity, transform;
  transition:
    opacity  var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }

/* -- Fade desno (ulaz s leve strane) -- */
.reveal-right {
  opacity: 0;
  transform: translateX(-32px);
  will-change: opacity, transform;
  transition:
    opacity  var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

/* -- Scale reveal (za kartice, ikonice) -- */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  will-change: opacity, transform;
  transition:
    opacity  var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

/* ── Delay sistem ── */
.reveal-delay-1  { transition-delay: 80ms; }
.reveal-delay-2  { transition-delay: 160ms; }
.reveal-delay-3  { transition-delay: 240ms; }
.reveal-delay-4  { transition-delay: 320ms; }
.reveal-delay-5  { transition-delay: 400ms; }
/* Fine-grained za stagger */
.reveal-delay-s1 { transition-delay: 50ms; }
.reveal-delay-s2 { transition-delay: 100ms; }
.reveal-delay-s3 { transition-delay: 150ms; }
.reveal-delay-s4 { transition-delay: 200ms; }
.reveal-delay-s5 { transition-delay: 250ms; }
.reveal-delay-s6 { transition-delay: 300ms; }

/* Sporiji reveal za hero naslove */
.reveal-hero {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity  var(--motion-slow) var(--motion-ease),
    transform var(--motion-slow) var(--motion-ease);
}
.reveal-hero.is-visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────────────
   HOVER SISTEM — konzistentni lift pattern
───────────────────────────────────────────────────── */

/* Suptilni lift (kartice, linkovi) */
.hover-lift {
  transition: transform var(--motion-fast) var(--motion-ease),
              box-shadow var(--motion-fast) var(--motion-ease);
}
.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Srednji lift (featured kartice) */
.hover-lift-md {
  transition: transform 280ms var(--motion-ease),
              box-shadow 280ms var(--motion-ease);
}
.hover-lift-md:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Glow hover (za accent elemente) */
.hover-glow {
  transition: box-shadow var(--motion-fast) ease,
              transform var(--motion-fast) var(--motion-ease);
}
.hover-glow:hover {
  box-shadow: 0 0 0 3px rgba(124,205,221,0.25);
  transform: translateY(-1px);
}

/* ─────────────────────────────────────────────────────
   BUTTON PRESS EFEKAT
   Dodaj .btn-press na bilo koje dugme
───────────────────────────────────────────────────── */
.btn:active,
.btn-press:active {
  transform: scale(0.97) translateY(1px) !important;
  box-shadow: none !important;
  transition-duration: 80ms !important;
}

/* ─────────────────────────────────────────────────────
   ORB ANIMACIJA (hero dekorativni elementi)
   Spora, lebdeća petlja — CSS-only kao fallback
   JS parallax override-uje transform na scroll
───────────────────────────────────────────────────── */
@keyframes orb-float-1 {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); }
  33%       { transform: translateY(-18px) translateX(10px) scale(1.03); }
  66%       { transform: translateY(12px) translateX(-8px) scale(0.97); }
}
@keyframes orb-float-2 {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); }
  40%       { transform: translateY(16px) translateX(-12px) scale(1.02); }
  70%       { transform: translateY(-10px) translateX(8px) scale(0.98); }
}

.on-hero-orb--1,
.kt-hero-orb--1,
.on-cta-bg-orb--1,
.pt-cta-orb--1 {
  animation: orb-float-1 14s ease-in-out infinite;
}
.on-hero-orb--2,
.kt-hero-orb--2,
.on-cta-bg-orb--2,
.pt-cta-orb--2 {
  animation: orb-float-2 18s ease-in-out infinite;
}

/* ─────────────────────────────────────────────────────
   PULSING DOT (hero eyebrow indikatoru)
   Već definisan per-page, ali centralizovamo ovde
───────────────────────────────────────────────────── */
@keyframes soy-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.6); }
}
.on-hero-eyebrow-dot,
.kt-hero-dot,
.footer-cta-eyebrow-dot {
  animation: soy-pulse 2.4s ease-in-out infinite;
}

/* ─────────────────────────────────────────────────────
   SPINNER (loading state za forme)
───────────────────────────────────────────────────── */
@keyframes soy-spin {
  to { transform: rotate(360deg); }
}
.soy-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(124,205,221,0.3);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: soy-spin 0.7s linear infinite;
}

/* ─────────────────────────────────────────────────────
   REDUCED MOTION — sve animacije off
───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .reveal-up,
  .reveal-down,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-hero {
    opacity: 1 !important;
    transform: none !important;
  }
  body { opacity: 1 !important; }
}

/* PAGE HERO */
.page-hero {
  position: relative; height: 520px;
  display: flex; align-items: flex-end;
  padding-bottom: var(--space-9);
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,43,64,0.95) 0%, rgba(10,43,64,0.6) 50%, rgba(10,43,64,0.2) 100%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-content .eyebrow { color: var(--color-accent); margin-bottom: var(--space-3); }
.page-hero-content h1 { color: var(--color-white); font-size: clamp(2.2rem,5vw,3.8rem); margin-bottom: var(--space-3); }
.page-hero-content > p { color: rgba(255,255,255,0.6); font-size: var(--text-base); font-family: var(--font-body); }

.back-link {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-heading); font-size: var(--text-xs);
  font-weight: var(--weight-bold); text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: rgba(255,255,255,0.55); margin-bottom: var(--space-5);
  transition: color var(--duration-fast) ease;
}
.back-link:hover { color: var(--color-accent); }
/* nav-link--active — see bottom of file */

/* FOOTER */
.site-footer { background: var(--color-navy); }
/* ============================================================
   FOOTER — v2 — premium, editorial, branded
   Spirit of Youth · District Sensation
   ============================================================ */

/* ── Base ── */
.site-footer {
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

/* Ambient glow top-right */
.site-footer::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,205,221,0.055) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
  filter: blur(40px);
}

/* ── CTA sekcija (vrh footera) ── */
.footer-cta {
  position: relative; z-index: 1;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-10);
  align-items: center;
  padding: 72px 0;
}

.footer-cta-left {}
.footer-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.footer-cta-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  animation: ft-pulse 2.5s ease-in-out infinite;
}
@keyframes ft-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.65); }
}

.footer-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: var(--weight-black);
  color: var(--color-white);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: var(--space-4);
}
.footer-cta-title em {
  font-style: normal;
  color: var(--color-accent);
}

.footer-cta-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.38);
  max-width: 440px;
  margin: 0;
}

.footer-cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-shrink: 0;
  min-width: 210px;
}
.footer-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--color-accent);
  border: 2px solid var(--color-accent);
  border-radius: var(--btn-radius);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: var(--weight-black);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-dark);
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s var(--ease-out);
  box-shadow: 0 6px 22px rgba(124,205,221,0.2);
}
.footer-cta-btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  box-shadow: 0 10px 36px rgba(124,205,221,0.38);
  transform: translateY(-2px);
}
.footer-cta-btn-primary svg { flex-shrink: 0; transition: transform 0.2s; }
.footer-cta-btn-primary:hover svg { transform: translateX(3px); }

.footer-cta-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--btn-radius);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-cta-btn-ghost:hover {
  border-color: rgba(124,205,221,0.3);
  color: var(--color-accent);
  background: rgba(124,205,221,0.04);
}

/* ── Divider sa tekstom ── */
.footer-divider {
  position: relative; z-index: 1;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-divider-inner {
  display: flex; align-items: center; gap: var(--space-5);
  padding: 0;
  height: 1px;
}

/* ── Glavni footer grid ── */
.footer-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 80px;
  padding: 64px 0 60px;
}

/* ── Brand kolona ── */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-brand-logo {
  display: inline-block;
  margin-bottom: 24px;
}
.footer-brand-logo img {
  height: 40px;
  width: auto;
  filter: brightness(10);
  opacity: 0.8;
  transition: opacity 0.2s;
}
.footer-brand-logo:hover img { opacity: 1; }

/* Tagline — pojačan */
.footer-brand-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: var(--weight-black);
  color: var(--color-white);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.footer-brand-tagline span { color: var(--color-accent); }

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
  max-width: 280px;
  margin-bottom: 28px;
}

/* Social icons — pojačani */
.footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.4);
  transition:
    color 0.18s,
    border-color 0.18s,
    background 0.18s,
    transform 0.22s var(--ease-out),
    box-shadow 0.22s;
}
.footer-social a:hover {
  color: var(--color-accent);
  border-color: rgba(124,205,221,0.35);
  background: rgba(124,205,221,0.07);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(124,205,221,0.15);
}

/* Mini CTA */
.footer-brand-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(124,205,221,0.07);
  border: 1px solid rgba(124,205,221,0.2);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
  align-self: flex-start;
}
.footer-brand-cta:hover {
  background: rgba(124,205,221,0.13);
  border-color: rgba(124,205,221,0.45);
  transform: translateY(-2px);
}

/* ── NAV kolone ── */
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 40px;
  padding-top: 0;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: var(--weight-black);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
/* Accent linija */
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 20px; height: 1px;
  background: var(--color-accent);
  opacity: 0.5;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: rgba(255,255,255,0.45);
  padding: 5px 0;
  text-decoration: none;
  transition: color 0.18s, gap 0.2s, padding-left 0.2s;
  position: relative;
}
.footer-col a::before {
  content: '';
  position: absolute;
  left: -10px; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0;
  transition: opacity 0.18s;
}
.footer-col a:hover {
  color: var(--color-white);
  padding-left: 10px;
}
.footer-col a:hover::before { opacity: 1; }

/* Kontakt kolona */
.footer-col--contact .footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-col--contact .footer-contact-item:last-child { border-bottom: none; }
.footer-col--contact .footer-contact-icon {
  color: var(--color-accent);
  flex-shrink: 0;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.footer-col--contact .footer-contact-item:hover .footer-contact-icon { opacity: 1; }
.footer-col--contact a,
.footer-col--contact span {
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: rgba(255,255,255,0.45);
  transition: color 0.18s;
  padding: 0;
}
.footer-col--contact a:hover {
  color: var(--color-accent);
  padding-left: 0;
}
.footer-col--contact a::before { display: none; }

/* ── Bottom bar ── */
.footer-bottom {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.18);
  line-height: 1;
}
.footer-bottom p a {
  color: rgba(255,255,255,0.3);
  transition: color 0.15s;
}
.footer-bottom p a:hover { color: var(--color-accent); }

.footer-bottom-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer-bottom-links a {
  font-size: 11px;
  color: rgba(255,255,255,0.18);
  text-decoration: none;
  transition: color 0.15s;
  position: relative;
}
.footer-bottom-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.2s var(--ease-out);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.55); }
.footer-bottom-links a:hover::after { transform: scaleX(1); }

/* ── Responsive ── */
@media (max-width: 960px) {
  .footer-cta-inner {
    grid-template-columns: 1fr;
    gap: var(--space-7);
    padding: 64px 0;
  }
  .footer-cta-actions { flex-direction: row; min-width: auto; flex-wrap: wrap; }
  .footer-inner { grid-template-columns: 1fr; gap: 56px; padding: 64px 0 56px; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .container { padding-left: 20px; padding-right: 20px; }
  /* Smanji section padding na mobilnom */
  .section { padding-top: 56px; padding-bottom: 56px; }
  /* CTA sekcija */
  .footer-cta-inner { padding: 48px 20px; gap: var(--space-6); }
  .footer-cta-title { font-size: clamp(1.8rem, 8vw, 2.4rem); margin-bottom: var(--space-3); }
  .footer-cta-desc { font-size: 14px; }
  .footer-cta-actions {
    flex-direction: column;
    gap: var(--space-3);
    width: 100%;
  }
  .footer-cta-btn-primary,
  .footer-cta-btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
    font-size: 11px;
  }

  /* Footer brand */
  .footer-inner { gap: 40px; padding: 48px 20px 40px; }
  .footer-brand { gap: var(--space-4); }
  .footer-brand-logo img { height: 36px; }
  .footer-brand-tagline { font-size: 1.3rem; line-height: 1.2; }
  .footer-brand p { font-size: 13px; line-height: 1.75; max-width: 100%; }
  .footer-social a { width: 34px; height: 34px; }

  /* Footer nav */
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-col-title { font-size: 9px; margin-bottom: var(--space-3); }
  .footer-col ul { gap: var(--space-2); }
  .footer-col a { font-size: 13px; }

  /* Footer contact */
  .footer-col--contact .footer-contact-item { padding: var(--space-3) 0; }

  /* Footer bottom */
  .footer-bottom { padding: var(--space-5) 0; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-bottom p { font-size: 11px; }
  .footer-bottom-links { gap: 14px; }
  .footer-bottom-links a { font-size: 11px; }
}

@media (max-width: 400px) {
  .footer-nav { grid-template-columns: 1fr; gap: 32px; }
  .footer-cta-title { font-size: 1.7rem; }
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(to right, var(--color-accent), rgba(124,205,221,0.5));
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(7,26,40,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(124,205,221,0.25);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s, box-shadow 0.2s;
  pointer-events: none;
}
#back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-to-top:hover {
  border-color: rgba(124,205,221,0.55);
  box-shadow: 0 0 16px rgba(124,205,221,0.2);
}
#back-to-top svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   CURSOR EFEKAT
   ============================================================ */
#cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,205,221,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

/* ============================================================
   ACTIVE NAV LINK — pojačan indikator
   ============================================================ */
.nav-link--active {
  color: var(--color-accent) !important;
  position: relative;
}
.nav-link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--color-accent);
  border-radius: 2px;
  opacity: 0.7;
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(to right, var(--color-accent), rgba(124,205,221,0.5));
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(7,26,40,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(124,205,221,0.25);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s, box-shadow 0.2s;
  pointer-events: none;
}
#back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-to-top:hover {
  border-color: rgba(124,205,221,0.55);
  box-shadow: 0 0 16px rgba(124,205,221,0.2);
}
#back-to-top svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   CURSOR GLOW
   ============================================================ */
#cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,205,221,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

/* ============================================================
   ACTIVE NAV LINK
   ============================================================ */
.nav-link--active {
  color: var(--color-accent) !important;
  position: relative;
}
.nav-link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--color-accent);
  border-radius: 2px;
  opacity: 0.7;
}

/* Touch guard */
@media (hover: none) {
  #cursor-glow { display: none; }
  #back-to-top { bottom: 20px; right: 16px; }
}
