.gallery-hero {
  padding: 140px 10% 60px;
  text-align: center;
}

.gallery-hero-content h2 {
  font-size: 2.8rem;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 20px;
}

.gallery-hero-content p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: auto;
  opacity: 0.9;
  line-height: 1.6;
}

/* FILTER SECTION */
.gallery-filter-section {
  padding: 20px 10%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* FIXED FILTER BAR (DARK GLASS LOOK) */
.gallery-filter {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-radius: 18px;

  background: rgba(0, 0, 0, 0.25); /* FIXED DARK GLASS */
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.25);
}

/* FIXED BUTTON */
.filter-btn {
  border: none;
  padding: 12px 18px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;

  background: rgba(255, 255, 255, 0.12);
  color: #fff; /* FORCE TEXT VISIBLE */
  transition: 0.3s;
  outline: none !important;
}

.filter-btn i {
  margin-right: 6px;
  color: #fff;
}

.filter-btn:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.22);
}

/* ACTIVE BUTTON */
.filter-btn.active {
  background: linear-gradient(135deg, #ff4d8d, #4d9fff);
  color: white;
}

/* GALLERY SECTION */
.gallery-section {
  padding: 50px 10%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: 0.3s;
}

.gallery-card:hover {
  transform: translateY(-8px);
}

.gallery-card img,
.gallery-card video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: white;
}

.gallery-overlay h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.gallery-overlay p {
  font-size: 0.95rem;
  opacity: 0.85;
}

.gallery-overlay button {
  margin-top: 12px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transition: 0.3s;
}

.gallery-overlay button:hover {
  background: linear-gradient(135deg, #ff4d8d, #4d9fff);
}

/* LIGHTBOX */
.lightbox,
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 85%;
  max-height: 85%;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.video-modal video {
  max-width: 85%;
  max-height: 85%;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.close-lightbox,
.close-video {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  cursor: pointer;
  color: white;
}
