/* ═══════════════════════════════════════════════════════════
   DESTINATIONS CAROUSEL - FIXED VERSION
   ═══════════════════════════════════════════════════════════ */

/* ── SECTION BASE ── */
.destinations {
  background: var(--bg-light);
  overflow: hidden;
  position: relative;
}

/* ── SWIPER CONTAINER ── */
.destinations-swiper {
  position: relative;
  padding: 20px 0 56px !important;
  overflow: visible !important;
  margin: 0 auto;
  width: 100%;
}

.destinations-swiper .swiper-wrapper {
  display: flex !important;
  align-items: stretch;
}

.destinations-swiper .swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
}

/* ── DESTINATION CARDS ── */
.dest-card {
  position: relative;
  background: white;
  border-radius: var(--radius);
  overflow: visible;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.dest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26, 60, 46, 0.16);
}

.dest-card-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  flex-shrink: 0;
}

.dest-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  border-radius: var(--radius) var(--radius) 0 0;
}

.dest-card:hover .dest-card-img img {
  transform: scale(1.04);
}

.dest-card-icon {
  position: absolute;
  bottom: -20px;
  left: 20px;
  width: 44px;
  height: 44px;
  background: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid white;
  z-index: 10;
}

.dest-card-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}

.dest-card-body {
  padding: 32px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dest-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 8px;
}

.dest-card-body h3 {
  font-size: 1.18rem;
  color: var(--green-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.dest-card-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.dest-card-footer {
  padding: 0 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.dest-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--green-dark);
  font-weight: 600;
}

.dest-price span {
  font-size: 0.72rem;
  color: var(--text-light);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
}

.dest-link {
  font-size: 0.82rem;
  color: var(--green-accent);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s ease;
}

.dest-link:hover {
  gap: 8px;
}

/* ── NAVIGATION ARROWS ── */
.destinations-swiper .swiper-button-prev,
.destinations-swiper .swiper-button-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid rgba(26, 60, 46, 0.15);
  box-shadow: 0 4px 20px rgba(26, 60, 46, 0.12);
  color: var(--green-dark);
  top: 50%;
  transform: translateY(-50%);
  transition: all .25s ease;
  z-index: 10;
}

.destinations-swiper .swiper-button-prev {
  left: 16px;
}

.destinations-swiper .swiper-button-next {
  right: 16px;
}

.destinations-swiper .swiper-button-prev::after,
.destinations-swiper .swiper-button-next::after {
  font-size: 14px;
  font-weight: 900;
  color: var(--green-dark);
}

.destinations-swiper .swiper-button-prev:hover,
.destinations-swiper .swiper-button-next:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: 0 8px 28px rgba(26, 60, 46, 0.25);
  transform: translateY(-50%) scale(1.08);
}

.destinations-swiper .swiper-button-prev:hover::after,
.destinations-swiper .swiper-button-next:hover::after {
  color: white;
}

.destinations-swiper .swiper-button-disabled {
  opacity: 0.3 !important;
  pointer-events: none;
}

/* ── PAGINATION DOTS ── */
.destinations-swiper .swiper-pagination {
  bottom: 16px;
  position: absolute;
  width: 100%;
  text-align: center;
}

.destinations-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50px;
  background: rgba(26, 60, 46, 0.25);
  opacity: 1;
  transition: all .35s ease;
  margin: 0 4px !important;
}

.destinations-swiper .swiper-pagination-bullet-active {
  width: 28px;
  background: var(--green-dark);
}

/* ── CENTER BUTTON ── */
.center-btn {
  text-align: center;
  margin-top: 44px;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════ */

/* ── DESKTOP (>= 1024px) ── */
@media (min-width: 1024px) {
  .destinations-swiper {
    padding: 20px 5% 56px !important;
    margin: 0 -5%;
  }

  .destinations-swiper .swiper-button-prev {
    left: calc(5% + 16px);
  }

  .destinations-swiper .swiper-button-next {
    right: calc(5% + 16px);
  }
}

/* ── TABLET (768px - 1023px) ── */
@media (min-width: 768px) and (max-width: 1023px) {
  .destinations-swiper {
    padding: 20px 32px 56px !important;
  }

  .destinations-swiper .swiper-button-prev,
  .destinations-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
  }

  .destinations-swiper .swiper-button-prev {
    left: 8px;
  }

  .destinations-swiper .swiper-button-next {
    right: 8px;
  }
}

/* ── MOBILE (<= 767px) ── */
@media (max-width: 767px) {
  /* Container com padding correto */
  .destinations-swiper {
    padding: 20px 0 56px !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  /* Wrapper centralizado */
  .destinations-swiper .swiper-wrapper {
    display: flex !important;
    padding: 0 !important;
  }

  /* Slides com largura e espaçamento corretos */
  .destinations-swiper .swiper-slide {
    width: calc(100vw - 48px) !important;
    min-width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    margin: 0 !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
  }

  /* Garantir que o card ocupa 100% do slide */
  .destinations-swiper .swiper-slide .dest-card {
    width: 100% !important;
    margin: 0 !important;
  }

  /* Esconder navegação por setas no mobile */
  .destinations-swiper .swiper-button-prev,
  .destinations-swiper .swiper-button-next {
    display: none !important;
  }

  /* Paginação mais visível no mobile */
  .destinations-swiper .swiper-pagination {
    bottom: 24px;
  }

  .destinations-swiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
  }

  .destinations-swiper .swiper-pagination-bullet-active {
    width: 20px;
  }

  /* Ajustar altura da imagem no mobile */
  .dest-card-img {
    height: 180px;
  }

  /* Ajustar padding do body do card */
  .dest-card-body {
    padding: 28px 16px 16px;
  }

  .dest-card-footer {
    padding: 0 16px 16px;
  }

  .dest-card-body h3 {
    font-size: 1.1rem;
  }

  .dest-card-body p {
    font-size: 0.85rem;
  }
}

/* ── EXTRA SMALL MOBILE (<= 375px) ── */
@media (max-width: 375px) {
  .destinations-swiper .swiper-slide {
    width: calc(100vw - 32px) !important;
    min-width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    padding: 0 16px !important;
  }

  .dest-card-img {
    height: 160px;
  }

  .dest-card-body h3 {
    font-size: 1rem;
  }

  .dest-card-body p {
    font-size: 0.82rem;
  }
}