/* ==========================================================================
   STUDIO GALLERY - CLEAN WHITE LIGHT THEME WITH WARM AMBER ACCENTS (#b45309)
   Matches website color theme exactly (white background, mahogany text, amber accents)
   ========================================================================== */

:root {
  --theme-bg: #ffffff;
  --theme-card-bg: #ffffff;
  --theme-text-dark: #18181b;
  --theme-text-muted: #52525b;
  --theme-text-light: #71717a;
  
  --theme-amber-primary: #b45309;
  --theme-amber-bright: #d97706;
  --theme-amber-light: #f59e0b;
  --theme-amber-bg: rgba(245, 158, 11, 0.08);
  --theme-amber-border: rgba(180, 83, 9, 0.18);
  --theme-amber-border-hover: rgba(217, 119, 6, 0.45);
  --theme-shadow-sm: 0 4px 15px rgba(180, 83, 9, 0.05);
  --theme-shadow-md: 0 10px 30px rgba(180, 83, 9, 0.08);
  --theme-shadow-lg: 0 20px 45px rgba(180, 83, 9, 0.14);

  --gallery-radius-sm: 12px;
  --gallery-radius-md: 18px;
  --gallery-radius-lg: 24px;
}

/* Page Body Base Override */
body.gallery-page-body {
  background-color: #ffffff !important;
  color: var(--theme-text-dark) !important;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   00. TOP SCROLL PROGRESS BAR
   ========================================================================== */
.gallery-scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #b45309 0%, #d97706 50%, #f59e0b 100%);
  box-shadow: 0 0 14px rgba(217, 119, 6, 0.7);
  z-index: 999999;
  transition: width 0.1s cubic-bezier(0.1, 0.9, 0.2, 1);
  pointer-events: none;
}

/* ==========================================================================
   SCROLL REVEAL & ENTRANCE ANIMATIONS
   ========================================================================== */
.gallery-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.gallery-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.gallery-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.gallery-reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.gallery-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.gallery-reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.gallery-reveal-scale {
  opacity: 0;
  transform: scale(0.94) translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.gallery-reveal-scale.revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.gallery-reveal-delay-1 { transition-delay: 0.1s; }
.gallery-reveal-delay-2 { transition-delay: 0.18s; }
.gallery-reveal-delay-3 { transition-delay: 0.26s; }
.gallery-reveal-delay-4 { transition-delay: 0.34s; }

/* Site Header Default Light Theme Styling on Gallery Page */
body.gallery-page-body .site-header {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(180, 83, 9, 0.18) !important;
  box-shadow: 0 10px 30px rgba(180, 83, 9, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.8) !important;
}

body.gallery-page-body .site-header.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(217, 119, 6, 0.3) !important;
  box-shadow: 0 14px 35px rgba(180, 83, 9, 0.12) !important;
}

body.gallery-page-body .site-header .brand-title {
  color: #18181b !important;
}

body.gallery-page-body .mobile-drawer .brand-title,
body.gallery-page-body .mobile-drawer .drawer-brand-title {
  color: #ffffff !important;
}

body.gallery-page-body .desktop-nav .nav-link {
  color: #1e293b !important;
}

body.gallery-page-body .desktop-nav .nav-link:hover,
body.gallery-page-body .desktop-nav .nav-link.active {
  color: #b45309 !important;
}

body.gallery-page-body .mobile-toggle {
  color: #18181b !important;
}

/* ==========================================================================
   HERO SECTION (CLEAN WHITE LIGHT THEME)
   ========================================================================== */
.gallery-hero {
  position: relative;
  padding: 135px 24px 50px;
  max-width: 1320px;
  margin: 0 auto;
  overflow: hidden;
}

/* Subtle Warm Background Ambient Glow with Slow Parallax Drift */
@keyframes ambientDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, 20px) scale(1.08); }
  100% { transform: translate(0, 0) scale(1); }
}

.gallery-hero::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 25%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, rgba(180, 83, 9, 0.02) 50%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  animation: ambientDrift 16s ease-in-out infinite;
}

.gallery-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.gallery-hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Badge Kicker */
.gallery-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--theme-amber-primary);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(180, 83, 9, 0.2);
  padding: 6px 18px;
  border-radius: 30px;
}

.gallery-kicker::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--theme-amber-primary);
}

/* Main Title */
.gallery-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 4.8vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--theme-text-dark);
  margin: 0;
  letter-spacing: -0.02em;
}

.gallery-title .gold-accent {
  color: var(--theme-amber-primary);
  display: inline-block;
}

