/* 
* Nichelest Nigeria Limited - Gallery Stylesheet
* Author: Your Name
* Version: 1.0
*/

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: 80px 0;
  background-color: #fff;
}

.section-intro {
  margin-bottom: 40px;
}

.section-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.section-intro p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  color: #666;
}

/* ===== GALLERY FILTER ===== */
.gallery-filter {
  margin-bottom: 30px;
}

.gallery-filter ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.gallery-filter .filter-item {
  padding: 8px 20px;
  margin: 5px;
  background-color: #f8f9fa;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.gallery-filter .filter-item:hover {
  background-color: rgba(0, 86, 179, 0.1);
  color: var(--primary-color);
}

.gallery-filter .filter-item.active {
  background-color: var(--primary-color);
  color: #fff;
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

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

.gallery-info {
  text-align: center;
  color: #fff;
  padding: 20px;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

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

.gallery-info h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.gallery-info p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.8;
}

/* ===== GALLERY CTA ===== */
.gallery-cta {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 40px;
  margin-top: 50px;
}

.gallery-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.gallery-cta p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #666;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* ===== NO GALLERY ITEMS ===== */
.no-gallery-items {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 0;
}

.no-gallery-items p {
  font-size: 1.1rem;
  color: #666;
}

/* ===== LIGHTBOX CUSTOMIZATION ===== */
.lb-data .lb-caption {
  font-size: 1rem;
  font-weight: 600;
}

.lb-data .lb-number {
  font-size: 0.8rem;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background-color: var(--primary-color);
  color: #fff;
  padding: 100px 0 30px;
  margin-bottom: 0;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
  color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
  .gallery-section {
    padding: 60px 0;
  }

  .section-intro h2 {
    font-size: 2rem;
  }

  .gallery-cta {
    padding: 30px;
  }

  .gallery-cta h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
  }

  .gallery-filter .filter-item {
    padding: 6px 15px;
    font-size: 0.9rem;
  }

  .gallery-cta {
    padding: 25px;
  }
}

@media (max-width: 575px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-header {
    padding: 80px 0 20px;
  }

  .page-header h1 {
    font-size: 2rem;
  }
}
