/* =======================================
   GALLERY PAGE SPECIFIC STYLES
   ======================================= */

.gallery-banner {
  background: linear-gradient(135deg, #061020 0%, #0a1931 100%);
  padding: 80px 5%;
  text-align: center;
  color: #ffffff;
  border-bottom: 2px solid rgba(212, 175, 55, 0.15);
  position: relative;
  overflow: hidden;
}

.gallery-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 60%);
  z-index: 1;
}

.gallery-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.banner-tag {
  color: #d4af37;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(212, 175, 55, 0.05);
}

.gallery-banner h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.gallery-banner h1 span {
  color: #d4af37;
}

.gallery-banner p {
  font-size: 17px;
  color: #cccccc;
  line-height: 1.6;
}

/* FILTERS */
.gallery-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #555555;
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  font-family: 'Poppins', sans-serif;
}

.filter-btn:hover, .filter-btn.active {
  background: #000000;
  color: #d4af37;
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

/* GRID & ITEMS */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.gallery-img-wrapper {
  position: relative;
  width: 100%;
  height: 270px;
  overflow: hidden;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

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

.gallery-info {
  color: #ffffff;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.gallery-info span {
  font-size: 10px;
  font-weight: 700;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
}

.gallery-info h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.gallery-info p {
  font-size: 12.5px;
  color: #cccccc;
  line-height: 1.5;
}

/* RESPONSIVE DESIGN */
@media(max-width: 768px) {
  .gallery-banner {
    padding: 60px 5%;
  }
  
  .gallery-banner h1 {
    font-size: 34px;
  }
  
  .gallery-banner p {
    font-size: 15px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .gallery-img-wrapper {
    height: 240px;
  }
  
  .gallery-overlay {
    opacity: 1; /* Always show overlay on mobile since hover doesn't exist */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 80%);
  }
  
  .gallery-info {
    transform: none;
  }
}
