* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --blue-light: #29a8bb;
  --yellow-light: #eee9e1;
  --blue-dark: #05292e;
  --yellow-dark: #251d10;
  --font-primary: Poppins, sans-serif;
  --font-headers: 'Playfair Display', serif;
  --font-weight-regular: 400;
  --font-weight-bold: 700;
  font-size: 18px;
  line-height: 1.6;
}
body {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: var(--font-weight-regular);
  background-color: var(--yellow-light);
  color: var(--blue-dark);
  overflow-x: hidden;
}
h1 {
  font-family: var(--font-headers);
  font-weight: var(--font-weight-regular);
  font-size: 64px;
  line-height: 1;
}
h2 {
  font-family: var(--font-headers);
  font-weight: var(--font-weight-regular);
  font-size: 48px;
  line-height: 1;
}
h3 {
  font-family: var(--font-headers);
  font-weight: var(--font-weight-regular);
  font-size: 32px;
  line-height: 1;
}
h4 {
  font-family: var(--font-headers);
  font-weight: var(--font-weight-bold);
  font-size: 24px;
  line-height: 1;
}
.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px auto;
  width: 90%;
  gap: 10px;
}
.navbar-links {
  display: flex;
  gap: 2rem;
  font-size: 16px;
}
#buttons {
  display: flex;
  gap: 10px;
}
.nav-link {
  color: var(--blue-dark);
  text-decoration: none;
  font-weight: var(--font-weight-regular);
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: var(--blue-light);
}
.cta-button {
  border-radius: 8px;
  color: var(--blue-light);
  padding: 16px 24px;
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  border: 2px solid rgba(41, 168, 187, 1);
  cursor: pointer;
  transition: background-color 0.3s ease;
  background-color: transparent;
}
.cta-button:hover {
  background-color: var(--blue-light);
  transition: background-color 0.7s ease;
  color: var(--yellow-light);
}
.cta-button2 {
  border-radius: 8px;
  gap: 10px;
  color: var(--yellow-light);
  padding: 16px 24px;
  font: 700 14px Poppins, sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
  background-color: var(--blue-light);
  border: 0;
  margin: 0 auto;
}
.cta-button2:hover {
  background-color: var(--blue-dark);
  transition: background-color 0.7s ease;
  color: var(--yellow-light);
}
section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: 660px;
  background-image: url(/images/heroBG.jpg);
  border-radius: 24px;
  background-size: cover;
  background-position: bottom;
  text-align: center;
  color: var(--yellow-light);
}
.historia img {
  width: 45%;
}
.historia p {
  margin-top: 16px;
}
.navbar img {
  width: 100%;
}
.historia {
  margin: 0 auto;
  margin-top: 62px;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
}

#imagenes {
  margin: 120px auto;
  display: flex;
  width: 90%;
  align-items: center;
  justify-content: center;
  gap: 43px;
}

#winners {
  margin: 0px auto;
  display: flex;
  width: 90%;
  align-items: center;
  justify-content: center;
  gap: 43px;
}

#content-winner {
  margin: 60px auto;
  width: 100%;
  padding: 30px 0;
  background-color: white;
}

#winners img {
  width: 100%;
}
#winners p {
  width: 80%;
}

#textow {
  width: 100%;
}

.item1 {
  flex: 2; /* Ocupa 1 parte */
}

.item2 {
  flex: 1; /* Ocupa el doble que item1 */
}

.images-sec {
  width: 100%;
}

#isla {
  width: 100%;
  height: 563px;
  margin: 0 auto;
  text-align: center;
  background-color: var(--blue-dark);
  color: var(--yellow-light);
}
.video-bg-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.isla-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 23px;
  width: 60%;
  position: relative;
  z-index: 2;
  height: 100%;
}
.video-bg-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}
span {
  font-weight: var(--font-weight-bold);
}
#reviews {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0 auto;
  margin-top: 62px;
  width: 80%;
  text-align: center;
  margin-top: 100px;
}
#cards {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 22px;
}
.cardbox {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
}
.cardbox img {
  width: 114px;
}
.cardbox2 {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
  padding: 16px 16px 22px;
  background-color: #fff;
  border-radius: 16px;
  border: 2px solid var(--yellow-light);
  height: 100%;
}

