/* ============================================================
   Nritya Samarpanam — Main Stylesheet
   ============================================================ */


/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg-primary:   #080604;
  --bg-secondary: #110d09;
  --bg-card:      #1a1410;
  --bg-card-hover:#221c14;
  --gold:         #c9a84c;
  --gold-light:   #e8c96a;
  --gold-dark:    #9a7830;
  --crimson:      #7a1515;
  --crimson-light:#a82020;
  --text-primary: #f5ead8;
  --text-secondary:#c8b090;
  --text-muted:   #8a7060;
  --border:       rgba(201,168,76,0.18);
  --border-strong:rgba(201,168,76,0.4);
  --shadow:       0 4px 30px rgba(0,0,0,0.6);
  --transition:   0.35s ease;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a  { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  line-height: 1.3;
}
h1 { font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-secondary); margin-bottom: 1rem; }

.subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  color: var(--text-secondary);
}

/* ── Decorative Divider ─────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dark), transparent);
}
.divider-icon { color: var(--gold); font-size: 1.2rem; }

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

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 2px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #0a0806;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0806;
  box-shadow: 0 0 20px rgba(201,168,76,0.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: #0a0806;
  box-shadow: 0 0 20px rgba(201,168,76,0.3);
  transform: translateY(-2px);
}

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8,6,4,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.navbar-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.navbar-brand em {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-light);
  font-weight: 400;
}
.navbar-brand span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-family: 'Raleway', sans-serif;
}
.navbar-links {
  display: flex;
  list-style: none;
  gap: 0.2rem;
}
.navbar-links a {
  display: block;
  padding: 0.4rem 0.75rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.navbar-links a:hover,
.navbar-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero Section (Landing) ─────────────────────────────────── */
.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 top;
  opacity: 0;
  animation: heroSlide 24s infinite;
  transform: scale(1.05);
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide-both { background-image: url('../assets/both/both-lakshmi.jpeg'); }
@media (max-width: 768px) {
  .hero-slide-both { background-image: url('../assets/both/vertical/both-vertical-1.JPG'); }
}
.hero-slide:nth-child(2) { animation-delay: 8s; }
.hero-slide:nth-child(3) { animation-delay: 16s; }

@keyframes heroSlide {
  0%   { opacity: 0;   transform: scale(1.08); }
  5%   { opacity: 1;   transform: scale(1.05); }
  28%  { opacity: 1;   transform: scale(1); }
  33%  { opacity: 0;   transform: scale(0.98); }
  100% { opacity: 0;   transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,6,4,0.3) 0%,
    rgba(8,6,4,0.5) 50%,
    rgba(8,6,4,0.85) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}
.hero-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: none;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.5s forwards;
}
.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--text-primary);
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.8s forwards;
}
.hero-title-word {
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-weight: 300;
  color: var(--text-primary);
}
.hero-title em {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-light);
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s 1.1s forwards;
}
.hero-names {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  color: var(--gold-light);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 24px rgba(201,168,76,0.35);
  letter-spacing: 0.03em;
  opacity: 0;
  animation: fadeUp 1s 1.1s forwards;
}
.hero-meta {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  color: var(--text-primary);
  letter-spacing: 0.1em;
  margin: 1.5rem 0;
  opacity: 0;
  animation: fadeUp 1s 1.4s forwards;
}
.hero-meta .sep { margin: 0 0.75rem; color: var(--gold-dark); }
@media (max-width: 480px) {
  .hero-meta { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
  .hero-meta .sep { display: none; }
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 1.7s forwards;
}

/* ── Scroll Hint ────────────────────────────────────────────── */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  opacity: 0;
  transition: opacity 0.8s;
  z-index: 2;
  pointer-events: none;
  white-space: nowrap;
}
.scroll-hint.visible { animation: scrollBounce 2s ease-in-out infinite; opacity: 0.7; }
.scroll-hint.hidden  { opacity: 0 !important; animation: none; }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Music Player ───────────────────────────────────────────── */
.music-player {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
}
.music-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 20px rgba(201,168,76,0.4);
  transition: all var(--transition);
}
.music-btn:hover { transform: scale(1.1); box-shadow: 0 0 30px rgba(201,168,76,0.6); }
.music-prompt {
  position: absolute;
  bottom: 60px;
  right: 0;
  background: transparent;
  border: none;
  padding: 0.4rem 0;
  white-space: nowrap;
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  animation: subtlePulse 3s ease-in-out infinite;
}
@keyframes subtlePulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}
.music-prompt::after { content: none; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 8px rgba(201,168,76,0.3); } 50% { box-shadow: 0 0 18px rgba(201,168,76,0.7); } }

/* ── Page Header (inner pages) ──────────────────────────────── */
.page-header {
  padding: 140px 2rem 70px;
  text-align: center;
  background: linear-gradient(180deg, rgba(122,21,21,0.15) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.08) 0%, transparent 70%);
}
.page-header h1 { position: relative; }
.page-header .subtitle { margin-top: 0.5rem; }

/* ── Sections ───────────────────────────────────────────────── */
.section {
  padding: 80px 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}
.section + .section { padding-top: 0; }

