/* ============================================
   MERMAID FESTIVAL 2026 — MASTER STYLESHEET
   North Webster, Indiana | 80th Annual
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Primary palette */
  --navy: #003478;
  --navy-dark: #001d3d;
  --navy-light: #1a4f8a;
  --gold: #C5972C;
  --gold-light: #d4ad4e;
  --gold-pale: #F5EDD6;
  --blue-pale: #E8F0FE;
  --white: #FFFFFF;
  --coral: #C0392B;
  --coral-pale: #FBEAEA;
  --off-white: #FAFAFA;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-900: #111827;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-pad: 5rem 0;
  --container-width: 1200px;
  --nav-height: 88px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-med: 0.4s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

p {
  margin-bottom: 1rem;
  color: var(--gray-700);
}

/* ---------- Utility Classes ---------- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section {
  padding: var(--section-pad);
}

.section-alt {
  background: var(--gray-100);
}

.section-blue {
  background: var(--blue-pale);
}

.section-gold {
  background: var(--gold-pale);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-welcome {
  padding-top: 0;
}

.hero-page + .wave-top + .section,
.hero-page + .section {
  padding-top: 1rem;
}

.section-logo {
  display: block;
  height: clamp(150px, 16vw, 230px);
  width: auto;
  margin: clamp(-7rem, -5vw, -3rem) auto 1rem;
  position: relative;
  z-index: 0;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.section-header h2 {
  margin-bottom: 0.75rem;
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
  width: 100%;
  max-width: 600px;
  margin: 1rem auto 0;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(197, 151, 44, 0.3);
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 151, 44, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 52, 120, 0.3);
}

.btn-navy:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 52, 120, 0.4);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: calc(var(--nav-height) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  transition: all var(--transition-med);
  background: rgba(0, 29, 61, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.1;
  text-decoration: none;
  z-index: 1001;
}

.nav-logo .logo-img {
  height: 52px;
  width: auto;
}

.nav-logo .logo-text-group {
  display: flex;
  flex-direction: column;
}

.nav-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.nav-logo .logo-year {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.6rem 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* Hamburger active state */
.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-page {
  min-height: 0;
  height: 38vh;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg .img-placeholder {
  display: none;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

/* Parallax offset applied by JS */
.hero-bg.parallax {
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 29, 61, 0.35) 0%,
    rgba(0, 52, 120, 0.4) 50%,
    rgba(0, 29, 61, 0.65) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  width: min(90%, var(--container-width));
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  backdrop-filter: blur(6px);
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.85; border-color: var(--gold); }
  50% { opacity: 1; border-color: var(--gold-light); }
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--white);
  margin: 0 auto 1.25rem;
  width: 100%;
  text-align: center;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-title .highlight {
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.8vw, 1.6rem);
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 1.5rem;
  width: 100%;
  max-width: 42rem;
  text-align: center;
  letter-spacing: 0;
  font-weight: 300;
  line-height: 1.45;
  text-wrap: balance;
}

.hero-perks {
  display: none;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-badges-row {
  display: contents;
}

.hero-starburst {
  position: absolute;
  width: clamp(110px, 10vw, 150px);
  height: clamp(110px, 10vw, 150px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.hero-starburst.starburst-left {
  left: max(1rem, 3%);
  top: 50%;
  transform: translateY(-50%) rotate(-12deg);
}

.hero-starburst.starburst-right {
  right: max(1rem, 3%);
  top: 50%;
  transform: translateY(-50%) rotate(12deg);
}

.hero-starburst svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-starburst-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 0.9vw, 1.08rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero "Presented by" badge */
.hero-presented {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-presented-logo {
  height: 68px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.hero-presented-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: left;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero-presented-text strong {
  color: var(--white);
  font-size: 1.05rem;
}

/* Tradition gallery */
.tradition-gallery {
  position: relative;
  cursor: pointer;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.tradition-gallery .img-wrapper img {
  transition: opacity 0.6s ease;
}

.tradition-gallery:hover .gallery-indicator {
  opacity: 1;
}

/* Page hero (smaller, for inner pages) */

.hero-page .hero-badge {
  display: none;
}

.hero-page .hero-title {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  margin: 0 auto 0.6rem;
  line-height: 1.15;
}

.hero-page .hero-subtitle {
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  margin: 0 auto;
  max-width: 36rem;
}

.hero-page .hero-content {
  padding: 1.5rem 0;
  width: min(90%, 760px);
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(0.85rem);
}

/* ---------- Wave Dividers ---------- */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 50px;
}

/* Pull adjacent sections into the wave to eliminate subpixel gaps */
.wave-divider + .section,
.wave-divider + section {
  margin-top: -2px;
  position: relative;
}

.section + .wave-divider,
section + .wave-divider {
  margin-top: -2px;
}

.hero + .wave-divider {
  margin-top: -2px;
}

/* Full-height hero (home page): no solid color band needed — the wave svg itself
   fills its top half with navy-dark (continuing the hero) and its bottom half
   with white (leading into the welcome section). */

.hero-page + .wave-divider svg {
  height: 50px;
}

/* ---------- Image Wrapper / Placeholders ---------- */
.img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--gold) 100%);
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-slow);
}

.img-wrapper:hover img {
  transform: scale(1.03);
}

.img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
  z-index: 0;
  gap: 0.5rem;
}

