/* =====================================================
   Featured Destinations Carousel
   ===================================================== */

/* =====================================================
   1. SKELETON LOADER - Loading States
   ===================================================== */

.featured-carousel-skeleton {
  border-radius: 16px;
  background: #e8e8e8;
  overflow: hidden;
}

.featured-carousel-skeleton__slides {
  display: flex;
  gap: 20px;
  padding: 20px;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.featured-carousel-skeleton__side {
  flex: 0 0 15%;
  height: 75%;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.2) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  opacity: 0.6;
}

.featured-carousel-skeleton__center {
  flex: 0 0 50%;
  height: 85%;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.2) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  gap: 12px;
}

.featured-carousel-skeleton__placeholder {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.3);
}

.featured-carousel-skeleton__placeholder--title {
  height: 28px;
  width: 60%;
  margin-bottom: 8px;
}

.featured-carousel-skeleton__placeholder--text {
  height: 16px;
  width: 100%;
  margin-bottom: 4px;
}

.featured-carousel-skeleton__placeholder--text:last-of-type {
  width: 80%;
  margin-bottom: 16px;
}

.featured-carousel-skeleton__placeholder--button {
  height: 44px;
  width: 140px;
  border-radius: 8px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.featured-carousel-skeleton--fade {
  animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* =====================================================
   2. CAROUSEL CONTAINER - Centered Spotlight Layout
   ===================================================== */

.elementor-element-bb0216b .e-con-inner {
  padding: 0 !important;
}

.featured-carousel-container {
  overflow: visible;
}

.featured-carousel.swiper {
  width: 100%;
  padding: 20px 0 48px;
  overflow: visible;
}

.featured-carousel .swiper-wrapper {
  align-items: center;
}

.featured-carousel .swiper-slide {
  width: 65%;
  max-width: 900px;
  border-radius: 16px;
  overflow: hidden;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease,
    box-shadow 0.4s ease;
  opacity: 0.5;
  transform: scale(0.88);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.featured-carousel .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.featured-carousel .swiper-slide-prev,
.featured-carousel .swiper-slide-next {
  opacity: 0.6;
  transform: scale(0.88);
}

/* =====================================================
   3. SLIDE CONTENT - Image & Layout
   ===================================================== */

.featured-carousel__slide {
  position: relative;
  height: 480px;
  overflow: hidden;
}

.featured-carousel-skeleton {
  height: 480px;
}

.featured-carousel__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
}

/* =====================================================
   4. OVERLAY VARIANTS - Gradient Effects
   ===================================================== */

.featured-carousel__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  padding: 60px 30px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.featured-carousel__overlay--light {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.28) 50%,
    transparent 100%
  );
}

.featured-carousel__overlay--medium {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    transparent 100%
  );
}

.featured-carousel__overlay--dark {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    transparent 100%
  );
}

/* =====================================================
   5. TEXT & CTA - Typography & Buttons
   ===================================================== */

.featured-carousel__title {
  color: #fff;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.featured-carousel__content {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05em;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 100%;
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-carousel__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  min-height: 44px;
  background: var(--destination-primary, #2271b1);
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  align-self: flex-start;
}

.featured-carousel__cta:hover {
  background: var(--destination-primary-hover, #135e96);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
}

.featured-carousel__cta:active {
  transform: translateY(0);
}

/* =====================================================
   6. NAVIGATION - Arrows & Pagination
   ===================================================== */

.featured-carousel .swiper-button-prev,
.featured-carousel .swiper-button-next {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
}

.featured-carousel .swiper-button-prev:hover,
.featured-carousel .swiper-button-next:hover {
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.featured-carousel .swiper-button-prev::after {
  content: "prev" !important;
  font-family: swiper-icons !important;
  font-size: 18px;
  font-weight: 700;
  color: #1d2327;
}

.featured-carousel .swiper-button-next::after {
  content: "next" !important;
  font-family: swiper-icons !important;
  font-size: 18px;
  font-weight: 700;
  color: #1d2327;
  content: "";
}

/* Pagination dots */
.featured-carousel .swiper-pagination {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.featured-carousel .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #aaa;
  opacity: 1;
  transition: all 0.3s ease;
  margin: 0 5px;
  margin: 0 5px;
}

.featured-carousel .swiper-pagination-bullet-active {
  background: var(--destination-primary, #2271b1);
  width: 30px;
  border-radius: 5px;
}

/* =====================================================
   7. SINGLE SLIDE STATE - Hide Navigation
   ===================================================== */

.featured-carousel--single .swiper-button-prev,
.featured-carousel--single .swiper-button-next,
.featured-carousel--single .swiper-pagination {
  display: none;
}

/* =====================================================
   8. RESPONSIVE DESIGN
   ===================================================== */

/* Tablet (iPad, etc.) */
@media (max-width: 992px) {
  .featured-carousel .swiper-slide {
    width: 75%;
  }

  .featured-carousel__slide,
  .featured-carousel-skeleton {
    height: 400px;
  }

  .featured-carousel__title {
    font-size: 1.5em;
  }

  .featured-carousel__overlay {
    padding: 60px 30px 30px;
  }
}

/* Mobile (Large devices, small tablets) */
@media (max-width: 768px) {
  .featured-carousel.swiper {
    padding: 20px 5px 48px;
  }

  .featured-carousel .swiper-slide {
    width: 85%;
  }

  .featured-carousel__slide,
  .featured-carousel-skeleton {
    height: 350px;
  }

  .featured-carousel__overlay {
    padding: 25px 15px 18px;
  }

  .featured-carousel__title {
    font-size: 1.3em;
    margin-bottom: 8px;
  }

  .featured-carousel__content {
    font-size: 0.95em;
    margin-bottom: 15px;
  }

  .featured-carousel .swiper-button-prev,
  .featured-carousel .swiper-button-next {
    display: none;
  }

  .featured-carousel .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }

  .featured-carousel .swiper-pagination-bullet-active {
    width: 24px;
  }
}

/* Small Mobile devices */
@media (max-width: 480px) {
  .featured-carousel .swiper-slide {
    width: 90%;
  }

  .featured-carousel__slide,
  .featured-carousel-skeleton {
    height: 300px;
  }

  .featured-carousel__overlay {
    padding: 30px 20px 60px;
  }

  .featured-carousel__title {
    font-size: 1.1em;
    margin-bottom: 10px;
  }

  .featured-carousel__content {
    font-size: 1.05em;
    line-height: 1.25;
    -webkit-line-clamp: 2;
  }

  .featured-carousel__cta {
    padding: 12px 24px;
    font-size: 0.9em;
    min-height: 40px;
  }

  .featured-carousel .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0 3px;
  }

  .featured-carousel .swiper-pagination-bullet-active {
    width: 18px;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .featured-carousel .swiper-slide {
    width: 95%;
  }

  .featured-carousel__slide,
  .featured-carousel-skeleton {
    height: 250px;
  }

  .featured-carousel__overlay {
    padding: 25px 15px 50px;
  }

  .featured-carousel__title {
    font-size: 1em;
    margin-bottom: 5px;
  }

  .featured-carousel__cta {
    padding: 10px 20px;
    font-size: 0.85em;
    min-height: 36px;
  }
}
