.galeria-mariachis {
  max-width: 1200px;
  margin: auto;
  padding: 50px 20px;
  font-family: Arial, sans-serif;
  background: #fffaf0;
}

.galeria-mariachis h2 {
  text-align: center;
  font-size: 36px;
  color: #8b0000;
  margin-bottom: 40px;
}

.categoria {
  margin-bottom: 60px;
}

.categoria h3 {
  font-size: 28px;
  color: #b8860b;
  margin-bottom: 25px;
  border-left: 6px solid #8b0000;
  padding-left: 15px;
}

.grid-galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.foto {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(0,0,0,0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.foto:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
}

.foto img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.foto p {
  display: none;
}

/* Ventana grande al hacer clic */
.lightbox {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.88);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 25px;
}

.lightbox-img {
  max-width: 90%;
  max-height: 70vh;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(255,255,255,0.25);
}

#lightbox-texto {
  max-width: 750px;
  color: white;
  font-size: 20px;
  text-align: center;
  margin-top: 20px;
  line-height: 1.5;
}

.cerrar {
  position: absolute;
  top: 25px;
  right: 35px;
  color: white;
  font-size: 46px;
  font-weight: bold;
  cursor: pointer;
}

/* Responsive móvil */
@media (max-width: 900px) {
  .grid-galeria {
    grid-template-columns: repeat(2, 1fr);
  }

  .galeria-mariachis h2 {
    font-size: 30px;
  }
}

@media (max-width: 600px) {
  .grid-galeria {
    grid-template-columns: 1fr;
  }

  .foto img {
    height: 260px;
  }

  .categoria h3 {
    font-size: 24px;
  }

  #lightbox-texto {
    font-size: 17px;
  }
}