/* ====== Naša putovanja – stranični stil (koristi varijable iz styles.css) ====== */

/* HERO */
.hero--travels {
  position: relative;
  min-height: 40vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
}
.hero--travels .hero__slider {
  position: absolute; inset: 0;
}
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.05);
  transition: opacity .8s ease, transform 1.6s ease;
  filter: brightness(.62);
}
.hero__slide.is-active {
  opacity: 1; transform: scale(1);
}
.hero--travels .hero__content {
  position: relative; z-index: 1; color: #fff; text-align: center;
}
.hero--travels h1 {
  font-family: Sora, Inter;
  font-size: clamp(28px, 4vw, 52px);
  margin: 0 0 8px;
}
.hero--travels p { margin: 0; opacity: .95 }

/* FILTER */
.filter { background: var(--bg); padding: 18px 0; border-top: 4px solid var(--burgundy); border-bottom: 1px solid #e4eaf5 }
.filter__row {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end;
}
.filter__field label { display:block; font-weight: 600; margin-bottom: 6px; color: var(--blue-900) }
.filter__field select {
  width: 100%; padding: 12px; border: 1px solid #d7e0ee; border-radius: 12px; background: #fff; font-size: 16px;
}
.filter__field--btn { align-self: end }

/* TRIPS GRID */
.trips { background: #fff; padding: 30px 0 48px }
.trips__grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr) }

.trip {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.trip__media {
  width: 100%; height: 220px; background-size: cover; background-position: center;
  transition: transform .25s ease;
}
.trip__body { padding: 18px; display: grid; gap: 8px }
.trip__body h3 { margin: 0; color: var(--blue-900); font-family: Sora, Inter }
.trip__body p { margin: 0; color: var(--muted) }
.trip:hover .trip__media { transform: scale(1.03) }

/* NEWSLETTER – reuse kao na ostalim stranicama */
.newsletter {
  background: linear-gradient(90deg, var(--burgundy), var(--blue-900));
  color: #fff; padding: 28px 0; margin-top: 8px;
}
.newsletter__wrap {
  display: grid; gap: 16px; grid-template-columns: 1.2fr 1fr; align-items: center;
}
.newsletter__copy h2 { margin: 0 0 6px; font-family: Sora, Inter }
.newsletter__copy p { margin: 0; opacity: .95 }
.newsletter__form { display: grid; grid-template-columns: 1fr auto; gap: 10px }
.newsletter__form input {
  width: 100%; padding: 12px; border-radius: 12px; border: 2px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1); color: #fff;
}
.newsletter__form input::placeholder { color: #e9f0ff }

/* RESPONSIVE */
@media (max-width: 1024px){
  .filter__row { grid-template-columns: 1fr 1fr }
  .trips__grid { grid-template-columns: repeat(2, 1fr) }
  .newsletter__wrap { grid-template-columns: 1fr }
}
@media (max-width: 720px){
  .hero--travels { min-height: 32vh }
  .filter__row { grid-template-columns: 1fr; gap: 10px }
  .trips__grid { grid-template-columns: 1fr }
}

/* A11y util */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