/* Subtitle & Description */
.gallery-tagline {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--theme-text-dark);
  margin: 0;
  letter-spacing: -0.01em;
}

.gallery-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--theme-text-muted);
  max-width: 580px;
  margin: 0;
}

/* Stat Badges */
.gallery-stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 10px;
  padding-top: 24px;
  border-top: 1px solid rgba(180, 83, 9, 0.12);
  flex-wrap: wrap;
}

.gallery-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gallery-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(180, 83, 9, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-amber-primary);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.gallery-stat-details {
  display: flex;
  flex-direction: column;
}

.gallery-stat-number {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--theme-text-dark);
  line-height: 1.2;
}

.gallery-stat-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--theme-text-muted);
  text-transform: capitalize;
}

/* Hero Right Visual */
.gallery-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 4 / 3;
  border-radius: var(--gallery-radius-lg);
  overflow: hidden;
  box-shadow: var(--theme-shadow-lg);
  border: 2px solid rgba(180, 83, 9, 0.2);
  background: #181514;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  will-change: transform;
}

.hero-visual-card:hover {
  border-color: rgba(217, 119, 6, 0.4);
  box-shadow: 0 25px 55px rgba(180, 83, 9, 0.22);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .hero-visual-img {
  animation: kenBurnsZoom 6s ease-out infinite alternate;
}

@keyframes kenBurnsZoom {
  0% {
    transform: scale(1.0);
  }
  100% {
    transform: scale(1.08);
  }
}

/* Floating Studio Badge on active slide */
.hero-slide-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(24, 21, 20, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, opacity 0.5s ease 0.2s;
}

.hero-slide.active .hero-slide-badge {
  transform: translateY(0);
  opacity: 1;
}

.hero-slide-badge i {
  color: #f59e0b;
}

/* Slider Pagination Dots */
.hero-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(24, 21, 20, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.slider-dot.active {
  width: 26px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.5);
}

/* DESKTOP ONLY GALLERY HERO SLIDER - REMOVED ON MOBILE */
@media (max-width: 768px) {
  .hero-visual-card .hero-slide {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  .hero-visual-card .hero-slide:first-child {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2 !important;
  }
  .hero-slide.active .hero-visual-img,
  .hero-slide .hero-visual-img {
    animation: none !important;
    transform: none !important;
  }
  .hero-slider-dots,
  .hero-slide-badge {
    display: none !important;
  }
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.05) 0%, rgba(24, 24, 27, 0.45) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Explore the Vibe Interactive Play Trigger */
.explore-vibe-btn {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid rgba(180, 83, 9, 0.3);
  padding: 8px 20px 8px 10px;
  border-radius: 40px;
  color: var(--theme-text-dark);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(180, 83, 9, 0.15);
  transition: all 0.3s ease;
  z-index: 2;
}

.explore-vibe-btn:hover {
  background: var(--theme-amber-primary);
  border-color: var(--theme-amber-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(180, 83, 9, 0.3);
}

.explore-vibe-btn:hover .vibe-label {
  color: #ffffff;
}

.vibe-play-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--theme-amber-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  padding-left: 3px;
  transition: all 0.3s ease;
}

.explore-vibe-btn:hover .vibe-play-circle {
  background: #ffffff;
  color: var(--theme-amber-primary);
}

.vibe-label {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--theme-text-dark);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

/* ==========================================================================
   FILTER & SEARCH CONTROLS BAR (WHITE THEME)
   ========================================================================== */
.gallery-controls-section {
  max-width: 1320px;
  margin: 0 auto 40px;
  padding: 0 24px;
  position: sticky;
  top: 80px;
  z-index: 50;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
}

.gallery-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 18px 28px;
  background: #ffffff;
  border: 1px solid var(--theme-amber-border);
  border-radius: 50px;
  box-shadow: var(--theme-shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-controls-section.is-stuck .gallery-controls-bar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(217, 119, 6, 0.35);
  box-shadow: 0 16px 36px rgba(180, 83, 9, 0.12), 0 2px 6px rgba(0,0,0,0.04);
  padding: 14px 24px;
}

/* Category Filter Pills */
.gallery-filter-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-pill {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--theme-text-muted);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.filter-pill:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--theme-amber-border);
  color: var(--theme-amber-primary);
  transform: translateY(-1px);
}

.filter-pill.active {
  background: var(--theme-amber-primary);
  border-color: var(--theme-amber-primary);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(180, 83, 9, 0.25);
}

/* Search Box */
.gallery-search-wrap {
  position: relative;
  min-width: 260px;
  flex-shrink: 0;
}

.gallery-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--theme-amber-primary);
  font-size: 0.95rem;
  pointer-events: none;
}

