 * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #000;
      color: #eee;
      line-height: 1.6;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    a {
      color: #eee;
      text-decoration: none;
      transition: color 0.3s ease;
      cursor: pointer;
    }
    a:hover, a:focus {
      color: #ff00ff;
      outline: none;
    }

    nav {
      background-color: #111;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.8rem 1rem;
      border-bottom: 3px solid #00ffff;
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .logo img {
      height: 70px;
      filter: brightness(0) invert(1);
    }

    .nav-right {
      display: flex;
      align-items: center;
      position: relative;
    }

    /* Hamburguesa */
    .hamburger {
      width: 30px;
      height: 22px;
      display: none;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
      margin-left: 1rem;
      z-index: 105;
    }
    .hamburger div {
      height: 4px;
      background: #ff00ff;
      border-radius: 2px;
      transition: all 0.3s ease;
    }

    /* Menu Links */
    .menu-links {
      display: flex;
      align-items: center;
      gap: 1rem;
      transition: max-height 0.3s ease;
    }

    .menu-links > a,
    .dropdown > a {
      padding: 0.5rem 0.7rem;
      border-radius: 5px;
      font-weight: 600;
      white-space: nowrap;
      user-select: none;
    }

    .menu-links > a:hover,
    .dropdown > a:hover {
      background: #ff00ff;
      color: #000;
    }

    /* Dropdown */
    .dropdown {
      position: relative;
      user-select: none;
    }

    .dropdown-content {
      position: absolute;
      top: 100%;
      left: 0;
      background: #111;
      min-width: 180px;
      border: 2px solid #ff00ff;
      border-radius: 8px;
      box-shadow: 0 4px 10px rgba(255, 0, 255, 0.3);
      display: none;
      flex-direction: column;
      z-index: 200;
      padding: 0.4rem 0;
    }

    .dropdown-content a {
      padding: 0.5rem 1rem;
      color: #eee;
      font-weight: 500;
      border-radius: 5px;
      transition: background 0.2s ease;
    }

    .dropdown-content a:hover {
      background: #00ffff;
      color: #000;
    }

    .dropdown-content.show {
      display: flex;
      animation: fadeIn 0.3s ease-in-out;
    }

    a[data-toggle="dropdown"].active {
       color: #ffffff;
      font-weight: 700;
    }

    /* Social icons */
    .social-icons {
      display: flex;
      gap: 0.8rem;
      align-items: center;
      padding-left: 1rem;
    }
    .social-icons a img {

      transition: filter 0.3s ease;
    }
    

        /* Redes sociales en menú */
    .social-icons {
      display: flex;
      gap: 0.8rem;
      align-items: center;
      padding-left: 1rem;
    }
    .social-icons a img {

      transition: filter 0.3s ease;
    }
   
    .hero {
  margin-top: 1rem;
}

.hero-content img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(206, 0, 255, 0.4);
  object-fit: cover;
  display: block;
}

    /* DESCRIPCION */
    .descripcion {
      background: #111;
      padding: 2rem 1rem;
      border-radius: 15px;
      margin: 1rem;
      box-shadow: 0 6px 15px rgba(0, 255, 255, 0.25);
    }
    .descripcion-content {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 2rem;
      max-width: 1100px;
      margin: 0 auto;
    }

    .descripcion-texto {
      flex: 1 1 300px;
      color: #eee;
    }
    .descripcion-texto h2 {
      font-size: 2rem;
      color: #ff00ff; /* magenta */
      margin-bottom: 0.8rem;
    }
    .descripcion-texto p {
      font-size: 1.1rem;
      color: #ccc;
      line-height: 1.5;
    }

    .descripcion-imagen {
      flex: 1 1 300px;
    }
    .descripcion-imagen img {
      width: 100%;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(255, 0, 255, 0.3);
    }

.main-container {
  display: flex;
  gap: 17rem;
  max-width: 1200px;  
  margin: 3rem auto;
  padding: 0 1rem;    
  flex-wrap: wrap;
  color: #eee;
  background: #111;
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.4);
  box-sizing: border-box;
  justify-content: space-evenly;
}




  /* Contenedor del texto y banner */
  .texto-banner {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
  }
  .texto h1 {
    font-size: 2.5rem;
    color: #ff00ff;
  }
  .texto p {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #ccc;
  }

  /* Banner imagen debajo del texto */
  .banner img {
    width: 150%;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(206, 0, 255, 0.4);
    object-fit: cover;
    margin-top: 1.5rem;
    height: 250px;
    display: block;
  }

  /* Galería 2x2 a la derecha */
.galeria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2rem; /* un poco menos para que no quede tan separado */
  flex: 0 1 300px;
  justify-items: center; /* centrar imágenes */
  align-content: stretch;
  justify-content: center;
  align-items: center;
}

