/* ========================================
   Farida Mir & Devika Rabari - Official Website
   Cultural Music Experience
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
  --saffron: #FF6F00;
  --deep-maroon: #6B0F1A;
  --temple-gold: #D4A843;
  --cream: #FFF8E7;
  --dark-bg: #1A0A0E;
  --warm-brown: #3E1F0D;
  --diya-glow: #FFD54F;
  --rangoli-pink: #E91E63;
  --peacock-blue: #00838F;
  --deep-green: #1B5E20;
  --burgundy: #800020;
  --light-gold: #F5DEB3;
  --off-white: #FAF3E0;
  --shadow-dark: rgba(26, 10, 14, 0.7);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  --font-accent: 'Great Vibes', cursive;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--dark-bg);
  color: var(--cream);
  overflow-x: hidden;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

/* ---------- Scrollbar Styling ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--temple-gold), var(--saffron));
  border-radius: 4px;
}

/* ---------- Entry / Password Page ---------- */
.entry-page {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-bg);
  overflow: hidden;
}

.entry-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(212, 168, 67, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 111, 0, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(107, 15, 26, 0.1) 0%, transparent 70%);
  animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.mandala-bg {
  position: absolute;
  width: 600px;
  height: 600px;
  border: 2px solid rgba(212, 168, 67, 0.1);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateMandala 60s linear infinite;
}

.mandala-bg::before,
.mandala-bg::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(212, 168, 67, 0.08);
  border-radius: 50%;
}

.mandala-bg::before {
  inset: 40px;
  animation: rotateMandala 45s linear infinite reverse;
}

.mandala-bg::after {
  inset: 80px;
  animation: rotateMandala 30s linear infinite;
}

.mandala-ring-2 { width: 500px; height: 500px; animation-duration: 50s; }
.mandala-ring-3 { width: 400px; height: 400px; animation-duration: 40s; animation-direction: reverse; }

@keyframes rotateMandala {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.entry-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem;
}

.entry-diya {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  position: relative;
}

.diya-flame {
  width: 20px;
  height: 35px;
  background: radial-gradient(ellipse at bottom, var(--diya-glow), var(--saffron), transparent);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  margin: 0 auto;
  animation: flicker 2s ease-in-out infinite alternate;
  filter: blur(0.5px);
  box-shadow: 0 0 30px var(--diya-glow), 0 0 60px rgba(255, 213, 79, 0.3);
}

@keyframes flicker {
  0% { transform: scale(1) rotate(-2deg); opacity: 1; }
  25% { transform: scale(1.05) rotate(1deg); opacity: 0.9; }
  50% { transform: scale(0.95) rotate(-1deg); opacity: 1; }
  75% { transform: scale(1.02) rotate(2deg); opacity: 0.95; }
  100% { transform: scale(1) rotate(-1deg); opacity: 1; }
}

.diya-base {
  width: 40px;
  height: 12px;
  background: linear-gradient(var(--temple-gold), var(--warm-brown));
  border-radius: 0 0 50% 50%;
  margin: -2px auto 0;
}

.entry-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--temple-gold);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
  text-shadow: 0 0 30px rgba(212, 168, 67, 0.3);
}

.entry-subtitle {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--diya-glow);
  margin-bottom: 2rem;
  opacity: 0.8;
}

.entry-ornament {
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--temple-gold), transparent);
  margin: 0 auto 2rem;
  position: relative;
}

.entry-ornament::before {
  content: '\2726';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--temple-gold);
  font-size: 1rem;
  background: var(--dark-bg);
  padding: 0 10px;
}

.passcode-wrapper {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.passcode-input {
  width: 100%;
  padding: 14px 50px 14px 20px;
  background: rgba(212, 168, 67, 0.08);
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 8px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 3px;
  text-align: center;
  outline: none;
  transition: all 0.3s ease;
}

.passcode-input::placeholder {
  color: rgba(212, 168, 67, 0.4);
  letter-spacing: 1px;
}

.passcode-input:focus {
  border-color: var(--temple-gold);
  box-shadow: 0 0 20px rgba(212, 168, 67, 0.15);
}

.passcode-submit {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--temple-gold);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 5px;
  transition: transform 0.3s ease;
}