.gallery-search-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--theme-amber-border);
  border-radius: 30px;
  padding: 9px 16px 9px 44px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--theme-text-dark);
  outline: none;
  transition: all 0.3s ease;
}

.gallery-search-input:focus {
  border-color: var(--theme-amber-primary);
  box-shadow: 0 0 14px rgba(180, 83, 9, 0.2);
}

.gallery-search-input::placeholder {
  color: var(--theme-text-light);
}

/* ==========================================================================
   GALLERY PHOTO GRID
   ========================================================================== */
.gallery-grid-section {
  max-width: 1320px;
  margin: 0 auto 80px;
  padding: 0 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Individual Gallery Card with Scroll Reveal & Hover Transitions */
.gallery-card {
  position: relative;
  border-radius: var(--gallery-radius-lg);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--theme-amber-border);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--theme-shadow-md);
  opacity: 0;
  transform: translateY(35px) scale(0.96);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.gallery-card.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery-card.revealed:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: var(--theme-amber-bright);
  box-shadow: 0 24px 50px rgba(180, 83, 9, 0.2);
}

/* Light sweep shimmer beam effect across card on hover */
.gallery-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 80%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  z-index: 3;
  transition: left 0.85s ease-in-out;
}

.gallery-card:hover::after {
  left: 140%;
}

/* Card Filtering Transition Animation */
.gallery-card.filtering-out {
  opacity: 0 !important;
  transform: scale(0.92) translateY(20px) !important;
  transition: opacity 0.25s ease, transform 0.25s ease !important;
}

.gallery-card.filtering-in {
  animation: cardFadeInPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardFadeInPop {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(24px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Image */
.gallery-card-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Vignette Shadow Overlay */
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.05) 0%, rgba(24, 24, 27, 0.35) 45%, rgba(18, 18, 20, 0.92) 100%);
  z-index: 1;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-card-overlay {
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.1) 0%, rgba(24, 24, 27, 0.45) 40%, rgba(18, 18, 20, 0.96) 100%);
}

/* Top Category Tag (Hidden as requested) */
.gallery-card-tag {
  display: none !important;
}

/* Bottom Card Content */
.gallery-card-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.gallery-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
  transition: color 0.3s ease;
}

.gallery-card:hover .gallery-card-title {
  color: #fef08a;
}

.gallery-card-subtitle {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #e2e8f0;
  margin: 0;
  line-height: 1.4;
}

/* Circular Arrow Button */
.gallery-card-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-text-dark);
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-card:hover .gallery-card-btn {
  background: var(--theme-amber-primary);
  border-color: var(--theme-amber-primary);
  color: #ffffff;
  transform: rotate(-45deg) scale(1.1);
  box-shadow: 0 6px 18px rgba(180, 83, 9, 0.35);
}

/* Empty Search Results Message */
.gallery-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  display: none;
}

.gallery-empty-state.visible {
  display: block;
}

.empty-state-icon {
  font-size: 3rem;
  color: var(--theme-amber-primary);
  margin-bottom: 16px;
}

.empty-state-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--theme-text-dark);
  margin-bottom: 8px;
}

.empty-state-desc {
  color: var(--theme-text-muted);
  font-size: 1rem;
}

/* ==========================================================================
   BOTTOM CTA BANNER (MATCHING WEBSITE LIGHT AMBER THEME)
   ========================================================================== */
.gallery-cta-section {
  max-width: 1320px;
  margin: 0 auto 100px;
  padding: 0 24px;
}

.gallery-cta-card {
  position: relative;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px solid var(--theme-amber-border);
  border-radius: var(--gallery-radius-lg);
  padding: 48px 56px;
  overflow: hidden;
  box-shadow: var(--theme-shadow-md);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.gallery-cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(180, 83, 9, 0.16);
}

.cta-quote-box {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.gallery-cta-card:hover .cta-quote-box {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(180, 83, 9, 0.12);
}

.gallery-cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.gallery-cta-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-kicker {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--theme-amber-primary);
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: var(--theme-text-dark);
  margin: 0;
  line-height: 1.15;
}

.cta-desc {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--theme-text-muted);
  max-width: 500px;
  margin: 0;
}

.cta-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 8px;
  background: var(--theme-amber-primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(180, 83, 9, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-book-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.4);
  background: var(--theme-amber-bright);
}

.cta-book-btn i {
  transition: transform 0.25s ease;
}

.cta-book-btn:hover i {
  transform: translateX(4px);
}

