/* ============================================================
   SPIC MACAY – Heritage Modernist Design System
   Primary palette: Deep Charcoal + Saffron + Ivory
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,600&family=Inter:wght@400;500;600&display=swap');

/* ─── CSS Custom Properties ─────────────────────────────── */
:root {
  /* Surfaces — richer near-black palette */
  --surface:                   #0f0f0e;
  --surface-dim:               #060605;
  --surface-container:         #161614;
  --surface-container-low:     #111110;
  --surface-container-high:    #222220;
  --surface-container-highest: #2c2c2a;

  /* Brand */
  --primary:              #ffb68b;
  --primary-container:    #e87722;
  --on-primary:           #522300;
  --on-primary-container: #4f2200;

  /* Text */
  --on-surface:           #e8e5e4;
  --on-surface-variant:   #c9a898;
  --on-background:        #e8e5e4;

  /* Outlines */
  --outline:              #7a6055;
  --outline-variant:      #3d2e25;

  /* Semantic */
  --background:           #090909;

  /* Hero edge fades */
  --hero-bg-color:        #0b0b0b;
  --hero-fade-top:        #121212;
  --hero-fade-mid:        rgba(18, 18, 18, 0.18);
  --hero-fade-bottom:     #121212;
  --hero-text-title:      #ffffff;
  --hero-text-subtitle:   rgba(255, 255, 255, 0.85);
  --hero-text-shadow:     0 2px 8px rgba(0, 0, 0, 0.6);
  --hero-img-filter:      brightness(0.65) contrast(0.75);

  /* Type */
  --font-display: 'Bebas Neue', 'Playfair Display', Georgia, serif;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;

  /* Spacing */
  --space-unit:    8px;
  --space-gutter:  24px;
  --max-width:     1280px;
  --margin-desktop: 80px;
  --margin-tablet:  40px;
  --margin-mobile:  20px;

  /* Radii */
  --radius-sm:   0.125rem;
  --radius:      0.25rem;
  --radius-md:   0.375rem;
  --radius-lg:   0.5rem;
  --radius-xl:   0.75rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   300ms ease;
  --transition-slow:   700ms ease;
}

/* ─── Light Theme ────────────────────────────────────────── */
[data-theme="light"] {
  --surface:                   #f5f0e8;
  --surface-dim:               #ebe6dc;
  --surface-container:         #fffcf7;
  --surface-container-low:     #f9f5ed;
  --surface-container-high:    #eee9df;
  --surface-container-highest: #e4dfd5;

  --primary:              #9a4e0c;
  --primary-container:    #e87722;
  --on-primary:           #ffffff;
  --on-primary-container: #ffffff;

  --on-surface:           #1c1b1a;
  --on-surface-variant:   #5c4d42;
  --on-background:        #1c1b1a;

  --outline:              #8d7b6f;
  --outline-variant:      #d5c8bc;

  --background:           #f8f4ec;

  /* Hero edge fades */
  --hero-bg-color:        #fdfbf7;
  --hero-fade-top:        #fdfbf7;
  --hero-fade-mid:        rgba(253, 251, 247, 0.18);
  --hero-fade-bottom:     #fdfbf7;
}

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

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

body {
  background: var(--background);
  background-size: cover;
  background-attachment: scroll;
  color: var(--on-surface);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s ease, color 0.4s ease;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
::selection { background: rgba(232,119,34,0.3); color: var(--on-surface); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--surface-dim); }
::-webkit-scrollbar-thumb { background: var(--surface-container-high); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-container); }