/* ── Dancer Profile Card (landing page) ─────────────────────── */
.dancers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.dancer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: all var(--transition);
  text-align: center;
}
.dancer-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 40px rgba(201,168,76,0.15);
  transform: translateY(-4px);
}
.dancer-card-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top;
  filter: grayscale(20%) brightness(0.9);
  transition: filter var(--transition);
}
.dancer-card:hover .dancer-card-img { filter: grayscale(0%) brightness(1); }
.dancer-card-body { padding: 1.75rem; }
.dancer-card-body h3 { margin-bottom: 0.25rem; }
.dancer-card-body p { font-size: 0.9rem; margin-bottom: 1.25rem; }

/* ── Profile Layout (dancer pages) ─────────────────────────── */
.profile-section {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3.5rem;
  align-items: start;
  padding: 70px 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.profile-portrait {
  position: sticky;
  top: 90px;
}
.profile-portrait img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: top center;
  border-radius: 2px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.profile-portrait .portrait-caption {
  text-align: center;
  margin-top: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.profile-bio h2 { margin-bottom: 0.5rem; }
.profile-bio .bio-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--gold);
  margin-top: 0;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.bio-detail {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.bio-detail-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.04em;

  color: var(--gold);
  min-width: 100px;
  padding-top: 3px;
}
.bio-detail-value { color: var(--text-secondary); }

/* ── Gallery Grid ───────────────────────────────────────────── */
.gallery-filters {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.5rem 1.4rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 2px;
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0806;
}
.gallery-grid {
  columns: 3;
  column-gap: 1rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.gallery-item:hover { border-color: var(--border-strong); transform: scale(1.01); box-shadow: 0 4px 20px rgba(201,168,76,0.2); }
.gallery-item img { width: 100%; display: block; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.04); }

/* ── Teacher Card ───────────────────────────────────────────── */
.teacher-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 2rem;
  text-align: center;
}
.teacher-portrait {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: top center;
  border-radius: 2px;
  outline: 2px solid var(--bg-primary);
  outline-offset: -8px;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 10px var(--bg-primary), 0 0 0 12px var(--gold), 0 8px 40px rgba(0,0,0,0.6);
}
.teacher-name { margin-bottom: 0.25rem; }
.teacher-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 2rem;
}
.lineage-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.lineage-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem 1rem;
}
.lineage-card .lc-number {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}
.lineage-card .lc-label {
  font-size: 0.8rem;
  color: var(--text-muted);

  letter-spacing: 0.04em;
}

/* ── Venue ──────────────────────────────────────────────────── */
.venue-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 2rem;
}
.event-details-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
}
.event-details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.event-detail { text-align: center; }
.event-detail .ed-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-detail .ed-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.04em;

  color: var(--text-muted);
  display: block;
}
.event-detail .ed-value {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
}
.map-embed {
  width: 100%;
  height: 350px;
  border: 1px solid var(--border);
  border-radius: 4px;
  filter: invert(90%) hue-rotate(180deg) saturate(0.7);
  margin-bottom: 2.5rem;
}
.rsvp-banner {
  text-align: center;
  background: linear-gradient(135deg, rgba(201,168,76,0.12) 0%, rgba(201,168,76,0.04) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 3rem 2rem;
}
.rsvp-banner h2 { color: var(--text-primary); margin-bottom: 0.5rem; }
.rsvp-banner p  { margin-bottom: 1.5rem; }

/* ── Contact ────────────────────────────────────────────────── */
.contact-section {
  max-width: 680px;
  margin: 0 auto;
  padding: 70px 2rem;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.04em;

  color: var(--gold);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201,168,76,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-success {
  display: none;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 1rem 1.5rem;
  color: var(--gold);
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  text-align: center;
  margin-top: 1rem;
}

/* ── Info Cards ─────────────────────────────────────────────── */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.75rem;
  text-align: center;
}
.info-card .ic-icon { font-size: 1.5rem; margin-bottom: 0.75rem; color: var(--gold); }
.info-card h4 { margin-bottom: 0.35rem; font-size: 0.9rem; }
.info-card p { font-size: 0.85rem; margin: 0; }

/* ── Countdown ──────────────────────────────────────────────── */
.countdown-section {
  text-align: center;
  padding: 60px 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.countdown-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.countdown-unit {
  text-align: center;
  min-width: 80px;
}
.countdown-number {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.countdown-label {
  font-size: 0.7rem;

  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand h3 { font-size: 1.3rem; margin-bottom: 0.5rem; font-family: 'Cormorant Garamond', serif; font-weight: 600; letter-spacing: 0.02em; }
.footer-brand h3 em { font-style: italic; color: var(--gold-light); }
.footer-brand p { font-size: 0.85rem; }
.footer-links h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.85rem; color: var(--text-secondary); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .profile-section {
    grid-template-columns: 1fr;
  }
  .profile-portrait { position: static; max-width: 320px; margin: 0 auto; }
  .gallery-grid { columns: 2; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .navbar-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(8,6,4,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    gap: 0.25rem;
  }
  .navbar-links.open { transform: translateY(0); }
  .navbar-links a {
    padding: 0.65rem 0.5rem;
    border-bottom: 1px solid var(--border);
  }
  .navbar-links a:last-child { border-bottom: none; }
  .hamburger { display: flex; }
  .gallery-grid { columns: 2; }
  .event-details-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .gallery-grid { columns: 1; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .countdown-grid { gap: 1rem; }
}

/* ── Glightbox theme override ───────────────────────────────── */
.glightbox-clean .gclose {
  background: var(--gold) !important;
}
