:root {
  color-scheme: light dark;

  /* Akcent */
  --red: #059669;
  --red-dark: #047857;

  /* Antracit skala (izvedena iz RAL 7016) */
  --n-950: #14171a;
  --n-900: #1f2529;
  --n-800: #2a3136;
  --n-700: #373f43;
  --n-500: #5d666b;
  --n-300: #c6cccf;
  --n-200: #dde2e4;
  --n-100: #f3f1eb;
  --n-50:  #faf9f6;

  /* Semantički aliasi */
  --dark: var(--n-900);
  --gray: var(--n-500);
  --light: var(--n-50);
  --white: #ffffff;

  /* Tipografija */
  --font-body: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --font-tech: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  /* Skala - 7 stepenica umjesto 24 nasumicne velicine */
  --fs-xs: 0.78rem;
  --fs-sm: 0.88rem;
  --fs-md: 0.95rem;
  --fs-base: 1.02rem;
  --fs-lg: 1.2rem;
  --fs-xl: 1.9rem;
  --fs-2xl: clamp(1.8rem, 3vw, 2.3rem);
  --fs-3xl: clamp(2.4rem, 5vw, 3.5rem);

  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 26, 28, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 26, 28, 0.14);
  --transition: all 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.usluge-cards .reveal:nth-child(1) { transition-delay: 0s; }
.usluge-cards .reveal:nth-child(2) { transition-delay: 0.15s; }
.usluge-cards .reveal:nth-child(3) { transition-delay: 0.3s; }
.usluge-cards .reveal:nth-child(4) { transition-delay: 0.45s; }

/* SCROLL PROGRESS INDICATOR */
.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff4d5e, var(--red-dark));
  width: 0%;
  z-index: 105;
  box-shadow: 0 0 10px rgba(5, 150, 105, 0.8), 0 0 4px rgba(5, 150, 105, 0.5);
  transition: width 0.1s ease-out;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
  position: relative;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(5, 150, 105, 0.55), 0 0 20px rgba(5, 150, 105, 0.25);
}
.btn--outline {
  background: transparent;
  border: 2px solid var(--red);
  color: var(--red);
}
.btn--outline:hover { background: var(--red); color: var(--white); }
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--full { width: 100%; justify-content: center; }
.icon { width: 20px; height: 20px; }

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  /* Providno "staklo" preko hero videa - ne potpuno nevidljivo */
  background: rgba(20, 23, 26, 0.22);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(20, 23, 26, 0.08);
  box-shadow: 0 4px 24px rgba(20, 26, 28, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo__img {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.25s ease;
}
.logo:hover .logo__img { transform: scale(1.05); }
.logo__text { font-size: 1.25rem; font-weight: 800; color: var(--white); transition: var(--transition); letter-spacing: -0.5px; }
.logo__text strong { color: var(--red); }
.header.scrolled .logo__text { color: var(--dark); }

.nav { display: flex; gap: 32px; }
.nav__link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--white);
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}
.header.scrolled .nav__link { color: var(--dark); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: var(--transition);
}
.nav__link:hover { color: var(--red); }
.nav__link:hover::after { width: 100%; }
.nav__link.active { color: var(--red); }
.nav__link.active::after { width: 100%; }

/* nav dropdown on mobile always has a solid background, so its links stay dark regardless of header state */
.nav.active .nav__link { color: var(--dark); }

.header__actions { display: flex; align-items: center; gap: 16px; }

.header__social { display: flex; align-items: center; gap: 14px; }
.header__social a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  transition: var(--transition);
}
.header.scrolled .header__social a { color: var(--gray); }
.header__social a:hover { color: var(--white); background: var(--red); }
.header__social .icon { width: 18px; height: 18px; }