/* ─── Typography Scale ──────────────────────────────────── */
.display-lg  { font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.headline-lg { font-family: var(--font-serif); font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 600; line-height: 1.2; }
.headline-md { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.5vw, 2rem);  font-weight: 500; line-height: 1.3; }
.headline-sm { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.body-lg     { font-family: var(--font-sans);  font-size: 1.125rem; font-weight: 400; line-height: 1.6; }
.body-md     { font-family: var(--font-sans);  font-size: 1rem;     font-weight: 400; line-height: 1.6; }
.label-md    { font-family: var(--font-sans);  font-size: 0.875rem; font-weight: 600; line-height: 1.2; letter-spacing: 0.05em; }
.label-sm    { font-family: var(--font-sans);  font-size: 0.75rem;  font-weight: 500; line-height: 1.2; letter-spacing: 0.04em; }

/* ─── Layout Utilities ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--margin-mobile);
}
@media (min-width: 768px)  { .container { padding-inline: var(--margin-tablet); } }
@media (min-width: 1024px) { .container { padding-inline: var(--margin-desktop); } }

.section-gap { padding-block: 80px; }
@media (min-width: 768px) { .section-gap { padding-block: 120px; } }

/* ─── Color Utility ─────────────────────────────────────── */
.text-primary          { color: var(--primary); }
.text-primary-container { color: var(--primary-container); }
.text-muted            { color: var(--on-surface-variant); }
.text-on-surface       { color: var(--on-surface); }
.bg-primary-container  { background: var(--primary-container); }
.bg-surface            { background: var(--surface); }
.bg-surface-container  { background: var(--surface-container); }

/* ─── Gradient Text ─────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Glassmorphism ─────────────────────────────────────── */
.glass {
  background: rgba(32, 32, 31, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 240, 232, 0.08);
}

/* ─── Dividers ──────────────────────────────────────────── */
.divider {
  height: 1px;
  background: rgba(245, 240, 232, 0.1);
  position: relative;
}
.divider--ornate::before {
  content: '◆';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--outline);
  font-size: 0.6rem;
  background: var(--background);
  padding-inline: 12px;
}

/* ─── Chip / Tag ─────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(232, 119, 34, 0.15);
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(232, 119, 34, 0.25);
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all var(--transition-base);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--primary-container);
  color: var(--on-primary-container);
}
.btn-primary:hover {
  box-shadow: 0 0 28px rgba(232, 119, 34, 0.4);
  filter: brightness(1.1);
}

.btn-secondary {
  background: transparent;
  color: var(--on-surface);
  border: 1px solid rgba(245, 240, 232, 0.25);
}
.btn-secondary:hover {
  background: rgba(245, 240, 232, 0.06);
  border-color: rgba(245, 240, 232, 0.5);
}

.btn-ghost {
  color: var(--primary);
  gap: 6px;
}
.btn-ghost:hover { gap: 12px; }

.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.8125rem; }

/* ─── Input Fields ──────────────────────────────────────── */
.input-field {
  width: 100%;
  background: var(--surface-container);
  border: 1px solid rgba(245, 240, 232, 0.18);
  border-radius: var(--radius-md);
  color: var(--on-surface);
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 14px 16px;
  outline: none;
  transition: border-color var(--transition-base);
}
.input-field::placeholder { color: var(--outline); }
.input-field:focus { border-color: var(--primary-container); }
.input-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--on-surface-variant);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.input-group { display: flex; flex-direction: column; gap: 6px; }

/* ─── Card ───────────────────────────────────────────────── */
.card {
  background: var(--surface-container);
  border: 1px solid rgba(245, 240, 232, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.card-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform var(--transition-slow); }
.card:hover .card-img { transform: scale(1.08); }
.card-body { padding: 28px; }

/* ─── Nav ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(19, 19, 19, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(86, 67, 55, 0.3);
  transition: padding var(--transition-base);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--on-surface);
  /* Subtle warm glow in dark mode */
  text-shadow: 0 0 18px rgba(232, 119, 34, 0.45), 0 0 6px rgba(232, 119, 34, 0.2);
  transition: color 0.3s ease, text-shadow 0.3s ease, font-size 0.3s ease;
}
@media (min-width: 480px) { .nav-logo { font-size: 1.75rem; } }

.nav-logo img {
  height: 28px;
  width: auto;
  display: block;
  transition: transform var(--transition-fast);
}
.nav-logo:hover img { transform: scale(1.04); }
@media (min-width: 480px) { .nav-logo img { height: 32px; } }

/* Dynamic logo theme switching — use .nav-logo img.logo-* to beat
   the specificity of .nav-logo img { display: block } (0,1,1 vs 0,1,0) */
.nav-logo img.logo-dark  { display: block; }
.nav-logo img.logo-light { display: none;  }

