/* StayNets / Kigali Drive — Car Rental page */

.car-rental-page {
  --car-navy: var(--brand-blue, #1E4D70);
  --car-navy-dark: var(--brand-blue-dark, #163a56);
  --car-surface: #f4f7fa;
  --car-radius: 18px;
  --car-shadow: 0 12px 40px rgba(30, 77, 112, 0.1);
  --car-shadow-hover: 0 20px 48px rgba(30, 77, 112, 0.16);
}

/* ── Hero ── */
.car-rental-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--car-navy-dark) 0%, var(--car-navy) 55%, #2a6a94 100%);
  color: #fff;
  padding: 48px 44px;
  margin-bottom: 2.5rem;
  box-shadow: var(--car-shadow);
}

.car-rental-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,0.12) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(0,0,0,0.15) 0%, transparent 40%);
  pointer-events: none;
}

.car-rental-hero__inner {
  position: relative;
  z-index: 1;
}

.car-rental-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.car-rental-hero__title {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff !important;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.car-rental-hero__subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin-bottom: 1rem;
}

.car-rental-hero__desc {
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.car-rental-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.car-rental-hero__stat {
  display: flex;
  flex-direction: column;
  min-width: 90px;
}

.car-rental-hero__stat strong {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.car-rental-hero__stat span {
  font-size: 12px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.car-rental-hero__visual {
  position: relative;
}

.car-rental-hero__image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/11;
  box-shadow: 0 24px 50px rgba(0,0,0,0.28);
  border: 3px solid rgba(255,255,255,0.15);
}

.car-rental-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.car-rental-booking-card {
  background: #fff;
  border-radius: var(--car-radius);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .car-rental-booking-card {
    margin-top: 1.5rem;
  }
}

.car-rental-booking-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--car-navy);
  margin-bottom: 0.35rem;
}

.car-rental-booking-card p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 1rem;
  line-height: 1.55;
}

/* ── Benefit cards ── */
.car-rental-benefits {
  margin-bottom: 2.75rem;
}

.car-benefit-card {
  background: #fff;
  border: 1px solid #e8eef3;
  border-radius: var(--car-radius);
  padding: 1.35rem 1.25rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.car-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--car-shadow);
  border-color: rgba(30, 77, 112, 0.2);
}

.car-benefit-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(30,77,112,0.12), rgba(30,77,112,0.06));
  color: var(--car-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.car-benefit-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--car-navy) !important;
}

.car-benefit-card__body {
  font-size: 14px;
  color: #5c6b7a;
  line-height: 1.65;
  max-height: 120px;
  overflow: hidden;
}

/* ── Fleet toolbar ── */
.car-fleet-toolbar {
  background: #fff;
  border: 1px solid #e8eef3;
  border-radius: var(--car-radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 20px rgba(30, 77, 112, 0.06);
}

.car-fleet-toolbar .search-form-area .search-form {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dde5ec;
}

.car-fleet-toolbar .search-form input {
  border: none;
  padding: 12px 16px;
  font-size: 15px;
}

.car-fleet-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.car-fleet-section-head h3 {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0;
  color: var(--car-navy) !important;
}

.car-fleet-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30, 77, 112, 0.1);
  color: var(--car-navy);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.car-fleet-toolbar .sorting-filter-wrap .nav a {
  border-radius: 10px;
  border: 1px solid #dde5ec;
  margin-right: 6px;
}

.car-fleet-toolbar .sorting-filter-wrap .nav a.active {
  background: var(--car-navy);
  border-color: var(--car-navy);
  color: #fff !important;
}

/* Fix grid/list both showing */
#nav-tabContent > .tab-pane:not(.active) {
  display: none !important;
}

/* ── Car cards ── */
.car-fleet-card {
  background: #fff;
  border-radius: var(--car-radius);
  overflow: hidden;
  border: 1px solid #e8eef3;
  box-shadow: 0 6px 24px rgba(30, 77, 112, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.car-fleet-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--car-shadow-hover);
}

.car-fleet-card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #e8eef3, #d5dee8);
}

.car-fleet-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.car-fleet-card:hover .car-fleet-card__media img {
  transform: scale(1.05);
}

.car-fleet-card__type {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.95);
  color: var(--car-navy);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.car-fleet-card__price {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--car-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(30, 77, 112, 0.35);
}

.car-fleet-card__body {
  padding: 1.15rem 1.2rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.car-fleet-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.car-fleet-card__title a {
  color: var(--car-navy) !important;
  text-decoration: none;
}

.car-fleet-card__title a:hover {
  color: var(--car-navy-dark) !important;
}

.car-fleet-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1rem;
}

.car-fleet-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #5c6b7a;
  background: var(--car-surface);
  padding: 5px 10px;
  border-radius: 8px;
  font-weight: 500;
}

.car-fleet-chip i {
  color: var(--car-navy);
  font-size: 11px;
}

.car-fleet-card__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.car-fleet-card__actions .th-btn {
  flex: 1;
  text-align: center;
  padding: 11px 14px !important;
  font-size: 14px !important;
  border-radius: 10px !important;
}

.car-fleet-card__actions .th-btn.style4 {
  flex: 0 0 auto;
  min-width: 44px;
  padding-left: 14px !important;
  padding-right: 14px !important;
}

/* List layout */
.car-fleet-card--list {
  flex-direction: row;
}

.car-fleet-card--list .car-fleet-card__media {
  width: 280px;
  min-width: 280px;
  aspect-ratio: auto;
  min-height: 200px;
}

.car-fleet-card--list .car-fleet-card__body {
  justify-content: center;
}

@media (max-width: 767px) {
  .car-fleet-card--list {
    flex-direction: column;
  }
  .car-fleet-card--list .car-fleet-card__media {
    width: 100%;
    min-width: 0;
    aspect-ratio: 16/10;
  }
}

/* Trust strip */
.car-rental-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 1rem 0 2rem;
}

.car-rental-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--car-navy);
  background: #fff;
  border: 1px solid #e8eef3;
  padding: 10px 16px;
  border-radius: 999px;
}

.car-rental-trust__item i {
  color: var(--car-navy);
}

@media (max-width: 991px) {
  .car-rental-hero {
    padding: 32px 24px;
  }
  .car-rental-booking-card {
    margin-top: 1.25rem;
  }
}
