/* =====================================================
   Leamington Marathi — “वारसा मराठी संस्कृतीचा”
   Palette inspired by the logo & Maharashtrian colours:
   vermillion red, saffron, gold and warm cream.
   ===================================================== */

:root {
  --red: #d92a1c;          /* logo vermillion */
  --red-dark: #a81607;
  --saffron: #f26b1d;      /* graphics/backgrounds only — fails AA as text on cream */
  --saffron-text: #c2470a; /* 4.6:1 on cream — text-safe saffron */
  --gold: #f4a412;         /* graphics/backgrounds only */
  --gold-text: #a86a00;    /* 4.5:1 on cream — text-safe gold */
  --maroon: #4a130b;
  --cream: #fff8ee;
  --cream-deep: #fdeeda;
  --ink: #3a2a24;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(74, 19, 11, 0.10);
  --radius: 14px;
  --font-devanagari-fallback: 'Noto Sans Devanagari', 'Nirmala UI', 'Mangal';
  --font-body: 'Mukta', var(--font-devanagari-fallback), 'Segoe UI', sans-serif;
  --font-display: 'Yatra One', var(--font-devanagari-fallback), 'Mukta', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Keep anchor targets clear of the sticky header */
section[id] { scroll-margin-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
}

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

.marathi, :lang(mr) { font-family: 'Mukta', var(--font-devanagari-fallback), sans-serif; }

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 200;
  background: var(--white);
  color: var(--red-dark);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.skip-link:focus { left: 12px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn:hover::after { left: 130%; }
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow); }
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--saffron));
  color: var(--white);
}
.btn-outline {
  border-color: var(--red);
  color: var(--red);
  background: transparent;
}
.btn-outline:hover { background: var(--red); color: var(--white); }
.btn-light {
  background: var(--white);
  color: var(--red-dark);
}

/* ---------- Header ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 238, 0.95);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.25s ease;
}
#site-header.scrolled { box-shadow: 0 4px 18px rgba(74, 19, 11, 0.12); }

.header-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-emblem { height: 54px; width: auto; }
.logo { height: 40px; width: auto; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--red); border-bottom-color: var(--saffron); }

#nav-check { display: none; }
#nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
#nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
#search-toggle {
  background: none;
  border: none;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 50%;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}
#search-toggle:hover { background: var(--cream-deep); transform: scale(1.1); }
html:not(.js) #search-toggle { display: none; }

#search-panel {
  border-top: 1px solid #f0dcc3;
  padding: 14px 24px 18px;
  background: var(--cream);
}
#search-input {
  display: block;
  width: min(680px, 100%);
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 12px 20px;
  border: 2px solid var(--saffron);
  border-radius: 40px;
  background: var(--white);
}
#search-input:focus { outline: none; border-color: var(--red); }
#search-results {
  list-style: none;
  margin: 10px auto 0;
  padding: 0;
  width: min(680px, 100%);
  max-height: 320px;
  overflow-y: auto;
}
#search-results li button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  border-bottom: 1px solid #f5e6cf;
  padding: 11px 18px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
#search-results li:first-child button { border-radius: 12px 12px 0 0; }
#search-results li:last-child button { border-radius: 0 0 12px 12px; border-bottom: none; }
#search-results li:only-child button { border-radius: 12px; }
#search-results li button:hover,
#search-results li button:focus { background: var(--cream-deep); }
.search-result-section {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--saffron-text);
  background: var(--cream-deep);
  padding: 2px 10px;
  border-radius: 12px;
  white-space: nowrap;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-empty { text-align: center; color: #8a6f63; padding: 12px; font-size: 0.95rem; }

.search-highlight {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
  border-radius: 8px;
  transition: outline-color 0.4s ease;
}

#nav-check:checked ~ #nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#nav-check:checked ~ #nav-toggle span:nth-child(2) { opacity: 0; }
#nav-check:checked ~ #nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- What's New ticker ---------- */
.news-ticker {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--maroon);
  color: var(--cream);
  padding: 9px 24px;
  font-size: 0.95rem;
}
.ticker-label {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--maroon);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 2px 12px;
  border-radius: 20px;
}
#ticker-items {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  flex: 1;
  min-height: 1.55em;
}
#ticker-items li {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#ticker-items li.active { opacity: 1; }
#ticker-items a { color: var(--cream); text-decoration: none; font-weight: 600; }
#ticker-items a:hover { color: var(--gold); }
/* Without JS, show the first announcement statically */
html:not(.js) #ticker-items li { position: static; display: none; }
html:not(.js) #ticker-items li:first-child { display: block; opacity: 1; }

