/* HERO GERAL */
.hero {
    height: 80vh;
    overflow: hidden;
    position: relative;
  }
  
  /* Carrossel */
  .carousel-inner {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1s ease-in-out;
  }
  .imagem-overlay {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .imagem-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* escurece a imagem */
    z-index: 1;
  }
  
  .imagem-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
  }
  
  .carousel-item {
    width: 100vw;
    height: 80vh;
    object-fit: cover;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 1s ease;
  }
  
  .carousel-item.active {
    opacity: 1;
    position: relative;
  }
  
  /* CONTEÚDO HERO */
  .hero-content {
    position: relative;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -200%);
    text-align: center;
    z-index: 10;
  }
  
  /* TÍTULO */
  .titulo-hero {
    font-size: 32px;
    font-weight: bold;
    color: white;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    max-width: 100%;
    line-height: 1.2;
    margin: 0 auto;
    white-space: normal;
    text-shadow: 4px 4px 6px rgba(0 , 0 , 0 , 0.9);
  }
  
  /* SUBTÍTULO */
  .hero-content p {
    font-size: 20px;
    color: white;
    margin-top: 1rem;
    text-shadow: 2px 2px 6px rgba(0 , 0 , 0 , 0.9);
  }
  
  /* BOTÃO */
  .btn {
    display: inline-block;
    margin-top: 1.5rem;
    background-color: #40E0D0;
    color: white;
    font-weight: bold;
    padding: 12px 28px;
    border-radius: 9999px;
    transition: background-color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0 , 0 , 0 , 0.5);
  }
  .btn:hover {
    background-color: #2bb8ab;
  }
  
  /* MEDIA QUERY – MOBILE */
  @media (max-width: 768px) {
    .hero {
    height: 70vh;
    }
    
    .titulo-hero {
      font-size: 32px;
      max-width: 100%;
    }
  
    .hero-content p {
      font-size: 14px;
    }

    .hero-content {
      position: relative;
      top: 40%;
      left: 50%;
      transform: translate(-50%, -220%);
      text-align: center;
      z-index: 10;
    }
  }
  
/*Seleção de Pacotes*/
.package-card {
  background-color: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.package-card:hover {
  transform: translateY(-10px);
}

.package-img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.package-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 0.5rem;
  text-align: center;
  min-height: 4rem;
}

.package-type {
  font-size: 0.875rem;
  color: #7C3AED;
  margin-bottom: 0.25rem;
}

.package-date {
  font-size: 0.875rem;
  color: #4B5563;
  display: flex;
  align-items: center;
}

.package-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #7C3AED;
  text-align: center;
}

.whatsapp-btn {
  display: flex;
  background-color: #7C3AED;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  transition: background-color 0.3s ease;
  justify-content: center;
  align-items: center;
  gap: 8px
}

.btn-info:hover {
  background-color: #6B21A8;
}

@media (max-width: 768px) {
  #packages .relative {
    position: static;
  }
}

/* ============================================
   Seção Destinos (desktop e mobile juntos)
   ============================================ */

/* ===== Botões de navegação (desktop) ===== */
#carousel-destinos {
  position: relative; /* adiciona isto */
}
.carousel-btn-left,
.carousel-btn-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(236, 232, 240, 0.9);
  color: #6B21A8;
  padding: 0.75rem;
  border-radius: 9999px;
  z-index: 10;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease;
}
.carousel-btn-left:hover,
.carousel-btn-right:hover {
  background-color: rgba(192, 132, 252, 1);
}
.carousel-btn-left { left: 0.5rem; }
.carousel-btn-right { right: 0.5rem; }

/* ===== Contêiner do carrossel ===== */
#carousel-destinos {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease-in-out;
  scroll-behavior: smooth;
}
#carousel-destinos > div {
  flex: 0 0 50%;                /* largura de cada “slide” */
  max-width: 90%;
}

/* ===== Estrutura de cada slide ===== */
.destino-slide {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Título com barra lateral roxa */
.destino-slide h3 {
  color: #6B21A8;
  font-weight: 900;
  text-align: left;
  border-left: 4px solid #6B21A8;
  padding-left: 0.75rem;
  margin-bottom: 1rem;
}

/* Imagem principal */
.destino-main-img {
  width: 100%;
  max-height: 25rem;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* Miniaturas em duas colunas */
.destino-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.destino-thumbs img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* Cartão de depoimento / feedback */
.feedback-card {
  font-style: italic;
  color: #374151;
  background: #F3E8FF;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.feedback-card footer {
  display: block;
  margin-top: 0.75rem;
  font-weight: 600;
  color: #9333EA;
  text-align: right;
}

/* ============================================
   Ajustes para Mobile (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  /* transforma o carrossel em rolagem horizontal */
  #carousel-destinos {
    overflow-x: auto;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-left: 1rem;
  }
  #carousel-destinos > div {
    flex: 0 0 70%;
    max-width: 90%;
    scroll-snap-align: start;
    margin-right: 1rem;
  }

  /* reduz altura das imagens */
  .destino-main-img { max-height: 12rem; }
  .destino-thumbs img { height: 6rem; }

  /* esconde botões de desktop no mobile */
  .carousel-btn-left,
  .carousel-btn-right {
    display: none !important;
  }
}
