/* Event Gallery Grid Layout */
.event-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem auto;
  padding: 2rem;
  max-width: var(--container);
  background: var(--color-bodybck);
  border-radius: var(--radius);
  border: 1px solid var(--color-drkgreen);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.gallery-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 89, 76, 0.3);
  border-color: var(--color-accent);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .event-gallery {
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem;
    gap: 1rem;
  }

  .gallery-img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .event-gallery {
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
  }

  .gallery-img {
    height: 220px;
  }
}

@media (max-width: 390px) {
  .event-gallery {
    padding: 0.75rem;
    gap: 1rem;
    margin: 1rem auto;
  }

  .gallery-img {
    height: 200px;
  }
}

@media (max-width: 360px) {
  .event-gallery {
    padding: 0.5rem;
    gap: 0.75rem;
    margin: 0.5rem auto;
  }

  .gallery-img {
    height: 180px;
  }
}
