/* ========================================
   VitCars - Araç listesi (modern, 3 ilan/satır)
   Renkler: #364049 koyu | #F7931E turuncu | #5E6C79 gri
   ======================================== */

/* --- Sayfa --- */
section.vc-cars {
  min-height: 100vh;
  background: #f0f2f5;
}

section.vc-cars .wow {
  animation-duration: 0.6s;
  animation-fill-mode: both;
}

/* --- Hero --- */
section.vc-cars .vc-cars-hero {
  background: linear-gradient(135deg, #364049 0%, #2a3339 100%);
  padding: 32px 0;
}

section.vc-cars .vc-cars-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
  font-size: 14px;
}

section.vc-cars .vc-cars-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

section.vc-cars .vc-cars-breadcrumb li:not(:last-child)::after {
  content: "/";
  color: rgba(255, 255, 255, 0.45);
  margin-left: 4px;
}

section.vc-cars .vc-cars-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

section.vc-cars .vc-cars-breadcrumb a:hover {
  color: #fff;
}

section.vc-cars .vc-cars-breadcrumb span {
  color: #F7931E;
  font-weight: 600;
}

section.vc-cars .vc-cars-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

/* --- Main --- */
section.vc-cars .vc-cars-main {
  padding: 40px 0 56px;
}

section.vc-cars .vc-cars-count {
  margin-bottom: 24px;
  font-size: 14px;
  color: #5E6C79;
}

section.vc-cars .vc-cars-count strong {
  color: #364049;
}

/* --- Grid: her satırda 3 ilan --- */
section.vc-cars .vc-cars-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* --- Araç kartı --- */
section.vc-cars .vc-car-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

section.vc-cars .vc-car-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  border-color: rgba(247, 147, 30, 0.25);
}

/* Görsel alanı */
section.vc-cars .vc-car-card__img-wrap {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e9ecef;
  flex-shrink: 0;
}

section.vc-cars .vc-car-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

section.vc-cars .vc-car-card:hover .vc-car-card__img {
  transform: scale(1.06);
}

/* Yıl rozeti */
section.vc-cars .vc-car-card__year {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  background: rgba(54, 64, 73, 0.9);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

/* Kart gövdesi */
section.vc-cars .vc-car-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  min-width: 0;
}

section.vc-cars .vc-car-card__title {
  margin: 0 0 14px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

section.vc-cars .vc-car-card__title a {
  color: #1a1d21;
  text-decoration: none;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

section.vc-cars .vc-car-card__title a:hover {
  color: #F7931E;
}

/* Özellikler (km, yakıt, vites) */
section.vc-cars .vc-car-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}

section.vc-cars .vc-car-card__specs li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #5E6C79;
}

section.vc-cars .vc-car-card__spec-icon {
  flex-shrink: 0;
  color: #F7931E;
}

/* Alt: fiyat + buton */
section.vc-cars .vc-car-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

section.vc-cars .vc-car-card__price {
  font-size: 18px;
  font-weight: 700;
  color: #F7931E;
}

section.vc-cars .vc-car-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #F7931E;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

section.vc-cars .vc-car-card__btn:hover {
  background: #e08518;
  color: #fff;
  transform: translateX(2px);
}

/* --- Sayfalama --- */
section.vc-cars .vc-cars-pagination {
  margin-top: 40px;
}

section.vc-cars .vc-cars-pagination .pagination {
  margin: 0;
}

section.vc-cars .vc-cars-pagination .page-link {
  color: #5E6C79 !important;
  border-color: #e0e4e8 !important;
  padding: 10px 16px !important;
  border-radius: 10px !important;
  margin: 0 4px;
  transition: all 0.2s;
}

section.vc-cars .vc-cars-pagination .page-link:hover {
  background: #F7931E !important;
  color: #fff !important;
  border-color: #F7931E !important;
}

section.vc-cars .vc-cars-pagination .page-item.active .page-link {
  background: #F7931E !important;
  border-color: #F7931E !important;
  color: #fff !important;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  section.vc-cars .vc-cars-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 575px) {
  section.vc-cars .vc-cars-hero {
    padding: 24px 0;
  }

  section.vc-cars .vc-cars-title {
    font-size: 22px;
  }

  section.vc-cars .vc-cars-main {
    padding: 28px 0 48px;
  }

  section.vc-cars .vc-cars-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  section.vc-cars .vc-car-card__body {
    padding: 18px;
  }

  section.vc-cars .vc-car-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  section.vc-cars .vc-car-card__btn {
    justify-content: center;
  }
}