.passcode-submit:hover {
  transform: translateY(-50%) scale(1.2);
}

.entry-error {
  color: var(--rangoli-pink);
  font-size: 0.85rem;
  margin-top: 0.8rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.entry-error.visible {
  opacity: 1;
}

.passcode-input.shake {
  animation: shakeInput 0.5s ease-in-out;
  border-color: var(--rangoli-pink);
}

@keyframes shakeInput {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

/* Door Opening Transition */
.door-transition {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.door-transition.active {
  opacity: 1;
  pointer-events: all;
}

.door-left, .door-right {
  width: 50%;
  height: 100%;
  background: linear-gradient(180deg, var(--dark-bg), var(--deep-maroon));
  position: relative;
  transition: transform 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.door-left {
  border-right: 2px solid var(--temple-gold);
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(212,168,67,0.05) 40px, rgba(212,168,67,0.05) 41px);
}

.door-right {
  border-left: 2px solid var(--temple-gold);
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(212,168,67,0.05) 40px, rgba(212,168,67,0.05) 41px);
}

.door-transition.open .door-left {
  transform: translateX(-100%);
}

.door-transition.open .door-right {
  transform: translateX(100%);
}

.door-light {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 213, 79, 0.4), transparent 70%);
  opacity: 0;
  transition: opacity 1s ease 0.3s;
}

.door-transition.open .door-light {
  opacity: 1;
}

/* ---------- Navigation ---------- */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
  background: transparent;
}

.main-nav.scrolled {
  background: rgba(26, 10, 14, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.7rem 3rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--temple-gold);
  letter-spacing: 1px;
  position: relative;
}

.nav-logo span {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--diya-glow);
  display: block;
  margin-top: -5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  position: relative;
  padding: 5px 0;
  color: var(--cream);
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--temple-gold), var(--saffron));
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--temple-gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--temple-gold);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Sections ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(26, 10, 14, 0.4) 0%,
      rgba(26, 10, 14, 0.6) 40%,
      rgba(26, 10, 14, 0.85) 100%);
}

.hero-texture {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4A843' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero-label {
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--temple-gold);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero h1 .accent {
  font-family: var(--font-accent);
  color: var(--temple-gold);
  font-size: 1.1em;
  display: block;
}

.hero-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--temple-gold));
  margin: 1.5rem auto;
  position: relative;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero-divider::before,
.hero-divider::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--temple-gold);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.hero-divider::before { left: -15px; }
.hero-divider::after { right: -15px; }

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 248, 231, 0.8);
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.9s;
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 1.1s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--temple-gold));
  color: var(--dark-bg);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 111, 0, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--temple-gold);
  border: 1px solid var(--temple-gold);
}

.btn-outline:hover {
  background: rgba(212, 168, 67, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 168, 67, 0.15);
}

/* ---------- Section Styling ---------- */
.section {
  padding: 6rem 5%;
  position: relative;
}

.section-dark { background: var(--dark-bg); }

.section-warm {
  background: linear-gradient(180deg, var(--warm-brown), var(--dark-bg));
}

.section-maroon {
  background: linear-gradient(180deg, var(--deep-maroon), var(--dark-bg));
}

/* Cultural Section Dividers */
.cultural-divider {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0;
}

.cultural-divider::before {
  content: '';
  position: absolute;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--temple-gold), transparent);
}

.cultural-divider .divider-icon {
  position: relative;
  z-index: 1;
  background: var(--dark-bg);
  padding: 0 20px;
  color: var(--temple-gold);
  font-size: 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.section-title .gold { color: var(--temple-gold); }

.section-accent {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  color: var(--diya-glow);
  margin-bottom: 1rem;
}

.section-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--temple-gold));
  margin: 1rem auto;
}

