body {
  background-color: #000;
  color: #fff;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

.gallery-section {
  max-width: 1400px;
  margin: 4rem auto;
  padding: 0 1rem;
  text-align: center;
}

.gallery-section-big h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.gallery-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: auto;
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid-big img:hover {
  transform: scale(2.4);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.gallery-grid img:hover {
  transform: scale(1.5);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.gallery-section-big {
  max-width: 100%;
  margin: 2rem auto;
  padding: 0 1rem;
  text-align: center;
}

.gallery-grid-big {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
  grid-auto-rows: auto;
  gap: 1rem;
}

.gallery-grid-big img {
  max-width: 100%;       /* Make image shrink to fit container */
  height: auto;          /* Keep aspect ratio */
  display: block;        /* Remove inline gaps */
  margin: 0 auto;        /* Center images if block-level */
}

.gallery-grid-big img:hover {
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Optional classes for controlling image aspect ratios */
.square {
  aspect-ratio: 1 / 1;
}

.portrait {
  max-width: auto;
}

.banner {
  max-width: 400%;

  max-height: auto;
}
