/* ============================================================
   Nupur Folk Dance Academy — Stylesheet
   Modern, minimal, with subtle Indian folk-inspired accents
   Mobile-first • CSS Variables • Semantic
   ============================================================ */

/* ----- Custom Properties ----- */
:root {
  /* Palette */
  --color-maroon: #7B2D26;
  --color-maroon-dark: #5C1F1A;
  --color-saffron: #D4872C;
  --color-saffron-light: #F2C76E;
  --color-indigo: #2E3B6C;
  --color-cream: #FFF8F0;
  --color-cream-dark: #F5EDE0;
  --color-white: #FFFFFF;
  --color-dark: #1A1A2E;
  --color-text: #2D2D2D;
  --color-text-muted: #6B6B6B;
  --color-border: #E0D6CC;
  --color-overlay: rgba(26, 26, 46, 0.85);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Spacing scale (8px base) */
  --space-xs: 0.25rem;   /* 4 */
  --space-sm: 0.5rem;    /* 8 */
  --space-md: 1rem;      /* 16 */
  --space-lg: 1.5rem;    /* 24 */
  --space-xl: 2rem;      /* 32 */
  --space-2xl: 3rem;     /* 48 */
  --space-3xl: 4rem;     /* 64 */
  --space-4xl: 6rem;     /* 96 */

  /* Layout */
  --max-width: 1200px;
  --nav-height: 52px;
  --border-radius: 6px;
  --border-radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-maroon); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-saffron); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.2; color: var(--color-dark); }

/* Focus visible for keyboard users */
:focus-visible {
  outline: 3px solid var(--color-saffron);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--space-sm);
  background: var(--color-maroon);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  z-index: 1000;
  border-radius: var(--border-radius);
  font-weight: 600;
}
.skip-link:focus {
  left: var(--space-md);
}

/* ----- Utility ----- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.section-padding {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

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

/* ----- Section headings ----- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-sm);
}
.section-header p {
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--color-saffron);
  border: none;
  margin: var(--space-md) auto;
  border-radius: 2px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: saturate(120%) blur(30px);
  -webkit-backdrop-filter: saturate(120%) blur(30px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 100;
  transition: background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.25);
}
/* Past hero: solid white with dark text */
.site-header.past-hero {
  background: var(--color-white);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.site-header.past-hero .site-logo {
  color: var(--color-maroon);
}
.site-header.past-hero .site-logo:hover {
  color: var(--color-maroon-dark);
}
.site-header.past-hero .nav-links a {
  color: var(--color-text);
}
.site-header.past-hero .nav-links a:hover,
.site-header.past-hero .nav-links a.active {
  color: var(--color-maroon);
}
.site-header.past-hero .nav-toggle span,
.site-header.past-hero .nav-toggle span::before,
.site-header.past-hero .nav-toggle span::after {
  background: var(--color-dark);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  text-decoration: none;
}
.site-logo:hover { color: var(--color-saffron-light); }
.site-logo img {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: none;
  gap: var(--space-lg);
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-saffron);
  transition: width var(--transition-base);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-white);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile menu button */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition-base);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after  { transform: translateY(7px); }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  padding: var(--space-xl);
  gap: var(--space-lg);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  z-index: 99;
}
.mobile-nav.open {
  transform: translateX(0);
}
.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-dark);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--color-maroon);
}

/* Desktop nav breakpoint */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
  text-decoration: none;
  gap: var(--space-sm);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-maroon);
  color: var(--color-white);
  border-color: var(--color-maroon);
}
.btn-primary:hover {
  background: var(--color-maroon-dark);
  border-color: var(--color-maroon-dark);
  color: var(--color-white);
}
.btn-secondary {
  background: transparent;
  color: var(--color-maroon);
  border-color: var(--color-maroon);
}
.btn-secondary:hover {
  background: var(--color-maroon);
  color: var(--color-white);
}
.btn-accent {
  background: var(--color-saffron);
  color: var(--color-white);
  border-color: var(--color-saffron);
}
.btn-accent:hover {
  background: #C07820;
  border-color: #C07820;
  color: var(--color-white);
}

/* Hero Buy Tickets button */
@keyframes ticket-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(212, 135, 44, 0.4), 0 0 32px rgba(212, 135, 44, 0.15); }
  50% { box-shadow: 0 0 20px rgba(212, 135, 44, 0.7), 0 0 48px rgba(212, 135, 44, 0.3); }
}
.btn-tickets {
  background: linear-gradient(135deg, var(--color-saffron), #E89F3C);
  color: var(--color-white);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  border-radius: 50px;
  animation: ticket-glow 2.5s ease-in-out infinite;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.btn-tickets:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, #E89F3C, var(--color-saffron));
  box-shadow: 0 0 28px rgba(212, 135, 44, 0.8), 0 0 56px rgba(212, 135, 44, 0.35);
  color: var(--color-white);
}
.btn-tickets:active {
  transform: scale(1.02);
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--color-dark);
  overflow: hidden;
}
img.hero-bg {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6;
  background-color: #000;
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
}
.hero-content h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}
.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-xl);
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* Decorative motif line below hero */
.hero-motif {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--color-maroon) 0px,
    var(--color-maroon) 24px,
    var(--color-saffron) 24px,
    var(--color-saffron) 48px,
    var(--color-indigo) 48px,
    var(--color-indigo) 72px
  );
}