[data-theme="light"] .nav-logo img.logo-dark  { display: none;  }
[data-theme="light"] .nav-logo img.logo-light { display: block; }

/* Nav links — desktop only */
.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }

/* Right side actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Register button: hidden on mobile, visible on tablet+ */
.nav-register-btn {
  display: none;
}
@media (min-width: 768px) {
  .nav-register-btn { display: inline-flex; }
}

/* ── Hamburger button (always visible) ─────────────────── */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: var(--radius-lg);
  background: rgba(245, 240, 232, 0.06);
  border: 1px solid rgba(245, 240, 232, 0.12);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  flex-shrink: 0;
}
.hamburger-btn:hover {
  background: rgba(232, 119, 34, 0.12);
  border-color: rgba(232, 119, 34, 0.3);
}
.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--on-surface);
  border-radius: 2px;
  transition: all var(--transition-base);
}
.hamburger-btn:hover .hamburger-bar { background: var(--primary); }

/* On desktop, still show hamburger for drawer access */
@media (min-width: 1024px) {
  .hamburger-btn { display: flex; }
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--on-surface-variant);
  transition: color var(--transition-fast);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--primary-container);
  transition: width var(--transition-base);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Dropdown nav */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav-dropdown-toggle::after {
  content: '▼';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  line-height: 1;
  color: currentColor;
  transform: rotate(0deg);
  transition: transform 0.25s ease;
}
.nav-dropdown.dropdown-open .nav-dropdown-toggle::after,
.nav-dropdown:hover .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  padding: 8px 0;
  border-radius: 8px;
  background: var(--surface-container, #161514);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
  z-index: 200;
  opacity: 0;
  transform-origin: top center;
}

/* Invisible bridge to prevent hover loss between toggle and menu */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px; left: 0; right: 0;
  height: 16px;
}

/* Animations for dropdown menu */
@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Show via JS click toggle */
.nav-dropdown.dropdown-open .nav-dropdown-menu {
  display: block;
  animation: dropdownFadeIn 0.25s ease forwards;
}

/* Also show on hover for desktop convenience */
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .nav-dropdown-menu {
    display: block;
    animation: dropdownFadeIn 0.25s ease forwards;
  }
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--on-surface-variant);
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--on-surface);
}

@keyframes navItemSlideIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-dropdown:hover .nav-dropdown-menu a,
.nav-dropdown.dropdown-open .nav-dropdown-menu a {
  animation: navItemSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.nav-dropdown-menu a:nth-child(1) { animation-delay: 0.03s; }
.nav-dropdown-menu a:nth-child(2) { animation-delay: 0.06s; }
.nav-dropdown-menu a:nth-child(3) { animation-delay: 0.09s; }
.nav-dropdown-menu a:nth-child(4) { animation-delay: 0.12s; }
.nav-dropdown-menu a:nth-child(5) { animation-delay: 0.15s; }
.nav-dropdown-menu a:nth-child(6) { animation-delay: 0.18s; }

/* Mobile drawer */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition-base);
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }
.drawer {
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 201;
  width: min(320px, 85vw);
  background: var(--surface-container);
  padding: 24px;
  transform: translateX(-100%);
  transition: transform var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--on-surface-variant);
  border: 1px solid rgba(245, 240, 232, 0.05);
  background: rgba(245, 240, 232, 0.02);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  margin-bottom: 8px;
}
.drawer-link:hover {
  background: rgba(232, 119, 34, 0.08);
  color: var(--primary);
  border-color: rgba(232, 119, 34, 0.4);
  box-shadow: 0 0 15px rgba(232, 119, 34, 0.3);
  transform: translateX(6px);
}
.drawer-link.active {
  background: linear-gradient(135deg, rgba(232, 119, 34, 0.2) 0%, rgba(232, 119, 34, 0.05) 100%);
  color: var(--primary);
  border-color: rgba(232, 119, 34, 0.5);
  box-shadow: 0 0 20px rgba(232, 119, 34, 0.35);
}
.drawer-icon { display: none; }