/* ---------- Festival-aware floating decorations (injected by script.js) ---------- */
.festival-float {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.festival-float span {
  position: absolute;
  top: -12%;
  animation: festival-fall 10s linear infinite;
  opacity: 0.85;
  filter: drop-shadow(0 2px 4px rgba(74, 19, 11, 0.15));
}

@keyframes festival-fall {
  from { top: -12%; transform: rotate(-12deg); }
  to { top: 106%; transform: rotate(16deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 90px 20px 70px;
  background:
    radial-gradient(circle at 15% 20%, rgba(244, 164, 18, 0.18), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(217, 42, 28, 0.14), transparent 45%),
    linear-gradient(180deg, var(--cream-deep), var(--cream));
  overflow: hidden;
}
/* Emblem in the hero's open left space (desktop only — no room on mobile) */
.hero-emblem {
  position: absolute;
  left: clamp(30px, 9vw, 160px);
  top: 26%;
  width: clamp(160px, 15vw, 230px);
  height: auto;
  filter: drop-shadow(0 12px 26px rgba(74, 19, 11, 0.20));
  animation: gentle-float 5s ease-in-out infinite;
}
.js .hero-emblem { opacity: 0; animation: fade-up 0.9s ease 0.05s forwards, gentle-float 5s ease-in-out 1s infinite; }

/* Narrow screens: no left space, so the emblem sits centred above the title */
@media (max-width: 1100px) {
  .hero-emblem {
    position: static;
    width: 132px;
    margin: 0 auto 16px;
  }
}


/* Hero entrance animation on page load */
.js .hero-content > * {
  opacity: 0;
  animation: fade-up 0.9s ease forwards;
}
.js .hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.js .hero-content > *:nth-child(2) { animation-delay: 0.18s; }
.js .hero-content > *:nth-child(3) { animation-delay: 0.32s; }
.js .hero-content > *:nth-child(4) { animation-delay: 0.46s; }
.js .hero-content > *:nth-child(5) { animation-delay: 0.60s; }
.js .hero-content > *:nth-child(6) { animation-delay: 0.74s; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.hero-welcome {
  font-size: 1.15rem;
  color: var(--saffron-text);
  font-weight: 600;
  margin-bottom: 4px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5rem);
  color: var(--red);
  margin: 0;
  line-height: 1.25; /* room for Devanagari matras */
  text-shadow: 2px 3px 0 rgba(244, 164, 18, 0.35);
}
/* Same specificity as the nth-child delay rules above and later in the
   file, so the two-value delay list below wins for both animations */
.js .hero-content > .hero-title {
  animation: fade-up 0.9s ease forwards, title-glow 4s ease-in-out infinite;
  animation-delay: 0.18s, 1.2s;
}

@keyframes title-glow {
  0%, 100% { text-shadow: 2px 3px 0 rgba(244, 164, 18, 0.35); }
  50% { text-shadow: 2px 3px 0 rgba(244, 164, 18, 0.35), 0 0 34px rgba(242, 107, 29, 0.45); }
}
.hero-tagline {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  color: var(--red-dark);
  font-weight: 600;
  margin: 10px 0 18px;
}
.hero-sub {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 1.1rem;
  color: var(--ink);
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-next {
  display: inline-block;
  margin-top: 22px;
  padding: 8px 20px;
  border-radius: 30px;
  background: var(--white);
  border: 1.5px dashed var(--saffron);
  color: var(--red-dark);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.hero-next:hover { transform: translateY(-2px); }
.hero-next .countdown { color: var(--saffron-text); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 6vw, 70px);
  flex-wrap: wrap;
  margin-top: 55px;
}
.stat { text-align: center; }
.stat-number,
.stat-plus {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--saffron-text);
}
.stat-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--maroon);
  margin-top: 2px;
}

/* ---------- Sections (shared) ---------- */
.section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: auto;
}
.section-head { text-align: center; margin-bottom: 46px; }
.section-kicker {
  color: var(--saffron-text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  margin: 0 0 4px;
}
.section-kicker.light { color: var(--gold); }
.section-head h2, .section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  color: var(--red-dark);
  margin: 0;
  font-weight: 400;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}