/* Mobile hero layout: stack image and content vertically */
@media (max-width: 767px) {
  .hero {
    display: flex;
    flex-direction: column;
    position: static;
  }
  .hero-content {
    position: static;
    padding: var(--space-lg) var(--space-md);
    background: var(--color-dark);
  }
  img.hero-bg {
    order: -1;
    opacity: 1;
    margin-top: var(--nav-height);
  }
  .hero-motif {
    display: none;
  }
}

/* ============================================================
   HIGHLIGHT CARDS
   ============================================================ */
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 600px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .highlights-grid { grid-template-columns: repeat(4, 1fr); }
}

.highlight-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.highlight-card .card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
}
.highlight-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}
.highlight-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ============================================================
   PRODUCTIONS CAROUSEL
   ============================================================ */
.productions-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.productions-carousel {
  display: flex;
  gap: var(--space-lg);
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  padding: 0 var(--space-xs);
}
.productions-carousel::-webkit-scrollbar { display: none; }

.production-card {
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast);
}

.production-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-saffron);
}

.production-media {
  background: var(--color-cream-dark);
  min-height: 0;
  position: relative;
  height: 100%;
}

.production-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.production-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--color-maroon);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: var(--color-maroon-dark);
  transform: scale(1.05);
}

.carousel-btn span {
  font-size: 1.6rem;
  line-height: 1;
}

@media (max-width: 767px) {
  .productions-carousel-wrap {
    gap: var(--space-sm);
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
  }

  .production-card {
    flex-basis: 100%;
  }
}

/* ============================================================
   FEATURED STRIP (photos / videos on home)
   ============================================================ */
.featured-strip {
  background: var(--color-white);
}
.strip-scroll {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
@media (min-width: 600px) {
  .strip-scroll { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .strip-scroll { grid-template-columns: repeat(4, 1fr); }
}
.strip-item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-cream-dark);
}
.strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.strip-item:hover img {
  transform: scale(1.05);
}

/* Video strip items with play icon overlay */
.strip-item.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.strip-item.video-thumb .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  z-index: 2;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}
.strip-item.video-thumb:hover .play-icon {
  opacity: 1;
}

.strip-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 600;
  margin-top: var(--space-lg);
}
.strip-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}
.strip-link:hover svg {
  transform: translateX(4px);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--color-maroon);
  color: var(--color-white);
}
.testimonials .section-header h2 { color: var(--color-white); }
.testimonials .section-header p { color: rgba(255,255,255,0.7); }
.testimonials .section-divider { background: var(--color-saffron-light); }

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background: rgba(255,255,255,0.1);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-saffron-light);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  opacity: 0.5;
}
.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
  font-style: italic;
}
.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-saffron-light);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-3xl) 0 var(--space-xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-brand .site-logo { color: var(--color-white); margin-bottom: var(--space-md); }
.footer-brand p { max-width: 320px; font-size: 0.9rem; }

.site-footer h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}
.footer-links a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  padding: var(--space-xs) 0;
}
.footer-links a:hover { color: var(--color-saffron); }

.social-links {
  display: flex;
  gap: var(--space-md);
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  transition: background var(--transition-fast);
}
.social-links a:hover {
  background: var(--color-saffron);
}
.social-links svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-lg);
  text-align: center;
  font-size: 0.8rem;
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  margin-top: var(--nav-height);
  background: var(--color-dark);
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Subtle geometric pattern — SVG encoded */
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  position: relative;
}
.page-header p {
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

/* ============================================================
   PHOTO GALLERY
   ============================================================ */
/* Filter chips */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-xl);
}
.filter-chip {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1.5px solid var(--color-border);
  border-radius: 100px;
  background: var(--color-white);
  color: var(--color-text);
  transition: all var(--transition-fast);
}
.filter-chip:hover,
.filter-chip.active {
  background: var(--color-maroon);
  color: var(--color-white);
  border-color: var(--color-maroon);
}

/* Masonry-like responsive grid */
.gallery-grid {
  columns: 1;
  column-gap: var(--space-md);
}
@media (min-width: 600px)  { .gallery-grid { columns: 2; } }
@media (min-width: 900px)  { .gallery-grid { columns: 3; } }
@media (min-width: 1100px) { .gallery-grid { columns: 4; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-md);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--color-cream-dark);
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform var(--transition-slow);
}
.gallery-item:hover img {
  transform: scale(1.04);
}
.gallery-item[hidden] { display: none; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-inner img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--border-radius);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  line-height: 1;
  padding: var(--space-sm);
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