/* ─── Hero ────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(19,19,19,0.2) 0%, rgba(19,19,19,0.7) 60%, rgba(19,19,19,1) 100%);
}
.hero-content { position: relative; z-index: 2; }
@media (min-width: 768px) {
  .hero-content .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-content h1 { max-width: none !important; }
  .hero-content p  { max-width: none !important; }
  .hero-content .hero-btn-group { justify-content: center; }
  .hero-overlay-home {
    background: radial-gradient(ellipse at center bottom, rgba(6,6,6,0.35) 0%, rgba(6,6,6,0.88) 70%) !important;
  }
}

/* ─── Event Date Badge ───────────────────────────────────── */
.date-badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  background: var(--primary-container);
  color: var(--on-primary-container);
  border-radius: var(--radius-lg);
  padding: 8px 14px;
  text-align: center;
  line-height: 1;
}
.date-badge-month { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.date-badge-day   { font-size: 1.75rem; font-weight: 700; }

/* ─── Countdown ──────────────────────────────────────────── */
.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.countdown-cell { text-align: center; }
.countdown-num  { font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; color: var(--primary); line-height: 1; }
.countdown-lbl  { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--outline); margin-top: 4px; }

/* ─── Stats Bar ──────────────────────────────────────────── */
.stats-bar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (min-width: 600px) { .stats-bar { grid-template-columns: repeat(4, 1fr); } }
.stat-cell { text-align: center; }
.stat-num  { font-family: var(--font-serif); font-size: 2.25rem; font-weight: 700; color: var(--primary-container); }
.stat-label { font-size: 0.8125rem; color: var(--on-surface-variant); }

/* ─── Bento Grid ─────────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-gutter);
}
@media (min-width: 768px) {
  .bento-grid { grid-template-columns: repeat(12, 1fr); }
  .bento-lg   { grid-column: span 6; }
  .bento-md   { grid-column: span 4; }
  .bento-sm   { grid-column: span 3; }
  .bento-3    { grid-column: span 3; }
}
.bento-cell {
  background: var(--surface-container);
  border: 1px solid rgba(245, 240, 232, 0.07);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}
.bento-cell:hover {
  border-color: rgba(232, 119, 34, 0.3);
  box-shadow: 0 0 30px rgba(232, 119, 34, 0.07);
}
.bento-cell--accent {
  background: var(--primary-container);
  color: var(--on-primary-container);
}

/* ─── Timeline / Schedule ────────────────────────────────── */
.timeline-item {
  background: var(--surface-container);
  border: 1px solid rgba(245, 240, 232, 0.07);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--transition-base);
}
.timeline-item:hover { border-color: rgba(232, 119, 34, 0.25); }
.timeline-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  cursor: pointer;
}
.timeline-day-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-container);
  min-width: 60px;
  text-align: center;
}
.timeline-body { padding: 0 28px 24px; }
.event-row {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(245,240,232,0.06);
}
.event-row:last-child { border-bottom: none; }
.event-time { font-size: 0.8125rem; font-weight: 600; color: var(--primary); min-width: 80px; padding-top: 2px; }
.event-name { font-size: 0.9375rem; color: var(--on-surface); }
.event-desc { font-size: 0.8125rem; color: var(--on-surface-variant); margin-top: 2px; }

/* ─── Gallery Grid ───────────────────────────────────────── */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 768px) {
  .gallery-masonry { grid-template-columns: repeat(4, 1fr); }
  .gallery-masonry .g-tall { grid-row: span 2; }
  .gallery-masonry .g-wide { grid-column: span 2; }
}
.gallery-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); min-height: 200px; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
  padding: 20px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.gallery-item:hover .overlay { opacity: 1; }

/* ─── Form Steps ─────────────────────────────────────────── */
.step-indicator { display: flex; align-items: center; gap: 0; }
.step-dot {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-family: var(--font-sans); font-size: 0.875rem; font-weight: 600;
  background: var(--surface-container-high);
  color: var(--outline);
  border: 2px solid transparent;
  transition: all var(--transition-base);
  flex-shrink: 0;
}
.step-dot.active  { background: var(--primary-container); color: var(--on-primary-container); border-color: var(--primary-container); }
.step-dot.done    { background: rgba(232,119,34,0.15); color: var(--primary-container); border-color: rgba(232,119,34,0.4); }
.step-label { font-size: 0.75rem; color: var(--outline); margin-top: 4px; text-align: center; }
.step-connector { flex: 1; height: 2px; background: rgba(245,240,232,0.1); }
.step-connector.done { background: rgba(232,119,34,0.4); }

