body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* NAV BAR */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.logo img {
  max-height: 60px;
}

.nav-links {
  font-family: "acumin-variable", sans-serif;
  font-variation-settings: "slnt" 0, "wdth" 200, "wght" 300;
  list-style: none;
  display: flex;
  margin-right: 30px;
}

.nav-links li {
  margin-right: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #ffd700;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-right: 25px;
}

.line {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 3px;
}

.content {
  margin-top: 80px;
}

/* SECCION 1 */

.slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  margin-top: 100vh;
}

/* SECCIN 2 */

.container_custom {
  font-family: "acumin-variable", sans-serif;
  font-variation-settings: "slnt" 0, "wdth" 67.5, "wght" 400;
  color: #000000;
  margin: 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.8);
  background-image: url("./images/fondo\ arena.jpg");
  background-position: center;
  background-size: cover;
}

.container_custom h2 {
  text-align: center;
  font-size: 2.5em;
  letter-spacing: 3px;
  font-weight: 700;
  margin: 10px;
}

.container_custom p {
  text-align: justify;
  font-size: x-large;
  padding: 0 20%;
}

.section {
  position: relative;
  padding: 0;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.restaurant-image {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -2;
}

.restaurant-image-ios {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-attachment: scroll; /* Esta es la diferencia */
  z-index: -2;
}
.section .container_custom {
  position: relative;
  z-index: 10;
}

.maps {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding-bottom: 20px;
}
.maps p {
  padding: 0;
}
iframe {
  width: 50%;
}

@media screen and (max-width: 1346px) {
  .maps {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  iframe {
    width: 90%;
  }
}
/* Estilos del modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  margin: auto;
  padding: 20px;
  background: #fff;
  width: 90%; /* Usa el porcentaje que mejor se adapte a tus necesidades */
  max-width: 1650px; /* Establece un ancho máximo para el modal */
}

.close {
  color: #ffffff; /* Blanco sobre fondo oscuro, asegúrate que contraste */
  position: absolute;
  right: 0px; /* Ajusta la posición si es necesario */
  top: 20px; /* Ajusta la posición si es necesario */
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10; /* Asegúrate de que está sobre otros elementos */
  background-color: #29292918;
  padding: 0 5px;
  top: 0;
}

.close:hover,
.close:focus {
  color: #000000;
}

/* Estilos del carrusel */
.carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slides img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: rgb(0, 0, 0);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  user-select: none;
  border-radius: 3px;
}

.next {
  right: 10px;
}

.prev {
  left: 10px;
}

/* FOOTER */

footer {
  font-family: "acumin-variable", sans-serif;
  font-variation-settings: "slnt" 0, "wdth" 200, "wght" 300;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  text-align: center;
  padding: 30px 10px;
}

.footer-content p {
  margin: 10px 0;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-icons img {
  height: 30px;
  width: 30px;
}
@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 80px;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .hamburger {
    display: flex;
  }
  .container_custom h2 {
    font-size: 2em;
  }

  .container_custom p {
    font-size: larger;
    padding: 5%;
  }

  .prev,
  .next {
    top: 60%;
    width: 10px;
    height: 15px;
    padding: 15px;
    align-items: center;
  }
  .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
  }
  .modal-content {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    background: none;
  }
}