/* Right Testimonial Quote Box */
.cta-quote-box {
  background: #ffffff;
  border: 1px solid var(--theme-amber-border);
  border-radius: var(--gallery-radius-md);
  padding: 28px 32px;
  position: relative;
  box-shadow: var(--theme-shadow-sm);
}

.quote-icon {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--theme-amber-primary);
  margin-bottom: 12px;
  font-family: Georgia, serif;
}

.quote-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--theme-text-dark);
  font-style: italic;
  margin: 0 0 14px;
}

.quote-author {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--theme-amber-primary);
}

/* ==========================================================================
   LIGHTBOX MODAL (PHOTO POPUP VIEW)
   ========================================================================== */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px;
}

.gallery-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-container {
  position: relative;
  max-width: 1040px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--gallery-radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-lightbox.open .lightbox-container {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 62vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-img.switching {
  opacity: 0;
  transform: scale(0.97);
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #e2e8f0;
}

.lightbox-counter {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--theme-amber-primary);
}

.lightbox-close-btn {
  background: #f1f5f9;
  border: none;
  color: var(--theme-text-dark);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: var(--theme-amber-primary);
  color: #ffffff;
  transform: rotate(90deg);
}

/* Lightbox Image Stage */
.lightbox-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0f172a;
  max-height: 62vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 62vh;
  object-fit: contain;
  display: block;
}

/* Lightbox Nav Arrows */
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--theme-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.lightbox-nav-btn:hover {
  background: var(--theme-amber-primary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

/* Lightbox Footer Details */
.lightbox-footer {
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

.lightbox-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--theme-text-dark);
  margin: 0;
}

.lightbox-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--theme-text-muted);
  margin: 0;
}

.lightbox-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--theme-amber-primary);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(180, 83, 9, 0.25);
  transition: all 0.25s ease;
}

.lightbox-action-btn:hover {
  background: var(--theme-amber-bright);
  transform: translateY(-2px);
}

/* ==========================================================================
   VIDEO TOUR MODAL (EXPLORE THE VIBE)
   ========================================================================== */
.tour-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.tour-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.tour-modal-card {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--theme-amber-border);
  border-radius: var(--gallery-radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.tour-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #e2e8f0;
}

.tour-modal-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--theme-text-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tour-modal-close {
  background: none;
  border: none;
  color: var(--theme-text-dark);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.tour-modal-close:hover {
  color: var(--theme-amber-primary);
}

.tour-media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .gallery-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .gallery-hero-visual {
    order: -1;
  }
  
  .hero-visual-card {
    max-width: 100%;
  }

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

  .gallery-cta-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .gallery-hero {
    padding-top: 110px;
  }

  .gallery-title {
    font-size: 2.5rem;
  }

  .gallery-stats-row {
    gap: 20px;
  }

  .gallery-stat-item {
    gap: 10px;
  }

  .gallery-controls-bar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
  }

  .gallery-search-wrap {
    min-width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-card {
    aspect-ratio: 16 / 10;
  }

  .gallery-cta-card {
    padding: 32px 24px;
  }

  .lightbox-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   FLOATING BACK TO TOP WITH CIRCULAR SCROLL PROGRESS
   ========================================================================== */
.gallery-back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--theme-amber-border);
  box-shadow: 0 8px 24px rgba(180, 83, 9, 0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  padding: 0;
  outline: none;
}

.gallery-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.gallery-back-to-top:hover {
  transform: translateY(-4px) scale(1.08);
  border-color: var(--theme-amber-bright);
  box-shadow: 0 12px 30px rgba(180, 83, 9, 0.3);
}

.gallery-back-to-top .progress-ring {
  position: absolute;
  inset: 2px;
  width: 46px;
  height: 46px;
  transform: rotate(-90deg);
}

.gallery-back-to-top .progress-ring-bg {
  fill: none;
  stroke: rgba(245, 158, 11, 0.15);
  stroke-width: 3;
}

.gallery-back-to-top .progress-ring-circle {
  fill: none;
  stroke: var(--theme-amber-primary);
  stroke-width: 3;
  stroke-dasharray: 119.38;
  stroke-dashoffset: 119.38;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.15s ease-out;
}

.gallery-back-to-top .back-to-top-icon {
  position: relative;
  z-index: 2;
  font-size: 0.95rem;
  color: var(--theme-amber-primary);
  transition: transform 0.25s ease, color 0.25s ease;
}

.gallery-back-to-top:hover .back-to-top-icon {
  transform: translateY(-2px);
  color: var(--theme-amber-bright);
}

@media (max-width: 768px) {
  .gallery-back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
  .gallery-back-to-top .progress-ring {
    width: 40px;
    height: 40px;
  }
}
