/* ==========================================================================
   Bharat Yatra - Photo & Visual Gallery Page
   Theme: Pure White & Sky Blue - High Performance Zero-Jitter Scroll Engine
   ========================================================================== */

html, body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Gallery Scroll-Zoom & 28-Image Organic Showcase (GSAP Managed Pinning)
   ========================================================================== */
.hero-scroll-pin-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #0b1736 0%, #030816 100%);
  contain: paint layout;
}

.hero-sticky-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.hero-center-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 820px;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  z-index: 35;
  pointer-events: none;
  will-change: transform, opacity;
  transform: translate3d(-50%, -50%, 0);
}

.hero-center-content > * {
  pointer-events: auto;
}

/* High-Contrast, Crystal Clear Headline & Subtitle Styling for Gallery Hero */
.hero-center-content .hero-headline {
  color: #0B1736 !important;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-shadow: 0 4px 20px rgba(255, 255, 255, 0.9), 0 1px 4px rgba(11, 23, 54, 0.12) !important;
}

.hero-center-content .hero-headline .gradient-brand-text {
  background: linear-gradient(135deg, #0B1736 0%, #1A365D 35%, #C9A45C 80%, #B88E3E 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #0B1736 !important;
  display: inline-block;
  font-weight: 900;
  text-shadow: none !important;
  filter: drop-shadow(0 2px 8px rgba(201, 164, 92, 0.35));
}

.hero-center-content .hero-description {
  color: #475569 !important;
  text-shadow: none !important;
}

.hero-center-content .hero-badge {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1.5px solid var(--accent-gold) !important;
  color: #0B1736 !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(11, 23, 54, 0.08), 0 0 15px rgba(201, 164, 92, 0.2) !important;
}

.hero-center-content .badge-dot {
  background: var(--accent-gold) !important;
  box-shadow: 0 0 10px var(--accent-gold) !important;
}

.zoom-gallery-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  contain: strict;
}

.zoom-cards-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transform-style: preserve-3d;
}

/* Individual Scattered & Mosaic India Travel Card (GPU Accelerated) */
.hero-scatter-card {
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  box-shadow: 0 10px 25px -4px rgba(11, 23, 54, 0.12), 0 4px 10px rgba(11, 23, 54, 0.05);
  cursor: pointer;
  will-change: transform, opacity;
  transform-origin: center center;
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  user-select: none;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-scatter-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 18px 40px -4px rgba(11, 23, 54, 0.25), 0 8px 18px rgba(11, 23, 54, 0.1);
  z-index: 99 !important;
}

.scatter-card-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.scatter-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-scatter-card:hover .scatter-card-img {
  transform: scale(1.10);
}

.scatter-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 23, 54, 0.45) 0%,
    transparent 35%,
    rgba(11, 23, 54, 0.78) 70%,
    rgba(11, 23, 54, 0.95) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
  color: #ffffff;
  pointer-events: none;
}

.scatter-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.scatter-state-badge {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  padding: 0.18rem 0.48rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 75%;
}

.scatter-rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--accent-gold);
  background: rgba(11, 23, 54, 0.75);
  backdrop-filter: blur(6px);
  padding: 0.18rem 0.42rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 164, 92, 0.3);
}

.scatter-card-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.scatter-place-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.scatter-category-tag {
  font-size: 0.65rem;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hover Eye Icon overlay */
.scatter-hover-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.22);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-scatter-card:hover .scatter-hover-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Responsive adjustments for scatter cards */
@media (max-width: 1024px) {
  .hero-scatter-card {
    border-radius: 12px;
  }
  .scatter-card-overlay {
    padding: 0.55rem 0.6rem;
  }
  .scatter-place-title {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .hero-scroll-pin-wrapper {
    height: 220vh;
  }
  .hero-scatter-card {
    border-radius: 10px;
  }
  .scatter-card-overlay {
    padding: 0.4rem 0.45rem;
  }
  .scatter-place-title {
    font-size: 0.68rem;
  }
  .scatter-state-badge {
    font-size: 0.58rem;
    padding: 0.12rem 0.38rem;
  }
  .scatter-rating-chip {
    font-size: 0.58rem;
  }
}

/* ==========================================================================
   ALL INDIA 36 DESTINATIONS EDITORIAL GALLERY (28 STATES + 8 UTs)
   ========================================================================== */
.all-destinations-gallery-section {
  width: 100%;
  background: transparent;
  padding: 5rem 0 6rem 0;
  position: relative;
  z-index: 20;
}

.gallery-section-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.gallery-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.15rem;
  background: #FFFFFF;
  border: 1px solid rgba(201, 164, 92, 0.45);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(11, 23, 54, 0.05);
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 0 0 rgba(201, 164, 92, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 164, 92, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(201, 164, 92, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(201, 164, 92, 0);
  }
}

.gallery-section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.gallery-section-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 680px;
}

