/* ====== Contact – stranični stil (koristi varijable iz styles.css) ====== */

/* HERO */
.hero--contact {
  position: relative;
  min-height: 32vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
}
.hero--contact .hero__bg {
  position: absolute; inset: 0;
  background: url('slike/vozac.jpg') center/cover no-repeat; /* promeni fotku po želji */
  filter: brightness(.62);
}
.hero--contact .hero__content { position: relative; z-index: 1; color: #fff; text-align: center }
.hero--contact h1 {
  font-family: Sora, Inter; font-size: clamp(28px, 4vw, 48px); margin: 0 0 8px;
}
.hero--contact p { margin: 0; opacity: .95 }

/* CONTACT GRID */
.contact { background: #fff; padding: 36px 0 }
.contact__grid {
  display: grid; gap: 24px; grid-template-columns: 1fr 1.2fr; align-items: start;
}

/* Info kartice */
.contact__info { display: grid; gap: 12px }
.info-card {
  display: grid; grid-template-columns: 40px 1fr; gap: 12px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px;
}
.info-card i { font-size: 20px; color: var(--blue-900); align-self: start }
.info-card h3 {
  margin: 0 0 4px; color: var(--blue-900); font-family: Sora, Inter; font-size: 18px;
}
.info-card p, .info-card a { margin: 0; color: var(--muted); text-decoration: none }

/* Forma */
.contact__form {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px;
}
.contact__form h2 {
  font-family: Sora, Inter; margin: 0 0 6px; color: var(--blue-900);
}
.form-lead { margin: 0 0 14px; color: var(--muted) }

.form { display: grid; gap: 12px }
.field { display: grid; gap: 6px }
.field label { font-weight: 600; color: var(--blue-900) }
.field input,
.field select,
.field textarea {
  width: 100%; padding: 12px; border: 1px solid #d7e0ee; border-radius: 12px; background: #fff; font-size: 16px;
}
.field textarea { resize: vertical }
.err { color: #b42318; font-size: 13px; min-height: 16px }

.actions {
  display: grid; gap: 8px; align-items: center;
}
.form-note { color: var(--muted); font-size: 13px; margin: 0 }

/* MAP */
.map { background: linear-gradient(180deg,#fff,#fafbff); padding: 26px 0 }
.map__frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 16/9; background: #e9eef9;
}
.map__frame iframe { width: 100%; height: 100%; border: 0 }

/* NEWSLETTER (reuse iz about.css, ali dodajemo radi izolacije) */
.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){
  .contact__grid { grid-template-columns: 1fr }
  .newsletter__wrap { grid-template-columns: 1fr }
}
@media (max-width: 720px){
  .hero--contact { min-height: 28vh }
}

/* 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;
}