.js .section-head.reveal h2::after { width: 0; transition: width 0.8s ease 0.3s; }
.js .section-head.reveal.visible h2::after { width: 70px; }
.section-sub { max-width: 720px; margin: 16px auto 0; color: #6b544b; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-text p { margin: 0 0 16px; font-size: 1.05rem; }
.about-marathi {
  background: var(--cream-deep);
  border-left: 4px solid var(--saffron);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.08rem;
}
.about-cards { display: grid; gap: 18px; }
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(74, 19, 11, 0.16);
}
.value-card h3 { margin: 0 0 6px; color: var(--red-dark); font-size: 1.15rem; }
.value-card p { margin: 0; font-size: 0.98rem; }
.value-icon { font-size: 1.7rem; }

/* ---------- Journey: procession path ---------- */
.procession {
  position: relative;
  max-width: 980px;
  margin: auto;
}
.procession-road {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.road-base {
  stroke: rgba(74, 19, 11, 0.13);   /* the road itself */
  stroke-width: 16;
  stroke-linecap: round;
}
.road-line {
  stroke: var(--gold);               /* centre line */
  stroke-width: 3.5;
  stroke-linecap: round;
}
.procession-marker {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--red);
  box-shadow: 0 8px 20px rgba(74, 19, 11, 0.25);
  font-size: 1.35rem;
  will-change: transform;
}
.p-stones {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}
.p-stone {
  width: min(430px, 44%);
  margin: 0 0 60px;
}
.p-stone:nth-child(even) { margin-left: auto; }
.p-stone:last-child { margin-bottom: 0; }
.p-stone .timeline-card {
  border: 2px solid transparent;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease, opacity 0.4s ease;
  opacity: 0.65;
}
.p-stone.passed .timeline-card {
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(74, 19, 11, 0.16);
  transform: translateY(-4px);
}
/* Without JS there's no road or marker — plain readable cards */
html:not(.js) .p-stone .timeline-card { opacity: 1; }
html:not(.js) .procession-marker { display: none; }

@media (max-width: 700px) {
  .p-stone { width: calc(100% - 52px); }
  .p-stone:nth-child(odd) { margin-right: auto; margin-left: 0; }
  .p-stone:nth-child(even) { margin-left: 52px; }
  .procession-marker { width: 38px; height: 38px; font-size: 1.1rem; }
  .road-base { stroke-width: 12; }
}

/* ---------- Events timeline ---------- */
.timeline {
  position: relative;
  max-width: 820px;
  margin: auto;
  padding-left: 34px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--saffron), var(--red));
}
.timeline-item { position: relative; margin-bottom: 34px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--red);
  animation: dot-pulse 2.6s ease-out infinite;
}

