/* ================================================================
   TRAVELKUTCH — SHARED DESTINATION PAGE STYLES
   Used by every destination page (except bhuj/mandvi which have their own)
   ================================================================ */

html { scroll-behavior: smooth; }

/* ── Gradient text fix (React inline-style workaround) ───────── */
[style*="BF953F"], [style*="bf953f"] {
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  animation: goldShine 12s linear infinite !important;
}
[style*="94a3b8"] {
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  animation: goldShine 12s linear infinite !important;
}
@keyframes goldShine { to { background-position: 200% center; } }

/* ── Section navbar ───────────────────────────────────────────── */
#section-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: linear-gradient(90deg, #a8005a 0%, #ff4f81 100%);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 16px 0 rgba(168, 0, 90, 0.18);
  scrollbar-width: none;
}
#section-navbar .section-link {
  color: #f3f3f3;
  font-size: 1.05rem;
  font-family: 'Oswald', Arial Narrow, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  transition: background 0.18s, color 0.18s;
  text-decoration: none;
  white-space: nowrap;
  margin-right: 2px;
  display: inline-block;
}
#section-navbar .section-link:hover,
#section-navbar .section-link.active {
  background: linear-gradient(90deg, #fbbf24 0%, #f59e42 100%);
  color: #222;
}
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* ── Destination hero ─────────────────────────────────────────── */
#dest-hero {
  position: relative;
  min-height: clamp(600px, 90vh, 1000px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
#dest-hero .hero-bg {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  animation: destKenBurns 18s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes destKenBurns {
  0%   { transform: scale(1.0) translate(0, 0); }
  33%  { transform: scale(1.06) translate(-1%, 0.5%); }
  66%  { transform: scale(1.04) translate(1%, -0.5%); }
  100% { transform: scale(1.08) translate(-0.5%, 1%); }
}
#dest-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(10,10,11,0.78) 0%, rgba(10,10,11,0.38) 42%, rgba(10,10,11,0.08) 62%, transparent 100%),
    linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.12) 30%, transparent 70%);
}
#dest-hero .hero-inner {
  position: relative;
  z-index: 2;
  padding: 4rem 6%;
  max-width: 820px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(180, 120, 20, 0.18);
  border: 1px solid rgba(214, 167, 86, 0.35);
  color: #d4a84b;
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.dest-hero-title {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(to right, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShine 12s linear infinite;
  display: block;
  margin-bottom: 0.5rem;
}
.hero-subtitle {
  display: block;
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 400;
  color: #f5eddc;
  -webkit-text-fill-color: #f5eddc;
  margin-top: 0.4rem;
  margin-bottom: 1.2rem;
}
#dest-hero p {
  font-size: 1.05rem;
  color: rgba(245, 237, 220, 0.75);
  max-width: 540px;
  line-height: 1.7;
}
.hero-photo-credit {
  position: absolute;
  bottom: 1rem;
  right: 1.25rem;
  z-index: 3;
  font-size: 0.65rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  user-select: none;
}

/* ── Responsive hero ──────────────────────────────────────────── */
@media (max-width: 480px) {
  #dest-hero .hero-inner { padding: 2.5rem 1.25rem; }
  #section-navbar .section-link { font-size: 0.85rem; padding: 0.45rem 0.65rem; }
}
@media (min-width: 481px) and (max-width: 899px) {
  #dest-hero .hero-inner { padding: 3rem 4%; }
}
@media (min-width: 900px) {
  #dest-hero .hero-inner { max-width: 780px; }
  .dest-hero-title { font-size: 4rem; }
  .hero-subtitle { font-size: 1.4rem; }
}
@media (min-width: 1025px) {
  #dest-hero .hero-inner { padding: 3rem 4rem; max-width: 860px; }
  .dest-hero-title { font-size: 5.5rem; }
  .hero-subtitle { font-size: 1.75rem; }
}
@media (min-width: 1367px) {
  #dest-hero .hero-inner { padding: 3.5rem 5rem; max-width: 1000px; }
  .dest-hero-title { font-size: 8rem; }
  .hero-subtitle { font-size: 2.25rem; }
}

/* ── Animations ───────────────────────────────────────────────── */
@keyframes shine {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}
@keyframes fadeSlideUp {
  0%   { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ── Lightbox ─────────────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-container {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.lightbox-overlay.active .lightbox-image { transform: scale(1); }
.lightbox-caption {
  color: white;
  text-align: center;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 500;
  padding: 0 1rem;
}
.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.1); }
@media (max-width: 768px) {
  .lightbox-close { top: 20px; right: 20px; background: rgba(0, 0, 0, 0.5); }
  .lightbox-image { max-height: 80vh; }
}
.grid img, .gallery-grid img { cursor: zoom-in; }
