.gallery-section {
  padding: 90px 0;
  background: #f5f9f2;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-heading span {
  color: rgb(117, 172, 57);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-heading h2 {
  color: rgb(255, 159, 28);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  margin: 10px 0 15px;
}

.section-heading p {
  color: #68716a;
  font-size: 16px;
  line-height: 1.7;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 45px;
}

.gallery-filter {
  border: 1px solid #dce7d7;
  background: #fff;
  color: #426047;
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.25s ease;
}

.gallery-filter:hover, .gallery-filter.active {
  background: rgb(117, 172, 57);
  border-color: rgb(117, 172, 57);
  color: #fff !important;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #ddd;
  cursor: pointer;
  height: 300px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.gallery-item.large {
  grid-column: span 2;
  height: 390px;
}

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

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.05) 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-content {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  transition: 0.3s ease;
}

.gallery-item:hover .gallery-content {
  opacity: 1;
  transform: translateY(0);
}

.gallery-content h5 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-content span {
  font-size: 13px;
  opacity: 0.85;
}

.gallery-zoom {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: rgb(117, 172, 57);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transform: scale(0.8);
  transition: 0.3s ease;
}

.gallery-item:hover .gallery-zoom {
  opacity: 1;
  transform: scale(1);
}

.gallery-modal .modal-dialog {
  max-width: 1100px;
}

.gallery-modal .modal-content {
  background: #080b09;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
}

.gallery-modal .modal-body {
  padding: 0;
  position: relative;
}

.lightbox-image {
  width: 100%;
  max-height: 82vh;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  background: #080b09;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 5;
  transition: 0.2s ease;
}

.lightbox-nav:hover {
  background: rgb(117, 172, 57);
  color: #fff;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 25px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: #fff;
}

.lightbox-caption h5 {
  margin: 0 0 4px;
  font-weight: 700;
}

.lightbox-caption p {
  margin: 0;
  opacity: 0.75;
  font-size: 14px;
}

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item {
    height: 280px;
  }
  .gallery-item.large {
    height: 350px;
  }
}
@media (max-width: 575px) {
  .gallery-section {
    padding: 60px 0;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .gallery-item, .gallery-item.large {
    grid-column: span 1;
    height: 300px;
  }
  .gallery-content, .gallery-item::after, .gallery-zoom {
    opacity: 1;
  }
  .gallery-content {
    transform: none;
  }
  .gallery-item img {
    transform: none;
  }
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
}/*# sourceMappingURL=gallery.css.map */