/* Deals Section - Tour Packages Slider */
#deals {
  padding: 5rem 0;
  background-color: var(--white);
  font-family: "Inter", sans-serif;
}

.deals-header {
  margin-bottom: 3rem;
}

.header-content {
  flex: 1;
}

.badge-new {
  display: inline-block;
  background: rgba(5, 199, 242, 0.1);
  color: var(--brand-primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.deals-headline {
  font-size: 3rem;
  font-weight: 800;
  color: var(--brand-primary-dark);
  margin: 1rem 0;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* Header Action Button */
.btn-explore-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: white;
  border: 2px solid var(--brand-primary);
  background-color: var(--brand-primary);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;

  @media screen {
    padding: 0.6rem 1.4rem;
  }
}

.btn-explore-all:hover {
  background: black;
  color: white;
}

.icon-wrap {
  display: inline-flex;
  transition: transform 0.3s ease;
}

.btn-explore-all:hover .icon-wrap {
  transform: translateX(4px);
}

/* Slider Container */
.deals-slider-outer {
  position: relative;
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;

  @media (max-width: 768px) {
    padding: 1rem 0;
  }
}

.deals-swiper {
  overflow: visible;
  max-width: 1400px;
  width: 100%;
}

/* Deal Card */
.deal-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.deal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transition: left 0.5s ease;
  z-index: 10;
  pointer-events: none;
}

.deal-card:hover::before {
  left: 100%;
}

.deal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Image Wrapper */
.deal-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.deal-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Domestic Deal - Larger Scale */
.domestic-deal .deal-img-wrapper img {
  transform: scale(1.4);
}

/* Badge */
.deal-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: white;
  color: var(--brand-primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.deal-badge.hot-deal {
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: white;
}

/* Card Content */
.deal-content {
  padding: 1.75rem;
}

.package-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-primary-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f0f0f0;
}

/* Package List */
.package-list-card {
  list-style: none;
  padding: 0;
  margin: 0;
}

.package-list-card li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.package-list-card li i {
  color: var(--brand-primary);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Book Button */
.btn-book-now {
  width: 70%;
  padding: 0.75rem;
  background: var(--brand-primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-book-now:hover {
  background: var(--brand-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 199, 242, 0.3);
}

/* Navigation Controls */
.deals-navigation-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--brand-primary);
  background: white;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: var(--brand-primary);
  color: white;
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Swiper Pagination */
.deals-pagination {
  position: relative;
  display: flex;
  gap: 0.5rem;
  margin-top: 3rem;
}

.deals-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.deals-pagination .swiper-pagination-bullet-active {
  background: var(--brand-primary);
  width: 30px;
  border-radius: 5px;
}

/* Responsive */
@media (max-width: 992px) {
  .deals-headline {
    font-size: 3rem;
  }

  .section-subtitle {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  #deals {
    padding: 2.5rem 0;
  }

  .deals-header {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .badge-new {
    font-size: 0.7rem;
    padding: 0.35rem 0.8rem;
  }

  .deals-headline {
    font-size: 2.6rem;
    margin: 0.5rem 0;
  }

  .section-subtitle {
    font-size: 0.8rem;
    margin: 10px 0;
  }

  .header-action {
    margin-top: 0.75rem;
  }

  .btn-explore-all {
    padding: 0.6rem 1.1rem;
    font-size: 0.8rem;
  }

  /* Card Styling */
  .deal-card {
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

  /* No hover effects on mobile */
  .deal-card:hover {
    transform: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  .deal-card:hover::before {
    left: -100%;
  }

  .deal-card:hover .deal-img-wrapper img {
    transform: none;
  }

  .deal-img-wrapper {
    height: 150px;
  }

  .deal-content {
    padding: 1.25rem;
  }

  .package-card-title {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
  }

  /* Package List Grid */
  .package-list-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem 0.6rem;
  }

  .package-list-card li {
    font-size: 0.72rem;
    padding: 0.4rem 0.5rem;
    background: rgba(5, 199, 242, 0.05);
    border-radius: 8px;
  }

  .package-list-card li i {
    font-size: 0.6rem;
  }

  /* Button */
  .btn-book-now {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    background: linear-gradient(
      135deg,
      var(--brand-primary-alt),
      var(--brand-primary)
    );
    box-shadow: 0 3px 10px rgba(5, 199, 242, 0.2);
  }

  /* No button hover animation on mobile */
  .btn-book-now:hover {
    transform: none;
    box-shadow: 0 3px 10px rgba(5, 199, 242, 0.2);
  }

  /* Swiper adjustments */
  .deals-slider-outer {
    padding: 0.75rem 0;
  }

  .deals-pagination {
    margin-top: 2rem;
  }

  .deals-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }

  .deals-pagination .swiper-pagination-bullet-active {
    width: 20px;
  }
}

/* Very small screens */
@media (max-width: 400px) {
  .deals-headline {
    font-size: 2.4rem;
  }

  .deal-img-wrapper {
    height: 160px;
  }

  .deal-content {
    padding: 1rem;
  }

  .package-card-title {
    font-size: 0.85rem;
  }

  .package-list-card li {
    font-size: 0.68rem;
    padding: 0.35rem 0.4rem;
  }

  .btn-book-now {
    padding: 0.65rem 0.9rem;
    font-size: 0.8rem;
  }
}