.img-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.5;
}

.img-placeholder span {
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Aspect ratio wrappers */
.aspect-hero { aspect-ratio: 21 / 9; }
.aspect-wide { aspect-ratio: 16 / 9; }
.aspect-standard { aspect-ratio: 4 / 3; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-portrait { aspect-ratio: 3 / 4; }

/* ---------- Schedule Overview (clickable to fullscreen) ---------- */
.events-schedule-section .section-header,
.schedule-panel {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.events-schedule-section .section-header h2 {
  display: block;
  width: 100%;
  text-align: center;
}

.schedule-panel {
  padding: clamp(0.75rem, 2vw, 1.25rem);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 38px rgba(0, 29, 61, 0.12);
}

.schedule-overview {
  cursor: zoom-in;
  /* Override generic .gallery-item card styles — only the inner image carries the shadow */
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.schedule-overview:hover {
  transform: none;
  box-shadow: none;
}
.schedule-overview .img-wrapper {
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  /* Override generic .gallery-item .img-wrapper { aspect-ratio: 4/3 } */
  aspect-ratio: 1744 / 1445;
  max-width: 100%;
  margin: 0 auto;
}
.schedule-overview:hover .img-wrapper {
  box-shadow: 0 6px 18px rgba(0, 29, 61, 0.14);
}
.schedule-overview .img-wrapper:hover img {
  transform: scale(1.01);
}
.schedule-zoom-hint {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border-radius: var(--radius-sm, 6px);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--transition-med), transform var(--transition-med);
  pointer-events: none;
}
.schedule-zoom-hint svg {
  width: 16px;
  height: 16px;
}
.schedule-overview .img-wrapper:hover .schedule-zoom-hint,
.schedule-overview:focus-visible .schedule-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 640px) {
  .schedule-zoom-hint { opacity: 1; transform: none; }
}

/* Schedule action row (Print button + hint) */
.schedule-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}
.schedule-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm, 6px);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.schedule-print-btn:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.schedule-print-btn:active { transform: translateY(0); }
.schedule-print-btn svg {
  width: 20px;
  height: 20px;
}
.schedule-actions-hint {
  color: var(--gray-600, #6b7280);
  font-size: 0.9rem;
  font-style: italic;
}
@media (max-width: 640px) {
  .schedule-actions { gap: 0.6rem; flex-direction: column; }
  .schedule-actions-hint { font-size: 0.85rem; text-align: center; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-med);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  overflow: hidden;
}

.card-image .img-wrapper {
  border-radius: 0;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  margin-bottom: 0.5rem;
}

.card-body p {
  font-size: 0.95rem;
}

/* ---------- Theme Callout ---------- */
.theme-callout {
  max-width: 620px;
  margin: 0 auto 3rem;
  text-align: center;
}

.theme-callout h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.theme-callout p {
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

/* ---------- Feature Cards (Home) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-med);
  border: 1px solid var(--gray-200);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--blue-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.feature-card:hover .feature-icon {
  background: var(--navy);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--navy);
  transition: color var(--transition-fast);
}

.feature-card:hover .feature-icon svg {
  color: var(--white);
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.feature-card p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

a.feature-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.feature-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition-fast);
}

.feature-card:hover .feature-link {
  color: var(--gold);
}

/* ---------- Event Cards ---------- */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* ---------- Featured Event Cards ---------- */
.featured-events {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.featured-event {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-med);
}

.featured-event:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.featured-event.flip {
  direction: rtl;
}

.featured-event.flip > * {
  direction: ltr;
}

.featured-event-image {
  position: relative;
  cursor: pointer;
  max-height: 350px;
  overflow: hidden;
}

.featured-event-image .img-wrapper {
  border-radius: 0;
  height: 350px;
}

.featured-event-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-event-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.featured-event-content p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

/* Gallery indicator overlay */
.gallery-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
  cursor: pointer;
  z-index: 3;
}

.gallery-indicator-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.gallery-indicator svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.gallery-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}