.galeria img {
  width: 210px; 
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 0, 255, 0.3);
}

  /* Responsive: en pantallas pequeñas apilar todo */
  @media (max-width: 768px) {
   .main-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    gap: 1rem;
    padding: 1rem;
  }

  .texto-banner {
    margin-right: 0; /* sin margen para no forzar espacio */
    max-width: 100%; /* que ocupe todo el ancho */
    flex: 1 1 100%; /* que ocupe el 100% */
  }


    .texto-banner, .galeria {
      max-width: 100%;
      flex: 1 1 100%;
    }
    .banner img {
    height: 180px; /* altura del banner más chica */
    width: 100%;
    margin-top: 1rem; /* menos margen para que no sea tan separado */
  }

    .galeria {
    flex: 1 1 100%; /* que ocupe el 100% */
    gap: 1rem; /* menos espacio entre imágenes */
  }

     .galeria img {
    height: 100px;
    width: 170px; 
  }

  }

  @media (max-width: 480px) {
    .texto h1 {
      font-size: 1.8rem;
    }
    .texto p {
      font-size: 1rem;
    }
    .banner img {
      height: 140px;
    }
    .galeria {
      grid-template-columns: 1fr 1fr;
      gap: 0.5rem;
    }
    .galeria img {
      height: 100px;
    }
  }

   footer {
  background-color: #000; /* fondo negro total */
  color: #eee;
  padding: 3rem 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

footer div {
  background: #111; /* cajita negra un poco más clara que el fondo */
  border: 2px solid #ff00ff; /* borde neón */
  border-radius: 12px;
  padding: 1.8rem 1.5rem;
  box-shadow:
    0 0 8px #ff00ff44,
    inset 0 0 6px #ff00ff33;
  transition: box-shadow 0.3s ease;
}

footer div:hover {
  box-shadow:
    0 0 14px #ff00ffcc,
    inset 0 0 10px #ff00ff88;
}

.footer-logo img {
  max-width: 140px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 4px #ff00ffaa);
}

.footer-logo p {
  font-size: 0.9rem;
  color: #aaa;
  letter-spacing: 0.6px;
}

footer h4 {
  color: #ff00ff;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-align: center;
  text-shadow:
    0 0 6px #ff00ffbb;
}

/* Contacto y texto */
.footer-contacto p {
  font-size: 1rem;
  margin: 0.25rem 0;
  color: #ddd;
  text-align: center;
}

/* Redes */
.footer-redes .redes {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-redes .redes a {
  font-size: 3rem;
  color: #eee;
  transition: color 0.3s ease, transform 0.3s ease;
  text-shadow:
    0 0 6px #ff00ff99;
}

.footer-redes .redes a:hover,
.footer-redes .redes a:focus {
  color: #00ffff;
  transform: scale(1.3);
  outline: none;
  text-shadow:
    0 0 12px #00ffffcc,
    0 0 20px #00ffffcc;
}

/* Responsive */
@media (max-width: 600px) {
  footer {
    padding: 2rem 1rem;
  }
  .footer-redes .redes {
    gap: 1.5rem;
  }
  footer div {
    padding: 1.2rem 1rem;
  }
}

    /* Animacion fadeIn */
    @keyframes fadeIn {
      from {opacity: 0;}
      to {opacity: 1;}
    }



    /* Animacion fadeIn */
    @keyframes fadeIn {
      from {opacity: 0;}
      to {opacity: 1;}
    }

    /* Responsive */
    @media (max-width: 768px) {
      .hamburger {
        display: flex;
      }
      #menuLinks {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background: #111;
        width: 250px;
        border-left: 3px solid #ff00ff;
        border-bottom-left-radius: 10px;
        border-top-left-radius: 10px;
        box-shadow: -4px 0 15px rgba(255, 0, 255, 0.5);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 100;
      }
      #menuLinks.open {
        display: flex;
        max-height: 1000px;
      }
      .menu-links > a,
      .dropdown > a {
        padding: 1rem;
        border-bottom: 1px solid #222;
        white-space: normal;
      }
      .dropdown-content {
        position: relative;
        border: none;
        box-shadow: none;
        background: #222;
        border-radius: 0 0 10px 10px;
        padding-left: 1rem;
        margin-bottom: 1rem;
      }
      .dropdown-content.show {
        display: flex;
        flex-direction: column;
      }
      .social-icons {
        padding: 0 1rem 1rem;
      }
    }

    /* En pantallas grandes: solo mostrar hamburguesa */
    @media (min-width: 769px) {
      .hamburger {
        display: none !important;
      }
      #menuLinks {
        display: flex !important;
        position: static;
        flex-direction: row;
        max-height: none;
        background: none;
        box-shadow: none;
        border: none;
        width: auto;
      }
      .menu-links > a,
      .dropdown > a {
        padding: 0.5rem 0.7rem;
      }
      .dropdown-content {
        display: none;
        position: absolute;
      }
      .dropdown:hover .dropdown-content {
        display: flex;
        flex-direction: column;
      }
    }

#modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

#modal.show {
  display: flex;
}

#modal img {
  width: 600px; /* Tamaño fijo para el ancho */
  height: 400px; /* Tamaño fijo para la altura */
  object-fit: contain; /* Mantiene proporciones sin distorsión */
  border-radius: 10px;
  display: block;
}

/* Botón de cierre */
#closeModal {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

#closeModal:hover {
  color: #ff00ff;
}

/* Responsivo */
@media (max-width: 768px) {
  #modal img {
    width: 90%; /* En móviles, usa un porcentaje del ancho */
    height: 300px; /* Altura más pequeña para móviles */
    max-height: 70vh; /* Limita la altura máxima */
  }

  #closeModal {
    font-size: 1.5rem;
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 480px) {
  #modal img {
    width: 85%;
    height: 200px;
    max-height: 60vh;
  }
}
   
