
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

      section {
  scroll-margin-top: 80px; /* Ajusta al alto de tu header */
}

    body {
      font-family: Arial, sans-serif;
      scroll-behavior: smooth;

    }

    header {
      position: fixed;
      top: 0;
      width: 100%;
      background-color: #004b80ed;
      color: white;
      z-index: 1000;
    }

    .logomenu img{

      max-width: 50px;
  height: auto;
  margin-right: 50px;


    }


     nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      flex-wrap: wrap;
    }

    .logo {
      font-size: 1.5em;
    }

    .menu {
      display: flex;
      gap: 20px;
      list-style: none;
    }

    .menu li {
      position: relative;
    }

    .menu a {
  color: white;
  text-decoration: none;
  padding: 10px 2px; /* ← Aumenta el padding vertical */
  display: block;
}  


    .menu a:hover {
      background-color: #af7613;
      border-radius: 4px;
    }

    /* Submenú */
    .submenu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #333;
      min-width: 160px;
      z-index: 999;
      flex-direction: column;
      list-style: none;

    }

    .submenu a {
      padding: 10px;
    
    }

    .menu li:hover .submenu {
      display: flex;
      






    }

    /* Hamburguesa */
    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
    }

    .hamburger div {
      width: 25px;
      height: 3px;
      background-color: white;
      margin: 4px 0;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .hamburger {
        display: flex;
      }

      .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #333;
        margin-top: 10px;
      }

      .menu.active {
        display: flex;
      }

      .menu li {
        width: 100%;
      }

      .menu li:hover .submenu {
        position: relative;
        display: none;
      }

      .menu li.open .submenu {
        display: flex;
      }
    }

/*MAIN*/

/*cuerpo*/

body {
  margin-top: 90px;
  font-family: Arial, sans-serif;
  background: #f8f8f8;
   
}

.galeria-main {
  width: 100%;
  margin: auto;
  margin-top: 10px;
  padding-bottom: 100px;
    min-height: 100vh; /* al menos el alto de la ventana del navegador */
}

.titulo-galeria {
  text-align: center;
  color: #9f1010;
  margin-bottom: 30px;
}


/* Miniaturas */
.galeria-miniaturas {
   width:100%;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.titulo-miniatura {
  text-align: center;
  margin-top: 8px;
  font-size: 0.95rem;
  color: #333;
  font-weight: 500;
}

.thumb {
  width: 300px;
  cursor: pointer;
}

.thumb img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.thumb img:hover {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
}

.contenedor-slide {
  position: relative;
  text-align: center;
}

.slide-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 10px;
}

.texto-slide {
  color: #fff;
  background-color: rgba(0,0,0,0.5);
  padding: 10px 20px;
  border-radius: 8px;
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 1.2rem;
}

.cerrar {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: white;
  cursor: pointer;
}

.anterior, .siguiente {
  cursor: pointer;
  position: absolute;
  top: 50%;
  font-size: 48px;
  color: white;
  padding: 10px;
  user-select: none;
  transform: translateY(-50%);
}

.anterior {
  left: 20px;
}
.siguiente {
  right: 20px;
}

/*texto encabezado*/
/*
.seccion-texto {
  background-color: #f4f6f8;
  padding: 30px 20px;
  text-align: center;
  }

.seccion-texto h2 {
  font-size: 2rem;
  color: black;
  
}

.seccion-texto h2 i {
  margin-right: 25px;
  color: black; 
}

.seccion-texto p {
  font-size: 1.0rem;
  color: #333;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}   */

.seccion-texto {
      padding: 40px 20px;
      background-color: #ffffff;
      text-align: center;
    }

    .seccion-texto h2 {
      font-size: 2rem;
      color: black;
      margin-bottom: 20px;
    }

    .seccion-texto p {
      font-size: 1rem;
      max-width: 700px;
      margin: 0 auto;
      line-height: 1.6;
    }




/* FOOTER ESTILOS */
.footer {
  background-color: #004b80;
  color: #fff;
  padding: 40px 20px;
  font-size: 15px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  max-width: 160px;
  height: auto;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #ffda85;
}

.footer-column p,
.footer-column a {
  margin: 6px 0;
  color: #fff;
  text-decoration: none;
}

.footer-column a:hover {
  color: #ffd700;
  text-decoration: underline;
}

.social-icons a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
}

.social-icons i {
  font-size: 18px;
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #ffffff33;
  font-size: 13px;
  color: #cccccc;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    margin-bottom: 15px;
  }
}


