/**
 * continue-planning.css
 * Scoped styles for Top Attractions / home9 destination coverflow section only.
 * All selectors are prefixed with .home9-destination-section to avoid conflicts
 * with footer, copyright area, and other global sections.
 */

/*=====================================
  Home9 / Top Attractions – destination cards (scoped, no conflict with copyright/footer)
========================================*/
.home9-destination-section .destination-card2 .destination-img {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 20px;
}

@media (max-width: 576px) {
  .home9-destination-section .destination-card2 .destination-img {
    border-radius: 10px;
  }
}

.home9-destination-section .destination-card2 .destination-img img {
  border-radius: 20px;
  transition: all 0.5s ease-out;
}

.home9-destination-section .destination-card2 .destination-img::after {
  position: absolute;
  width: 200%;
  height: 0%;
  left: 50%;
  top: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) rotate(-45deg);
  content: "";
  z-index: 1;
}

.home9-destination-section .destination-card2 .destination-content {
  padding: 20px 10px 0;
  text-align: center;
}

@media (max-width: 1199px) {
  .home9-destination-section .destination-card2 .destination-content {
    padding: 15px 10px 0;
  }
}

.home9-destination-section .destination-card2 .destination-content h5 {
  margin-bottom: 2px;
}

.home9-destination-section .destination-card2 .destination-content h5 a {
  color: var(--title-color);
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  transition: 0.5s;
}

.home9-destination-section .destination-card2 .destination-content h5 a:hover {
  color: var(--primary-color1);
}

@media (max-width: 1199px) {
  .home9-destination-section .destination-card2 .destination-content h5 a {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .home9-destination-section .destination-card2 .destination-content h5 a {
    font-size: 19px;
  }
}

.home9-destination-section .destination-card2 .destination-content span {
  color: var(--text-color);
  font-family: var(--font-roboto);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 991px) {
  .home9-destination-section .destination-card2 .destination-content span {
    font-size: 15px;
  }
}

.home9-destination-section .destination-card2:hover .destination-img img {
  transform: scale(1.1);
}

.home9-destination-section .destination-card2:hover .destination-img::after {
  height: 250%;
  transition: all 600ms linear;
  background-color: transparent;
}

/*=====================================
  99. Home9 Destination Section CSS (match ui exactly)
========================================*/
/* Wrapper: full width, no extra centering that causes right gap */
.home9-destination-section .destination-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Slider: full width, clip overflow so no space on right (continuous loop, 5 visible) */
.home9-destination-section .home9-destination-slider {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.home9-destination-section .home9-destination-slider .swiper-wrapper {
  box-sizing: border-box;
  align-items: stretch;
}

.home9-destination-section .home9-destination-slider .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

/* Card: full width of slide, clip for animation */
.home9-destination-section .destination-card2 {
  overflow: hidden;
  width: 100%;
}

/* Image area: neutral background while loading to avoid white/black flash */
.home9-destination-section .destination-card2 .destination-img {
  background-color: #e8e8e8;
}

/* Destination card image: LARGER like reference (was too small) */
.home9-destination-section .destination-card2 .destination-img img {
  width: 100%;
  display: block;
  height: 380px;
  -o-object-fit: cover;
  object-fit: cover;
}

@media (max-width: 1399px) {
  .home9-destination-section .destination-card2 .destination-img img {
    height: 340px;
  }
}

@media (max-width: 1199px) {
  .home9-destination-section .destination-card2 .destination-img img {
    height: 300px;
  }
}

@media (max-width: 991px) {
  .home9-destination-section .destination-card2 .destination-img img {
    height: 280px;
  }
}

@media (max-width: 576px) {
  .home9-destination-section .destination-card2 .destination-img img {
    height: 260px;
  }
}

/* Content: slide-up animation only on active slide (ui) */
.home9-destination-section .home9-destination-slider .destination-card2 .destination-content {
  transform: translateY(100%);
  opacity: 0;
  transform-origin: bottom;
  transition: transform 0.75s ease-in-out, opacity 0.75s ease-in-out;
}

.home9-destination-section .home9-destination-slider .swiper-slide-active .destination-card2 .destination-content {
  transform: translateY(0);
  opacity: 1;
}

/* Slider nav: match ui (margin-top 0, max-width 515px, border-color) */
.home9-destination-section .slider-btn-grp {
  max-width: 515px;
  width: 100%;
  margin: 0 auto;
  margin-top: 0;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  z-index: 1;
}

@media (max-width: 576px) {
  .home9-destination-section .slider-btn-grp {
    display: none;
  }
}

.home9-destination-section .slider-btn-grp .slider-btn {
  border-color: var(--borders-color);
}

/* Section bottom margin: ensure home9 keeps mb-100 (no conflict with .home1-tour-carousel-section.mb-100 override) */
.home9-destination-section.mb-100 {
  margin-bottom: 100px;
}

@media (max-width: 991px) {
  .home9-destination-section.mb-100 {
    margin-bottom: 80px;
  }
}

@media (max-width: 767px) {
  .home9-destination-section.mb-100 {
    margin-bottom: 70px;
  }
}

/* Section title + spacing: scoped to home9 only (no conflict with style.css) */
.home9-destination-section .section-title.text-center.mb-70,
.home9-destination-section .mb-70 {
  margin-bottom: 70px;
}

@media (max-width: 991px) {
  .home9-destination-section .section-title.text-center.mb-70,
  .home9-destination-section .mb-70 {
    margin-bottom: 60px;
  }
}

@media (max-width: 767px) {
  .home9-destination-section .section-title.text-center.mb-70,
  .home9-destination-section .mb-70 {
    margin-bottom: 40px;
  }
}

.home9-destination-section .section-title h2 {
  color: var(--title-color);
  font-family: var(--font-poppins);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .home9-destination-section .section-title h2 {
    font-size: 37px;
    line-height: 1.2;
  }
}

@media (max-width: 767px) {
  .home9-destination-section .section-title h2 {
    font-size: 36px;
  }
}

@media (max-width: 576px) {
  .home9-destination-section .section-title h2 {
    font-size: 28px;
    line-height: 1.3;
  }
}

.home9-destination-section .section-title p {
  color: var(--text-color);
  font-family: var(--font-roboto);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  padding-top: 20px;
  max-width: 545px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .home9-destination-section .section-title p {
    padding-top: 15px;
  }
}

@media (max-width: 576px) {
  .home9-destination-section .section-title p {
    padding-top: 10px;
    font-size: 16px;
  }
}

/* Top Attractions loading skeleton – match coverflow layout */
.home9-destination-section .top-attractions-skeleton-row {
  min-height: 380px;
}
.home9-destination-section .top-attractions-skeleton-card {
  flex: 1 1 180px;
  min-width: 160px;
  max-width: 280px;
}
@media (max-width: 576px) {
  .home9-destination-section .top-attractions-skeleton-row {
    min-height: 260px;
  }
  .home9-destination-section .top-attractions-skeleton-card {
    min-width: 140px;
    max-width: 100%;
  }
}