.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.gallery-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

.gallery-dot-more {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  margin-left: 1px;
}

.featured-event-image:hover .gallery-indicator,
.gallery-indicator.has-multiple {
  opacity: 1;
}

.gallery-indicator.has-multiple {
  opacity: 0.85;
}

.featured-event-image:hover .gallery-indicator.has-multiple {
  opacity: 1;
}

/* Hover slideshow transition */
.featured-event-image .img-wrapper img {
  transition: opacity 0.4s ease;
}

/* Event search */
.event-search-wrap {
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.event-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  transition: border-color var(--transition-fast);
}

.event-search:focus-within {
  border-color: var(--navy);
}

.event-search svg {
  width: 20px;
  height: 20px;
  color: var(--gray-400);
  flex-shrink: 0;
}

.event-search input {
  border: none;
  outline: none;
  background: none;
  font-size: 1rem;
  color: var(--gray-900);
  width: 100%;
  font-family: var(--font-body);
}

.event-search input::placeholder {
  color: var(--gray-400);
}

.event-search-count {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 0.5rem;
  min-height: 1.25rem;
}

.event-no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--gray-500);
  font-size: 1.1rem;
}

.featured-event.hidden {
  display: none;
}

.featured-event-content a {
  color: var(--navy);
  font-weight: 600;
}

.featured-event-content a:hover {
  color: var(--gold);
}

/* Photo count badge on gallery images */
.photo-count {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
  pointer-events: none;
}

.photo-count svg {
  width: 14px;
  height: 14px;
}

/* ---------- Event Grid (smaller events) ---------- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.event-grid-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-med);
  display: flex;
  flex-direction: column;
}

.event-grid-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.event-grid-card-image {
  position: relative;
  cursor: pointer;
}

.event-grid-card-image .img-wrapper {
  border-radius: 0;
  min-height: 180px;
}

.event-grid-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-grid-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.event-grid-card-body p {
  color: var(--gray-700);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
  flex: 1;
}

.event-grid-card-body a {
  color: var(--navy);
  font-weight: 600;
}

.event-grid-card-body a:hover {
  color: var(--gold);
}

.event-grid-card-body .event-badge {
  margin-top: 0.75rem;
}

/* ---------- Lightbox Gallery ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

.lightbox-overlay.active ~ * .back-to-top,
body:has(.lightbox-overlay.active) .back-to-top {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.lightbox-overlay .lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: background var(--transition-fast);
  z-index: 10001;
}

.lightbox-overlay .lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  opacity: 0.8;
  transition: all var(--transition-fast);
  z-index: 10001;
}

.lightbox-nav:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-nav:focus-visible {
  outline: none;
}

.lightbox-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  z-index: 10001;
  pointer-events: none;
}

/* ---------- Lightbox toolbar (zoom + print) ---------- */
.lightbox-overlay #lightboxImg {
  transform-origin: center center;
  transition: transform 0.18s ease-out;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}
.lightbox-overlay #lightboxImg:active { transition: none; }

/* Toolbar (zoom + print) is opt-in — only shown when opener adds .with-tools */
.lightbox-overlay:not(.with-tools) .lightbox-toolbar { display: none; }