.section-desc {
  max-width: 650px;
  margin: 0 auto;
  color: rgba(255, 248, 231, 0.7);
  font-size: 1rem;
  line-height: 1.8;
}

/* ---------- Cards ---------- */
.artist-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(62, 31, 13, 0.3);
  border: 1px solid rgba(212, 168, 67, 0.15);
  transition: all 0.5s ease;
}

.artist-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 168, 67, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.artist-card .card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.artist-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.artist-card:hover .card-image img {
  transform: scale(1.05);
}

.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26, 10, 14, 0.9) 0%, transparent 50%);
}

.card-content {
  padding: 2rem;
}

.card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--temple-gold);
  margin-bottom: 0.5rem;
}

.card-content .card-genre {
  font-size: 0.85rem;
  color: var(--saffron);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.card-content p {
  color: rgba(255, 248, 231, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- Grid Layouts ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ---------- Image Frames ---------- */
.cultural-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.cultural-frame::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 8px;
  z-index: 1;
  pointer-events: none;
}

.cultural-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ---------- Infographic Styles ---------- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--temple-gold), var(--saffron), var(--temple-gold));
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 30px);
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 30px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--temple-gold);
  border-radius: 50%;
  border: 3px solid var(--dark-bg);
  box-shadow: 0 0 15px rgba(212, 168, 67, 0.4);
}

.timeline-content {
  background: rgba(62, 31, 13, 0.3);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: 8px;
  padding: 1.5rem;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--temple-gold);
  margin-bottom: 0.3rem;
}

.timeline-content p {
  color: rgba(255, 248, 231, 0.7);
  font-size: 0.9rem;
}

/* ---------- Stats / Numbers ---------- */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 3rem 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--temple-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 248, 231, 0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ---------- Icon Grid ---------- */
.icon-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.icon-feature {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(62, 31, 13, 0.2);
  border: 1px solid rgba(212, 168, 67, 0.1);
  border-radius: 12px;
  transition: all 0.4s ease;
}

.icon-feature:hover {
  background: rgba(62, 31, 13, 0.4);
  border-color: rgba(212, 168, 67, 0.3);
  transform: translateY(-5px);
}

.icon-feature .feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.icon-feature h4 {
  font-family: var(--font-heading);
  color: var(--temple-gold);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.icon-feature p {
  color: rgba(255, 248, 231, 0.6);
  font-size: 0.9rem;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item.wide { grid-column: span 2; aspect-ratio: 16/9; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

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

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26, 10, 14, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--temple-gold);
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--temple-gold);
}

/* ---------- Contact Form ---------- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--temple-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(62, 31, 13, 0.3);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 6px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--temple-gold);
  box-shadow: 0 0 15px rgba(212, 168, 67, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--dark-bg), #0D0508);
  padding: 4rem 5% 2rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--temple-gold), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--temple-gold);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: rgba(255, 248, 231, 0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.footer-links a {
  display: block;
  color: rgba(255, 248, 231, 0.5);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--temple-gold);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 67, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--temple-gold);
  transition: all 0.3s ease;
  font-size: 1rem;
}

.footer-social a:hover {
  background: rgba(212, 168, 67, 0.15);
  border-color: var(--temple-gold);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 168, 67, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 248, 231, 0.4);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--temple-gold);
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--saffron);
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.5s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.6s; }

/* ---------- Floating Elements ---------- */
.floating-diyas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-diya-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--diya-glow);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--diya-glow);
  animation: floatUp linear infinite;
  opacity: 0;
}

@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ---------- Page-specific Hero Variants ---------- */
.hero-compact {
  min-height: 60vh;
}

.hero-full {
  min-height: 100vh;
}

/* ---------- Content Blocks ---------- */
.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block p {
  color: rgba(255, 248, 231, 0.75);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.content-block h3 {
  font-family: var(--font-heading);
  color: var(--temple-gold);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

/* Quote Block */
.cultural-quote {
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  margin: 3rem 0;
}

.cultural-quote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 6rem;
  color: rgba(212, 168, 67, 0.15);
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.cultural-quote blockquote {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--cream);
  font-style: italic;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.cultural-quote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--temple-gold);
  font-style: normal;
}

