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

:root {
  --gold:        #c9a84c;
  --gold-light:  #e8c97a;
  --gold-dark:   #9a7530;
  --bg-dark:     #0d0b09;
  --bg-card:     #181410;
  --bg-section:  #110f0c;
  --text:        #f0e8d8;
  --text-muted:  #9a8f7c;
  --border:      rgba(201,168,76,0.2);
  --font-display: 'Cinzel', serif;
  --font-body:    'Cormorant Garamond', serif;
  --font-ui:      'Raleway', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

/* ── Typography ──────────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.04em; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--gold-light);
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1rem auto 2.5rem;
}

.subtitle {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.7rem 1.8rem;
  border-radius: 2px;
  transition: all 0.3s;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: #0d0b09;
  border: 1px solid var(--gold);
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); color: #0d0b09; }
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #0d0b09; }

/* ── Navbar ──────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(13,11,9,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.navbar-brand em { font-style: italic; color: var(--gold); }
.navbar-brand span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.navbar-links {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}
.navbar-links a {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.navbar-links a:hover { color: var(--gold-light); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s;
}
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .navbar-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(13,11,9,0.98);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border);
  }
  .navbar-links.open { display: flex; }
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,11,9,0.35) 0%, rgba(13,11,9,0.6) 60%, rgba(13,11,9,0.95) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}
.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 1s 0.3s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 0.6rem;
  opacity: 0;
  animation: fadeUp 1s 0.7s forwards;
}
.hero-title em { color: var(--gold-light); font-style: italic; }
.hero-names {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 1s 1.1s forwards;
}
.hero-meta {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s 1.4s forwards;
}
.hero-meta .sep { margin: 0 0.6rem; color: var(--gold); }
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: bounce 2s infinite;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ── Countdown ───────────────────────────────────────── */
.countdown-section {
  background: var(--bg-section);
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.countdown-section .subtitle { margin-bottom: 1.5rem; }
.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}
.countdown-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--gold-light);
  line-height: 1;
}
.countdown-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* ── Sections ────────────────────────────────────────── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.section-full {
  padding: 5rem 2rem;
  background: var(--bg-section);
}
.section-full .section {
  padding-top: 0;
  padding-bottom: 0;
}

/* ── Dancer Cards ────────────────────────────────────── */
.dancers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}
.dancer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.dancer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.dancer-card-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top;
}
.dancer-card-img1 {
 
   width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top;

}
.dancer-card-body {
  padding: 1.8rem;
  text-align: center;
}
.dancer-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}
.dancer-card-body p {
  font-family: var(--font-body);
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.7;
}
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.6rem 0 1rem;
}
.divider-icon { color: var(--gold); font-size: 0.7rem; }

/* ── About Bharatanatyam ─────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-grid img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.about-text h3 {
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid img { height: 280px; }
}

/* ── Profile Page ────────────────────────────────────── */
.profile-hero {
  padding-top: 68px;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.profile-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
}
.profile-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,11,9,0.2) 0%, rgba(13,11,9,0.9) 100%);
}
.profile-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}
.profile-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.profile-hero-content p {
  color: var(--text-muted);
  font-style: italic;
  font-size: 1.1rem;
}
.profile-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.profile-body p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  line-height: 1.85;
}
.profile-body h3 {
  color: var(--gold-light);
  font-size: 1.2rem;
  margin: 2rem 0 0.8rem;
}
.profile-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.profile-img-row img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 4px;
}
@media (max-width: 600px) {
  .profile-img-row { grid-template-columns: 1fr; }
}

/* ── Gallery ─────────────────────────────────────────── */
.gallery-page { padding-top: 68px; }
.gallery-header {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
}
.gallery-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-item {
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,11,9,0.5);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 2rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

/* ── Teacher Page ────────────────────────────────────── */
.teacher-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}
.teacher-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  margin: 0 auto 2rem;
}
.teacher-section h2 {
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}
.teacher-section .subtitle { margin-bottom: 1.5rem; }
.teacher-section p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1rem;
  text-align: left;
}
.quote-block {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text);
  font-size: 1.15rem;
  text-align: left;
  background: var(--bg-card);
  border-radius: 0 4px 4px 0;
}

/* ── Venue & RSVP ────────────────────────────────────── */
.venue-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.venue-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.event-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.event-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
  text-align: center;
}
.event-detail-card .icon {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}
.event-detail-card h4 {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.event-detail-card p {
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 1rem;
}
.rsvp-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem;
  margin-top: 3rem;
}
.rsvp-form h3 {
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.7rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group select option { background: var(--bg-dark); }

/* ── Guestbook ───────────────────────────────────────── */
.guestbook-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.guestbook-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
  text-align: center;
}
.wish-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  margin: 2.5rem 0;
}
.wish-form h3 {
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}
.wish-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 1.2rem;
}
.wish-card .wish-author {
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.wish-card .wish-text {
  color: var(--text-muted);
  font-style: italic;
  font-size: 1rem;
}
.wish-card .wish-date {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-top: 0.6rem;
}

/* ── Page Hero (non-home pages) ──────────────────────── */
.page-hero {
  padding-top: 68px;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding-bottom: 3rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--gold-light);
  padding-top: 3rem;
}
.page-hero p {
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.5rem;
}

/* ── Footer ──────────────────────────────────────────── */
footer {
  background: #080705;
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 1.5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand h3 {
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.footer-brand h3 em { font-style: italic; color: var(--gold); }
.footer-brand p { color: var(--text-muted); font-size: 0.95rem; }
.footer-links h4 {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1100px;
  margin: 1.2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; }
}

/* ── AOS overrides ───────────────────────────────────── */
[data-aos] { transition-duration: 0.8s !important; }

/* ── Music player ────────────────────────────────────── */
.music-player {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.music-prompt {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: rgba(13,11,9,0.85);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.music-player:hover .music-prompt { opacity: 1; }
.music-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(13,11,9,0.85);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.music-btn:hover { background: var(--gold); color: #0d0b09; }

/* ── Lightbox overrides ──────────────────────────────── */
.glightbox-container { background: rgba(0,0,0,0.95); }
