/* Header */
.galeria-header {
  position: relative;
  color: #fff;
  padding: 6rem 2rem;
  text-align: center;
}

.galeria-header .header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.galeria-header h1 {
  position: relative;
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.galeria-header p {
  position: relative;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.galeria {
  padding: 3rem 2rem;
  text-align: center;
  background: #2c2c2c;
  color: white;
}

.eventos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.evento {
  background-color: var(--color-secondary);
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  width: 250px;
  transition: transform 0.3s ease;
}

.evento:hover {
  transform: scale(1.05);
}

.evento img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.galeria-evento {
  display: none;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: auto auto;
  max-width: 10000px;
  background: #2c2c2c;
}

.galeria-evento img {
  width: 200px;
  height: auto;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s;
}

.galeria-evento img:hover {
  transform: scale(1.1);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
}

.lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.nav-arrows {
  position: absolute;
  bottom: 50px;
  display: flex;
  gap: 3rem;
  font-size: 3rem;
  color: white;
  cursor: pointer;
}

/* Responsivo */
@media (max-width: 768px) {
  .evento {
    width: 90%;
  }

  .galeria-evento img {
    width: 100%;
    max-width: 100px;
  }
}
