/* Gallery Hero */
.gallery-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)),
    url("/assets/img/cta-bg.jpg") no-repeat center center/cover;
  height: 400px;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  margin-top: 80px;
}

.gallery-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.gallery-hero p {
  font-size: 1.3rem;
  opacity: 0.9;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* Gallery CTA */
.gallery-cta {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1)),
    url("/assets/img/hero-bg.jpg") no-repeat center center/cover;
  padding: 3rem;
  border-radius: var(--border-radius);
  margin-top: 4rem;
  text-align: center;
  box-shadow: var(--shadow);
  color: white;
}

.gallery-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: white;
}

.gallery-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .gallery-hero {
    height: 350px;
  }

  .gallery-hero h1 {
    font-size: 2.5rem;
  }

  .gallery-hero p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .gallery-hero {
    height: 300px;
    margin-top: 70px;
  }

  .gallery-hero h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .gallery-hero {
    height: 250px;
  }

  .gallery-hero h1 {
    font-size: 1.8rem;
  }

  .gallery-cta {
    padding: 2rem 1.5rem;
  }

  .gallery-cta h3 {
    font-size: 1.5rem;
  }

  .gallery-cta p {
    font-size: 1rem;
  }
}
