



/* ------------------------------*/
 /* Filter Tabs */
 .gallery-filters {
  background: #FDFBF7;
  padding: 40px 0;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.filter-btn {
  padding: 12px 24px;
  border: 2px solid #755CAD;
  background: transparent;
  color: #755CAD;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
  background: #755CAD;
  color: white;
  transform: translateY(-2px);
}

.filter-btn:nth-child(2) {
  border-color: #4998BE;
  color: #4998BE;
}

.filter-btn:nth-child(2):hover,
.filter-btn:nth-child(2).active {
  background: #4998BE;
  color: white;
}

.filter-btn:nth-child(3) {
  border-color: #FDCB37;
  color: #B8860B;
}

.filter-btn:nth-child(3):hover,
.filter-btn:nth-child(3).active {
  background: #FDCB37;
  color: #333;
}

.filter-btn:nth-child(4) {
  border-color: #398424;
  color: #398424;
}

.filter-btn:nth-child(4):hover,
.filter-btn:nth-child(4).active {
  background: #398424;
  color: white;
}

.filter-btn:nth-child(5) {
  border-color: #F793BD;
  color: #D1477A;
}

.filter-btn:nth-child(5):hover,
.filter-btn:nth-child(5).active {
  background: #F793BD;
  color: white;
}

/* Gallery Grid */
.main-gallery {
  padding: 60px 0;
  background: white;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.masonry-grid {
  position: relative;
  margin: 0 auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: absolute;
  opacity: 0;
  transform: translateY(20px);
  padding: 0;;
}

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

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

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

/* Responsive columns */
@media (max-width: 768px) {
  .gallery-item {
    width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .gallery-item {
    width: calc(100% - 20px);
  }
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 30px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: 600;
}

.gallery-overlay p {
  font-size: 12px;
  opacity: 0.9;
  margin: 0;
}

/* Featured Section */
.featured-section {
  background: linear-gradient(45deg, #755CAD 0%, #4998BE 100%);
  padding: 80px 0;
  color: white;
}

.featured-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.featured-item {
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  text-align: left;
}

.featured-item h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 15px;
}

.featured-item p {
  line-height: 1.6;
  opacity: 0.9;
}

/* Load More Section */
.load-more-section {
  background: #FDFBF7;
  padding: 60px 0;
  text-align: center;
}

.load-more-btn {
  background: linear-gradient(135deg, #755CAD 0%, #4998BE 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(117, 92, 173, 0.3);
}

.load-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(117, 92, 173, 0.4);
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-hero h1 {
    font-size: 42px;
  }

  .gallery-hero p {
    font-size: 18px;
  }

  .gallery-stats {
    gap: 30px;
  }

  .stat-number {
    font-size: 28px;
  }

  .filter-tabs {
    gap: 8px;
  }

  .filter-btn {
    padding: 10px 18px;
    font-size: 12px;
  }

  .masonry-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .gallery-hero h1 {
    font-size: 32px;
  }

  .gallery-stats {
    flex-direction: column;
    gap: 20px;
  }

  .masonry-grid {
    grid-template-columns: 1fr;
  }

  .filter-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 20px;
  }
}