/* -------------------------------
   Gallery Section
-------------------------------- */

#gallery {
  background: var(--black-light);
  color: var(--white);
}

.gallery {
  display: flex;
  flex-direction: column;
}

/* Text block */

.gallery-copy {
  padding: var(--space-2xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* center text horizontally */
  text-align: center; /* center text */
  gap: var(--space-md);
  max-width: 100%;
}

@media (min-width: 768px) {
  .gallery-copy {
    padding: var(--space-3xl) var(--space-2xl);
  }
}

@media (min-width: 1024px) {
  .gallery-copy {
    padding: var(--space-3xl) 4rem;
  }
}

@media (min-width: 1400px) {
  .gallery-copy {
    padding: var(--space-3xl) 6rem;
  }
}

.gallery-eyebrow {
  font-family: var(--font-text);
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0;
}

.gallery-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 0;
  max-width: 20ch;
}

.gallery-desc {
  font-family: var(--font-text);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.7;
  color: var(--white);
  max-width: 50ch;
  margin-bottom: 0;
}

/* Image grid */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 8px;
  min-height: 70vh;
  padding-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 8px;
  }
}

.gallery-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .gallery-card {
    min-height: 480px;
  }
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
