/* ================================================================
   MANDVI DESTINATION PAGE — STYLES
   ================================================================ */

/* ── GRADIENT TEXT FIX (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;
}

/* ── GOLD SHINE ANIMATION ─────────────────────────────────────── */
@keyframes goldShine {
  to { background-position: 200% center; }
}

/* ── SECTION HEADING UTILITY ──────────────────────────────────── */
.section-heading {
  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;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  display: inline-block;
  width: fit-content;
}

/* ── MAIN TOP NAVBAR — match homepage Oswald style ───────────── */
.nav-desktop a, .nav-desktop a span, .nav-desktop span, .nav-desktop, .font-sora {
  font-family: 'Oswald', Arial Narrow, Arial, sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
}

/* ── SECTION NAVBAR ───────────────────────────────────────────── */
#section-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: linear-gradient(90deg, #005a8a 0%, #0ea5e9 100%);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 16px 0 rgba(14, 165, 233, 0.15);
}
#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;
}

/* ── HERO ─────────────────────────────────────────────────────── */
#mandvi-hero {
  position: relative;
  min-height: clamp(600px, 90vh, 1000px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
#mandvi-hero .hero-bg {
  position: absolute;
  inset: -8%;
  background: url('../../images/mandvi/hero-mandvi.webp') center center / cover no-repeat;
  animation: mandviKenBurns 18s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes mandviKenBurns {
  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%); }
}
#mandvi-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%);
}
#mandvi-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(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #7dd3fc;
  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;
}
.mandvi-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: #e0f2fe;
  -webkit-text-fill-color: #e0f2fe;
  margin-top: 0.4rem;
  margin-bottom: 1.2rem;
}
#mandvi-hero p {
  font-size: 1.05rem;
  color: rgba(224, 242, 254, 0.75);
  max-width: 540px;
  line-height: 1.7;
}

/* ── HERO PHOTO CREDIT ────────────────────────────────────────── */
.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;
}

/* ── 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; }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 480px) {
  #mandvi-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) {
  #mandvi-hero .hero-inner { padding: 3rem 4%; }
}
