/* ==========================================================================
   Featured Charter Flights Slider CSS
   Matches the Air AviZone high-end aviation design
   ========================================================================== */

.featured-charters-area {
  background: linear-gradient(180deg, #f0f6fc 0%, #ffffff 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

/* Subtle background accent shapes */
.featured-charters-area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 100%;
  background: radial-gradient(circle at 50% 15%, rgba(2, 132, 199, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Section Header */
.charters-section-header {
  margin-bottom: 38px;
  position: relative;
  z-index: 2;
  text-align: center !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.charters-header-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0 auto 8px;
  text-align: center;
}

.charters-title-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.charters-header-badge .badge-line {
  display: inline-block;
  width: 50px;
  height: 2px;
  background: #0284c7;
  border-radius: 2px;
  flex-shrink: 0;
}

.charters-header-badge .badge-plane {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.charters-plane-svg {
  display: block;
  width: 42px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(2, 132, 199, 0.25));
  transition: transform 0.3s ease;
}

.charters-header-badge:hover .charters-plane-svg {
  transform: scale(1.12) translateY(-2px);
}

.charters-heading {
  font-family: var(--headingFontFamily, "Lexend", sans-serif);
  font-size: 30px;
  font-weight: 700;
  color: #0c233c;
  margin: 0;
  letter-spacing: -0.3px;
  line-height: 1.25;
  text-align: center !important;
}

.charters-subheading {
  font-size: 15px;
  color: #556980;
  margin: 8px auto 0 !important;
  max-width: 580px;
  line-height: 1.5;
  text-align: center !important;
  text-align-last: center !important;
  display: block !important;
  width: 100%;
}

/* 2 Main Permanent Container Columns */
.charters-containers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

.charter-column-box {
  position: relative;
  min-width: 0;
  width: 100%;
}

/* Inner Carousels */
.charter-inner-carousel {
  width: 100%;
  position: relative;
}

.charter-inner-carousel .owl-stage-outer {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(12, 38, 68, 0.06);
}

/* Slide Item */
.charter-slide-item {
  width: 100%;
}

/* Charter Card */
.charter-card {
  background: #ffffff;
  border: 1px solid #dce8f5;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.charter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(12, 38, 68, 0.12);
  border-color: #b9d8f5;
  color: inherit;
}

/* Card Top Section (Split: Left content, Right photo) */
.charter-card-top {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 22px 22px 14px;
  gap: 16px;
  position: relative;
  min-height: 195px;
}

.charter-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

/* Pill Badge */
.charter-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #0284c7;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  width: fit-content;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.charter-pill-badge i {
  font-size: 16px;
  flex-shrink: 0;
}

.charter-pill-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
}

/* Card Title */
.charter-card-title {
  font-family: var(--headingFontFamily, "Lexend", sans-serif);
  font-size: 23px;
  font-weight: 700;
  color: #0b2239;
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -0.2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 58px;
}

/* Route Details */
.charter-card-route {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #14324f;
  font-size: 14.5px;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}

.charter-card-route .route-pin-icon {
  color: #0284c7;
  font-size: 18px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.charter-card-route .route-pin-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.charter-card-route .route-arrow {
  color: #0284c7;
  font-weight: 700;
  margin: 0 3px;
}

/* Card Right Aircraft Visual */
.charter-card-visual {
  position: relative;
  width: 44%;
  min-width: 175px;
  max-width: 250px;
  border-radius: 0 16px 0 0;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  -webkit-clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
}

.charter-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.charter-card-visual::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 35px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.4), transparent);
  pointer-events: none;
}

/* Card Bottom Feature Shelf */
.charter-card-bottom {
  margin: auto 18px 18px;
  background: #f6f9fd;
  border: 1px solid #e1ecf8;
  border-radius: 14px;
  padding: 12px 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 4px;
}

.charter-feat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 8px;
  position: relative;
}

.charter-feat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #d8e5f3;
}

.charter-feat-icon {
  color: #0284c7;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.charter-feat-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.charter-feat-text {
  font-size: 13px;
  font-weight: 600;
  color: #122842;
  line-height: 1.25;
  white-space: normal;
}

/* Inner Carousel Controls (Nav Arrows & Dots for each container) */
.charter-inner-carousel .owl-nav {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.charter-inner-carousel .owl-nav button.owl-prev,
.charter-inner-carousel .owl-nav button.owl-next {
  width: 32px;
  height: 32px;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(4px);
  border: 1px solid #d0e1f3 !important;
  color: #0c233c !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(12, 38, 68, 0.1);
  transition: all 0.25s ease !important;
  cursor: pointer;
  padding: 0 !important;
  margin: 0 !important;
}

.charter-inner-carousel .owl-nav button.owl-prev:hover,
.charter-inner-carousel .owl-nav button.owl-next:hover {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
  transform: scale(1.08);
}

.charter-inner-carousel .owl-dots {
  text-align: center;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.charter-inner-carousel .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  margin: 0;
  background: #cddff3;
  border-radius: 10px;
  display: block;
  transition: all 0.3s ease;
}

.charter-inner-carousel .owl-dots .owl-dot.active span {
  background: #0284c7;
  width: 22px;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .featured-charters-area {
    padding: 45px 0;
  }
  .charters-containers-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    max-width: 620px;
  }
}

@media (max-width: 767px) {
  .featured-charters-area {
    padding: 30px 0;
  }
}

@media (max-width: 680px) {
  .charters-section-header {
    margin-bottom: 24px;
    padding: 0 10px;
  }
  .charters-header-badge {
    gap: 12px;
  }
  .charters-title-group {
    gap: 8px;
  }
  .charters-header-badge .badge-line {
    width: 24px;
  }
  .charters-plane-svg {
    width: 30px;
  }
  .charters-heading {
    font-size: 22px;
  }
  .charters-subheading {
    font-size: 13.5px;
    text-align: center !important;
    text-align-last: center !important;
  }
  .charter-card-top {
    padding: 18px 16px 12px;
    min-height: auto;
  }
  .charter-card-title {
    font-size: 19px;
  }
  .charter-card-visual {
    width: 38%;
    min-width: 120px;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
  }
  .charter-card-bottom {
    margin: 0 14px 14px;
    padding: 10px 6px;
    gap: 2px;
  }
  .charter-feat-item {
    gap: 6px;
    padding: 0 4px;
  }
  .charter-feat-icon {
    font-size: 18px;
  }
  .charter-feat-text {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .charters-heading {
    font-size: 19px;
  }
  .charters-header-badge {
    gap: 10px;
  }
  .charters-header-badge .badge-line {
    width: 16px;
  }
  .charter-card-top {
    flex-direction: column-reverse;
    padding: 16px 14px 10px;
  }
  .charter-card-visual {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 160px;
    border-radius: 14px;
    clip-path: none;
    -webkit-clip-path: none;
    margin-bottom: 12px;
  }
  .charter-card-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 14px;
  }
  .charter-feat-item {
    justify-content: flex-start;
  }
  .charter-feat-item:not(:last-child)::after {
    display: none;
  }
  .charter-feat-text {
    font-size: 13px;
  }
}