/* Filter Controls */
.gallery-filter-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  margin-top: 1.25rem;
}

.gallery-filter-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(11, 23, 54, 0.04);
}

.gallery-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-filter-pill:hover {
  color: var(--primary);
  background: rgba(11, 23, 54, 0.06);
}

.gallery-filter-pill.active {
  background: #0B1736;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(11, 23, 54, 0.25);
}

.pill-count {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.12rem 0.45rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
  transition: all 0.25s ease;
}

.gallery-filter-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* ==========================================================================
   Gallery Top State Search Bar (Positioned directly above "Explore 28 States" heading)
   ========================================================================== */
.gallery-top-search-wrap {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0.15rem auto 0.65rem auto;
  z-index: 50;
}

.gallery-top-search-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 2px solid rgba(14, 165, 233, 0.35);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.45rem 0.4rem 1.15rem;
  box-shadow: 0 4px 20px rgba(11, 23, 54, 0.08), 0 0 0 1px rgba(14, 165, 233, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-top-search-bar:focus-within {
  border-color: #0ea5e9;
  box-shadow: 0 6px 25px rgba(14, 165, 233, 0.22), 0 0 0 4px rgba(14, 165, 233, 0.14);
  transform: translateY(-1px);
}

.search-top-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0ea5e9;
  flex-shrink: 0;
}

.gallery-state-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  background: transparent;
  min-width: 0;
}

.gallery-state-search-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.gallery-search-clear-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: none;
  color: #64748b;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  padding: 0;
}

.gallery-search-clear-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.gallery-search-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #C9A45C 0%, #A67C2E 100%);
  color: #0B1736;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.52rem 1.15rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(201, 164, 92, 0.35);
  transition: all 0.22s ease;
}

.gallery-search-submit-btn:hover {
  background: linear-gradient(135deg, #dfb96c 0%, #C9A45C 100%);
  box-shadow: 0 4px 14px rgba(201, 164, 92, 0.45);
  transform: translateY(-1px);
}

/* Autocomplete Suggestions Dropdown */
.gallery-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.5px solid rgba(201, 164, 92, 0.35);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(11, 23, 54, 0.16), 0 2px 8px rgba(11, 23, 54, 0.04);
  max-height: 360px;
  overflow-y: auto;
  z-index: 100;
  padding: 0.45rem;
  text-align: left;
}

.search-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  color: inherit;
}

.search-dropdown-item:hover,
.search-dropdown-item.is-selected {
  background: #F8F6F1;
}

.suggestion-thumb-col {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.suggestion-thumb-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(201, 164, 92, 0.3);
}