.header__actions .btn--outline {
  border-color: var(--white);
  color: var(--white);
}
.header__actions .btn--outline:hover { background: var(--white); color: var(--red); }
.header.scrolled .header__actions .btn--outline {
  border-color: var(--red);
  color: var(--red);
}
.header.scrolled .header__actions .btn--outline:hover { background: var(--red); color: var(--white); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span { width: 26px; height: 3px; background: var(--white); border-radius: 3px; transition: var(--transition); }
.header.scrolled .burger span { background: var(--dark); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 70px 0;
  overflow: hidden;
  background: #2a2f36;
}

/* Rotirajuće hero slike */
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.4s ease, transform 9s ease-out;
}
.hero__slide.is-active {
  opacity: 1;
  transform: scale(1.07);
}

/* Indikatori ispod hero sekcije */
.hero__dots {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero__dot {
  width: 32px;
  height: 4px;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.hero__dot:hover { background: rgba(255, 255, 255, 0.6); }
.hero__dot.is-active { background: var(--red); width: 46px; }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 22, 26, 0.9) 0%, rgba(55, 63, 67, 0.75) 35%, rgba(55, 63, 67, 0.4) 65%, rgba(55, 63, 67, 0.25) 100%);
  z-index: 1;
}
.hero .container {
  max-width: 100%;
  padding-left: clamp(24px, 6vw, 90px);
  padding-right: clamp(24px, 6vw, 90px);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero__text { max-width: 680px; }
.hero h1 {
  font-size: var(--fs-3xl);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--white);
  text-wrap: balance;
}
.hero h1 span { color: var(--red); }
.hero__text p { color: var(--n-200); font-size: var(--fs-base); margin: 0 0 30px; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 16px; }

.hero__actions .btn--primary {
  background: var(--red);
  border: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
.hero__actions .btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-top: 28px;
}
.hero__trust-badge {
  font-family: var(--font-tech);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transition: transform 0.25s ease, background 0.25s ease;
}
.hero__trust-badge:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}
.hero__check-icon {
  width: 18px;
  height: 18px;
  color: #10b981; /* Emerald green checkmark */
  filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.4));
  flex-shrink: 0;
}

/* SECTION TITLES */
.section-title {
  font-size: var(--fs-2xl);
  letter-spacing: -0.01em;
  text-wrap: balance;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
.section-title span {
  color: var(--red);
}
.section-title--left { text-align: left; }
.section-sub {
  text-align: center;
  color: var(--gray);
  margin-bottom: 48px;
}
.onama .section-sub { text-align: left; }

/* USLUGE */
.usluge { padding: 90px 0; background: var(--light); }
.usluge__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: 36px;
  align-items: stretch;
}

/* Lijevi tamni panel */
.usluge__intro {
  position: relative;
  overflow: hidden;
  background-color: #1c2027;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M2 16V2H16' fill='none' stroke='rgba(5, 150, 105,0.55)' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 2H30V16' fill='none' stroke='rgba(5, 150, 105,0.55)' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M2 16V30H16' fill='none' stroke='rgba(5, 150, 105,0.55)' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M30 16V30H16' fill='none' stroke='rgba(5, 150, 105,0.55)' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #262b36, #14161c);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-position: 22px 22px, calc(100% - 22px) 22px, 22px calc(100% - 22px), calc(100% - 22px) calc(100% - 22px), 0 0;
  background-size: 34px 34px, 34px 34px, 34px 34px, 34px 34px, cover;
  border-radius: 22px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
/* Horizontalne lamele - kao roletna na pola spuštanja, blijedi ka dnu */
.usluge__intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0px, rgba(255, 255, 255, 0.07) 2px, transparent 2px, transparent 11px);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 85%);
  mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 85%);
  pointer-events: none;
}
.usluge__collage {
  position: relative;
  height: 170px;
  margin-bottom: 26px;
}
.usluge__collage-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.usluge__collage-overlap {
  position: absolute;
  width: 48%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  right: -10px;
  bottom: -22px;
  border-radius: 12px;
  border: 4px solid #1a1c22;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}
.usluge__eyebrow {
  font-family: var(--font-tech);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 14px;
}
.usluge__intro h2 {
  color: var(--white);
  font-size: var(--fs-xl);
  letter-spacing: -0.01em;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.usluge__intro p {
  color: var(--n-300);
  line-height: 1.65;
  margin-bottom: 26px;
}
.usluge__intro .btn { align-self: flex-start; margin-top: auto; }

.usluge-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.usluge-card {
  background: var(--white);
  border: 1px solid var(--n-100);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.usluge-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09); border-color: var(--red); }

/* Vizuelna kartica sa fotografijom u vrhu */
.usluge-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1c2027;
}
.usluge-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.usluge-card:hover .usluge-card__media img {
  transform: scale(1.08);
}
.usluge-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(20, 22, 26, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-family: var(--font-tech);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.usluge-card__body {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.usluge-card h3 { font-size: 1.22rem; font-weight: 800; margin-bottom: 8px; color: var(--dark); }
.usluge-card p { color: var(--gray); font-size: 0.92rem; line-height: 1.55; margin-bottom: 16px; }
.usluge-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.usluge-card__tags span {
  font-family: var(--font-tech);
  background: var(--n-100);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
}

.usluge-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--red);
  border-top: 1px solid var(--n-100);
  padding-top: 16px;
  margin-top: auto;
  width: 100%;
  text-decoration: none;
  transition: var(--transition);
}
.usluge-card__link:hover { color: var(--red-dark); gap: 10px; }