/* ─── Artist Card ────────────────────────────────────────── */
.artist-card {
  background: var(--surface-container);
  border: 1px solid rgba(245,240,232,0.07);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}
.artist-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.artist-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; transition: transform var(--transition-slow); }
.artist-card:hover img { transform: scale(1.06); }
.artist-card-body { padding: 20px; }
.artist-discipline { font-size: 0.75rem; font-weight: 600; color: var(--primary-container); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.artist-name { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 600; color: var(--on-surface); }

/* ─── FAQ Accordion ──────────────────────────────────────── */
.faq-item { border-bottom: 1px solid rgba(245,240,232,0.1); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--on-surface);
  gap: 16px;
  cursor: pointer;
}
.faq-icon { flex-shrink: 0; transition: transform var(--transition-base); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { font-size: 0.9375rem; color: var(--on-surface-variant); line-height: 1.7; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.2s ease; padding-bottom: 0; }
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 20px; }

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--surface-dim);
  border-top: 1px solid rgba(245,240,232,0.08);
  padding-block: 64px 32px;
}
.footer-logo {
  display: flex;
  align-items: center;
}
.footer-logo img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; color: var(--on-surface-variant); transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--on-surface); }
.footer-heading { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-surface); margin-bottom: 16px; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius-full);
  background: var(--surface-container);
  border: 1px solid rgba(245,240,232,0.1);
  color: var(--on-surface-variant);
  font-size: 1rem;
  transition: all var(--transition-base);
  text-decoration: none;
}
.social-link:hover { background: rgba(232,119,34,0.15); color: var(--primary-container); border-color: rgba(232,119,34,0.3); }

/* ─── Scroll Reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Keyframe Animations ────────────────────────────────── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(232,119,34,0.3); }
  50%       { box-shadow: 0 0 30px rgba(232,119,34,0.6); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes countUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

.animate-float  { animation: float 4s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }
.animate-bounce { animation: float 1.5s ease-in-out infinite; }

/* ─── Notification / Toast ───────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  background: var(--surface-container-high);
  border: 1px solid rgba(245,240,232,0.12);
  border-radius: var(--radius-xl);
  padding: 16px 22px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: translateY(100px); opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 360px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-success { border-left: 3px solid #4ade80; }
.toast-error   { border-left: 3px solid #f87171; }

/* ─── Hero Section Specifics ─────────────────────────────── */
.hero-event-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(232,119,34,0.12);
  border: 1px solid rgba(232,119,34,0.3);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.hero-event-pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary-container);
  animation: pulse-glow 2s infinite;
}

/* ─── Scroll Down Arrow ──────────────────────────────────── */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--outline);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}
.scroll-indicator svg { opacity: 0.6; }

/* ─── Lightbox ───────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.95);
  align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: var(--radius-lg); }
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,0.1);
  border: none; color: white;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.25rem;
  transition: background var(--transition-fast);
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* ─── Progress Bar ───────────────────────────────────────── */
.progress-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--primary-container), var(--primary));
  position: fixed; top: 0; left: 0; z-index: 101;
  width: 0%;
  transition: width 0.1s linear;
}

/* ─── Filter Tabs ────────────────────────────────────────── */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-tab {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(245,240,232,0.15);
  color: var(--on-surface-variant);
  transition: all var(--transition-fast);
  cursor: pointer;
}
.filter-tab:hover { border-color: var(--primary-container); color: var(--primary); }
.filter-tab.active { background: var(--primary-container); color: var(--on-primary-container); border-color: var(--primary-container); }

/* ─── Page transitions ───────────────────────────────────── */
.page-transition {
  animation: fadeIn 0.4s ease;
}

/* ─── Responsive Helpers ─────────────────────────────────── */
.hide-mobile { display: none !important; }
@media (min-width: 768px) {
  .hide-mobile  { display: block !important; }
  .hide-desktop { display: none !important; }
}