.lightbox-toolbar {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(20, 20, 30, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 10002;
}

.lightbox-tool {
  appearance: none;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  height: 2.75rem;
  min-width: 2.75rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: background var(--transition-fast), transform var(--transition-fast), opacity var(--transition-fast);
}
.lightbox-tool:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.22);
}
.lightbox-tool:active:not(:disabled) { transform: scale(0.96); }
.lightbox-tool:disabled { opacity: 0.35; cursor: not-allowed; }
.lightbox-tool svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.lightbox-tool-reset {
  background: rgba(255, 255, 255, 0.14);
  font-variant-numeric: tabular-nums;
  min-width: 4rem;
  justify-content: center;
}
.lightbox-tool-print {
  background: var(--gold, #d4a017);
  color: var(--navy, #0a2540);
}
.lightbox-tool-print:hover:not(:disabled) {
  background: #f0b820;
}

/* Hide tool labels at narrow widths to keep the toolbar compact */
@media (max-width: 640px) {
  .lightbox-toolbar { gap: 0.4rem; padding: 0.4rem; }
  .lightbox-tool { padding: 0 0.7rem; height: 2.85rem; min-width: 2.85rem; }
  .lightbox-tool span:not(.lightbox-zoom-pct) { display: none; }
  .lightbox-tool-reset { min-width: 3.4rem; }
}

/* When toolbar is shown, lift counter above it */
.lightbox-overlay.active .lightbox-counter {
  bottom: 5rem;
}

.event-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-med);
}

.event-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.event-card:nth-child(even) {
  direction: rtl;
}

.event-card:nth-child(even) > * {
  direction: ltr;
}

.event-card-image .img-wrapper {
  border-radius: 0;
  height: 100%;
}

.event-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
  margin-bottom: 0.75rem;
}

.event-badge.free {
  background: #DEF7EC;
  color: #03543F;
}

.event-badge.paid {
  background: var(--gold-pale);
  color: #92400E;
}

.event-card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.event-card-content p {
  margin-bottom: 0;
}

/* ---------- Event List Items ---------- */
.event-item {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition-med);
}

.event-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.event-item-image {
  height: 100%;
}

.event-item-image .img-wrapper {
  border-radius: 0;
  height: 100%;
  min-height: 140px;
}

.event-item-info {
  padding: 1.25rem 0;
}

.event-item-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.event-item-info p {
  margin-bottom: 0;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.event-item-info a {
  color: var(--navy);
  font-weight: 600;
}

.event-details-list {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.event-details-list li {
  margin-bottom: 0.25rem;
}

.event-item-info a:hover {
  color: var(--gold);
}

.event-item .event-badge {
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 1.5rem;
}

/* ---------- Sponsors ---------- */
.sponsor-tier {
  margin-bottom: 3rem;
}

.sponsor-tier:last-child {
  margin-bottom: 0;
}

.sponsor-tier-title {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.sponsor-tier-title::before,
.sponsor-tier-title::after {
  content: '';
  flex: 1;
  max-width: 100px;
  height: 1px;
  background: var(--gray-300);
}

.sponsor-grid {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  align-items: center;
}

.sponsor-grid.tier-gold {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.sponsor-grid.tier-silver {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.sponsor-grid.tier-bronze {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.sponsor-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-med);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 200px;
  border: 1px solid var(--gray-200);
}

.sponsor-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--gold);
}

.sponsor-card .img-wrapper {
  background: none;
  border-radius: 0;
}

.sponsor-card img {
  max-height: 80px;
  max-width: 100%;
  width: auto;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.sponsor-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
}

/* ---------- Officer / Member Cards ---------- */
.officers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.officer-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-med);
}

.officer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.officer-photo {
  overflow: hidden;
}

.officer-photo .img-wrapper {
  border-radius: 0;
  aspect-ratio: 1;
}

.officer-info {
  padding: 1.5rem;
}

.officer-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.officer-info .officer-title {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.88rem;
}

.officer-list-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--gold);
}

.officer-list-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}

.officer-list-item span {
  color: var(--gray-700);
  font-size: 1rem;
}

/* ---------- Gallery ---------- */
.gallery-section {
  margin-bottom: 3rem;
}

