/* Elijah IT Gallery Page Styles */

.gallery-hero {
  background: var(--gray-100, #f3f4f6);
  padding: 48px 0 24px 0;
  text-align: center;
}
.gallery-hero h1 {
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-size: 2.5rem;
  margin-bottom: 0.5em;
}
.gallery-hero p {
  color: var(--text-secondary, #6b7280);
  font-size: 1.2rem;
}

.gallery-section {
  padding: 32px 0 64px 0;
}
.gallery-grid {
  display: grid;
  /* Force three columns on desktop for a consistent 3-up layout */
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Keep the grid from stretching edge-to-edge; center it inside the page container */
.gallery-grid {
  max-width: 1100px;
  margin: 0 auto;
}

/* Responsive: 2 columns on medium screens, 1 column on small screens */
@media (max-width: 1000px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
.gallery-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
}
.gallery-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.gallery-caption {
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--text-primary, #081f2c);
  text-align: center;
  background: #fafbfc;
  width: 100%;
}