.suggestion-text-meta {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.suggestion-state-name {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-place-sub {
  font-size: 0.74rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-action-col {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.suggestion-type-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-state-pill {
  background: rgba(11, 23, 54, 0.08);
  color: var(--primary);
}

.badge-ut-pill {
  background: rgba(201, 164, 92, 0.15);
  color: #a67c2e;
}

.suggestion-jump-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(201, 164, 92, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  transition: all 0.18s ease;
}

.search-dropdown-item:hover .suggestion-jump-link {
  background: var(--accent-gold);
  color: #0B1736;
}

.search-no-match-item {
  padding: 1.15rem;
  text-align: center;
  font-size: 0.88rem;
  color: #64748b;
}

/* Card Focus Pulse Glow Animation */
.editorial-gallery-card.card-focus-pulse {
  animation: cardFocusPulseAnim 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  z-index: 25;
}

@keyframes cardFocusPulseAnim {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(201, 164, 92, 0.9), 0 8px 24px rgba(11, 23, 54, 0.1);
  }
  25% {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 0 0 10px rgba(201, 164, 92, 0.55), 0 22px 50px rgba(201, 164, 92, 0.4);
    border-color: var(--accent-gold);
  }
  55% {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 0 0 6px rgba(201, 164, 92, 0.35), 0 16px 36px rgba(201, 164, 92, 0.25);
    border-color: var(--accent-gold);
  }
  100% {
    transform: scale(1) translateY(0);
    box-shadow: 0 0 0 0 rgba(201, 164, 92, 0), 0 8px 24px rgba(11, 23, 54, 0.1);
  }
}

/* Editorial 3-Column Travel Gallery Grid (Small Cards, 3 Cards Per Line) */
.editorial-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.editorial-gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0B1736;
  border: 1.5px solid var(--border-color);
  box-shadow: 0 6px 18px rgba(11, 23, 54, 0.06);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 250px;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.editorial-gallery-card.standard-card,
.editorial-gallery-card.featured-card {
  grid-column: span 1;
  height: 250px;
}

.editorial-gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 14px 32px rgba(11, 23, 54, 0.22);
}

/* Card Media & Visual Sharpness */
.gallery-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-gallery-card:hover .gallery-card-img {
  transform: scale(1.08);
}

.gallery-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 23, 54, 0.2) 0%,
    rgba(11, 23, 54, 0.08) 35%,
    rgba(11, 23, 54, 0.75) 70%,
    rgba(11, 23, 54, 0.95) 100%
  );
  transition: opacity 0.3s ease;
}

/* Card Badge Row */
.gallery-card-badge-row {
  position: relative;
  z-index: 3;
  padding: 0.85rem 0.95rem 0 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gallery-type-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.gallery-type-badge.badge-state {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  border: 1px solid var(--border-color);
}

.gallery-type-badge.badge-ut {
  background: rgba(201, 164, 92, 0.2);
  color: var(--accent-gold);
  border: 1px solid rgba(201, 164, 92, 0.4);
}

.gallery-rating-chip {
  background: rgba(11, 23, 54, 0.75);
  color: var(--accent-gold);
  padding: 0.18rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 800;
  border: 1px solid rgba(201, 164, 92, 0.3);
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

/* Card Info & Interaction Action */
.gallery-card-info {
  position: relative;
  z-index: 3;
  padding: 0.95rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.gallery-landmark-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-state-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.gallery-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.4rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.gallery-explore-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  transition: color 0.25s ease, transform 0.25s ease;
}

.gallery-arrow-bubble {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.editorial-gallery-card:hover .gallery-arrow-bubble {
  background: var(--accent-gold);
  color: var(--primary);
  transform: translateX(3px);
}

.editorial-gallery-card:hover .gallery-explore-link {
  color: var(--accent-gold);
}

/* Empty Search State */
.gallery-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: #ffffff;
  border: 1.5px dashed var(--border-color);
  border-radius: 1.5rem;
  gap: 0.85rem;
  margin-top: 2rem;
  grid-column: span 12;
}

.no-results-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.gallery-no-results h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
}

.gallery-no-results p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 420px;
}

.reset-filter-btn {
  background: #0B1736;
  color: #ffffff;
  border: 1px solid transparent;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(11, 23, 54, 0.25);
  margin-top: 0.5rem;
}

.reset-filter-btn:hover {
  background: #172a5a;
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (min-width: 1025px) {
  .editorial-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .editorial-gallery-card.standard-card,
  .editorial-gallery-card.featured-card {
    grid-column: span 1;
    height: 260px;
  }
}

@media (max-width: 1024px) {
  .editorial-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .editorial-gallery-card.standard-card,
  .editorial-gallery-card.featured-card {
    grid-column: span 1;
    height: 240px;
  }
  .gallery-filter-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .gallery-filter-bar {
    justify-content: center;
    width: 100%;
  }
  .gallery-search-box {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .all-destinations-gallery-section {
    padding: 3rem 0 3.5rem 0;
  }

  .gallery-section-header {
    margin-bottom: 1.75rem;
    padding: 0 1rem;
  }

  .editorial-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    padding: 0 1rem;
  }

  .editorial-gallery-card.standard-card,
  .editorial-gallery-card.featured-card {
    grid-column: span 1;
    height: 220px;
  }

  .gallery-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
    border-radius: var(--radius-full);
    padding: 0.35rem;
  }

  .gallery-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .gallery-filter-pill {
    flex-shrink: 0;
    font-size: 0.78rem;
    padding: 0.42rem 0.85rem;
    touch-action: manipulation;
  }
}

