/* Default for mobile (2 column) */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);;
  gap: 10px;
}

/* For desktop (3 columns) */
@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  overflow: hidden;
  border-radius: 2vw;
  background: #f0f0f0;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Prevents stretching */
  transition: transform 0.3s ease;
  cursor: pointer;
}

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

h1 {
    font-size: 4rem; /* Massive title */
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0rem;
  }

  /* Ensure the lightbox overlay fits the screen */
.lum-lightbox {
  z-index: 10000; /* Ensure it stays on top of everything */
  background-color: rgba(0, 0, 0, .85);
}

/* Force the lightbox image to stay within the mobile screen */
[class*="lum-"] img,
.lum-lightbox-image {
  max-width: 100vw !important;
  max-height: auto !important;
  width: auto !important;
  height: auto !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0rem !important;
  object-fit: contain !important;
}
