/* ===============================
   GALLERY BANNER
================================= */

/* DESKTOP */
.gallery-banner-desktop {
  height: 80vh;
  background: url('../images/banner-desktop.webp') center/cover no-repeat;
  position: relative;
}

/* MOBILE */
.gallery-banner-mobile {
  height: 60vh;
  background: url('../images/banner-mobile.webp') center/cover no-repeat;
  position: relative;
}

/* OVERLAY (reuse but ensure) */
.gallery-banner-desktop .lux-overlay,
.gallery-banner-mobile .lux-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

/* TEXT CENTER */
.gallery-banner-desktop .lux-content,
.gallery-banner-mobile .lux-content {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  padding: 20px;
}

/* SHOW/HIDE */
.desktop-banner { display: block; }
.mobile-banner { display: none; }

@media (max-width:768px) {
  .desktop-banner { display: none; }
  .mobile-banner { display: block; }
}


/* ===============================
   GALLERY PAGE (FINAL CLEAN)
================================= */

.gallery-section {
  padding: 60px 20px;
}

/* GRID */
.gallery-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

/* ===============================
   PREMIUM CARD DESIGN
================================= */

.gallery-card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

/* IMAGE */
.card-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* DARK OVERLAY */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 60%);
}

/* TEXT INFO */
.card-info {
  position: absolute;
  bottom: 10px;
  left: 12px;
  color: #fff;
  z-index: 2;
}

.card-info h3 {
  font-size: 16px;
  margin-bottom: 3px;
  color: #ff66cc;
}

.card-info p {
  font-size: 13px;
  color: #ccc;
}

/* TAGS */
.card-tags {
  margin-top: 5px;
  display: flex;
  gap: 6px;
}

.card-tags span {
  background: rgba(255,255,255,0.1);
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 11px;
}

/* HOVER CTA */
.card-hover {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.4s ease;
}

.view-btn {
  background: linear-gradient(90deg,#ff0055,#ff6600);
  padding: 8px 16px;
  border-radius: 20px;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

/* HOVER EFFECT */
.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-card:hover .card-hover {
  opacity: 1;
}

/* ===============================
   MOBILE
================================= */

@media (max-width:768px) {

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-img img {
    height: 200px;
  }

  /* MOBILE BUTTON FIX */
  .gallery-banner-mobile .banner-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .gallery-banner-mobile .btn {
    width: auto;
    min-width: 120px;
    max-width: 140px;
    text-align: center;
  }

}

/* FILTER BAR */
.filter-bar {
  text-align: center;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 8px 14px;
  margin: 5px;
  border: none;
  border-radius: 20px;
  background: #111;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(90deg,#ff0055,#ff6600);
}