.btn--outline-light {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn--outline-light:hover { background: var(--white); color: var(--dark); }
.btn--outline-light {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn--outline-light:hover { background: var(--white); color: var(--red); }

/* MATERIJALI */
.materijali {
  padding: 130px 0;
  background-image:
    linear-gradient(rgba(20, 22, 26, 0.5), rgba(20, 22, 26, 0.5)),
    linear-gradient(rgba(5, 150, 105, 0.9), rgba(5, 150, 105, 0.9)),
    url("../images/materijali.png");
  background-blend-mode: normal, color, normal;
  background-size: cover;
  background-position: center;
}
.materijali .section-title { color: var(--white); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); }
.materijali__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.materijali__image {
  position: relative;
  display: inline-block;
  max-width: 520px;
  margin: 0 auto;
}

/* INTERACTIVE HOTSPOTS FOR PVC PROFILE */
.hotspot-container {
  position: relative;
}
.hotspot {
  position: absolute;
  z-index: 10;
}
.hotspot__btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  border: 2.5px solid var(--white);
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.75);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseHotspot 2s infinite;
  transition: transform 0.25s ease, background-color 0.25s ease;
  outline: none;
}
.hotspot__btn:hover,
.hotspot.is-active .hotspot__btn {
  transform: scale(1.25);
  background: var(--red-dark);
}
.hotspot__dot {
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
}
@keyframes pulseHotspot {
  0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.8); }
  70% { box-shadow: 0 0 0 14px rgba(5, 150, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.hotspot__tooltip {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 220px;
  padding: 12px 15px;
  background: rgba(20, 23, 26, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(5, 150, 105, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 25;
}
.hotspot__tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(20, 23, 26, 0.94) transparent transparent transparent;
}
.hotspot:hover .hotspot__tooltip,
.hotspot.is-active .hotspot__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.hotspot__tag {
  font-family: var(--font-tech);
  font-size: 0.65rem;
  font-weight: 700;
  color: #ff4d5e;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
  margin-bottom: 2px;
}
.hotspot__tooltip h5 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--white);
}
.hotspot__tooltip p {
  font-size: 0.78rem !important;
  color: #dcdcdc !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  text-shadow: none !important;
}
.materijali-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(31, 37, 41, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 3;
  letter-spacing: 0.3px;
  transition: transform 0.3s ease;
}
.materijali__image:hover .materijali-badge {
  transform: translateY(-3px) scale(1.05);
}
.materijali__image img {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 30px rgba(5, 150, 105,0.2);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: block;
}
.materijali__image:hover img {
  transform: scale(1.03) rotate(0.6deg);
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.5), 0 0 40px rgba(220, 38, 38, 0.3);
}
.materijali__text p { color: #f5f3f3; margin-bottom: 24px; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3); }

.materijali__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.feature-item__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-item__icon svg { width: 20px; height: 20px; }
.feature-item__icon--red { background: rgba(5, 150, 105, 0.1); color: var(--red); }
.feature-item__icon--blue { background: rgba(5, 150, 105, 0.1); color: var(--red); }
.feature-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
}
.feature-item p {
  margin: 0 !important;
  font-size: 0.8rem !important;
  color: var(--n-500) !important;
  text-shadow: none !important;
}