/* ---------- Performance Cards ---------- */
.performance-card {
  background: rgba(62, 31, 13, 0.2);
  border: 1px solid rgba(212, 168, 67, 0.12);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.performance-card:hover {
  border-color: rgba(212, 168, 67, 0.35);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.performance-card .perf-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.performance-card .perf-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.performance-card:hover .perf-image img {
  transform: scale(1.05);
}

.performance-card .perf-info {
  padding: 1.5rem;
}

.performance-card .perf-info h4 {
  font-family: var(--font-heading);
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.performance-card .perf-info .perf-venue {
  color: var(--temple-gold);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.performance-card .perf-info p {
  color: rgba(255, 248, 231, 0.6);
  font-size: 0.9rem;
}

/* ---------- Heritage Map / Influence ---------- */
.heritage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.heritage-item {
  padding: 2rem;
  background: rgba(62, 31, 13, 0.2);
  border: 1px solid rgba(212, 168, 67, 0.1);
  border-radius: 12px;
  text-align: center;
  transition: all 0.4s ease;
}

.heritage-item:hover {
  background: rgba(62, 31, 13, 0.35);
  border-color: rgba(212, 168, 67, 0.25);
}

.heritage-item .heritage-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.heritage-item h4 {
  font-family: var(--font-heading);
  color: var(--temple-gold);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.heritage-item p {
  color: rgba(255, 248, 231, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- Contact Info ---------- */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-info-card {
  text-align: center;
  padding: 2rem;
  background: rgba(62, 31, 13, 0.2);
  border: 1px solid rgba(212, 168, 67, 0.1);
  border-radius: 12px;
}

.contact-info-card .contact-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-info-card h4 {
  font-family: var(--font-heading);
  color: var(--temple-gold);
  margin-bottom: 0.5rem;
}

.contact-info-card p,
.contact-info-card a {
  color: rgba(255, 248, 231, 0.7);
  font-size: 0.95rem;
}

.contact-info-card a:hover {
  color: var(--temple-gold);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-row { gap: 2rem; }
}

@media (max-width: 768px) {
  .main-nav { padding: 1rem 1.5rem; }
  .main-nav.scrolled { padding: 0.7rem 1.5rem; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(26, 10, 14, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.4s ease;
    border-left: 1px solid rgba(212, 168, 67, 0.15);
  }

  .nav-links.open { right: 0; }

  .section { padding: 4rem 5%; }
  .grid-3 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide { grid-column: span 1; }

  .timeline::before { left: 20px; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    justify-content: flex-start;
  }
  .timeline-dot { left: 20px; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }

  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .entry-title { font-size: 1.6rem; }

  .stats-row { flex-direction: column; gap: 2rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; gap: 0.8rem; }
  .btn { padding: 12px 28px; font-size: 0.85rem; }
}

/* ---------- Utility Classes ---------- */
.text-gold { color: var(--temple-gold); }
.text-saffron { color: var(--saffron); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-3 { margin-bottom: 3rem; }

/* ---------- Bandhani Pattern Overlay ---------- */
.bandhani-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: radial-gradient(circle, var(--temple-gold) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* ---------- Kutch Border ---------- */
.kutch-border {
  position: relative;
}

.kutch-border::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--temple-gold) 0px,
    var(--temple-gold) 8px,
    transparent 8px,
    transparent 12px,
    var(--saffron) 12px,
    var(--saffron) 20px,
    transparent 20px,
    transparent 24px
  );
}

/* ---------- Glow Effects ---------- */
.glow-text {
  text-shadow: 0 0 20px rgba(212, 168, 67, 0.3), 0 0 40px rgba(212, 168, 67, 0.1);
}

.glow-box {
  box-shadow: 0 0 30px rgba(212, 168, 67, 0.08), inset 0 0 30px rgba(212, 168, 67, 0.03);
}
