/* ==============================baner  */

/* About Banner Styles */
.about-banner {
  position: relative;
  background-color: #e9f7df; /* Light green background */
  padding: 4rem 2rem; /* Adjust padding for spacing */
  text-align: center;
  margin-top: var(--header-height); /* Avoid overlapping with navbar */
}

.banner-content h1 {
  font-size: 2.5rem;
  color: #356a35; /* Primary color */
  font-weight: 700;
  margin-bottom: 1rem;
}

.banner-content p {
  font-size: 1.25rem;
  color: #3d3d3d; /* Neutral dark */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .banner-content h1 {
    font-size: 2rem;
  }

  .banner-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .banner-content h1 {
    font-size: 1.75rem;
  }

  .banner-content p {
    font-size: 0.875rem;
  }
}

/* =============================================gallery*/
/* Gallery Section */
.gallery-section {
  padding: 6rem 2rem;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  height: 300px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #ffffff;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

.overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.lightbox-image {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
}

.close-lightbox {
  position: absolute;
  top: 1rem;
  right: 2rem;
  color: #ffffff;
  font-size: 3rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-lightbox:hover {
  color: #fbbf24;
}

.lightbox-caption {
  color: #ffffff;
  text-align: center;
  margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-section {
    padding: 4rem 1rem;
  }

  .gallery-section h2 {
    font-size: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 1rem;
  }
}