/* BRENDOVI PROFILA */
.brendovi {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.brendovi__label {
  font-family: var(--font-tech);
  display: block;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 14px;
}
.brendovi__list { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
.brend-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.brend-origin {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}
.brend {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}
.brend img {
  height: 58px;
  width: auto;
  display: block;
}
.brend:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35); }

/* Salamander fajl je širi (nosi i ilustraciju profila desno) -
   isijecamo samo lijevi dio sa logom, da tegla bude uporediva sa Decco. */
.brend--salamander {
  width: 118px;
  height: 58px;
  background: #ffffff;
}
.brend--salamander img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

/* GALERIJA */
.galerija { padding: 90px 0; background: var(--light); }

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 50px;
  border: 2px solid var(--n-200);
  background: var(--white);
  color: var(--gray);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-btn:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(224, 46, 36, 0.28);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* HORIZONTALNI TRAK ZA GALERIJU NA POČETNOJ */
.gallery-strip-wrap { position: relative; }
.gallery-strip-wrap::before,
.gallery-strip-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  z-index: 2;
  pointer-events: none;
}
.gallery-strip-wrap::before { left: 0; background: linear-gradient(to right, var(--light), transparent); }
.gallery-strip-wrap::after { right: 0; background: linear-gradient(to left, var(--light), transparent); }

.gallery-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 4px 2px 12px;
}
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-strip .gallery-item {
  flex: 0 0 300px;
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
}

.gallery-strip__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--dark);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: var(--transition);
}
.gallery-strip__nav svg { width: 20px; height: 20px; }
.gallery-strip__nav:hover { background: var(--red); color: var(--white); }
.gallery-strip__prev { left: -8px; }
.gallery-strip__next { right: -8px; }

@media (max-width: 600px) {
  .gallery-strip__nav { display: none; }
  .gallery-strip .gallery-item { flex-basis: 240px; }
}

@media (max-width: 992px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.gallery-item.hidden {
  display: none !important;
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Overlay gradient */
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 37, 41, 0.85) 0%, rgba(31, 37, 41, 0.3) 55%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}
.gallery-item:hover::before {
  opacity: 1;
}

/* Center Zoom Icon 🔍 */
.gallery-item::after {
  content: '🔍';
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.gallery-item:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Bottom Label with Category Badge */
.gallery-item-info {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.35s ease;
  pointer-events: none;
}
.gallery-item:hover .gallery-item-info {
  opacity: 1;
  transform: translateY(0);
}
.gallery-item-badge {
  font-family: var(--font-tech);
  display: inline-block;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.4);
}
.gallery-item-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  margin-top: 5px;
}

.gallery-cta {
  text-align: center;
  margin-top: 40px;
}
.btn--lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(31, 37, 41, 0.94);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox.active { display: flex; }
.lightbox__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox__counter {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox__img {
  max-width: 88vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  user-select: none;
}
.lightbox__caption {
  margin-top: 14px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 20px;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 6px;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

@media (max-width: 600px) {
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
  .lightbox__close { top: 10px; right: 14px; }
}

/* KAKO RADIMO */
.proces { padding: 90px 0; background: var(--white); }
.proces__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.proces-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--n-100);
  border-radius: 18px;
  padding: 32px 26px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.proces-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--n-200); }
.proces-step__num {
  font-family: var(--font-tech);
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--n-100);
  line-height: 1;
}
.proces-step__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(5, 150, 105, 0.08);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.proces-step__icon svg { width: 23px; height: 23px; }
.proces-step h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; }
.proces-step p { color: var(--gray); font-size: 0.94rem; }

