/* fleet.css */

/* 1) Wrapper’da yatay scroll */
.fleet-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -15px;
  padding-bottom: 1rem;
}

/* 2) Flex container */
.fleet-scroll-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem; /* kartlar arası boşluk */
}

/* 3) Grid guttersını koru */
.fleet-section .vehicle-item {
  flex: 0 0 auto;
  padding: 0 15px;
  max-width: 400px; /* Tours ile uyum için sabit genişlik */
  width: 100%;
}

/* 4) Kart stili */
.fleet-section .thumbnail {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  overflow: hidden;
}
.fleet-section .thumbnail:hover {
  transform: translateY(-5px);
}

/* 5) Resim ayarları */
.fleet-section .vehicle-img {
  width: 100%;
  height: 200px;  /* Tours ile aynı sabit yükseklik */
  object-fit: cover;
  display: block;
}

/* 6) Caption ayarları */
.fleet-section .caption {
  padding: 15px;
}
.fleet-section .caption h4 {
  margin-top: 0.5rem;
  font-weight: 600;
  color: #333;
}
.fleet-section .caption p {
  margin-bottom: 1rem;
  color: #555;
  line-height: 1.5;
}

/* 7) Mobil uyum */
@media (max-width: 767px) {
  .fleet-section .vehicle-img {
    height: 180px;
  }
  .fleet-section .vehicle-item {
    max-width: 85%;
  }
}

/* 8) Scrollbar stil (isteğe bağlı) */
.fleet-scroll-wrapper::-webkit-scrollbar {
  height: 6px;
}
.fleet-scroll-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.fleet-scroll-wrapper::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 3px;
}