@media (max-width: 768px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ============================================================
   VIDEO GALLERY
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 600px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }

.video-card {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.video-card[hidden] { display: none; }
.video-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--color-dark);
  overflow: hidden;
}
.video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}
.video-card:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.1); }
.video-play-btn svg { width: 24px; height: 24px; fill: var(--color-maroon); margin-left: 3px; }
.video-card-info { padding: var(--space-md); }
.video-card-info h3 { font-size: 1rem; margin-bottom: var(--space-xs); }
.video-card-info p { font-size: 0.85rem; color: var(--color-text-muted); }

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}
.video-modal.open {
  opacity: 1;
  visibility: visible;
}
.video-modal-inner {
  position: relative;
  width: 90vw;
  max-width: 960px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--border-radius);
  overflow: hidden;
}
.video-modal-inner iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  padding: var(--space-sm);
}

/* ============================================================
   DIRECTOR PAGE
   ============================================================ */
.director-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
@media (min-width: 768px) {
  .director-intro { grid-template-columns: 1fr 2fr; }
}
.director-portrait {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--color-cream-dark);
}
.director-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.director-bio h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-sm);
}
.director-bio .subtitle {
  color: var(--color-saffron);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}
.director-bio p {
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: var(--space-xl);
  margin-top: var(--space-2xl);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}
.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-xl) + 4px);
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-saffron);
  border: 2px solid var(--color-cream);
}
.timeline-item .year {
  font-weight: 700;
  color: var(--color-maroon);
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
}
.timeline-item h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-xs);
}
.timeline-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ============================================================
   ACADEMY PAGE
   ============================================================ */
.mission-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
@media (min-width: 768px) {
  .mission-block { grid-template-columns: 1fr 1fr; }
}
.mission-block img {
  border-radius: var(--border-radius-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.mission-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-md);
}
.mission-text p {
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 768px) {
  .philosophy-grid { grid-template-columns: repeat(3, 1fr); }
}
.philosophy-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--color-saffron);
}
.philosophy-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}
.philosophy-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.dance-styles-block {
  margin-top: var(--space-2xl);
}

.dance-styles-block h3 {
  font-size: 1.35rem;
  margin-bottom: var(--space-md);
}

.dance-styles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 600px) {
  .dance-styles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .dance-styles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dance-style-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-saffron);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md);
}

.dance-style-card p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
}

/* Class structure table */
.class-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.class-table th,
.class-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.class-table th {
  background: var(--color-maroon);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.class-table td {
  font-size: 0.9rem;
}
.class-table tbody tr:last-child td { border-bottom: none; }
.class-table tbody tr:hover { background: var(--color-cream); }

/* Table responsive wrapper */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border: 1.5px solid var(--color-border);
  border-radius: var(--border-radius);
  background: var(--color-white);
  transition: border-color var(--transition-fast);
  margin-bottom: var(--space-lg);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-saffron);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 135, 44, 0.15);
}
.contact-form textarea { resize: vertical; min-height: 140px; }

/* Honeypot */
.ohnohoney { display: none !important; }

.contact-details h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}
.contact-info-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  align-items: flex-start;
}
.contact-info-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-maroon);
  margin-top: 2px;
}
.contact-info-item p {
  font-size: 0.9rem;
}
.contact-info-item a {
  color: var(--color-maroon);
  font-weight: 500;
}

.map-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--color-cream-dark);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: var(--space-lg);
  border: 1.5px dashed var(--color-border);
}

/* ============================================================
   SUCCESS PAGE
   ============================================================ */
.success-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: var(--nav-height);
  padding: var(--space-2xl) var(--space-md);
}
.success-page svg {
  width: 80px;
  height: 80px;
  color: var(--color-maroon);
  margin-bottom: var(--space-lg);
}
.success-page h1 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}
.success-page p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  max-width: 480px;
}

/* ============================================================
   GENERAL PATTERNS
   ============================================================ */

/* Indian folk pattern — subtle bg for certain sections */
.pattern-bg {
  position: relative;
}
.pattern-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='2' fill='rgba(123,45,38,0.04)'/%3E%3Ccircle cx='0' cy='0' r='2' fill='rgba(123,45,38,0.04)'/%3E%3Ccircle cx='40' cy='40' r='2' fill='rgba(123,45,38,0.04)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.pattern-bg > * { position: relative; z-index: 1; }

/* CTA banner */
.cta-banner {
  background: var(--color-indigo);
  color: var(--color-white);
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
}
.cta-banner h2 {
  color: var(--color-white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-sm);
}
.cta-banner p {
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .site-header, .site-footer, .nav-toggle, .mobile-nav, .lightbox, .video-modal { display: none !important; }
  body { color: #000; background: #fff; }
  .hero { background: #fff; }
  .hero-content h1, .hero-content p { color: #000; }
}