/* Scroll indicator wrapper — hide on very small screens */
.scroll-indicator-wrap {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
@media (max-height: 640px), (max-width: 380px) {
  .scroll-indicator-wrap { display: none; }
}

/* ─── Utility classes ────────────────────────────────────── */
.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4       { gap: 16px; }
.gap-6       { gap: 24px; }
.gap-8       { gap: 32px; }
.gap-12      { gap: 48px; }
.mt-4        { margin-top: 16px; }
.mt-6        { margin-top: 24px; }
.mt-8        { margin-top: 32px; }
.mt-12       { margin-top: 48px; }
.mb-4        { margin-bottom: 16px; }
.mb-6        { margin-bottom: 24px; }
.mb-8        { margin-bottom: 32px; }
.mb-12       { margin-bottom: 48px; }
.text-center { text-align: center; }
.w-full      { width: 100%; }
.relative    { position: relative; }
.overflow-hidden { overflow: hidden; }
.rounded-full { border-radius: var(--radius-full); }

/* Grid helpers */
.grid        { display: grid; }
.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ─── Icons (inline SVG helpers) ────────────────────────── */
.icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ─── Standard Theme Toggle & Nav Mobile Styles ──────────── */
.nav-mobile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.nav-mobile-btn--about {
  background: rgba(245,240,232,0.08);
  border: 1px solid rgba(245,240,232,0.15);
  color: var(--on-surface-variant);
}
.nav-mobile-btn--about:hover { background: rgba(245,240,232,0.14); color: var(--on-surface); }
.nav-mobile-btn--register {
  background: var(--primary-container);
  border: 1px solid var(--primary-container);
  color: var(--on-primary-container);
}
.nav-mobile-btn--register:hover { filter: brightness(1.1); }
@media (min-width: 768px) {
  .nav-mobile-btn { display: none; }
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(245,240,232,0.15);
  background: rgba(245,240,232,0.06);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  color: var(--on-surface);
}
.theme-toggle:hover { background: rgba(245,240,232,0.14); transform: scale(1.08); }
[data-theme="light"] .theme-toggle {
  border-color: rgba(28,27,26,0.15);
  background: rgba(28,27,26,0.06);
}
[data-theme="light"] .theme-toggle:hover { background: rgba(28,27,26,0.12); }
.theme-toggle-icon {
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.35s ease, opacity 0.3s ease;
}
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Light mode overrides for hardcoded rgba elements */
[data-theme="light"] .nav {
  background: rgba(248,244,236,0.92) !important;
  border-bottom-color: rgba(28,27,26,0.08) !important;
}
[data-theme="light"] .hamburger-bar { background: #1c1b1a !important; }
[data-theme="light"] .hamburger-btn {
  background: rgba(28,27,26,0.06) !important;
  border-color: rgba(28,27,26,0.12) !important;
}
[data-theme="light"] .drawer {
  background: #f5f0e8 !important;
  border-left-color: rgba(28,27,26,0.08) !important;
}
[data-theme="light"] .hero-overlay-home {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(248, 244, 236, 0.6) 60%, rgba(248, 244, 236, 1) 100%) !important;
}
[data-theme="light"] .hero-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(248, 244, 236, 0.6) 60%, rgba(248, 244, 236, 1) 100%) !important;
}
[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, #c45e0a 0%, #e87722 50%, #9a4e0c 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
[data-theme="light"] .footer {
  background: var(--surface-dim) !important;
  border-top: 1px solid rgba(28,27,26,0.08);
}
[data-theme="light"] .social-link {
  background: rgba(28,27,26,0.06) !important;
  border-color: rgba(28,27,26,0.1) !important;
}
[data-theme="light"] .divider {
  background: rgba(28,27,26,0.08) !important;
}
[data-theme="light"] .progress-bar {
  background: var(--primary-container) !important;
}
[data-theme="light"] .bento-cell {
  border-color: rgba(28,27,26,0.08) !important;
}
[data-theme="light"] .nav-mobile-btn--register {
  color: #fff !important;
}
[data-theme="light"] .nav-dropdown-menu {
  background-color: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.02) !important;
}
[data-theme="light"] .nav-dropdown-menu a {
  color: var(--on-surface-variant) !important;
}
[data-theme="light"] .nav-dropdown-menu a:hover {
  background-color: rgba(0, 0, 0, 0.04) !important;
  color: var(--on-surface) !important;
}
[data-theme="light"] .stat-item-premium {
  border-color: rgba(28,27,26,0.06) !important;
}
[data-theme="light"] .btn-secondary {
  border-color: rgba(28, 27, 26, 0.25) !important;
}
[data-theme="light"] .btn-secondary:hover {
  background: rgba(28, 27, 26, 0.06) !important;
  border-color: rgba(28, 27, 26, 0.5) !important;
}

