:root {
  --gold: #d4af37;
  --dark: #0e0e0e;
  --silver: #c0c0c0;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: var(--dark);
  color: white;
}
a{
    color: #fff;
    text-decoration:none;
}
/* Hero */
.hero {
  background: url("images/cars.webp") center/cover no-repeat;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.hero p {
  color: var(--silver);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Filter Form (now inside hero) */
.filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(8px);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.filter-form select {
  padding: 0.8rem 1rem;
  border-radius: 5px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  min-width: 160px;
}
.filter-form select option {
  color: #1a1a1a;
}

.filter-form .btn {
  background: var(--gold);
  border: none;
  color: #000;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
  font-weight: bold;
}

.filter-form .btn:hover {
  background: #e0b84f;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .filter-form {
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
  }

  .filter-form select,
  .filter-form .btn {
    width: 100%;
  }
}


/* Car Listings */
.car-listings {
  padding: 4rem 5%;
  text-align: center;
}

.car-listings h2 {
  color: var(--gold);
  margin-bottom: 2rem;
}

.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.car-card {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.car-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.car-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.car-info {
  padding: 1rem;
}

.car-info h3 {
  margin: 0.5rem 0;
  color: var(--silver);
}

.car-info p {
  color: var(--gold);
  margin-bottom: 1rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--gold);
  color: #000;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(90deg, #111, #000);
  padding: 3rem 2rem;
  text-align: center;
}

.cta-banner h2 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--silver);
  margin-bottom: 1.5rem;
}

.cta-banner .btn {
  background: var(--gold);
  color: #000;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s;
}

.cta-banner .btn:hover {
  background: #e0b84f;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--gold);
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px var(--gold);
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

/*Location Section*/
.locations{
    padding: 4rem 5%;
    text-align: center;
    background: #0f0f0f;
}
.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 15px;
}

.location-grid ul {
  list-style: none;
  padding: 0;
}

.location-grid li {
  padding: 5px 0;
}
.location-card {
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 30px 20px;
  border-radius: 16px;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.location-card::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(212, 175, 55, 0.08);
  transition: 0.5s;
}

.location-card:hover::before {
  top: 0;
}

.location-card:hover {
  transform: translateY(-8px);
  border-color: #d4af37;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.location-card i {
  font-size: 2.8rem;
  color: #d4af37;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.location-card:hover i {
  color: #f5d76e;
}

.location-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #f0f0f0;
  text-transform: uppercase;
}

.location-card p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .location-card {
        padding: 30px 20px;
    }
}