@media (max-width: 480px) {
  .gallery-section-title {
    font-size: clamp(1.75rem, 6.5vw, 2.2rem);
  }

  .editorial-gallery-grid {
    padding: 0 0.85rem;
    gap: 1rem;
  }

  .editorial-gallery-card.standard-card,
  .editorial-gallery-card.featured-card {
    height: 200px;
  }

  .gallery-state-title {
    font-size: 1.15rem;
  }

  .gallery-card-tagline {
    font-size: 0.75rem;
  }
}

@media (max-width: 360px) {
  .editorial-gallery-grid {
    padding: 0 0.65rem;
  }

  .editorial-gallery-card.standard-card,
  .editorial-gallery-card.featured-card {
    height: 180px;
  }

  .gallery-state-title {
    font-size: 1.05rem;
  }
}


/* ==========================================================================
   INTERACTIVE 3D TOURISM MAP & 30% FILTER SIDEBAR (70% MAP : 30% FILTER)
   Theme: Pure Luxury White & Warm Ivory (#F8F6F1) with Deep Navy & Gold
   ========================================================================== */
.gallery-map-section {
  position: relative;
  width: 100%;
  padding: 4.5rem 0 3.5rem 0;
  background: transparent !important;
  overflow: hidden;
  z-index: 20;
}

.map-showcase-container {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  width: 100%;
  margin-top: 1.5rem;
}

/* 70% 3D Map Column */
.map-3d-column {
  flex: 0 0 calc(70% - 0.75rem);
  width: calc(70% - 0.75rem);
  min-width: 0;
}

/* 30% Filter Sidebar Column */
.map-filter-column {
  flex: 0 0 calc(30% - 0.75rem);
  width: calc(30% - 0.75rem);
  min-width: 0;
}

/* 3D Map Stage Container - Luxury Warm Ivory & White Card */
.map-3d-stage {
  position: relative;
  width: 100%;
  height: 740px;
  background: radial-gradient(circle at 50% 45%, #FFFFFF 0%, #F8F6F1 70%, #EDF3F7 100%);
  border: 1.5px solid rgba(201, 164, 92, 0.45);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(11, 23, 54, 0.08), 0 0 25px rgba(201, 164, 92, 0.12);
  overflow: hidden;
  perspective: 1400px;
  cursor: grab;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-3d-stage:active {
  cursor: grabbing;
}

/* 3D Canvas with hardware acceleration */
.map-3d-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform 0.12s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

/* Surface Layer holding the map and pins */
.map-surface-layer {
  position: relative;
  width: 90%;
  max-width: 580px;
  height: 94%;
  max-height: 690px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.india-map-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(11, 23, 54, 0.14)) contrast(1.03);
  border-radius: 12px;
  pointer-events: none;
}

.map-overlay-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(201, 164, 92, 0.03) 0%, rgba(11, 23, 54, 0.04) 90%);
  pointer-events: none;
  border-radius: 12px;
}

/* 36 State Pins Container */
.map-pins-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  transform-style: preserve-3d;
}