.proces__grid .reveal:nth-child(1) { transition-delay: 0s; }
.proces__grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.proces__grid .reveal:nth-child(3) { transition-delay: 0.24s; }
.proces__grid .reveal:nth-child(4) { transition-delay: 0.36s; }

/* O NAMA */
.onama {
  position: relative;
  padding: 90px 0 70px;
  /* ista antracit osnova kao sekcija "Gdje radimo" */
  background: linear-gradient(160deg, var(--n-800), var(--n-950));
  overflow: hidden;
}
/* nacrt kao suptilna tekstura - obezbojen da ne unosi plavu nijansu */
.onama::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/onama.png") center / cover no-repeat;
  filter: grayscale(1);
  opacity: 0.12;
  pointer-events: none;
}
.onama > .container { position: relative; z-index: 1; }
.onama__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}
.onama__image {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  max-width: 440px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.onama__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.onama__image:hover img { transform: scale(1.04); }
.onama .section-title { color: var(--white); }
.onama__text p { color: var(--n-300); margin-bottom: 16px; font-size: 1.02rem; line-height: 1.7; }

/* STATS (inside O nama) */
.stats__inner {
  text-align: center;
  padding-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  padding: 26px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.stat:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--red);
  box-shadow: 0 16px 32px rgba(220, 38, 38, 0.28);
}
.stat__num {
  font-family: var(--font-tech);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}
.stat:hover .stat__num {
  color: #ff8080;
}
.stat__label { color: var(--n-300); font-size: var(--fs-md); font-weight: 600; }
.stats__text {
  color: var(--n-300);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* MODERAN PROFILNI OKVIR SA KARTICAMA (CONTACT CARD FRAME) */
.kontakt { padding: 90px 0; background: var(--n-50); }

.pvc-window-frame {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--n-200);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(31, 37, 41, 0.08);
  padding: 8px;
  max-width: 1040px;
  margin: 0 auto;
  transition: all 0.35s ease;
}

.pvc-window-frame:hover {
  box-shadow: 0 25px 60px rgba(31, 37, 41, 0.12);
  border-color: var(--n-300);
}

.pvc-window-header {
  background: var(--n-100);
  border-radius: 14px 14px 0 0;
  padding: 12px 20px;
  text-align: center;
  border-bottom: 1px solid var(--n-200);
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--red);
  background: rgba(5, 150, 105,0.08);
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 0.2px;
}
.header-badge__icon {
  width: 16px;
  height: 16px;
  color: var(--red);
  flex-shrink: 0;
}

.pvc-window-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
  padding: 16px;
}

/* KARTICE KRILA / KOLONA */
.pvc-window-sash {
  background: #ffffff;
  padding: 24px;
  border: 1px solid var(--n-100);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
  position: relative;
}

/* PRILAGOĐAVANJE UNUTRAŠNJIH BOKSOVA */
.kontakt__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  padding: 14px 16px;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--n-200);
  font-weight: 500;
  transition: var(--transition);
}
a.info-item:hover { transform: translateX(4px); color: var(--red); border-color: var(--n-300); }
.info-item__icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
}
.info-item__icon .icon { width: 20px; height: 20px; }
.map-full { width: 100%; height: 420px; line-height: 0; }
.map-full iframe { display: block; }

.kontakt__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.kontakt__form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
}
.kontakt__form input,
.kontakt__form textarea {
  font-family: inherit;
  padding: 12px 16px;
  border: 1.5px solid var(--n-200);
  border-radius: 10px;
  font-size: 0.95rem;
  transition: var(--transition);
  resize: vertical;
}
.kontakt__form input:focus,
.kontakt__form textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-note { font-size: 0.9rem; color: var(--red); min-height: 20px; }

/* FAQ SECTION */
.faq { padding: 90px 0; background: var(--white); }

