/* Enhanced Car Cards CSS - Add this to style.css or create separate file */

.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

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

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

.car-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 3px solid #f0f0f0;
}

.car-card h3 {
  margin: 20px 20px 10px;
  color: #333;
  font-size: 22px;
  font-weight: 700;
}

.car-card p {
  margin: 5px 20px;
  color: #666;
  font-size: 14px;
}

.car-card strong {
  display: block;
  margin: 15px 20px;
  font-size: 24px;
  color: #4CAF50;
  font-weight: 700;
}

.car-card .status {
  display: inline-block;
  margin: 0 20px 15px;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.car-card .status.free {
  background: #e8f5e9;
  color: #2e7d32;
}

.car-card .status.busy {
  background: #ffebee;
  color: #c62828;
}

.car-card .btn {
  margin: 0 20px 20px;
  padding: 12px;
  background: #2196F3;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s;
}

.car-card .btn:hover {
  background: #1976D2;
}

.car-card button {
  display: none; /* Hide duplicate button */
}

/* Responsive */
@media (max-width: 768px) {
  .cars-grid {
    grid-template-columns: 1fr;
    padding: 15px;
  }
  
  .car-card img {
    height: 180px;
  }
}