@keyframes dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 42, 28, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(217, 42, 28, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 42, 28, 0); }
}
.timeline-month {
  font-weight: 800;
  color: var(--saffron-text);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.timeline-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.timeline-card:hover {
  transform: translateX(6px);
  box-shadow: 0 14px 32px rgba(74, 19, 11, 0.16);
}
.timeline-card h3 { margin: 0 0 8px; color: var(--red-dark); font-size: 1.2rem; }
.timeline-card p { margin: 0 0 12px; font-size: 1rem; }
.timeline-badge {
  display: inline-block;
  background: var(--cream-deep);
  color: var(--red-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: 20px;
}
.rsvp-link {
  display: inline-block;
  margin-left: 12px;
  color: var(--saffron-text);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.rsvp-link:hover { border-bottom-color: var(--saffron-text); }
.ticket-link {
  display: inline-block;
  margin-left: 12px;
  padding: 5px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--red), var(--saffron));
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ticket-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Event flyers ---------- */
.flyers-row {
  overflow: hidden;
  padding: 6px 0 18px;
}
/* The track holds two identical sets of flyers and slides left-to-right forever
   (the keyframes run in reverse). Moving by half its width (plus half a gap)
   lands exactly on the duplicate set, so the loop is seamless. Pure CSS —
   works without JavaScript too. */
.flyers-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: flyers-slide 42s linear infinite reverse;
}
@keyframes flyers-slide {
  to { transform: translateX(calc(-50% - 11px)); }
}
.flyers-row:hover .flyers-track,
.flyers-row:focus-within .flyers-track {
  animation-play-state: paused;
}
.flyer-card {
  margin: 0;
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px 10px 6px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: zoom-in;
}
.flyer-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(74, 19, 11, 0.18); }
.flyer-card img {
  height: 340px;
  width: auto;
  border-radius: 8px;
}
.flyer-card figcaption {
  font-weight: 700;
  color: var(--red-dark);
  padding: 8px 4px;
  font-size: 0.95rem;
}
@media (max-width: 600px) {
  .flyer-card img { height: 260px; }
}

/* Flyer lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(20, 5, 3, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 94vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--red-dark);
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
}

/* ---------- Dhol Tasha ---------- */
.dhol {
  max-width: none;
  background:
    radial-gradient(circle at 80% 30%, rgba(244, 164, 18, 0.25), transparent 50%),
    linear-gradient(135deg, var(--red-dark), var(--red) 55%, var(--saffron));
  color: var(--white);
}
.dhol-inner {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.dhol h2 { color: var(--white); }
/* Photo grid: 2×2 tiles; script.js springs a fresh photo into one tile at a time */
.dhol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.dhol-spare { display: none; }
.dhol-tile {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  border: 4px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}
.dhol-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* the overshoot bezier keeps the "spring" feel when a new photo lands */
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.dhol-tile img.tile-out {
  opacity: 0;
  transform: scale(0.82);
  transition: transform 0.26s ease-in, opacity 0.26s ease-in;
}

.drum { display: inline-block; animation: drum-beat 1.1s ease-in-out infinite; }

/* World Book of Records — slim ribbon */
.dhol-achievement {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 860px;
  margin: 40px auto 0;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid var(--gold);
  border-radius: 40px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  text-align: left;
}
.achievement-icon { font-size: 2rem; flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35)); }
.achievement-text { margin: 0; font-size: 0.98rem; line-height: 1.5; }
.achievement-text strong:first-child { color: #ffe9b3; }
.achievement-marathi { color: #ffe9b3; font-weight: 600; }

@media (max-width: 560px) {
  .dhol-achievement { flex-direction: column; text-align: center; }
}

/* Pathak performance video (compact) */
.dhol-video {
  max-width: 560px;
  margin: 36px auto 0;
  text-align: center;
}
.dhol-video video {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 4px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  background: #000;
}
.dhol-video-caption {
  margin: 14px 0 0;
  font-weight: 600;
  color: #ffe9b3;
  font-size: 1.02rem;
}

@keyframes drum-beat {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.18) rotate(-8deg); }
  50% { transform: scale(1) rotate(0deg); }
  75% { transform: scale(1.18) rotate(8deg); }
}
.dhol p { font-size: 1.08rem; }
.dhol-marathi {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffe9b3;
  margin-bottom: 26px;
}

