/* ═══════════════════════════════════════════════
   css/fleet.css
   ═══════════════════════════════════════════════ */

/* ── Filter tabs ── */
.fleet-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 40px 0 32px;
}

.fleet-tab {
  padding: 9px 22px;
  border-radius: 100px;
  border: 1.5px solid #dde3ec;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  font-family: var(--font-body);
  color: var(--gray-mid);
}

.fleet-tab.active,
.fleet-tab:hover {
  background: var(--blue-accent);
  color: white;
  border-color: var(--blue-accent);
}

/* ── Vehicle grid ── */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* ── Vehicle card ── */
.vehicle-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  transition: var(--transition);
  background: white;
}

.vehicle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

/* Image / photo area */
.vehicle-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #e8f0fc, #c9daf8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vehicle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-img img {
  transform: scale(1.06);
}

/* Dark gradient overlay on image */
.vehicle-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.18), transparent);
  pointer-events: none;
}

/* Category badge */
.vehicle-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 1;
}

.badge-budget    { background: #4CAF50; color: white; }
.badge-suv       { background: #FF9800; color: white; }
.badge-executive { background: #9C27B0; color: white; }
.badge-van       { background: var(--blue-accent); color: white; }
.badge-bus       { background: #F44336; color: white; }
.badge-4x4       { background: #795548; color: white; }

/* Card body */
.vehicle-info {
  padding: 24px;
}

.vehicle-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.vehicle-engine {
  font-size: 13px;
  color: var(--gray-mid);
  margin-bottom: 0;
}

.vehicle-specs {
  display: flex;
  gap: 16px;
  margin: 14px 0;
  font-size: 12px;
  color: var(--gray-mid);
}

.vehicle-spec {
  display: flex;
  align-items: center;
  gap: 5px;
}

.vehicle-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.feature-tag {
  background: var(--gray-light);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  color: #556;
  font-weight: 500;
}

/* Price + CTA row */
.vehicle-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #eef0f3;
}

.vehicle-price {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--blue-accent);
}

.vehicle-price span {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-mid);
  font-weight: 400;
}

.vehicle-quote {
  font-size: 12px;
  color: var(--gray-mid);
  margin-top: 2px;
}
