
/* ===== GALLERY STYLES ===== */
.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.gallery-filters {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-filters h2 {
  font-size: 2.2rem;
  color: #1a3a8f;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.gallery-filters h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #ffc107;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.filter-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.filter-btn {
  background: #f0f4ff;
  border: none;
  border-radius: 30px;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #1a3a8f;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover, 
.filter-btn.active {
  background: #1a3a8f;
  color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.gallery-card {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-card img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 58, 143, 0.85);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.overlay-content {
  color: white;
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

.gallery-item:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.overlay-content p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.gallery-date {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

.gallery-date i {
  margin-right: 0.5rem;
}

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #f0f4ff;
  color: #1a3a8f;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-btn:hover,
.page-btn.active {
  background: #1a3a8f;
  color: white;
}


/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  

  
  .nav-links.show {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .nav-links li {
    margin: 0.8rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .gallery-filters h2 {
    font-size: 1.8rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}