/* Footer logo theme switching */
.footer-logo img.logo-dark  { display: block; }
.footer-logo img.logo-light { display: none;  }
[data-theme="light"] .footer-logo img.logo-dark  { display: none;  }
[data-theme="light"] .footer-logo img.logo-light { display: block; }

/* Schedule page light theme compatibility */
[data-theme="light"] .schedule-hero {
  background-image: 
    linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(248, 244, 236, 0.6) 60%, rgba(248, 244, 236, 1) 100%),
    linear-gradient(to right, rgba(248, 244, 236, 0.2) 0%, transparent 15%, transparent 85%, rgba(248, 244, 236, 0.2) 100%),
    url('https://images.unsplash.com/photo-1558618047-3c8c76ca7d13?q=80&w=1400&auto=format&fit=crop') !important;
}
[data-theme="light"] .schedule-hero-title {
  color: var(--on-surface) !important;
}
[data-theme="light"] .schedule-hero-title span {
  background: linear-gradient(135deg, #c45e0a 0%, #e87722 50%, #9a4e0c 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
[data-theme="light"] .schedule-hero-subtitle {
  color: var(--on-surface-variant) !important;
}

/* Light mode navbar link contrast fixes */
[data-theme="light"] .nav-links a,
[data-theme="light"] .nav-dropdown-toggle {
  color: var(--on-surface) !important;
}
[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active,
[data-theme="light"] .nav-dropdown-toggle:hover,
[data-theme="light"] .nav-dropdown-toggle.active {
  color: var(--primary) !important;
}

/* Light mode category filter pills overrides for high contrast and ceremony badges */
[data-theme="light"] .pill-yoga {
  background: rgba(99, 102, 241, 0.12) !important;
  color: #4338ca !important;
  border-color: rgba(99, 102, 241, 0.25) !important;
}
[data-theme="light"] .pill-workshop {
  background: rgba(22, 163, 74, 0.1) !important;
  color: #15803d !important;
  border-color: rgba(22, 163, 74, 0.22) !important;
}
[data-theme="light"] .pill-heritage {
  background: rgba(217, 119, 6, 0.1) !important;
  color: #a16207 !important;
  border-color: rgba(217, 119, 6, 0.22) !important;
}
[data-theme="light"] .pill-special {
  background: rgba(219, 39, 119, 0.1) !important;
  color: #be185d !important;
  border-color: rgba(219, 39, 119, 0.22) !important;
}
[data-theme="light"] .pill-ceremony {
  background: rgba(217, 119, 6, 0.1) !important;
  color: #a16207 !important;
  border-color: rgba(217, 119, 6, 0.22) !important;
}

/* ─── About Hero Specific Styles ────────────────────────── */
.about-hero-bg {
  background: #060606 url('../vnit-hero.png') center center / contain no-repeat;
}
.about-hero-overlay {
  background: linear-gradient(to top, rgba(6, 6, 6, 0.97) 0%, rgba(6, 6, 6, 0.75) 40%, rgba(6, 6, 6, 0.45) 70%, rgba(6, 6, 6, 0.2) 100%);
}

[data-theme="light"] .about-hero-bg {
  background: #f8f4ec url('../vnit-hero.png') center center / contain no-repeat !important;
}
[data-theme="light"] .about-hero-overlay {
  background: linear-gradient(to top, rgba(248, 244, 236, 0.97) 0%, rgba(248, 244, 236, 0.75) 40%, rgba(248, 244, 236, 0.45) 70%, rgba(248, 244, 236, 0.2) 100%) !important;
}

