* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

header {
  background: #1a2b4c;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.filters {
  padding: 2rem 1rem;
  text-align: center;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filter-controls {
  margin-top: 1rem;
}

.filter-controls label {
  margin-right: 1rem;
  font-weight: 500;
}

select {
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.car-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.car-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.car-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.car-info {
  padding: 1.2rem;
}

.car-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #1a2b4c;
}

.car-details {
  display: flex;
  justify-content: space-between;
  margin: 0.8rem 0;
  font-size: 0.95rem;
  color: #555;
}

.price {
  font-size: 1.5rem;
  font-weight: 600;
  color: #e63946;
}

.car-desc {
  margin: 1rem 0;
  font-size: 0.95rem;
  color: #666;
}

.btn-group {
  display: flex;
  gap: 1rem;
}

.btn {
  flex: 1;
  padding: 0.8rem;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}

.btn-primary {
  background: #1a2b4c;
  color: white;
}

.btn-secondary {
  background: #457b9d;
  color: white;
}

footer {
  background: #1a2b4c;
  color: white;
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
}

/* Mobile responsive */
@media (max-width: 600px) {
  .car-grid {
    grid-template-columns: 1fr;
  }
  header h1 {
    font-size: 2rem;
  }
}
