/* ============================================================
   Rainbow Sustavi — Redizajn web stranice
   Sveučilišni multimedijski projekt
   Tehnologije: HTML5, CSS3, JavaScript, Bootstrap 5
   ============================================================
   FAZA 2 — Dizajn:
   Paleta boja odabrana putem Adobe Color alata.
   Tipografija: Montserrat (naslovi) + Inter (tekst),
   odabrano kroz Figma prototip (verzija žičanog okvira v2 od 3).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&family=Inter:wght@400;500;600&display=swap');

/* ---------- CSS varijable (dizajn sustav) ---------- */
:root {
  --navy: #0B2D78;
  --blue: #1565C0;
  --sky: #0EA5E9;
  --ice: #EFF6FF;
  --midnight: #060E24;
  --white: #FFFFFF;
  --gray: #64748B;
  --amber: #F59E0B;
  --light-gray: #F8FAFC;
  --border: rgba(11, 45, 120, 0.1);
  --shadow-sm: 0 4px 16px rgba(11, 45, 120, 0.08);
  --shadow-md: 0 12px 40px rgba(11, 45, 120, 0.14);
  --shadow-lg: 0 24px 64px rgba(11, 45, 120, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 100px;
}

/* ---------- Osnovni reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray);
  background: var(--white);
  padding-top: 80px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

/* ============================================================
   LOGO
   ============================================================ */
.logo-img {
  height: 48px;
  width: auto;
  border-radius: 6px;
}

.footer-brand .logo-img {
  height: 48px;
  background: var(--white);
  padding: 4px 10px;
  border-radius: 8px;
}

/* ============================================================
   NAVBAR — glass morphism
   ============================================================ */
.navbar {
  height: 80px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--navy) !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand i {
  color: var(--sky);
}

.navbar .nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray);
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: color 0.25s ease, background 0.25s ease;
}

.navbar .nav-link:hover {
  color: var(--navy);
  background: var(--ice);
}

.navbar .nav-link.active {
  color: var(--navy);
  background: var(--ice);
  font-weight: 600;
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0EA5E9, #1565C0);
  color: var(--white) !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.45);
  color: var(--white);
}

.navbar-toggler {
  border: 1px solid var(--border);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}

@media (max-width: 991.98px) {
  .navbar {
    height: auto;
    min-height: 80px;
  }
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-top: 8px;
    box-shadow: var(--shadow-md);
  }
}

/* ============================================================
   HERO — animirani gradijent + SVG val
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  background: var(--midnight);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 140px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 50%, rgba(14, 165, 233, 0.25), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(21, 101, 192, 0.3), transparent 50%),
    linear-gradient(135deg, var(--midnight), var(--navy));
  animation: bgPulse 8s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  0% {
    background:
      radial-gradient(circle at 70% 50%, rgba(14, 165, 233, 0.25), transparent 45%),
      radial-gradient(circle at 20% 80%, rgba(21, 101, 192, 0.3), transparent 50%),
      linear-gradient(135deg, var(--midnight), var(--navy));
  }
  100% {
    background:
      radial-gradient(circle at 60% 40%, rgba(14, 165, 233, 0.3), transparent 50%),
      radial-gradient(circle at 30% 70%, rgba(21, 101, 192, 0.25), transparent 45%),
      linear-gradient(135deg, var(--midnight), #081D4E);
  }
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 90px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 165, 233, 0.2);
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: #7DD3FC;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(135deg, #7DD3FC, #38BDF8, #0EA5E9);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0EA5E9, #1565C0);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(14, 165, 233, 0.5);
  color: var(--white);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-stats {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--sky);
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-img-wrap {
  position: relative;
}

.hero-img {
  border-radius: 24px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  max-height: 480px;
  width: 100%;
  object-fit: cover;
}

/* Plutajuća kartica preko hero fotografije — ljudski dodir */
.hero-float-card {
  position: absolute;
  bottom: 24px;
  left: -28px;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-float-card .float-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #0EA5E9, #1565C0);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-float-card strong {
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  font-size: 0.95rem;
  display: block;
}

.hero-float-card small {
  color: var(--gray);
  font-size: 0.78rem;
}

/* ============================================================
   Sekcije — naslovi i pozadine
   ============================================================ */
.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.section-white {
  background: var(--white);
}

.section-ice {
  background: var(--ice);
}

.section-dark {
  background: var(--midnight);
}

.section-dark .section-title {
  color: var(--white);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

/* ============================================================
   Kartice proizvoda
   ============================================================ */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.2);
}

.card-icon-wrap {
  width: 60px;
  height: 60px;
  background: var(--ice);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
  color: var(--sky);
  transition: background 0.3s ease, color 0.3s ease;
}

.product-card:hover .card-icon-wrap {
  background: linear-gradient(135deg, #0EA5E9, #1565C0);
  color: var(--white);
}

.product-card h4,
.product-card h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--navy);
}

.product-card p {
  font-family: 'Inter', sans-serif;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sky);
  transition: color 0.25s ease, gap 0.25s ease;
}

.card-link:hover {
  color: var(--navy);
  gap: 12px;
}

.model-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

/* Slike certifikata (AHAM, Asthma & Allergy Friendly) */
.cert-img {
  height: 80px;
  width: auto;
  max-width: 45%;
  object-fit: contain;
  background: var(--white);
  border-radius: 10px;
  padding: 6px;
}

