html {
  height: 100%;
  margin: 0;
}
body {
  background-color: #fff;
  color: #333333d6;
  width: 100%;
  font-family: Arial, sans-serif;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
  position: fixed;
  z-index: 1000;
}

.headerWrapper {
  display: flex;
  background-color: #bfdef46b;
  align-items: center;
  justify-content: space-between;
  padding: 1px 3px;
  border: 2px solid #33333349;
  border-radius: 30px;
  height: 80px;
  left: 0;
  z-index: 9000;
  box-shadow: 0 2px 8px rgba(81, 89, 98, 0.384);
}

#logo {
  scale: 0.5;
}

nav ul {
  display: flex;
  gap: 5rem;
  list-style: none;
  margin-right: 100px;
}

nav ul li a {
  color: black;
  text-decoration: none;
}

.active {
  color: #2e74ba;
}

.hamburger {
  display: none; /* Oculta el menú hamburguesa por defecto */
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px;
}

/* Responsive styles */
@media (max-width: 810px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
    width: 30%;
    display: none; /* Oculta el menú en vista móvil */
    padding: 4;
    margin: 0;
    z-index: 10000000;
    position: absolute;
    top: 85px;
    right: 0;
    height: 200px;
    border-radius: 15px;
    margin-right: 50px;
    background-color: #174a8740;
  }

  nav ul.show {
    display: flex;
    justify-content: space-around;
  }
  

  .hamburger {
    display: block; /* Muestra el menú hamburguesa en vista móvil */
  }
}




.footerWrapper {
  background-color: #bfdef46b;
  color: #000000;
  padding: 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
  height: 80px;
}

.footer-links {
  flex: 1;
}

.footer-logo {
  flex: 1;
  scale: 0.5;
  text-align: center;
}

.footer-address {
  flex: 1;
  text-align: right;
}

.social-icon {
  width: 24px;  /* Ajusta el tamaño del ícono */
  height: 24px;
  margin-right: 10px;
}

.footerWrapper p {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}


.short {
  display: none;
}
.hidden {
  display: flex;
}

.toggle-button {
  background-color: #2e6aaac1;
  color: white;
  border: none;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 10px;
  margin-top: 10px;
}

/* Ocultar el botón en pantallas grandes (desktop) */
@media screen and (min-width: 1100px) {
  .toggle-button {
    display: none;
  }
}

/* Mostrar el botón en pantallas pequeñas (móvil) */
@media screen and (max-width: 1100px) {
  .toggle-button {
    display: block;
  }
  .short {
    display: flex;
  }
  .hidden {
    display: none;
  }
}

.toggle-button:hover {
  background-color: #0056b3;
}

.hero {
  background-image: url("/assets/MAIN.jpg");
  background-position: center;
  height: 1000px;
  width: 100%;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  margin: 0;
  padding: 0;
}

.hero-content {
  margin-top: -380px;
  text-align: center;
}

@media (max-width: 810px) {
  .hero {
    background-image: url("/assets/movil1.JPG");
    background-position: center;
    height: 990px;
    width: 100%;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin: 0;
    padding: 0;
    margin-bottom: 50px;
  }

  .hero-content {
    margin-top: -190px;
    text-align: center;
  }
}

.info {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.section1 {
  display: flex;
  margin-top: 170px;
  justify-content: center;
  height: 530px;
  width: 80%;
  img {
    border-radius: 15px;
    max-width: 100%; /* Asegura que las imágenes nunca sean más anchas que su contenedor */
    height: auto;
  }
  .hidden{
    display: flex;
  }

  .info1 {
    width: 90%;
    text-align: center;
    display: flex;
    gap: 5rem;
    justify-content: space-around;
    align-items: center;
  }
}

.section2 {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 900px;
  width: 90%;
  .hidden{
    display: flex;
  }
  img {
    scale: 0.7;
    border-radius: 15px;
    max-width: 100%; /* Asegura que las imágenes nunca sean más anchas que su contenedor */
    height: auto;
  }
  .info2 {
    width: 90%;
    text-align: center;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
}

@media (max-width: 1400px) {
  .section2 {
    width: 90%;
    .info2 {
      width: 100%;
    }
  }
}

@media (max-width: 1100px) {
  .section1,
  .section2 {
    margin-bottom: 40px;
    width: 80%;
    height: max-content;
    margin-top: 10px;
    .info1 {
      .hidden{
        display: none;
      }
      font-size: 14px;
      gap: 0rem;
      display: flex;
      flex-direction: column-reverse;
    }
    img {
      scale: 0.85;
    }
    .info2 {
      .hidden{
        display: none;
      }
      font-size: 14px;
      display: flex;
      flex-direction: column;
      gap: 0rem;
    }
  }
}

.galeryWrapper {
  display: flex;
  flex-direction: column;
  margin-top: 150px;
  width: 100%;
  justify-content: center;
  align-items: center;
  
}

.galeryWrapper h1 {
  margin-top: 180px;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.container {
  margin-top: 50px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container h2 {
  font-weight: lighter;
  font-size: larger;
  margin-bottom: 20px;
}

.container2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.container2 img {
  width: 60%;
  max-height: 350px;
  margin: 10px;
  max-width: 350px;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
  margin-bottom: 50px;
}
.container2 img:hover {
  transform: scale(1.6);
}

.containerFuera {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.containerFuera img {
  width: 60%;
  max-height: 220px;
  margin: 10px;
  max-width: 220px;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
  margin-bottom: 50px;
}
.containerFuera img:hover {
  transform: scale(1.6);
}


.sectionEntorno {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.headers-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.header-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.hidden {
  display: none;
}

button {
  margin-top: 10px;
}

.imagenes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.imagenes img {
  max-width: 200px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.active-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  width: 100%;
}






@media (max-width: 800px) {
  .container2 img {
    width: 80%;
    max-height: 750px;
    margin: 10px;
    max-width: 750px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    margin-bottom: 50px;
  }
  .container2 img:hover {
    transform: scale(1);
  }
}

.contact-form {
  margin-top: 230px;
  display: flex;
  justify-content: center;
  margin-bottom: 90px;
}

.contact-form form {
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background-color: #bfdef46b;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(66, 132, 207, 0.384);
  padding: 20px;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 20px;
}

.contact-form .form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #4872b149;
  border-radius: 10px;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  padding: 10px 20px;
  margin-top: 15px;
  margin-bottom: 2px;
  background-color: #34608c;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  align-self: center;
}

.contact-form button:hover {
  background-color: #34608c77;
  transform: scale(1.05);
}

.success-message {
  margin-top: 20px;
  padding: 10px;
  background-color: #d4edda;
  color: rgba(107, 146, 185, 0.546);
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  text-align: center;
}





@media (max-width: 1100px) {
  .mapa {
    flex-direction: column;

    iframe {
      scale: 0.75;
    }

    .comollegar {
      width: 100%;
      display: none;
    }
  }
}
