/* ==========================================================================
   PREMIUM LIGHT THEME STYLES FOR GALLERY PAGE (GALLERY.HTML)
   ========================================================================== */

/* Main Section Background */
.gallery-main-section {
  background-color: #f8f4ec !important;
  padding: 40px 0 80px !important;
}

/* Page Banner */
.page-banner {
  background-color: #f8f4ec !important;
  border-bottom: 1px solid #e5dac6 !important;
  padding: 50px 0 45px !important;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(170, 124, 51, 0.12) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.banner-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 3.2rem !important;
  color: #1a1714 !important;
  margin-bottom: 10px;
  line-height: 1.15;
}

.banner-title .gold-text {
  color: #aa7c33 !important;
  background: linear-gradient(135deg, #c5a059 0%, #aa7c33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.banner-subtitle {
  color: #555048 !important;
  font-size: 1.05rem !important;
  max-width: 650px;
  margin: 0 auto;
}

/* Filter Category Buttons */
.filter-categories {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cat-btn {
  background: #ffffff !important;
  border: 1px solid #e2d7c5 !important;
  color: #555048 !important;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.cat-btn.active, .cat-btn:hover {
  background: #aa7c33 !important;
  color: #ffffff !important;
  border-color: #aa7c33 !important;
  box-shadow: 0 6px 15px rgba(170, 124, 51, 0.25);
}

/* Gallery Grid & Cards */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 270px;
  border: 1px solid #e5dccb;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  border-color: #aa7c33;
  box-shadow: 0 16px 35px rgba(170, 124, 51, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 15, 18, 0.92) 0%, rgba(15, 15, 18, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

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

.gallery-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.gallery-category {
  color: #e5c17c;
  font-family: var(--font-luxury, 'Cinzel', serif);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* Lightbox Modal Styling */
.modal-box {
  background: #ffffff !important;
  border: 1px solid #aa7c33 !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
  border-radius: 10px;
}

#lightboxTitle {
  color: #1a1714 !important;
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
}

#lightboxDesc {
  color: #555048 !important;
}
