html {
    height: 100%;
  }
  
  /* TIPO DE LETRA PARA TODA LA PAGINA TOMADA DE GOOGLE FONT*/
  @import url("https://fonts.googleapis.com/css2?family=Merienda:wght@300..900&display=swap");
  
  /* MARGEN DE TODA LA PAGINA */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* CONFIGURACION PARA EL CUERPO DE LA PAGINA E IMAGEN DE FONDO */
  body {
  height: 100%;
    font-family: "Merienda";
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgb(0, 0, 0, 0.7)),
      url(../img/galley-cover2.jpg);
    background-attachment: fixed;
    background-size: cover;
    /* min-height: 100%; */
  }
  
  main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
    padding: 2em;
  }
  
  /* CONFIGURACION PARA LOS LOGOS DE REDES SOCIALES*/
  .redes a img {
    width: 40px;
    display: inline-block;
    margin: 15px;
  }

  /* Corrección específica para galeria.html: asegurar que los logos no queden "en blanco" */
  .homepageHeader .redes a {
    /* Fondo más oscuro para que los íconos claros se distingan */
    background: rgba(28, 33, 39, 0.35) !important;
    color: #eaf4ff !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25),
                0 0 10px rgba(96, 165, 250, 0.30) !important;
  }

  .homepageHeader .redes a img {
    /* Evitar que el fondo blanco del ícono lo "borre" visualmente */
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 28px !important;
    height: 28px !important;
    filter: none !important;
  }
  
  /* COFIGURACION DE LA BARRA DE HORARIOS DE LA PAGINA Y TEXTOS QUE VAN DENTRO */
  .info {
    background-color: rgb(41, 41, 41);
    color: #fff;
    padding: 10px;
    text-align: center;
  }
  
  /* CONFIGURACION DE LA POCICION DE LA BARRA DE NAV  , INICIO / SABORE ETC */
header {
    padding: 8px 12px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
  }
  header nav { margin-right: auto; }
  /* Asegurar que el reloj no desplace el menú dentro del header */
/* clock-container eliminado */
  
  /* CONFIGURACION DE LA BARRA DE NAVEGACION ORDEN DE LAS OPCIONES INCIO SABORES ETC */
  nav ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    margin: 0;
    gap: 16px;
  }
  
  nav ul li {
    margin: 0;
  }
  
  /* CONFIGURACION DE LA BARRA DE NAVEGACION */
  nav ul li a {
    text-decoration: none;
    color: #eaf4ff;
    font-size: 15px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 6px 10px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    backdrop-filter: saturate(1.2) blur(4px);
    display: inline-block;
    width: 130px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
  }
  
  nav ul li a:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    transform: translateY(-1px);
  }

  
  .img-gallery{
    max-width: 1200px;
    margin: 28px auto;
    padding: 10px 3%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
  }

  /* Tarjetas cristalinas (glassmorphism) */
  .photo-card{
    position: relative;
    border-radius: 16px;
    padding: 10px;
    background: rgba(28, 33, 39, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(6px) saturate(1.05);
    transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease;
    will-change: transform;
  }

  .photo-card:hover{
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
    border-color: rgba(255, 255, 255, 0.22);
  }

  .photo-card:focus-visible{
    outline: 2px solid rgba(99, 102, 241, 0.7);
    outline-offset: 3px;
  }

  .img-gallery img{
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    display: block;
    cursor: pointer;
    border-radius: 12px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.12);
    /* Marco neón base (blanco) */
    border: 2px solid rgba(255, 255, 255, 0.65);
    /* Brillo más minimal en desktop (0.5 / 0.25 en móvil) */
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.50)) drop-shadow(0 0 16px rgba(255, 255, 255, 0.25));
    transition: transform 180ms ease, filter 220ms ease, border-color 220ms ease;
  }


  /* El hover se aplica a la tarjeta para un efecto más elegante */
  .img-gallery img:hover{
    transform: scale(1.01);
    border-color: rgba(255, 255, 255, 0.85);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.70)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.40));
  }

  /* Halo suave alrededor de cada tarjeta para reforzar el neón */
  .photo-card::before{
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background:
      radial-gradient(120px 160px at 20% 18%, rgba(255, 255, 255, 0.50), transparent 60%),
      radial-gradient(160px 140px at 80% 82%, rgba(255, 255, 255, 0.50), transparent 60%);
    filter: blur(8px);
    z-index: -1;
    opacity: 0.5; /* desktop: intensidad base 0.5 */
    pointer-events: none;
    animation: neonPulse 4.5s ease-in-out infinite;
  }
  .photo-card:hover::before{ filter: blur(10px); opacity: 0.62; }

  /* Pulsación sutil del halo */
  @keyframes neonPulse {
    0% { opacity: 0.46; }
    50% { opacity: 0.58; }
    100% { opacity: 0.46; }
  }
  
  .full-img{
width: 100%;
height: 100vh;
background: rgba(0, 0, 0, 0.9);
position: fixed;
top: 0;
left: 0;
display: none;
align-items: center;
justify-content: center;
z-index: 100;


  }

/* Responsivo */
@media (max-width: 768px) {
  .img-gallery { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
  .photo-card { padding: 8px; border-radius: 14px; }
  .img-gallery img { filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.50)) drop-shadow(0 0 14px rgba(255, 255, 255, 0.25)); }
}

@media (max-width: 480px) {
  .img-gallery { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
  .img-gallery img { border-color: rgba(255, 255, 255, 0.55); filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.25)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.15)); }
  .photo-card::before { opacity: 0.25; animation: neonPulseWeak 4.5s ease-in-out infinite; }
}

/* Pulsación más suave en móviles */
@keyframes neonPulseWeak {
  0% { opacity: 0.20; }
  50% { opacity: 0.28; }
  100% { opacity: 0.20; }
}

.full-img img{
width: 90%;
max-width: 500px;
  }

.full-img span{
position: absolute;
top: 5%;
right: 5%;
font-size: 30px;
color: #fff;
cursor: pointer;

  }

