/* ===== Vozni park – stranični stil (koristi var iz styles.css) ===== */

/* Utility container (ako već nemaš .container u styles.css, slobodno ukloni ovo) */
.container { max-width: 1200px; margin-inline: auto; padding-inline: 16px }

/* HERO */
.hero--fleet {
  position: relative;
  min-height: 42vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
}
.hero--fleet .hero__bg {
  position: absolute; inset: 0;
  background: var(--blue-900) center/cover no-repeat;
  filter: brightness(.55);
}
.hero--fleet .hero__content { position: relative; z-index: 1; color: #fff; text-align: center }
.hero--fleet h1 {
  font-family: Sora, Inter; font-size: clamp(32px, 4vw, 54px); margin: 0 0 8px;
}
.hero--fleet p { margin: 0 0 16px; opacity: .95 }
.hero__cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; font-weight: 600; text-decoration: none; transition: .2s ease }
.btn--primary { background: var(--burgundy); color: #fff; box-shadow: var(--shadow) }
.btn--primary:hover { filter: brightness(1.05) }
.btn--ghost { border: 2px solid rgba(255,255,255,.7); color: #fff }
.btn--ghost:hover { background: rgba(255,255,255,.12) }

/* INFO TRAKA */
.fleet-info { background: #fff; border-top: 1px solid rgba(0,0,0,.06); }
.fleet-info__grid {
  display: grid; gap: 12px; grid-template-columns: repeat(4,1fr);
  padding: 16px 0;
}
.fi { display: flex; align-items: center; gap: 10px; color: var(--blue-900); font-weight: 600; }
.fi i { font-size: 18px; color: var(--burgundy) }

/* SEKCIJE */
.section-title {
  font-family: Sora, Inter; font-size: 28px; color: var(--blue-900);
  text-align: center; margin: 22px 0 6px;
}
.section-lead { text-align: center; color: var(--muted); margin: 0 0 18px }

/* KARTICE – KATEGORIJE */
.fleet-cats { background: linear-gradient(180deg,#fff,#fafbff) }
.cards {
  display: grid; gap: 18px; grid-template-columns: 1.2fr 1fr 1fr; /* prva veća */
  align-items: stretch; padding: 10px 0 26px;
}
.card {
  position: relative; display: grid; align-content: end; min-height: 260px; border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; background: #000;
  box-shadow: var(--shadow); isolation: isolate;
}
.card--lg { min-height: 340px }
.card__bg {
  position: absolute; inset: 0; background: center/cover no-repeat;
  transition: transform .45s ease, filter .3s ease; filter: brightness(.82) saturate(1.05);
}
.card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.5) 100%);
  z-index: 0;
}
.card__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(255,255,255,.9); color: var(--blue-900);
  border-radius: 999px; padding: 6px 10px; font-weight: 700; font-size: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}
.card__body {
  position: relative; z-index: 2; color: #fff; padding: 18px;
  display: grid; gap: 6px;
}
.card__body h3 { margin: 0; font-family: Sora, Inter; font-size: 22px }
.card__body p { margin: 0; opacity: .95 }
.card__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; opacity: .95 }
.card:hover .card__bg { transform: scale(1.06); filter: brightness(.92) }

/* BENEFITI */
.benefits { background: #fff; padding: 22px 0 34px }
.benefits__grid {
  display: grid; gap: 14px; grid-template-columns: repeat(3,1fr);
}
.benefit {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px; text-align: center; display: grid; gap: 8px;
}
.benefit i { font-size: 30px; color: var(--burgundy) }
.benefit h3 { margin: 0; color: var(--blue-900); font-family: Sora, Inter }
.benefit p { margin: 0; color: var(--muted) }

/* CTA TRAKA */
.cta { background: linear-gradient(90deg, var(--burgundy), var(--blue-900)); color: #fff; }
.cta__wrap {
  display: grid; gap: 16px; grid-template-columns: 1.3fr auto; align-items: center; padding: 26px 0;
}
.cta__text h3 { margin: 0 0 6px; font-family: Sora, Inter }
.cta__text p { margin: 0; opacity: .95 }
.cta__actions { display: flex; gap: 10px; flex-wrap: wrap }
.cta .btn--ghost { border-color: rgba(255,255,255,.7) }

/* RESPONSIVE */
@media (max-width: 1024px){
  .fleet-info__grid { grid-template-columns: repeat(2,1fr) }
  .cards { grid-template-columns: 1fr 1fr }
  .card--lg { min-height: 300px }
}
@media (max-width: 720px){
  .hero--fleet { min-height: 34vh }
  .fleet-info__grid { grid-template-columns: 1fr }
  .cards { grid-template-columns: 1fr }
  .benefits__grid { grid-template-columns: 1fr }
  .cta__wrap { grid-template-columns: 1fr }
}

/* A11y / reduced motion */
@media (prefers-reduced-motion: reduce) {
  .card__bg { transition: none }
}

/* Ako u styles.css nemaš varijable, možeš privremeno dodati fallback boje:
:root{
  --blue-900: #0b2a5b;
  --burgundy: #8c1c32;
  --muted: #55657a;
  --radius: 16px;
  --shadow: 0 10px 24px rgba(10, 22, 50, .08);
}
*/

/* U voznipark.css (nije “gaženje” globalnog, već namerna lokalna stilizacija) */
.fleet-cats .card__body h2,
.fleet-cats .card__body h3 { color: #7e1f2a; } /* ili tvoja boja */
.fleet-cats .card__body p { color: #ffffff; } /* ili tvoja boja */

