/* hero-section.css */

.hero-section {
  display: flex;
  justify-content: center;
  background: #fff; /* ✅ Clean solid background */
  padding: 60px 20px;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
}

.search-box {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15); /* ✅ Stronger shadow */
  width: 320px;
  animation: fadeInLeft 0.8s ease-in-out;
}

.search-box h2 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #111;
}

.toggle-buttons {
  display: flex;
  margin-bottom: 15px;
}

.toggle-buttons .tab {
  flex: 1;
  padding: 10px;
  border: none;
  font-weight: bold;
  background: #eee;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
}

.toggle-buttons .tab.active {
  background: #cc0000;
  color: #fff;
}

.search-methods {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.search-box select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  font-size: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.search-btn {
  width: 100%;
  background: #cc0000;
  color: #fff;
  padding: 12px;
  font-weight: bold;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-btn:hover {
  background: #a00000;
}

.advanced {
  display: block;
  text-align: right;
  font-size: 12px;
  margin-top: 8px;
  text-decoration: none;
  color: #555;
}

.car-banner {
  background: #111; /* ✅ Dark background */
  color: white;
  padding: 30px;
  border-radius: 15px;
  max-width: 500px;
  animation: fadeInRight 0.8s ease-in-out;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); /* ✅ Subtle shadow */
}

.car-banner .launch {
  color: #f08080;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.car-banner h1 {
  font-size: 32px;
  margin: 10px 0;
}

.car-banner p {
  font-size: 16px;
  color: #ddd;
}

.know-more {
  color: #ff9800;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  display: inline-block;
}

.car-banner img {
  width: 100%;
  margin-top: 20px;
  border-radius: 10px;
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    background: #fff;
  }

  .car-banner {
    text-align: center;
    color: #111;
    background: #fff; /* ✅ Light background for mobile */
  }

  .car-banner h1 {
    color: #cc0000;
  }

  .car-banner img {
    border-radius: 0;
  }
}