.faq__grid {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq__item {
  border: 1.5px solid var(--n-200);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.25s ease;
}

.faq__item:hover {
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.faq__item.active {
  border-color: var(--red);
  box-shadow: 0 6px 20px rgba(5, 150, 105,0.08);
}

.faq__question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq__item.active .faq__question {
  color: var(--red);
}

.faq__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--n-100);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__item.active .faq__icon {
  background: var(--red);
  color: #ffffff;
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  padding: 0 24px;
}

.faq__item.active .faq__answer {
  max-height: 600px;
  padding: 0 24px 20px 24px;
}

.faq__answer p {
  color: var(--n-500);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* PODRUČJA RADA */
.podrucja {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(160deg, var(--n-800), var(--n-950));
}
/* Horizontalne lamele - kao roletna na pola spuštanja, jedna pozadina iza cijele sekcije */
.podrucja::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 2px, transparent 2px, transparent 12px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
  pointer-events: none;
}
.podrucja .section-title { color: var(--white); }
.podrucja .section-sub { color: var(--n-300); }
.podrucja__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.podrucje-card {
  position: relative;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.06);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M2 16V2H16' fill='none' stroke='rgba(5, 150, 105,0.55)' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 2H30V16' fill='none' stroke='rgba(5, 150, 105,0.55)' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M2 16V30H16' fill='none' stroke='rgba(5, 150, 105,0.55)' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M30 16V30H16' fill='none' stroke='rgba(5, 150, 105,0.55)' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-position: 18px 18px, calc(100% - 18px) 18px, 18px calc(100% - 18px), calc(100% - 18px) calc(100% - 18px);
  background-size: 28px 28px, 28px 28px, 28px 28px, 28px 28px;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.podrucje-card:hover {
  transform: translateY(-4px);
  background-color: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}
.podrucje-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.podrucje-card__icon svg { width: 23px; height: 23px; }
.podrucje-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; color: var(--white); }
.podrucje-card p { color: var(--n-300); font-size: 0.94rem; margin-bottom: 18px; }
.podrucje-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.podrucje-card__tags span {
  font-family: var(--font-tech);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}

/* Istaknuta kartica za inostranstvo - crveni akcent nosi naglasak */
.podrucje-card--accent {
  background-color: rgba(5, 150, 105, 0.14);
  border-color: rgba(5, 150, 105, 0.45);
  /* uglovi u bijeloj - crveni bi se izgubili na crvenoj podlozi */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M2 16V2H16' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 2H30V16' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M2 16V30H16' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M30 16V30H16' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}
.podrucje-card--accent:hover {
  background-color: rgba(5, 150, 105, 0.2);
  border-color: var(--red);
}
.podrucje-card--accent .podrucje-card__icon {
  background: var(--red);
  color: var(--white);
}
.podrucje-card--accent .podrucje-card__tags span {
  background: rgba(5, 150, 105, 0.3);
}

.podrucja__grid .reveal:nth-child(1) { transition-delay: 0s; }
.podrucja__grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.podrucja__grid .reveal:nth-child(3) { transition-delay: 0.3s; }

/* FOOTER */
.footer { background: var(--n-900); color: var(--n-300); padding: 36px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__logo { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--white); font-size: 1.1rem; }
.footer__logo img { height: 40px; width: auto; border-radius: 6px; object-fit: contain; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}
.footer__social a:hover { background: var(--red); color: var(--white); }

