.gallery-hero {
  background-image: url('images/gallery-hero.jpg'); /* You choose this image */
  background-size: cover;
  background-position: center;
  height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5); /* Slight dark overlay */
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    z-index: 1;
}

.gallery-hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.gallery-hero-overlay p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.scroll-btn {
    font-size: 1.2rem;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #ffb347;
  color: #023047;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.scroll-btn:hover {
  background: #ffc86b;
}

/* Gallery Section */
.gallery-page {
  padding: 4rem 2rem;
  text-align: center;
}

.gallery-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #eb3e2e;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.gallery-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(224, 215, 173, 0.2); /* light glow */
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
  color: white;
  z-index: 2;
}

.card-overlay h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.card-overlay p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
    .scroll-btn {
        font-size: 0.8rem;
    }

  .gallery-hero-overlay h1 {
    font-size: 2rem;
  }

  .gallery-hero-overlay p {
    font-size: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr; /* stack the cards */
    padding: 2rem 1rem;         /* tighter padding */
    gap: 1.5rem;
  }

  .gallery-card img {
    height: auto; /* Let it resize naturally */
  }

  .card-overlay h3 {
    font-size: 1.1rem;
  }

  .card-overlay p {
    font-size: 0.8rem;
  }
}