.gallery-section:last-child {
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-grid.gallery-single {
  grid-template-columns: 1fr;
  max-width: 450px;
  margin: 0 auto;
}

.gallery-item {
  cursor: pointer;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-med);
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

.gallery-item .img-wrapper {
  border-radius: 0;
  aspect-ratio: 4 / 3;
}

.gallery-caption {
  padding: 0.75rem 1rem;
  background: var(--white);
  font-size: 0.88rem;
  color: var(--gray-700);
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-med);
  cursor: pointer;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transform: scale(0.9);
  transition: transform var(--transition-med);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-med);
  border: 1px solid var(--gray-200);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.contact-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: var(--blue-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--navy);
}

.contact-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.contact-card a {
  color: var(--navy);
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--gold);
}

.contact-info-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 700px;
  margin: 0 auto;
}

.contact-info-col h3 {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.contact-info-col h3:not(:first-child) {
  margin-top: 1.75rem;
}

.contact-info-col p {
  color: var(--gray-700);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.contact-info-col a {
  color: var(--navy);
  font-weight: 500;
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-info-col a:hover {
  color: var(--gold);
}

/* ---------- Map ---------- */
.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- Video Embed ---------- */
.video-embed {
  max-width: 880px;
  margin: 0 auto 3rem;
}

.video-embed-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  background: var(--navy-dark);
}

.video-embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- Info Callout ---------- */
.callout {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-sm);
}

.callout h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.callout p {
  margin-bottom: 0;
}

/* Parking callout special */
.callout-highlight {
  background: var(--white);
  border-left: 5px solid var(--coral);
  border-radius: var(--radius-md);
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.callout-highlight h3 {
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.callout-highlight li {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 500;
}

/* Parking section */
.section-parking {
  background: var(--coral-pale);
}

/* ---------- Food Section ---------- */
.food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.food-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-med);
}

.food-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.food-card-body {
  padding: 1.25rem;
}

.food-card-body h4 {
  margin-bottom: 0.35rem;
}

.food-card-body p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--gray-500);
}

/* ---------- Applications ---------- */
.app-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.app-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-med);
  border: 1px solid var(--gray-200);
  gap: 1rem;
}

.app-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
  transform: translateX(4px);
}

.app-item-info {
  flex: 1;
}

.app-item-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.app-item-info p {
  font-size: 0.88rem;
  margin-bottom: 0;
  color: var(--gray-500);
}

.app-item-type {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.35rem;
}

.app-item-type.pdf {
  background: #FEE2E2;
  color: #991B1B;
}

.app-item-type.form {
  background: #DBEAFE;
  color: #1E40AF;
}

.app-item .btn {
  white-space: nowrap;
  padding: 0.6rem 1.5rem;
  font-size: 0.88rem;
}

/* ---------- Vendor Booth Info ---------- */
.vendor-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.vendor-info > div {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.vendor-info h3 {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--navy);
  margin-top: 0;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

.vendor-price-group {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin: 1.25rem 0 0.4rem;
}

.vendor-price-group:first-of-type {
  margin-top: 0;
}

.vendor-price-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vendor-price-list li small {
  color: var(--gray-500);
  font-size: 0.82rem;
  font-weight: 400;
  margin-left: 0.25rem;
}

.vendor-price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--gray-200);
  color: var(--gray-700);
  font-size: 0.95rem;
}

.vendor-price-list li:last-child {
  border-bottom: none;
}

.vendor-price {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}

.vendor-contact-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 1.25rem;
}

.vendor-contact-name span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray-500);
}

.vendor-contact-line {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  word-break: break-word;
}

.vendor-contact-line strong {
  color: var(--navy);
  margin-right: 0.35rem;
}

@media (max-width: 720px) {
  .vendor-info {
    grid-template-columns: 1fr;
  }
}

/* ---------- Stats Section ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ---------- Two-Column Info Layout ---------- */
.info-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.info-split.reverse {
  direction: rtl;
}

.info-split.reverse > * {
  direction: ltr;
}

.info-text h2 {
  margin-bottom: 1rem;
}

.info-text h2::after {
  display: none;
}

.info-text p {
  margin-bottom: 1rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  position: relative;
}

.footer-wave {
  position: absolute;
  top: 2px;
  left: 0;
  right: 0;
  line-height: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 120px;
}

