/* ==========================================================================
   NEW UTSAVA EVENTS — LUXURY GALLERY STYLES
   ========================================================================== */

:root {
  --gallery-rosewood: #A0285D;
  --gallery-rosewood-dark: #7A1A43;
  --gallery-gold: #D4AF37;
  --gallery-gold-light: #F7EFD2;
  --gallery-gold-glow: rgba(212, 175, 55, 0.35);
  --gallery-ink: #141213;
  --gallery-ink-soft: #5C5555;
  --gallery-cream: #FDFBF7;
  --gallery-border: rgba(212, 175, 55, 0.22);
}

/* ---------- Gallery Header & Stats Strip ---------- */
.gallery-intro-bar {
  background: #fff;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding: 40px 0 30px;
}

.gallery-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(160, 40, 93, 0.08);
  color: var(--gallery-rosewood);
  border: 1px solid rgba(160, 40, 93, 0.18);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.gallery-main-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4.5vw, 46px);
  color: var(--gallery-ink);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
}

.gallery-subtext {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--gallery-ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
}

/* Stats Pill Bar */
.gallery-stats-strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  background: var(--gallery-cream);
  border: 1px solid var(--gallery-border);
  border-radius: 999px;
  padding: 10px 24px;
  box-shadow: 0 4px 18px rgba(69, 38, 50, 0.04);
}

.gallery-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gallery-ink);
}

.gallery-stat-item i {
  color: var(--gallery-rosewood);
  font-size: 15px;
}

.gallery-stat-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gallery-gold);
}

/* ---------- Category Filter Pills ---------- */
.gallery-filter-wrap {
  position: sticky;
  top: 75px;
  z-index: 40;
  background: rgba(253, 251, 247, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 18px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

.gallery-filter-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: #4A4446;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.gallery-filter-btn .btn-count {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: #F4EFEA;
  color: #6E6668;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.gallery-filter-btn:hover {
  border-color: var(--gallery-rosewood);
  color: var(--gallery-rosewood);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(160, 40, 93, 0.1);
}

.gallery-filter-btn.active {
  background: var(--gallery-rosewood);
  border-color: var(--gallery-rosewood);
  color: #fff;
  box-shadow: 0 6px 20px rgba(160, 40, 93, 0.28);
}

.gallery-filter-btn.active .btn-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* ---------- Uniform Luxury Grid ---------- */
.gallery-grid-section {
  padding: 50px 0 80px;
  background: var(--gallery-cream);
}

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

.gallery-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  height: 400px;
}

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

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.88) 100%);
  opacity: 0.9;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.gallery-card-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gallery-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.gallery-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  color: var(--gallery-rosewood);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.gallery-card-tag i {
  font-size: 12px;
}