/* Individual 3D Pin Marker */
.map-pin-marker {
  position: absolute;
  transform: translate(-50%, -50%) translateZ(28px);
  cursor: pointer;
  z-index: 15;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-pin-marker:hover,
.map-pin-marker.active {
  transform: translate(-50%, -50%) translateZ(65px) scale(1.25);
  z-index: 40;
}

.map-pin-marker.dimmed {
  opacity: 0.25;
  filter: grayscale(0.8);
  pointer-events: none;
}

.pin-beacon-pulse {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(201, 164, 92, 0.4);
  animation: pin-pulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes pin-pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.pin-core-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #162344 0%, #172a5a 100%);
  border: 2.5px solid #C9A45C;
  box-shadow: 0 3px 8px rgba(11, 23, 54, 0.25), 0 0 10px rgba(201, 164, 92, 0.5);
  position: relative;
  z-index: 2;
  transition: all 0.2s ease;
}

.map-pin-marker:hover .pin-core-dot,
.map-pin-marker.active .pin-core-dot {
  background: #C9A45C;
  border-color: #0B1736;
  box-shadow: 0 0 18px rgba(201, 164, 92, 0.9), 0 0 25px #0B1736;
}

/* Pin Label Badge on Hover */
.pin-label-badge {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  background: #0B1736;
  color: #FFFFFF;
  border: 1px solid #C9A45C;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(11, 23, 54, 0.35);
  transition: all 0.2s ease;
  z-index: 50;
}

.map-pin-marker:hover .pin-label-badge,
.map-pin-marker.active .pin-label-badge {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Floating 3D State Popup Card on Map */
.map-state-floating-popup {
  position: absolute;
  width: 290px;
  background: #FFFFFF;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(11, 23, 54, 0.18), 0 0 25px rgba(201, 164, 92, 0.2);
  transform: translate(-50%, -105%) translateZ(80px);
  z-index: 100;
  overflow: hidden;
  animation: popup-bounce 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popup-bounce {
  from { opacity: 0; transform: translate(-50%, -90%) translateZ(20px) scale(0.85); }
  to { opacity: 1; transform: translate(-50%, -105%) translateZ(80px) scale(1); }
}

.map-popup-close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #D9E1E8;
  color: #0B1736;
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.map-popup-close-btn:hover {
  background: #0B1736;
  color: #FFFFFF;
  border-color: #0B1736;
}

.map-popup-thumb-wrap {
  position: relative;
  width: 100%;
  height: 130px;
  overflow: hidden;
}

.map-popup-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.map-popup-thumb-wrap:hover img {
  transform: scale(1.08);
}

.map-popup-type-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(11, 23, 54, 0.9);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-full);
}

.map-popup-content {
  padding: 0.85rem 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.map-popup-region {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a67c2e;
}

.map-popup-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0B1736;
  margin: 0;
}

.map-popup-place {
  font-size: 0.82rem;
  font-weight: 700;
  color: #b89148;
  margin: 0;
}

.map-popup-capital {
  font-size: 0.75rem;
  color: #64748B;
  margin: 0;
}

.map-popup-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.map-popup-open-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #0B1736 0%, #15244F 100%);
  color: #C9A45C;
  border: 1px solid #C9A45C;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.42rem 0.75rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(11, 23, 54, 0.15);
  transition: all 0.2s ease;
}

.map-popup-open-btn:hover {
  background: #C9A45C;
  color: #0B1736;
  transform: translateY(-1px);
}

.map-popup-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F8F6F1;
  border: 1px solid #D9E1E8;
  color: #0B1736;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.42rem 0.65rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.map-popup-modal-btn:hover {
  background: #EEF3F6;
  border-color: var(--accent-gold);
}

/* Floating 3D Controls Bar at Bottom of Map */
.map-3d-controls-overlay {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  z-index: 30;
  pointer-events: none;
}

.map-control-btn-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(201, 164, 92, 0.4);
  padding: 0.3rem 0.45rem;
  border-radius: var(--radius-full);
  pointer-events: auto;
  box-shadow: 0 8px 24px rgba(11, 23, 54, 0.08);
}

.map-ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  color: #0B1736;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.32rem 0.65rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.map-ctrl-btn:hover {
  background: #EEF3F6;
  color: #0B1736;
}

.map-ctrl-btn.active {
  background: #0B1736;
  color: #C9A45C;
  font-weight: 800;
}

.map-3d-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid #D9E1E8;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  color: #475467;
  font-size: 0.72rem;
  font-weight: 600;
  pointer-events: auto;
  box-shadow: 0 4px 16px rgba(11, 23, 54, 0.06);
}

/* ==========================================================================
   30% DYNAMIC FILTER SIDEBAR PANEL
   Theme: Luxury White Glass with Navy & Gold Highlights
   ========================================================================== */
.map-filter-panel {
  width: 100%;
  height: 740px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1.5px solid rgba(201, 164, 92, 0.4);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 20px 50px rgba(11, 23, 54, 0.08), 0 0 25px rgba(201, 164, 92, 0.1);
  overflow: hidden;
}

