:root {
  /* Colors */
  --main-red: #cc3838;
  --main-blue: #5b8ae1;
  --main-grey: #353535;
  --color-text-muted: #C4C4C4;
  --color-white: #FFFFFF;
  --color-border: #5A5A5A;
  --header-bg: rgba(53, 53, 53, 0.85);

  /* Typography */
  --font-family: "Geist", sans-serif;
  --fs-nav: 16px;
  --lh-nav: 24px;
  --fs-btn: 16px;
  --lh-btn: 22px;

  /* Layout */
  --container-width: 1200px;
  --header-height-desktop: 81px;
  --header-height-mobile: 64px;
  --header-padding-x-desktop: 48px;
  --header-padding-x-mobile: 24px;
  --header-padding-y-mobile: 16px;
  --nav-gap: 40px;
  --header-side-col: 160px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-letter: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Breakpoints (koristi se u media queries, ne mogu direktno u @media, ali cuvamo za referencu) */
  --breakpoint-tablet: 1023px;

  /* Hero */
  --hero-heading-color: #FFFFFF;
  --hero-heading-accent: var(--main-blue);
  --hero-body-color: #C4C4C4;
  --hero-border-btn: #5A5A5A;
  --transition-image: 0.3s ease;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  color: var(--main-grey);
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: var(--font-family);
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
}


/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   Pokrece se preko assets/js/scroll-animations.js (IntersectionObserver).
   Elementi pocinju sakriveni/pomereni, kad dobiju klasu .is-in-view animiraju
   se u finalnu poziciju.
   ========================================================================== */

[data-animate] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

[data-animate="up"] {
  transform: translateY(32px);
}

[data-animate="left"] {
  transform: translateX(-48px);
}

[data-animate="right"] {
  transform: translateX(48px);
}

[data-animate].is-in-view {
  opacity: 1;
  transform: translate(0, 0);
}

/* Blagi stagger za grupu elemenata (npr. heading, tekst, dugmici u istoj sekciji) */
[data-animate].is-in-view[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate].is-in-view[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate].is-in-view[data-animate-delay="3"] { transition-delay: 0.3s; }