/* FLOATING BUTTONS */
.float-btn {
  position: fixed;
  right: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 1000;
  transition: var(--transition);
}
.float-btn:hover { transform: scale(1.08); }
.float-btn--whatsapp { bottom: 92px; background: #25d366; color: var(--white); }
.float-btn--call { bottom: 24px; background: var(--red); color: var(--white); }
.float-btn .icon { width: 26px; height: 26px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .onama__inner { grid-template-columns: 1fr; }
  .materijali__inner { grid-template-columns: 1fr; text-align: center; }
  .materijali__text .section-title--left { text-align: center; }
  .brendovi__list { justify-content: center; }
  .brend-wrap { align-items: center; }
  .onama__text { text-align: center; }
  .section-title--left { text-align: center; }
  .onama .section-sub { text-align: center; }
  .kontakt__grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .proces__grid { grid-template-columns: repeat(2, 1fr); }
  .podrucja__grid { grid-template-columns: 1fr; }
  .social-row { grid-template-columns: 1fr; }

  /* MOBILNO PRILAGOĐAVANJE KONTAKT KARTICE */
  .pvc-window-frame {
    padding: 4px;
    border-radius: 16px;
  }
  .pvc-window-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 8px;
  }
  .pvc-window-sash {
    padding: 16px;
    border-radius: 12px;
  }
  .materijali__features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .float-btn { width: 46px; height: 46px; right: 16px; }
  .float-btn--whatsapp { bottom: 76px; }
  .float-btn--call { bottom: 18px; }
  .float-btn .icon { width: 21px; height: 21px; }

  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
  }
  .nav.active { transform: translateY(0); opacity: 1; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--n-100); width: 100%; }
  .burger { display: flex; }
  .header__actions .btn--outline { display: none; }
  .usluge__grid { grid-template-columns: 1fr; }
  .usluge__intro .btn { align-self: center; }
  .usluge-cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* MOBILNA OPTIMIZACIJA HERO POZADINE */
  .hero {
    min-height: 580px;
    height: 88vh;
    padding: 95px 0 70px;
    align-items: center;
  }
  .hero__slide { background-position: center 30%; }
  .hero__slide:nth-child(1) { background-position: center 40%; }
  .hero__slide:nth-child(2) { background-position: 60% 20%; }
  .hero__dots { bottom: 26px; }
  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(20, 22, 26, 0.25) 0%,
      rgba(20, 22, 26, 0.4) 45%,
      rgba(15, 17, 20, 0.78) 100%
    );
  }
  .hero .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero__inner {
    align-items: center;
    text-align: center;
  }
  .hero__text {
    max-width: 100%;
  }
  .hero h1 {
    font-size: 2.1rem;
    line-height: 1.25;
    margin-bottom: 14px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
  }
  .hero__text p {
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0 auto 24px;
    max-width: 100%;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
  }
  .hero__actions {
    justify-content: center;
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 540px;
    height: 84vh;
    padding: 90px 0 60px;
  }
  .hero h1 {
    font-size: 1.85rem;
  }
  .usluge, .galerija, .onama, .kontakt, .proces, .podrucja { padding: 60px 0; }
  .section-title { font-size: 1.6rem; }
  .proces__grid { grid-template-columns: 1fr; }

  .pvc-window-frame {
    border: 4px solid var(--n-50);
    padding: 4px;
  }
  .pvc-window-sash {
    padding: 12px 10px;
    border-width: 2px;
  }
  .info-item {
    padding: 12px 10px;
    font-size: 0.88rem;
  }
  .kontakt__form input, .kontakt__form textarea {
    padding: 10px 12px;
  }
}

/* RECENZIJE / TESTIMONIALS SECTON */
.recenzije {
  padding: 90px 0;
  background: var(--light);
  border-top: 1px solid var(--n-100);
  border-bottom: 1px solid var(--n-100);
}
.recenzije__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 36px;
}
@media (max-width: 992px) {
  .recenzije__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .recenzije__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.recenzija-card {
  background: var(--white);
  border: 1px solid var(--n-200);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(20, 26, 28, 0.04);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
}
.recenzija-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 150, 105, 0.35);
  box-shadow: 0 18px 40px rgba(20, 26, 28, 0.08), 0 0 20px rgba(5, 150, 105, 0.08);
}
.recenzija-card__stars {
  color: #f59e0b;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.recenzija-card__text {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--dark);
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}
.recenzija-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--n-100);
  padding-top: 18px;
}
.recenzija-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}
.recenzija-card__author strong {
  display: block;
  font-size: 0.98rem;
  color: var(--dark);
}
.recenzija-card__author span {
  font-size: 0.82rem;
  color: var(--gray);
}