/* ---------- Gallery ---------- */
.gallery-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.gallery-images figure {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.gallery-images figure:hover { transform: translateY(-6px); }
.gallery-images img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-images figure:hover img { transform: scale(1.07); }
.gallery-images figcaption {
  padding: 12px 16px;
  font-weight: 700;
  color: var(--red-dark);
  text-align: center;
}
/* Ganpati Visarjan portrait video */
.gallery-video {
  max-width: 330px;
  margin: 34px auto 0;
  text-align: center;
}
.gallery-video video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
  background: #000;
}
.gallery-video-caption {
  margin: 12px 0 0;
  font-weight: 700;
  color: var(--red-dark);
  font-size: 0.98rem;
}

.gallery-more { text-align: center; margin: 28px 0 0; }
.gallery-more a {
  color: var(--red-dark);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.gallery-more a:hover { color: var(--red); border-bottom-color: var(--red); }

/* ---------- Get Involved (highlighted mid-page enquiry) ---------- */
.get-involved {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.12), transparent 45%),
    linear-gradient(135deg, var(--red-dark), var(--red) 55%, var(--saffron));
  padding: 76px 24px;
  text-align: center;
  color: var(--white);
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
}
.involved-inner { max-width: 620px; margin: auto; }
.get-involved h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--white);
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  margin: 0 0 10px;
  text-shadow: 1px 2px 0 rgba(74, 19, 11, 0.35);
}
.involved-sub { margin: 0 0 30px; font-size: 1.08rem; }
.involved-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  text-align: left;
}
.involved-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  color: var(--maroon);
  font-size: 0.95rem;
}
.involved-form input,
.involved-form textarea,
.involved-form select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid #e8d3b8;
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
}
.involved-form select { cursor: pointer; }
.involved-form textarea { resize: vertical; font-family: var(--font-body); }
.involved-form input:focus,
.involved-form textarea:focus,
.involved-form select:focus { outline: none; border-color: var(--saffron); }
.involved-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.involved-optional { font-weight: 400; color: #8a6f63; font-size: 0.85rem; }
.involved-form .btn { align-self: center; min-width: 200px; text-align: center; background: linear-gradient(135deg, var(--red), var(--saffron)); color: var(--white); }
.involved-note { margin: 0; font-size: 0.85rem; color: #8a6f63; font-weight: 400; text-align: center; }

@media (max-width: 560px) {
  .involved-row { grid-template-columns: 1fr; }
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}
.testimonial {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 26px 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  position: relative;
}
.testimonial::before {
  content: "❝";
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 2rem;
  color: var(--cream-deep);
}
.testimonial p { margin: 0 0 14px; font-size: 1.02rem; font-style: italic; }
.testimonial cite { font-style: normal; font-weight: 700; color: var(--saffron-text); font-size: 0.9rem; }

/* ---------- Sponsorship ---------- */
.package-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-bottom: 50px;
}
.package {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.package:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(74, 19, 11, 0.18);
}
.package.featured:hover { transform: scale(1.03) translateY(-8px); }
.package.featured {
  border: 3px solid var(--gold);
  transform: scale(1.03);
}
.package-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--maroon);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
}
.package-name {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--red);
  font-size: 1.5rem;
  margin: 0;
}
.package-price {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--maroon);
  margin: 8px 0 16px;
}
.package-price span { font-size: 0.95rem; font-weight: 600; color: #8a6f63; }
.package ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
  flex-grow: 1;
}
.package li { padding: 6px 0; border-bottom: 1px dashed #f0dcc3; font-size: 0.97rem; }
.package li:last-child { border-bottom: none; }

.sponsor-benefits {
  background: var(--cream-deep);
  border-radius: var(--radius);
  padding: 30px 34px;
}
.sponsor-benefits h3 { color: var(--red-dark); margin: 0 0 16px; font-size: 1.3rem; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px 28px;
}
.benefit { font-size: 0.98rem; }
.benefit strong { color: var(--red-dark); }

/* ---------- Supporters wall ---------- */
.supporters { text-align: center; margin-top: 46px; }
.supporters h3 { color: var(--red-dark); font-size: 1.3rem; margin: 0 0 6px; }
.supporters > p { margin: 0 0 22px; color: #6b544b; }
.supporters-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.supporter-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 100px;
  border: 2px dashed var(--saffron);
  border-radius: var(--radius);
  color: var(--saffron-text);
  font-weight: 700;
  text-decoration: none;
  background: var(--white);
  transition: background 0.2s ease, transform 0.2s ease;
}
.supporter-slot:hover { background: var(--cream-deep); transform: translateY(-3px); }
.supporter-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 100px;
  padding: 10px 14px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.supporter-logo.dark { background: #1d2333; } /* The Falcon's logo is white-on-navy */
.supporter-logo:hover { transform: translateY(-3px); }
.supporter-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--red);
  font-size: 1.6rem;
  margin: 0;
}
.contact-info > .marathi { color: var(--saffron); font-weight: 700; margin-top: 4px; }
.contact-list { list-style: none; padding: 0; margin: 22px 0; }
.contact-list li { padding: 8px 0; font-size: 1.05rem; }
.contact-list a { color: var(--red-dark); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.socials { display: flex; gap: 14px; flex-wrap: wrap; }
.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.socials a svg { width: 26px; height: 26px; }
.socials a:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 12px 26px rgba(74, 19, 11, 0.22);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  color: var(--maroon);
  font-size: 0.95rem;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid #e8d3b8;
  border-radius: 10px;
  background: var(--cream);
  transition: border-color 0.2s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--saffron); }