.cardbox2 img {
  width: 100%;
}
.maincards {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0 auto;
  width: 80%;
  text-align: center;
  margin-top: 100px;
}
.cards2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
}
#desayunos {
  display: flex;
  background-color: var(--yellow-dark);
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 16px;
  gap: 8px;
  color: var(--yellow-light);
}
#review-title {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
main {
  margin-bottom: -50px;
}
#visitanos {
  width: 100%;
  height: 563px;
  margin-top: 150px;
  text-align: center;
  background-image: url(/images/bgFooter.jpg);
  background-size: cover;
  background-position: center;
  color: var(--yellow-light);
}

footer {
  height: 238px;
  background-color: #000;
}

#footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  gap: 10px;
}

#footer-container img {
  width: 100%;
}
#social {
  display: flex;
}

#footer-container {
  width: 80%;
  padding-top: 70px;
}
#footer-container a {
  color: var(--yellow-light);
}
#footer-container a:hover {
  color: var(--blue-light);
}
@media (min-width: 576px) and (max-width: 767px) {
  .navbar-container {
    flex-direction: column;
    margin-bottom: 22px;
  }
}
@media (min-width: 100px) and (max-width: 800px) {
  .navbar-container {
    flex-direction: column;
    margin-bottom: 22px;
    font-size: 12px;
  }
  .cards2 {
    flex-direction: column;
  }
  #imagenes {
    flex-direction: column;
  }
  #isla h1 {
    font-size: 54px;
  }
  #isla p {
    font-size: 16px;
  }
  .isla-content {
    width: 90%;
  }
}
ul {
  list-style: none;
}
#habitaciones {
  width: 100%;
  height: 350px;
  text-align: center;
  background-image: url(/images/bghabitaciones.jpg);
  background-size: cover;
  background-position: center;
  color: var(--yellow-light);
}

#hab-des {
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  width: 70%;
  margin: 60px auto;
}
#galeria {
  width: 80%;
  text-align: center;
  margin: 50px auto;
  display: flex;
  align-items: center;
  flex-direction: column;
}
#galeria h2 {
  width: 80%;
}
@media (min-width: 100px) and (max-width: 595px) {
  .historia h2 {
    font-size: 36px;
  }
  #visitanos h1 {
    font-size: 36px;
  }
  #isla h1 {
    font-size: 36px;
  }
  #reviews h1 {
    font-size: 36px;
  }

  #hero-content h1 {
    font-size: 36px;
  }

  #habitaciones h1 {
    font-size: 36px;
  }
  #hab-des h2 {
    font-size: 36px;
  }

  #reviews p {
    font-size: 16px;
  }

  #winners h2 {
    font-size: 36px;
  }
}

@media (min-width: 100px) and (max-width: 790px) {
  #cards {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
@media (min-width: 100px) and (max-width: 1150px) {
  .historia {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .historia p {
    font-size: 14px;
  }
  #winners {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
@media (min-width: 100px) and (max-width: 420px) {
  .historia h2 {
    font-size: 36px;
  }
  #visitanos h1 {
    font-size: 36px;
  }
  #reviews h1 {
    font-size: 36px;
  }

  #hero-content h1 {
    font-size: 36px;
  }
}

@media (min-width: 100px) and (max-width: 375px) {
  .cta-button .cta-button2 {
    border: 2px solid red;
  }
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-contenido {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  width: 90%;
  text-align: center;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}
.modal-contenido::-webkit-scrollbar {
  width: 16px;
}
.modal-contenido::-webkit-scrollbar-thumb {
  background: var(--blue-light);
  border-radius: 4px;
}
.modal-contenido::-webkit-scrollbar-thumb:hover {
  background: var(--blue-light);
}
.contenido-oculto {
  display: none;
}
.cerrar {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 48px;
  cursor: pointer;
  color: #333;
  font-weight: var(--font-weight-regular);
}
.cerrar:hover {
  color: red;
}
#galeria-imgs {
  display: flex;
  flex-direction: column;
  width: 80%;
  height: 90vh;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.swiper {
  width: 100%;
  height: 100%;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swiper {
  width: 100%;
  height: 300px;
  margin-left: auto;
  margin-right: auto;
}
.swiper-slide {
  background-size: cover;
  background-position: center;
}
.mySwiper2 {
  height: 80%;
  width: 100%;
}
.mySwiper {
  height: 20%;
  box-sizing: border-box;
  padding: 10px 0;
}
.mySwiper .swiper-slide {
  width: 25%;
  height: 70%;
  opacity: 0.4;
}
.mySwiper .swiper-slide-thumb-active {
  opacity: 1;
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