/* Ensure the last section before the footer has enough padding for the wave overlay */
.footer-preceding-section {
  padding-bottom: 10rem !important;
}

.footer-content {
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 2fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.footer-logo-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  height: 100px;
  width: auto;
}

.footer-section h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  width: 90%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0;
}

/* ---------- Scroll Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.fade-left {
  transform: translateX(-30px);
}

.fade-in.fade-right {
  transform: translateX(30px);
}

.fade-in.fade-scale {
  transform: scale(0.95);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger children */
.stagger-children > .fade-in:nth-child(1) { transition-delay: 0s; }
.stagger-children > .fade-in:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > .fade-in:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > .fade-in:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > .fade-in:nth-child(5) { transition-delay: 0.4s; }
.stagger-children > .fade-in:nth-child(6) { transition-delay: 0.5s; }
.stagger-children > .fade-in:nth-child(7) { transition-delay: 0.6s; }
.stagger-children > .fade-in:nth-child(8) { transition-delay: 0.7s; }

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-med);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 1100px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 80vw);
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.25rem 2rem;
    gap: 0.15rem;
    transition: right var(--transition-med);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.7rem 1rem;
    width: 100%;
    border-radius: 0;
  }

  .nav-link:hover,
  .nav-link.active {
    background: none;
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-link.active {
    color: var(--gold);
    font-weight: 600;
  }

  .hero-starburst {
    display: none;
  }

  .hero-perks {
    display: block;
  }

  .hero-presented {
    bottom: 1rem;
    right: 1.5rem;
  }

  .hero-presented-logo {
    height: 50px;
  }

  .hero-presented-text {
    font-size: 0.85rem;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-card:nth-child(even) {
    direction: ltr;
  }

  .event-item {
    grid-template-columns: 1fr;
  }

  .event-item-image .img-wrapper {
    min-height: 180px;
  }

  .event-item-info {
    padding: 0 1.25rem;
  }

  .event-item .event-badge {
    margin: 0 1.25rem 1.25rem;
  }

  .featured-event {
    grid-template-columns: 1fr;
  }

  .featured-event.flip {
    direction: ltr;
  }

  .featured-event-image {
    max-height: 260px;
  }

  .featured-event-image .img-wrapper {
    height: 260px;
  }

  .featured-event-content {
    padding: 1.5rem;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-overlay .lightbox-content {
    max-width: 95vw;
    max-height: 65vh;
  }

  .lightbox-overlay .lightbox-content img {
    max-height: 65vh;
  }

  .lightbox-overlay .lightbox-close {
    top: 1.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
  }

  .lightbox-nav {
    position: fixed;
    top: auto;
    bottom: 1.5rem;
    transform: none;
    font-size: 1.8rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    opacity: 1;
  }

  .lightbox-prev { left: 1.5rem; }
  .lightbox-next { right: 1.5rem; }

  .lightbox-counter {
    bottom: 2rem;
    font-size: 1rem;
  }

  .info-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .info-split.reverse {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --section-pad: 3.5rem 0;
    --nav-height: 64px;
  }

  .navbar {
    height: var(--nav-height);
  }

  .nav-logo .logo-img {
    height: 38px;
  }

  .nav-logo .logo-text {
    font-size: 1.2rem;
  }

  .nav-logo .logo-year {
    font-size: 0.68rem;
    letter-spacing: 1.5px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .hero {
    min-height: 100svh;
    padding-top: var(--nav-height);
    padding-bottom: 2rem;
  }

  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .hero-content {
    padding: 1.5rem 1.5rem 0;
  }

  .hero-page .hero-content {
    transform: none;
  }

  .hero-badge {
    margin-bottom: 1rem;
    font-size: 0.85rem;
    padding: 0.4rem 1.2rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .hero-presented {
    display: none;
  }

  .section-logo {
    height: 120px;
    margin: 0 auto 0.75rem;
  }

  .hero-page {
    min-height: 0;
    height: 30vh;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .app-item {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }

  .app-item .btn {
    width: 100%;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .officers-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .contact-info-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .map-wrapper {
    height: 300px;
  }

  .section-header {
    margin-bottom: 2rem;
  }
}

/* Small mobile */
@media (max-width: 400px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .navbar, .back-to-top, .footer-wave {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}