.gallery-card-zoom-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  opacity: 0;
  transform: translateY(-6px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card-bottom {
  transform: translateY(2px);
  transition: transform 0.35s ease;
}

.gallery-card-title {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  color: #fff;
  margin: 0 0 6px;
  font-weight: 600;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.gallery-card-location {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.gallery-card-location i {
  color: #FFC107;
  font-size: 13px;
}

.gallery-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gallery-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--gallery-rosewood);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.gallery-card-zoom-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  opacity: 0;
  transform: translateY(-8px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card-bottom {
  transform: translateY(6px);
  transition: transform 0.35s ease;
}

.gallery-card-title {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  color: #fff;
  margin: 0 0 6px;
  font-weight: 600;
  line-height: 1.3;
}

.gallery-card-location {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.gallery-card-location i {
  color: var(--gallery-gold);
  font-size: 12px;
}

/* Card Hover States */
.gallery-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  border-color: rgba(212, 175, 55, 0.6);
}

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

.gallery-card:hover .gallery-card-overlay {
  opacity: 0.95;
}

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

.gallery-card:hover .gallery-card-bottom {
  transform: translateY(0);
}

/* Filter Hide State */
.gallery-card.is-hidden {
  display: none !important;
}

/* ---------- Fullscreen Lightbox Modal ---------- */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 8, 9, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 30px;
}

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

.lightbox-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrap {
  position: relative;
  width: 100%;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

.lightbox-details {
  width: 100%;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  padding: 0 10px;
}

.lightbox-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  margin: 0;
  color: #fff;
}

.lightbox-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
}

.lightbox-counter {
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--gallery-gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.lightbox-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox-close-btn:hover {
  background: var(--gallery-rosewood);
  transform: rotate(90deg);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lightbox-prev-btn {
  left: 20px;
}

.lightbox-next-btn {
  right: 20px;
}

.lightbox-nav-btn:hover {
  background: var(--gallery-rosewood);
  border-color: var(--gallery-rosewood);
  box-shadow: 0 0 20px rgba(160, 40, 93, 0.4);
}

/* ---------- Video Highlights Carousel ---------- */
.gallery-video-section {
  padding: 85px 0;
  background: #fff;
  border-top: 1px solid rgba(212, 175, 55, 0.16);
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}

.video-reel-card {
  position: relative;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
}

.video-reel-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.video-reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  z-index: 2;
  pointer-events: none;
}

.video-play-center-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(160, 40, 93, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(212, 175, 55, 0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  padding-left: 4px;
  opacity: 0.85;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.video-reel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
  border-color: rgba(212, 175, 55, 0.6);
}

.video-reel-card:hover video {
  transform: scale(1.04);
}

.video-reel-card:hover .video-play-center-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--gallery-rosewood);
  opacity: 1;
  box-shadow: 0 12px 30px rgba(160, 40, 93, 0.5), 0 0 24px rgba(212, 175, 55, 0.45);
}

.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF3B30;
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.4; }
}

.video-info h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  color: #fff;
  margin: 0 0 4px;
}

.video-info p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  margin: 0;
}

/* Video Lightbox Specific Styles */
.video-lightbox-content {
  max-width: 960px;
}

.lightbox-video-wrap {
  position: relative;
  width: 100%;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.lightbox-video-wrap video {
  width: 100%;
  max-height: 75vh;
  height: auto;
  display: block;
  outline: none;
  background: #000;
}

.video-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 4px;
}

.video-modal-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF3B30;
}

/* ---------- Royal Pillars Section ---------- */
.pillars-section {
  padding: 85px 0;
  background: var(--gallery-cream);
}

.pillar-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 28px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 8px 24px rgba(69, 38, 50, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.pillar-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #FAF4EB;
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: grid;
  place-items: center;
  color: var(--gallery-rosewood);
  font-size: 26px;
  margin-bottom: 22px;
  transition: all 0.3s ease;
}

.pillar-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  color: var(--gallery-ink);
  margin-bottom: 12px;
}

.pillar-card p {
  color: var(--gallery-ink-soft);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(69, 38, 50, 0.1);
  border-color: var(--gallery-rosewood);
}

.pillar-card:hover .pillar-icon-box {
  background: var(--gallery-rosewood);
  color: #fff;
  transform: rotate(-5deg) scale(1.05);
}

/* ---------- VIP Consultation CTA ---------- */
.gallery-cta-section {
  padding: 80px 0;
  background: #fff;
}

.gallery-cta-card {
  position: relative;
  background: linear-gradient(135deg, #7A1A43 0%, #A0285D 50%, #4D122B 100%);
  border-radius: 26px;
  padding: 60px 50px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(122, 26, 67, 0.28);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.gallery-cta-card::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, transparent 70%);
}

.gallery-cta-card h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4vw, 44px);
  color: #fff;
  margin-bottom: 15px;
}

.gallery-cta-card p {
  max-width: 620px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.7;
}

.gallery-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 999px;
  background: #fff;
  color: var(--gallery-rosewood);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  transition: all 0.25s ease;
}

.cta-btn-primary:hover {
  background: var(--gallery-gold-light);
  color: var(--gallery-rosewood-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .gallery-card {
    height: 360px;
  }

  .gallery-filter-wrap {
    top: 65px;
  }
}

@media (max-width: 650px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-card {
    height: 330px;
  }

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

  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}
