/* ====== Gallery Hero Section ====== */
.gallery-hero-section {
  background: linear-gradient(
      rgba(0, 0, 0, 0.5), 
      rgba(0, 0, 0, 0.5)
    ),
    url('../images/WhatsApp\ Image\ 2026-03-10\ at\ 10.30.34\ \(3\).jpeg') no-repeat center center;
  background-size: cover;
  padding: 120px 20px;
  text-align: center;
  color: #ffffff;
  position: relative;
}

.gallery-hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* subtle dark overlay for better text readability */
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.gallery-hero-content {
  position: relative;
  z-index: 2; /* bring text above overlay */
  max-width: 900px;
  margin: 0 auto;
}

.gallery-hero-section h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.gallery-hero-section p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  color: #f0f0f0;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .gallery-hero-section {
    padding: 80px 15px;
  }

  .gallery-hero-section h1 {
    font-size: 2.2rem;
  }

  .gallery-hero-section p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .gallery-hero-section {
    padding: 60px 10px;
  }

  .gallery-hero-section h1 {
    font-size: 1.8rem;
  }

  .gallery-hero-section p {
    font-size: 0.95rem;
  }
}



.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  aspect-ratio: 4 / 3;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.08);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  opacity: 0;
  transition: 0.3s;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item video {
  background: #000;
}

@media (max-width: 768px) {
  .gallery-item {
    aspect-ratio: 1 / 1;
  }
}


/* ====== Gallery Footer ====== */
.gallery-footer {
  background-color: #0b3d0b; /* dark green matching your theme */
  color: #ffffff; /* white text for contrast */
  text-align: center;
  padding: 30px 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  position: relative;
  bottom: 0;
  width: 100%;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.gallery-footer p {
  margin: 0;
  line-height: 1.5;
}

/* Optional: add hover effect for any links inside the footer */
.gallery-footer a {
  color: #f0f0f0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.gallery-footer a:hover {
  color: #a2d5a2; /* lighter green on hover */
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .gallery-footer {
    font-size: 0.9rem;
    padding: 25px 15px;
  }
}

@media (max-width: 480px) {
  .gallery-footer {
    font-size: 0.85rem;
    padding: 20px 10px;
  }
}