/* =========================================================
   NANDAS79 TRAVELS
   PREMIUM CARS PAGE
========================================================= */

.cars-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient( circle at 80% 30%, rgba(168,85,247,.18), transparent 35% ), linear-gradient( 135deg, #faf7ff, #ffffff 55%, #f4edff );
}

.cars-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.cars-eyebrow {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 50px;
  background: rgba(108,43,217,.08);
  color: #6C2BD9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.cars-hero h1 {
  color: #17132b;
  font-size: 58px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
}

  .cars-hero h1 span {
    background: linear-gradient( 90deg, #6C2BD9, #A855F7, #D946EF );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

.cars-hero p {
  max-width: 650px;
  margin: auto;
  color: #777;
  font-size: 16px;
  line-height: 1.8;
}


/* =========================================================
   CARS SECTION
========================================================= */

.cars-section {
  padding: 90px 0;
  background: #fff;
}

.cars-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 35px;
}

  .cars-heading > div > span {
    color: #6C2BD9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
  }

  .cars-heading h2 {
    margin-top: 10px;
    color: #19162d;
    font-size: 38px;
    font-weight: 800;
  }

    .cars-heading h2 strong {
      color: #6C2BD9;
    }


/* =========================================================
   FILTERS
========================================================= */

.car-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.car-filter {
  border: 1px solid #e8def7;
  background: #fff;
  color: #666;
  padding: 11px 22px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .35s;
}

  .car-filter:hover,
  .car-filter.active {
    background: linear-gradient( 135deg, #6C2BD9, #A855F7 );
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(108,43,217,.2);
  }


/* =========================================================
   CAR CARD
========================================================= */

.premium-car-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid #eee8f7;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(60,30,100,.07);
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease;
}

  .premium-car-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 65px rgba(108,43,217,.16);
  }


/* =========================================================
   IMAGE
========================================================= */

.car-image-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: radial-gradient( circle, #f7f3ff, #eee8fa );
}

.car-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 25px;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}

.premium-car-card:hover .car-image {
  transform: scale(1.08);
}


/* =========================================================
   BADGE
========================================================= */

.car-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  padding: 7px 12px;
  border-radius: 50px;
  background: #6C2BD9;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

  .car-badge.luxury {
    background: #111827;
  }

  .car-badge.suv {
    background: #2563EB;
  }

  .car-badge.family {
    background: #059669;
  }


/* =========================================================
   CARD BODY
========================================================= */

.car-card-body {
  padding: 25px;
}

.car-title-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.car-category {
  color: #9a91aa;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.car-title-row h3 {
  margin: 5px 0 0;
  color: #211b31;
  font-size: 22px;
  font-weight: 800;
}

.car-rating {
  white-space: nowrap;
  color: #f59e0b;
  font-size: 12px;
  font-weight: 700;
}

  .car-rating i {
    margin-right: 3px;
  }


/* =========================================================
   SPECS
========================================================= */

.car-specs {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  padding: 20px 0;
  margin-top: 18px;
  border-top: 1px solid #eeeaf4;
  border-bottom: 1px solid #eeeaf4;
}

  .car-specs div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: #777;
    font-size: 10px;
    text-align: center;
  }

  .car-specs i {
    color: #6C2BD9;
    font-size: 17px;
  }


/* =========================================================
   PRICE
========================================================= */

.car-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 20px;
}

.car-price small {
  display: block;
  color: #999;
  font-size: 9px;
}

.car-price strong {
  color: #211b31;
  font-size: 23px;
  font-weight: 800;
}

.car-price span {
  color: #999;
  font-size: 10px;
}


/* =========================================================
   VIEW BUTTON
========================================================= */

.car-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 17px;
  border-radius: 50px;
  background: #f3edff;
  color: #6C2BD9;
  font-size: 11px;
  font-weight: 800;
  transition: .35s;
}

  .car-view-btn:hover {
    color: #fff;
    background: linear-gradient( 135deg, #6C2BD9, #A855F7 );
    transform: translateX(3px);
  }

  .car-view-btn i {
    transition: .3s;
  }

  .car-view-btn:hover i {
    transform: translateX(5px);
  }


/* =========================================================
   CTA
========================================================= */

.cars-cta {
  padding: 80px 0;
  background: #fff;
}

.cars-cta-box {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 50px;
  border-radius: 30px;
  background: linear-gradient( 135deg, #f1e7ff, #fbf5ff, #fff );
  border: 1px solid #eadcf9;
}

  .cars-cta-box::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    right: -80px;
    bottom: -120px;
    border-radius: 50%;
    background: rgba(108,43,217,.1);
  }

  .cars-cta-box span {
    color: #6C2BD9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
  }

  .cars-cta-box h2 {
    margin: 10px 0;
    color: #211b31;
    font-size: 32px;
    font-weight: 800;
  }

    .cars-cta-box h2 strong {
      color: #6C2BD9;
    }

  .cars-cta-box p {
    margin: 0;
    color: #777;
    font-size: 13px;
  }

.cars-cta-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  border-radius: 50px;
  background: linear-gradient( 135deg, #6C2BD9, #A855F7 );
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 15px 30px rgba(108,43,217,.25);
  transition: .35s;
}

  .cars-cta-btn:hover {
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 22px 40px rgba(108,43,217,.35);
  }


/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:991px) {

  .cars-hero h1 {
    font-size: 45px;
  }

  .cars-heading h2 {
    font-size: 32px;
  }

  .cars-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}


@media(max-width:576px) {

  .cars-hero {
    min-height: 350px;
  }

  .cars-hero-content {
    padding: 60px 15px;
  }

  .cars-hero h1 {
    font-size: 36px;
  }

  .cars-hero p {
    font-size: 14px;
  }

  .cars-section {
    padding: 60px 0;
  }

  .cars-heading h2 {
    font-size: 28px;
  }

  .car-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .car-filter {
    white-space: nowrap;
  }

  .car-image-wrapper {
    height: 220px;
  }

  .car-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .car-view-btn {
    width: 100%;
    justify-content: center;
  }

  .cars-cta-box {
    padding: 35px 25px;
  }

    .cars-cta-box h2 {
      font-size: 26px;
    }
}