/* Fotografija na vrhu kartice proizvoda */
.card-photo {
  border-radius: 12px;
  height: 190px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 20px;
}

/* Fotografija u feature kartici (primjene) */
.feature-photo {
  border-radius: 14px;
  height: 170px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 18px;
}

/* ============================================================
   Foto kolaž — "Naša priča" i podstranice
   ============================================================ */
.story-collage {
  position: relative;
  padding-bottom: 48px;
}

.story-collage .story-main {
  width: 88%;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.story-collage .story-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  border-radius: 20px;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.story-signature {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--navy);
}

.story-signature small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--gray);
}

.product-price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--sky);
  font-size: 1.25rem;
}

/* ============================================================
   Feature kartice (Zašto Rainbow)
   ============================================================ */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, #EFF6FF, #E0F2FE);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--sky);
  transition: background 0.3s ease, color 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, #0EA5E9, #1565C0);
  color: var(--white);
}

/* ============================================================
   Testimonijali
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: var(--ice);
  line-height: 1;
  z-index: 0;
}

.testimonial-stars {
  color: var(--amber);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0EA5E9, #1565C0);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid var(--ice);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0;
}

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, #0B2D78, #1565C0, #0EA5E9);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 64px 24px;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  top: -200px;
  right: -150px;
}

.cta-banner .section-label {
  color: #7DD3FC;
}

.cta-banner h2 {
  color: var(--white);
  font-weight: 900;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  color: var(--navy);
}

/* ============================================================
   Zaglavlje podstranica
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--midnight), var(--navy));
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15), transparent 70%);
  top: -100px;
  right: -100px;
}

.page-header h1 {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.page-header .section-label {
  position: relative;
  z-index: 1;
}

.page-header p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 620px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   Slike sadržaja i icon pills
   ============================================================ */
.content-img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}

.icon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ice);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}

.icon-pill i {
  color: var(--sky);
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  line-height: 1.6;
}

.check-list li i {
  color: var(--sky);
  margin-top: 4px;
}

/* ============================================================
   Galerija + lightbox
   ============================================================ */
.gallery-item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  background: rgba(11, 45, 120, 0.6);
  color: var(--white);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 14, 36, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease;
}

.lightbox-close:hover {
  background: var(--sky);
}

/* ============================================================
   Filter gumbi (dodaci.html)
   ============================================================ */
.filter-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  margin: 4px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--sky);
  color: var(--sky);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.filter-item {
  animation: zoomIn 0.4s ease;
}

/* ============================================================
   Feature kartice s ikonom sa strane (srx-sustav.html)
   ============================================================ */
.side-feature {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.side-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.side-feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--ice);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky);
  font-size: 1.1rem;
}

.side-feature h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.side-feature p {
  font-size: 0.88rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================================================
   Video sekcija
   ============================================================ */
.video-wrap {
  max-width: 760px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   Kontakt stranica
   ============================================================ */
.info-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--ice);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky);
  font-size: 1.1rem;
}

.info-card h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.info-card p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Fotografija dobrodošlice na kontakt stranici */
.kontakt-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
}

.form-control,
.form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--navy);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #DC3545;
}

.btn-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #0EA5E9, #1565C0);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(14, 165, 233, 0.5);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* Toast poruka o uspješnom slanju */
.toast-success {
  position: fixed;
  top: 96px;
  right: 28px;
  z-index: 3000;
  background: var(--navy);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: zoomIn 0.3s ease;
}

.toast-success i {
  color: var(--sky);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--midnight);
  padding: 64px 0 24px;
  margin-top: 0;
}

.footer-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-brand i {
  color: var(--sky);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-link {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  transition: color 0.25s ease;
}

.footer-link:hover {
  color: var(--sky);
}

.footer-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-text i {
  color: var(--sky);
  width: 20px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7);
  margin-right: 8px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.social-btn:hover {
  background: var(--sky);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.08);
  margin: 40px 0 24px;
}

.footer-copy {
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* ============================================================
   Gumb "natrag na vrh"
   ============================================================ */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(11, 45, 120, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1500;
  transition: background 0.25s ease, transform 0.25s ease;
}

#backToTop:hover {
  background: var(--sky);
  transform: translateY(-4px);
}

/* ============================================================
   Scroll reveal animacije (samo transform + opacity, 60fps)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responzivni prijelomi
   ============================================================ */
@media (max-width: 1024px) {
  .hero {
    min-height: 80vh;
  }
  .hero-stats {
    gap: 24px;
  }
  .form-card {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 80px;
  }
  .hero-float-card {
    left: 12px;
    bottom: 12px;
    padding: 10px 14px;
  }
  .story-collage .story-main {
    width: 100%;
  }
  .story-collage .story-accent {
    width: 60%;
    border-width: 4px;
  }
  .logo-img {
    height: 36px;
  }
  .hero {
    min-height: auto;
    padding: 80px 0 120px;
  }
  .hero-lead {
    font-size: 1.05rem;
  }
  .hero-stats {
    gap: 20px;
    margin-top: 40px;
    padding-top: 28px;
  }
  .stat-num {
    font-size: 1.5rem;
  }
  .page-header {
    padding: 72px 0 56px;
  }
  .form-card {
    padding: 24px;
  }
  .cta-banner {
    padding: 48px 16px;
  }
  #backToTop {
    bottom: 20px;
    right: 20px;
  }
  .toast-success {
    right: 16px;
    left: 16px;
  }
}
