/* =========================================================
   HERO CSS – SMART TRANSPORT
   Isolated hero slider & price check styles
========================================================= */

/* =========================
   HERO SLIDER
========================= */

.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 25, 0.78);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero-content .lead {
  font-size: 1.15rem;
  color: var(--muted);
}

/* =========================
   PRICE CHECK BOX
========================= */

.price-check-box {
  background: rgba(31, 41, 55, 0.92);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px;
}

.price-check-box h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.price-check-box label {
  font-size: 0.85rem;
  color: var(--muted);
}

.price-check-box .form-control {
  background: #0f172a;
  border: 1px solid var(--border);
  color: var(--text);
}

.price-check-box .form-control:focus {
  border-color: var(--accent);
  box-shadow: none;
}

/* =========================
   HERO RESPONSIVE
========================= */

@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 575px) {
  .hero-slider {
    height: auto;
    min-height: 100vh;
  }

  .price-check-box {
    margin-top: 30px;
  }
}