.form-note { margin: 0; font-size: 0.85rem; color: #8a6f63; font-weight: 400; text-align: center; }
.honeypot { position: absolute; left: -9999px; height: 0; width: 0; border: 0; padding: 0; }

/* Floating Contact Us button */
.contact-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 40px;
  background: linear-gradient(135deg, var(--red), var(--saffron));
  color: var(--white);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-fab:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}

/* Back to top arrow — sits above the Contact Us button */
#back-to-top {
  position: fixed;
  bottom: 84px;
  right: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--red);
  color: var(--red);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}
#back-to-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
#back-to-top:hover { background: var(--red); color: var(--white); }

/* ---------- Footer ---------- */
footer {
  background: var(--maroon);
  color: #f6dfc8;
  text-align: center;
  padding: 44px 20px 30px;
}
.footer-logo {
  height: 96px;
  width: 96px;
  object-fit: contain;
  margin: 0 auto 14px;
  background: var(--cream);
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  animation: gentle-float 4.5s ease-in-out infinite;
}

@keyframes gentle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.footer-tagline { font-size: 1.15rem; font-weight: 600; color: var(--gold); margin: 0 0 10px; }
footer p { margin: 6px 0; font-size: 0.95rem; }
.footer-privacy {
  max-width: 640px;
  margin: 14px auto 0 !important;
  font-size: 0.85rem !important;
  opacity: 0.8;
}
.footer-privacy a { color: var(--gold); }
.footer-copy { opacity: 0.75; margin-top: 16px; font-size: 0.87rem; }
.footer-credit { opacity: 0.6; font-size: 0.8rem; margin-top: 6px; }

/* ---------- Reveal animation (hidden state only when JS is running) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Member page ---------- */
.member-back { color: var(--red-dark); font-weight: 700; text-decoration: none; font-size: 0.95rem; }
.member-back:hover { text-decoration: underline; }
.member-wrap { max-width: 560px; margin: 0 auto; padding: 46px 20px 80px; }
.member-head { text-align: center; margin-bottom: 30px; }
.member-head h1 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--red);
  font-size: clamp(2rem, 6vw, 2.8rem);
  margin: 0 0 12px;
}
.member-sub { color: var(--ink); font-size: 1.05rem; margin: 0; }

.member-note {
  background: var(--white);
  border: 2px dashed var(--saffron);
  border-radius: var(--radius);
  padding: 26px 28px;
  text-align: center;
}
.member-note h2 { color: var(--red-dark); margin: 0 0 10px; font-size: 1.3rem; }
.member-note p { margin: 8px 0 0; }
.member-note a { color: var(--red-dark); font-weight: 700; }

