* {
  font-family: "Libre Franklin", sans-serif;
}

/*Banner*/
.package-banner {
  background-image: url('../images/Capa_-_Site.webp');
  height: 350px;
  background-position: center;
}

.banner-content {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 100%;
}

.banner-content h1 {
  margin: auto;
  position: relative;
  padding-bottom: 4px;
  text-align: start;
  font-size: 3em;
  font-weight: 900;
  color: white;
}

.banner-content h1::after {
  content: '';
  display: block;
  width: 240px;
  height: 3px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFC600;
  position: absolute;
  bottom: 0;
}

/* Nome do pacote*/

.package-nameX {
  max-width: 1400px;
  padding: 25px 32px 0;
  margin: -24px auto 0;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 0px 24px rgba(0, 0, 0, 0.205);
  background-color: white;
  text-align: center;
}

.package-h2 {
  font-size: 1.5em; /* Ajuste o tamanho conforme necessário */
  font-weight: bold;
  color: #054e72; /* Cor do texto */
  margin-bottom: 20px; /* Espaço abaixo do título */
  padding: 10px;
  border-radius: 5px; /* Cantos arredondados */
  display: inline-block; /* Permite que o sublinhado tenha a largura do texto */
  position: relative; /* Para posicionamento do pseudo-elemento */
  text-align: center;
}

.package-h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px; /* Ajuste conforme necessário para a distância do texto */
  width: 100%;
  height: 3px; /* Espessura do sublinhado */
  background-color: #FFC600; /* Cor do sublinhado */
}

/* Informações pacote --------------------------*/
.package-containerX {
  padding: 0 40px;

}

.package-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1400px;
  gap: 32px 78px;
  padding: 32px;
  margin: auto;
  background-color: #ffffff;
}

.package-grid {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
}

.package-information .package-title,
.package-information .package-title::after {
  background-color: #FFC600;
  color: #054e72;
}

.package-grid ul {
  list-style: none;
  padding: 20px;
}

.package-grid li {
  color: #054e72;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  /* Espaço entre os itens */
}

.package-grid li::before {
  content: "➔";
  /* Seta estilo flecha */
  font-size: 20px;
  color: #8bc53f;
  /* Verde similar */
  margin-right: 10px;
}

.package-services .package-title,
.package-services .package-title::after {
  background-color: #97d700;
  color: #ffffff;
}

.package-plan .package-title,
.package-plan .package-title::after {
  background-color: #FF6A14;
  color: #ffffff;
}

/* estilo dos títulos: estrutura, serviços e acomodações*/
.package-title {
  display: inline-block;
  position: relative;
  background-color: #0072ce;
  color: white;
  padding: 14px 0;
  width: 100%;
}

.package-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 40px;
  width: 20px;
  height: 20px;
  background-color: #0072ce;
  border-radius: 0 0 35% 0;
  transform: rotate(45deg);
}

.package-title h2 {
  margin: 0;
  font-size: 1.3em;
  font-weight: bold;
  margin-left: 32px;
}


/*Galeria de hotéis---------------------------------------------------------------------*/
.hotel-gallery {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blue-box {
  background-color: #054e72;
  color: white;
  text-align: center;
  border-radius: 5px 5px 0 0;
}

.hotel-gallery h2 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 10px;
  color: white;
}

.hotel-gallery h2::after {
  content: '';
  display: block;
  width: 230px;
  height: 5px;
  background-color: #FFC600;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}

.large-image {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

.large-image img {
  width: 100%;
  height: auto;
  border-radius: 0 0 5px 5px;
}

.thumbnails {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
}

.thumbnails img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
}

/*  Orçamento-------------------------------------------------------------------------------------*/

.best-prices {
  margin: 0 auto;
  max-width: 1300px;
  padding: 0 20px 32px;
}

.best-prices h1 {
  position: relative;
  padding-bottom: 4px;
  text-align: center;
  font-size: 1.65em;
  font-weight: 900;
  color: #054e72;
}

.best-prices h1::after {
  content: '';
  display: block;
  max-width: 850px;
  width: 100%;
  height: 3px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFC600;
  position: absolute;
}

/*Formulário de reserva ------------------------------------------------*/
.booking-form-container{
  padding: 0 20px;
}

.form-div {
  background-color: white;
  max-width: 1300px;
  margin: auto;
  padding: 16px;
  z-index: 2;
}

.form-options {
  display: flex;
  padding: 16px 16px 0;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.form-option {
  background-color: #0072ce;
  padding: 12px 28px;
  border-radius: 24px;
  cursor: pointer;
  color: white;
  font-size: 1.2em;
  transition: 0.2s ease;
  text-align: center;
}

.form-option:first-child{
  padding-right: 44px;
  border-radius: 24px 0 0 24px;
}

.form-option:last-child{
  margin-left: -34px;
  background-color: #054e72;
}

#bookingForm {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
}

.form-group, .dateform {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}

input,
select {
  all: unset;
  background-color: #F2F2F2;
  width: 100%;
  padding: 12px 16px;
  border-radius: 24px;
  box-sizing: border-box;
  transition: 0.2s;
}

.form-button {
  background-color: #25D366;
  text-align: center;
  color: white;
  font-size: 1.1em;
  padding: 12px 16px;
  cursor: pointer;

  margin-top: 23px;
}

.form-button:hover{
  transform: scale(1.03);
}

label {
  margin-left: 12px;
  margin-bottom: 4px;
  color: #054e72;
}

.select-wrapper {
  position: relative;
  max-width: 100%;
}

.select-wrapper::after {
  content: '▼';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #999;
  pointer-events: none;
} 

/*Barra azul escuro ------------------------------------------------------------------------------------------------------------------------------------------------------------*/

.before-footer{
  background-color: #054E72;
  padding: 40px 20px;
  border-bottom: 1px solid #FFFFFF;
}

.information{
  display: flex;
  gap: 100px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  color: #FFFFFF;
}

.information a{
  text-decoration: none;
  color: #FFFFFF;
}

.info{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1em;
  border-radius: 44px;
  border: 1px solid white;
  padding: 16px;
}

.info ion-icon{
  font-size: 1.3em;
}

/*Modal de espera --------------------------------------------------------------------------------------------------------------------------------*/
.wait-modal{
  display: none;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.295);
  width: 100%;
  height: 100%;
  z-index: 9999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.wait-modal-content{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.wait-modal-div{
  background-color: white;
  padding: 24px 24px 0;
  border-radius: 16px;
}

.wait-modal-content .loading {
  margin: auto;
  width: 30px;
  height: 30px;
  background-color: transparent;
  display: block;
  border: 8px solid #e5e5e5;
  border-top: 8px solid  #0072ce;
  border-radius: 50%;

  animation: loading 1s infinite;
}

/* fim modal de espera --------------------------------------------------------------------------------------------------------------------------------*/



@media (max-width: 768px) {
  .package-banner {
      background-image: url('../images/capaSiteCelular.webp');
  }

  .package-containerX {
      padding: 0 0px;
  }

  .package-content {
      grid-template-columns: 1fr;
      gap: 24px;
  }

  .hotel-gallery {
      order: -1;
  }

  .best-prices h1 {

      font-size: 1.8em;
  }

  .form-div {
      padding: 16px;
  }

  .form-options {
      justify-content: center;
  }

  #bookingForm {
      gap: 16px;
  }

  .form-group {
      max-width: 100%;
  }
}

@media (max-width: 480px) {
  .form-button {
      font-size: 1em;
  }
}

@media (max-width: 425px) {
  .package-banner {
      background-image: url('../images/Capa_-_Site.webp');
  }
}