.gallery-section {
  background-color: var(--color-surface);
}

.gallery-header {
  text-align: center;
  margin-bottom: 4rem;
}

.gallery-subtitle {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.gallery-title {
  color: var(--color-forest-deep);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem; /* gap-4 */
  height: 800px; /* h-[800px] */
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: 1.5rem; /* rounded-3xl */
  overflow: hidden;
}

.gallery-item.large {
  grid-column: span 2 / span 2;
  grid-row: span 2 / span 2;
}

.gallery-item.small {
  grid-column: span 1 / span 1;
  grid-row: span 1 / span 1;
}

.gallery-item.wide {
  grid-column: span 2 / span 2;
  grid-row: span 1 / span 1;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-play-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; /* inset-0 */
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-play-overlay {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.4);
}

.gallery-play-icon {
  color: var(--color-paper-white);
  font-size: 3.75rem; /* text-6xl */
}