.auth-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px 30px;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}
.auth-tabs button {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 11px;
  border: none;
  border-radius: 10px;
  background: var(--cream-deep);
  color: var(--maroon);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.auth-tabs button.active {
  background: linear-gradient(135deg, var(--red), var(--saffron));
  color: var(--white);
}
.auth-panel { display: flex; flex-direction: column; gap: 15px; }
.auth-panel[hidden] { display: none; }
.auth-panel label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  color: var(--maroon);
  font-size: 0.95rem;
}
.auth-panel input {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid #e8d3b8;
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
}
.auth-panel input:focus { outline: none; border-color: var(--saffron); }
.auth-panel .btn { align-self: stretch; text-align: center; }
.auth-panel-title { margin: 0; color: var(--red-dark); font-size: 1.15rem; }
.auth-hint { margin: 0; font-weight: 400; font-size: 0.85rem; color: #8a6f63; }
.auth-hint a { color: var(--red-dark); }
.auth-links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.linklike {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red-dark);
  cursor: pointer;
  text-decoration: underline;
}
.linklike:hover { color: var(--red); }
.auth-msg {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #eef7ee;
  color: #1e6b2e;
  font-weight: 600;
  font-size: 0.95rem;
}
.auth-msg.error { background: #fdeaea; color: #a81607; }

.member-verify {
  background: var(--cream-deep);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.95rem;
  margin: 0 0 18px;
}
.member-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  background:
    radial-gradient(circle at 85% 20%, rgba(244, 164, 18, 0.35), transparent 55%),
    linear-gradient(135deg, var(--red-dark), var(--red) 60%, var(--saffron));
  color: var(--white);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: 0 18px 44px rgba(74, 19, 11, 0.28);
}
.member-card img { width: 84px; height: 84px; flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25)); }
.member-card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.member-card-org { font-weight: 700; color: var(--gold); font-size: 0.95rem; }
.member-card-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.member-card-meta { font-size: 0.92rem; opacity: 0.95; overflow-wrap: anywhere; }
.member-card-id {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
}
.member-benefits {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 26px;
  margin-top: 22px;
}
.member-benefits h2 { color: var(--red-dark); font-size: 1.15rem; margin: 0 0 10px; }
.member-benefits ul { list-style: none; margin: 0; padding: 0; }
.member-benefits li { padding: 7px 0; border-bottom: 1px dashed #f0dcc3; font-size: 0.97rem; }
.member-benefits li:last-child { border-bottom: none; }
.member-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.member-page footer { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  /* Flyers: no marquee — swipe/scroll through them by hand instead */
  .flyers-track { animation: none; }
  .flyers-row {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    padding: 6px 4px 18px;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .package.featured { transform: none; }
  .dhol-inner { grid-template-columns: 1fr; text-align: center; }
  .dhol-grid { max-width: 520px; width: 100%; margin: 0 auto; }
}

/* Nine nav items no longer fit inline below ~960px, so the hamburger
   takes over earlier than the other mobile styles (768px) */
@media (max-width: 960px) {
  #nav-toggle { display: flex; }
  #main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    box-shadow: 0 12px 20px rgba(74, 19, 11, 0.15);
  }
  /* Collapse/expand driven purely by the checkbox — no JavaScript needed */
  #main-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  #nav-check:checked ~ #main-nav { max-height: 480px; }
  /* Keep the checkbox keyboard-operable but invisible, over the hamburger */
  #nav-check {
    display: inline-block;
    position: absolute;
    top: 16px;
    right: 22px;
    width: 44px;
    height: 44px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
  }
  #nav-check:focus-visible ~ #nav-toggle {
    outline: 2px solid var(--red);
    outline-offset: 3px;
    border-radius: 4px;
  }
  .nav-links {
    flex-direction: column;
    gap: 0;
    padding: 10px 24px 18px;
  }
  .nav-links a { display: block; padding: 12px 4px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 20px; }
}

@media (max-width: 440px) {
  .logo { display: none; } /* emblem only on narrow phones */
}
