/* Custom styles for Auto Trader Connect */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.navbar-brand {
  font-weight: bold;
}

footer {
  margin-top: auto;
}

/* Vehicle card styles */
.vehicle-card {
  transition: transform 0.3s ease;
  height: 100%;
}

.vehicle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.vehicle-image {
  height: 200px;
  object-fit: cover;
  width: 100%;
  background-color: #f8f9fa;
}

.vehicle-price {
  font-size: 1.25rem;
  font-weight: bold;
  color: #dc3545;
}

.vehicle-specs {
  font-size: 0.9rem;
  color: #6c757d;
}

.vehicle-title {
  font-weight: bold;
  height: 48px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Manufacturer list styles */
.manufacturer-link {
  display: block;
  padding: 1rem;
  text-decoration: none;
  color: #212529;
  border-radius: 0.25rem;
  transition: background-color 0.3s ease;
}

.manufacturer-link:hover {
  background-color: #f8f9fa;
}

.manufacturer-count {
  font-weight: bold;
  color: #0d6efd;
}

/* Vehicle details page */
.vehicle-image-gallery {
  margin-bottom: 20px;
}

.vehicle-main-image {
  height: 400px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 10px;
}

.thumbnail-image {
  height: 80px;
  width: 100%;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.thumbnail-image:hover,
.thumbnail-image.active {
  opacity: 1;
}

.vehicle-info {
  border-left: 4px solid #0d6efd;
  padding-left: 15px;
}

.vehicle-detail-label {
  font-weight: bold;
  color: #6c757d;
}

.vehicle-features {
  column-count: 2;
}

@media (max-width: 768px) {
  .vehicle-features {
    column-count: 1;
  }
  
  .vehicle-main-image {
    height: 250px;
  }
}

/* Contact dealer section */
.dealer-info {
  background-color: #f8f9fa;
  border-radius: 0.25rem;
  padding: 1.5rem;
}

.dealer-name {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.dealer-contact {
  margin-bottom: 0.25rem;
}
