/* Gallery Index Page */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 20px 0 40px;
}

.gallery-grid .album-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-grid .album-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-grid .album-image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.gallery-grid .album-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-grid .album-card:hover .album-image {
  transform: scale(1.05);
}
.gallery-grid .album-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 50%);
}
.gallery-grid .album-year {
  position: absolute;
  top: 12px;
  right: 12px;
  width: fit-content;
  background: #BC9F60;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.gallery-grid .album-info {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  color: #fff;
}
.gallery-grid .album-title {
  font-size: 16px;
  margin: 0 0 4px;
  font-weight: 600;
}
.gallery-grid .album-location {
  font-size: 13px;
  opacity: 0.9;
  margin: 0;
}

/* Stats Section */
.stats {
  padding: 30px 0;
}
.stats-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  text-align: center;
}
.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #BC9F60;
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  color: #666;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Edition listing cards (speakers, committee, program) — compact height */
.edition-grid .album-image-container {
  aspect-ratio: 2.5/1;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stats-grid {
    gap: 30px;
  }
  .stat-number {
    font-size: 28px;
  }
}
