/* General */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
}

/* Menu */
#menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #E6E2DF;
  color: #000;
  padding: 25px;
}

#logo {
  margin-left: 20px;
  position: relative;
}

#logo img {
  position: absolute;
  top: -30px;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  margin-right: 10px;
}

.hamburger-menu span {
  width: 2rem;
  height: 0.25rem;
  background-color: #000000;
  display: block;
}

.hamburger-menu.open span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

#menu-items {
  list-style-type: none;
  margin: 0 50px 0 0;
  padding: 0;
  display: flex;
  text-align: center;
}

#menu-items li {
  margin-right: 40px;
}

#menu-items li a {
  color: #1c1c1c;
  text-decoration: none;
  transition: transform 0.3s ease, border 0.3s ease;
}

#menu-items li a:hover {
  color: #454545;
  padding-bottom: 33px;
  border-bottom: 2px solid rgb(87, 87, 87);
}

#menu-items .special-button {
  background-color: #154989;
  color: white;
  padding: 10px;
  border-radius: 5px;
}

#menu-items .special-button:hover {
  background-color: #2d6bb7;
  color: white;
  padding: 10px;
  border-radius: 5px;
}

@media (max-width: 600px) {
  .hamburger-menu {
      display: flex;
  }

  #menu-items {
      display: none;
      flex-direction: column;
      margin: 0;
      position: absolute;
      top: 80px;
      right: 0;
      background-color: #f0f0f0;
      height: 250px;
      width: 100%;
      z-index: 3;
  }

  #menu-items li {
      margin: 10px 0 20px 0;
  }

  #menu-items li a:hover {
      padding-bottom: 25px;
  }
}

/* Modal */
.success-message {
  display: none;
  color: green;
  margin-top: 10px;
  font-size: 16px;
}
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #f0f0f0;
  margin: 3% auto;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #888;
  width: 50%;
}

.close-button {
  color: #4e4e4e;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

form {
  display: flex;
  flex-direction: column;
}

form label {
  margin-bottom: 0;
  font-size: 19px;
  color: #333;
}

form input[type="text"], form input[type="email"], form textarea {
  padding: 10px;
  border: none;
  border-radius: 5px;
  margin-bottom: 10px;
  font-size: 1em;
  outline: none;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}

form textarea {
  resize: none;
  height: 100px;
}

form input[type="submit"] {
  padding: 20px;
  background-color: #333;
  color: white;
  font-size: 19px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form input[type="submit"]:hover {
  background-color: #444;
}

@media (max-width: 600px) {
  .modal-content {
      width: 80%;
      padding: 10px;
  }

  form label {
      font-size: 16px;
  }

  form input[type="text"], form input[type="email"], form textarea {
      padding: 5px;
      margin-bottom: 10px;
      font-size: 0.9em;
  }

  form textarea {
      height: 80px;
  }

  form input[type="submit"] {
      padding: 10px 20px;
      font-size: 16px;
  }
}

/* Banner */
.banner {
  width: 100%;
  height: 50vh;
  background-image: url('/img/banner-medio.jpeg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.titulo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  text-align: center;
}

.filtro {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Contenido */
.contenido {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contenido h2, .contenido h3, .contenido h4 {
  color: #333;
  margin-top: 20px;
}

.contenido p, .contenido ul, .contenido ol {
  font-size: 16px;
  line-height: 1.5;
  color: #666;
  margin-bottom: 20px;
}

.contenido-uno {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contenido-uno img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-left: 20px;
}

.tarjetas {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.tarjeta {
  flex: 1 1 calc(50% - 20px);
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.tarjeta h3, .tarjeta h4 {
  margin-top: 0;
}

.galeria {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.galeria img {
  width: calc(33.33% - 10px);
  border-radius: 8px;
}

@media (max-width: 600px) {
  .tarjeta {
      flex: 1 1 100%;
  }

  .galeria img {
      width: calc(50% - 10px);
  }

  .contenido-uno {
      flex-direction: column;
      align-items: flex-start;
  }

  .contenido-uno img {
      margin-left: 0;
      margin-top: 20px;
  }
}

/* Redes Sociales */
.redes-sociales {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 9999;
}

.redes-sociales a {
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  margin-bottom: 10px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  transition: background-color 0.3s ease;
}

.redes-sociales a:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.boton-instagram {
  background-color: #E1306C;
}

.boton-facebook {
  background-color: #3B5998;
}

.boton-whatsapp {
  background-color: #25D366;
}

.boton-twitter {
  background-color: #1DA1F2;
}

.boton-tiktok {
  background-color: #000000;
}



/*FOOTER*/
.footer-content {
  overflow: hidden;
  background-color: #333;
  color: white;
  padding: 20px 0;
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  max-width: 100px;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu a {
  color: white;
  text-decoration: none;
}

.copyright p {
  margin: 0;
}
@media (max-width: 600px){
      .copyright p {
      margin: 0;
      font-size: 14px;
    }
    .footer-content{
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding-top: 100px;
      padding-bottom: 120px;
    }

    .menu{
      margin: 0px;
    }
    .menu ul{
      padding: 0%;
      flex-direction: column;
      display: flex;
      text-align: center;
      align-items: center;
      justify-content: center;
    }
}
/*FIN DEL FOOTER*/

/* Estilos para el botón de WhatsApp fijo abajo a la derecha */
.boton-whatsapp-fijo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.boton-whatsapp-fijo a {
  display: block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  border-radius: 50%;
  color: #fff;
  font-size: 45px;
  background-color: #25D366;
  transition: background-color 0.3s ease;
}

.boton-whatsapp-fijo a:hover {
  background-color: #128C7E;
}