.filter-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #EEF2F6;
}

.filter-header-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-icon-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(201, 164, 92, 0.18);
  color: #0B1736;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-panel-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0B1736;
  margin: 0;
}

.filter-reset-btn {
  background: #F8F6F1;
  border: 1px solid #D9E1E8;
  color: #475467;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-reset-btn:hover {
  background: #0B1736;
  color: #FFFFFF;
  border-color: #0B1736;
}

/* Search Box in Filter */
.filter-search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1.5px solid #D9E1E8;
  border-radius: var(--radius-full);
  padding: 0.42rem 0.85rem;
  transition: all 0.25s ease;
}

.filter-search-box:focus-within {
  background: #FFFFFF;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.2);
}

.filter-search-box svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.filter-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #0B1736;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
}

.filter-search-box input::placeholder {
  color: #94A3B8;
  font-size: 0.8rem;
}

/* Filter Groups */
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.filter-group-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0B1736;
}

.filter-region-chips,
.filter-category-pills {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.filter-chip,
.category-pill {
  background: #F8F6F1;
  border: 1px solid #D9E1E8;
  color: #475467;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.filter-chip:hover,
.category-pill:hover {
  background: #EEF3F6;
  color: #0B1736;
  border-color: rgba(201, 164, 92, 0.5);
}

.filter-chip.active,
.category-pill.active {
  background: #0B1736;
  color: #C9A45C;
  font-weight: 800;
  border-color: #0B1736;
  box-shadow: 0 3px 10px rgba(11, 23, 54, 0.2);
}

/* Results Count Row */
.filter-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-top: 1px solid #EEF2F6;
}

.results-count-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #475467;
}

.results-count-badge {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  color: #0B1736;
  background: rgba(201, 164, 92, 0.18);
  border: 1px solid rgba(201, 164, 92, 0.35);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

/* Filtered States Scroll List */
.filter-states-scroll-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-right: 0.35rem;
}

.filter-states-scroll-list::-webkit-scrollbar {
  width: 5px;
}

.filter-states-scroll-list::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 4px;
}

.filter-states-scroll-list::-webkit-scrollbar-thumb {
  background: rgba(201, 164, 92, 0.5);
  border-radius: 4px;
}

.filter-states-scroll-list::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* State Item Card inside 30% sidebar */
.filter-state-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.filter-state-item:hover,
.filter-state-item.active {
  background: rgba(201, 164, 92, 0.08);
  border-color: var(--accent-gold);
  transform: translateX(3px);
  box-shadow: 0 4px 15px rgba(11, 23, 54, 0.06);
}

.filter-item-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #E2E8F0;
}

.filter-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.filter-item-name {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: #0B1736;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-item-place {
  font-size: 0.72rem;
  color: #b89148;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-locate-btn {
  background: #F8F6F1;
  border: 1px solid #D9E1E8;
  color: #0B1736;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-state-item:hover .filter-locate-btn {
  background: #0B1736;
  color: #C9A45C;
  border-color: #0B1736;
  transform: scale(1.1);
}

/* Empty State */
.filter-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
  color: #64748B;
  font-size: 0.82rem;
  gap: 0.5rem;
}

/* ==========================================================================
   RESPONSIVE LAYOUT FOR 3D MAP & FILTER
   ========================================================================== */
@media (max-width: 1024px) {
  .map-showcase-container {
    flex-direction: column;
  }
  .map-3d-column {
    flex: 0 0 100%;
    width: 100%;
  }
  .map-filter-column {
    flex: 0 0 100%;
    width: 100%;
  }
  .map-3d-stage {
    height: 600px;
  }
  .map-filter-panel {
    height: 480px;
  }
}

@media (max-width: 650px) {
  .gallery-map-section {
    padding: 3rem 0 2rem 0;
  }
  .map-3d-stage {
    height: 480px;
    border-radius: var(--radius-lg);
  }
  .map-3d-hint {
    display: none;
  }
  .map-state-floating-popup {
    width: 250px;
  }
}

@media (max-width: 375px) {
  .map-3d-stage {
    height: 420px;
  }
  .map-filter-panel {
    height: 380px;
  }
  .map-state-floating-popup {
    width: 220px;
  }
}

