/* ==========================================================================
   USS ZAVALA (NCC-74709) - OFFICIAL WEBSITE STYLESHEET
   Starfleet International Region 3 | Mobile-Friendly & ADA/WCAG 2.1 AA Compliant
   ========================================================================== */

:root {
  /* Starfleet LCARS Palette (High-Contrast WCAG 2.1 AA Compliant) */
  --lcars-gold: #f59e0b;       /* Command / Operations Gold (4.5:1+ on dark) */
  --lcars-gold-bright: #fbbf24;
  --lcars-amber: #d97706;
  --lcars-red: #ef4444;        /* Command Crimson */
  --lcars-red-dark: #b91c1c;
  --lcars-teal: #38bdf8;       /* Sciences / Medical Blue */
  --lcars-teal-dark: #0284c7;
  --lcars-purple: #c084fc;     /* Specialized / Civilian Liaison */
  --lcars-purple-dark: #9333ea;
  --lcars-orange: #f97316;     /* Auxiliary Action / Engineering */

  /* Neutral Surface Palette */
  --bg-space: #070b14;
  --bg-card: #0d1527;
  --bg-card-hover: #141f36;
  --bg-elevated: #1a2742;
  --border-subtle: #233454;
  --border-glow: #38bdf8;

  /* Typography Colors */
  --text-main: #f8fafc;        /* High-contrast pure white/slate */
  --text-muted: #cbd5e1;       /* WCAG AA 7:1+ contrast on dark */
  --text-dim: #94a3b8;         /* Ancillary text (labels/stardates) */

  /* Spacing & Sizing */
  --tap-target-min: 48px;
  --radius-lcars: 24px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --header-height: 72px;

  /* Focus & Accessibility */
  --focus-ring-color: #38bdf8;
  --focus-ring-shadow: 0 0 0 3px rgba(56, 189, 248, 0.6);
}

/* --------------------------------------------------------------------------
   RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

.flyer-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.flyer-lightbox-modal[hidden] {
  display: none !important;
}

html {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-space);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(26, 43, 76, 0.4) 0%, transparent 60%),
    radial-gradient(circle at 100% 50%, rgba(217, 119, 6, 0.08) 0%, transparent 40%),
    var(--bg-space);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   ACCESSIBILITY & ADA UTILITIES
   -------------------------------------------------------------------------- */

/* Screen reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip to Main Content Link (Visible only on focus) */
.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 14px 22px;
  background-color: var(--lcars-gold);
  color: #000000;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8);
  transform: translateY(-200%);
  transition: transform 0.2s ease-in-out;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--text-main);
  outline-offset: 2px;
}

/* High-Visibility Keyboard Focus Indicators */
:focus-visible {
  outline: 3px solid var(--focus-ring-color) !important;
  outline-offset: 3px !important;
  box-shadow: var(--focus-ring-shadow) !important;
}

/* Minimum 48px touch targets for mobile accessibility */
.touch-target,
.btn,
.nav-link,
.tab-btn,
.pill-btn,
.icon-btn {
  min-height: var(--tap-target-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   HEADER & NAVIGATION BAR
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.4));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--lcars-gold);
  text-transform: uppercase;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(56, 189, 248, 0.12);
}

.nav-link.active {
  color: var(--lcars-gold-bright);
  background: rgba(245, 158, 11, 0.15);
  border-bottom: 2px solid var(--lcars-gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* LCARS Pill Buttons */
.btn {
  padding: 0.5rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-lcars);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-lcars-primary {
  background: linear-gradient(135deg, var(--lcars-gold), var(--lcars-amber));
  color: #000000;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-lcars-primary:hover {
  background: linear-gradient(135deg, var(--lcars-gold-bright), var(--lcars-gold));
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.45);
}

.btn-lcars-cyan {
  background: rgba(56, 189, 248, 0.15);
  color: var(--lcars-teal);
  border-color: rgba(56, 189, 248, 0.4);
}

.btn-lcars-cyan:hover {
  background: rgba(56, 189, 248, 0.25);
  color: #ffffff;
  border-color: var(--lcars-teal);
  transform: translateY(-1px);
}

.btn-lcars-emerald {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.6);
}

.btn-lcars-emerald:hover {
  background: rgba(16, 185, 129, 0.35);
  color: #ffffff;
  border-color: #34d399;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-lcars-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-lcars-outline:hover {
  background: var(--bg-card);
  border-color: var(--lcars-teal);
}

/* Mobile Hamburger Menu Toggle Button */
.mobile-menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  cursor: pointer;
  padding: 0;
}

.mobile-menu-btn svg {
  width: 26px;
  height: 26px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer.open {
  display: flex;
  opacity: 1;
}

.drawer-content {
  width: 85%;
  max-width: 340px;
  height: 100%;
  background: var(--bg-card);
  border-right: 2px solid var(--border-subtle);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.open .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.drawer-link {
  padding: 0.85rem 1rem;
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: background 0.2s;
  min-height: 48px;
}

.drawer-link:hover,
.drawer-link.active {
  background: rgba(245, 158, 11, 0.15);
  color: var(--lcars-gold-bright);
}

/* --------------------------------------------------------------------------
   MAIN CONTAINER & SECTIONS
   -------------------------------------------------------------------------- */
main {
  flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.section-container {
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}

.section-container.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.3s ease-out;
}

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

/* LCARS Ornamental Header Bar */
.lcars-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.lcars-pill {
  height: 28px;
  border-radius: 14px;
  background: var(--lcars-gold);
  width: 90px;
}

.lcars-pill.teal { background: var(--lcars-teal); }
.lcars-pill.purple { background: var(--lcars-purple); }
.lcars-pill.red { background: var(--lcars-red); }

.lcars-line {
  flex: 1;
  height: 4px;
  background: linear-gradient(90deg, var(--border-subtle), transparent);
  border-radius: 2px;
}

.lcars-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  color: var(--lcars-gold);
  letter-spacing: 0.15em;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   HERO & "WHO IS USS ZAVALA" SECTION
   -------------------------------------------------------------------------- */
.hero-card {
  position: relative;
  background: linear-gradient(145deg, #0e182e 0%, #070d1a 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  margin-bottom: 2.5rem;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  display: block;
  border-bottom: 2px solid var(--border-subtle);
}

.hero-content {
  padding: 2.25rem 2rem;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag-sfi {
  background: rgba(56, 189, 248, 0.15);
  color: var(--lcars-teal);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.tag-registry {
  background: rgba(245, 158, 11, 0.15);
  color: var(--lcars-gold-bright);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.tag-region {
  background: rgba(192, 132, 252, 0.15);
  color: var(--lcars-purple);
  border: 1px solid rgba(192, 132, 252, 0.35);
}

.hero-heading {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.hero-heading span {
  color: var(--lcars-gold);
}

/* The Core Manifesto Quote */
.manifesto-box {
  position: relative;
  background: rgba(15, 23, 42, 0.75);
  border-left: 4px solid var(--lcars-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0 2rem;
  backdrop-filter: blur(4px);
}

.manifesto-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #f1f5f9;
  font-weight: 400;
}

.manifesto-text strong {
  color: var(--lcars-gold-bright);
  font-weight: 700;
}

/* Four Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.25s ease;
}

.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.pillar-icon-box.gold { background: rgba(245, 158, 11, 0.15); color: var(--lcars-gold); border: 1px solid rgba(245, 158, 11, 0.3); }
.pillar-icon-box.cyan { background: rgba(56, 189, 248, 0.15); color: var(--lcars-teal); border: 1px solid rgba(56, 189, 248, 0.3); }
.pillar-icon-box.purple { background: rgba(192, 132, 252, 0.15); color: var(--lcars-purple); border: 1px solid rgba(192, 132, 252, 0.3); }
.pillar-icon-box.emerald { background: rgba(52, 211, 153, 0.15); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.3); }

.pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Service Info Strip */
.service-info-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  background: rgba(10, 16, 30, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.info-item-icon {
  font-size: 1.5rem;
  color: var(--lcars-gold);
}

.info-item-text {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 700;
}

.info-val {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   EARL SIMON BANQUET & AUCTION SPOTLIGHT
   -------------------------------------------------------------------------- */
.banquet-spotlight {
  background: linear-gradient(145deg, #1e1308 0%, #101626 50%, #070d1a 100%);
  border: 2px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: 0 12px 36px rgba(245, 158, 11, 0.12);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.banquet-spotlight::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18), transparent 70%);
  pointer-events: none;
}

.banquet-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.banquet-badge {
  background: #f59e0b;
  color: #000000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.banquet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.banquet-flyer-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(245, 158, 11, 0.3);
  background: #000;
}

.banquet-flyer-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.banquet-flyer-img:hover {
  transform: scale(1.02);
}

.banquet-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.banquet-title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.banquet-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--lcars-gold-bright);
}

.banquet-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.banquet-desc strong {
  color: #ffffff;
}

.banquet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.banquet-sponsor-info {
  background: rgba(13, 21, 39, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.banquet-sponsor-info strong {
  color: var(--lcars-gold);
}

/* --------------------------------------------------------------------------
   CREW & LEADERSHIP SECTION
   -------------------------------------------------------------------------- */
.crew-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: var(--radius-lcars);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
  border-color: var(--lcars-teal);
}

.filter-btn.active {
  background: var(--lcars-gold);
  color: #000000;
  border-color: var(--lcars-gold);
  font-weight: 700;
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.crew-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.crew-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.crew-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #000000;
  position: relative;
  overflow: hidden;
}

.crew-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.3s ease;
}

.crew-card:hover .crew-photo {
  transform: scale(1.04);
}

.crew-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.crew-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.crew-role-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.role-command { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }
.role-ops { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.role-science { background: rgba(56, 189, 248, 0.2); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.4); }
.role-special { background: rgba(192, 132, 252, 0.2); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.4); }

/* --------------------------------------------------------------------------
   EVENT PHOTO CALENDARS SECTION & ADVANCED GALLERY
   -------------------------------------------------------------------------- */
.photos-control-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.photos-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.search-box-wrapper {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
  font-size: 1.1rem;
}

.photos-search-input {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 1rem 0.65rem 2.75rem;
  background: rgba(7, 11, 20, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lcars);
  color: #ffffff;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.photos-search-input:focus {
  border-color: var(--lcars-teal);
  background: rgba(13, 21, 39, 0.95);
  outline: none;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.35);
}

.photos-search-input::placeholder {
  color: var(--text-dim);
}

.photos-actions-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.view-toggle-group {
  display: inline-flex;
  background: rgba(7, 11, 20, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lcars);
  padding: 3px;
}

.view-toggle-btn {
  padding: 0.45rem 0.9rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-lcars);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  transition: all 0.2s;
}

.view-toggle-btn:hover {
  color: #ffffff;
}

.view-toggle-btn.active {
  background: var(--lcars-teal);
  color: #000000;
}

.photos-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.filter-count-badge {
  display: inline-block;
  font-size: 0.72rem;
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  margin-left: 0.35rem;
  font-weight: 800;
}

.filter-btn.active .filter-count-badge {
  background: rgba(0, 0, 0, 0.3);
  color: #000000;
}

/* Featured Hero Album Card */
.featured-album-card {
  background: linear-gradient(145deg, #101c36 0%, #091122 100%);
  border: 2px solid var(--lcars-teal);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 10px 32px rgba(56, 189, 248, 0.15);
  position: relative;
  overflow: hidden;
}

.featured-album-card::before {
  content: "LATEST MISSION ALBUM";
  position: absolute;
  top: 14px;
  right: -35px;
  background: var(--lcars-gold);
  color: #000000;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.25rem 2.5rem;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.featured-icon-badge {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--lcars-teal);
}

.featured-album-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lcars-gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.featured-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.featured-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Grid View for Photo Cards */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.photo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.25s ease;
  position: relative;
}

.photo-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--lcars-teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.photo-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.photo-badges-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.photo-year-badge {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--lcars-teal);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.photo-category-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cat-convention { background: rgba(245, 158, 11, 0.15); color: var(--lcars-gold-bright); border: 1px solid rgba(245, 158, 11, 0.3); }
.cat-musters { background: rgba(192, 132, 252, 0.15); color: var(--lcars-purple); border: 1px solid rgba(192, 132, 252, 0.3); }
.cat-community { background: rgba(52, 211, 153, 0.15); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.3); }
.cat-conference { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }

.photo-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.photo-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.photo-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Timeline View Layout */
.photos-timeline {
  display: none;
  flex-direction: column;
  position: relative;
  padding-left: 2rem;
  gap: 1.5rem;
}

.photos-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 9px;
  width: 2px;
  background: linear-gradient(180deg, var(--lcars-teal), var(--lcars-gold), var(--border-subtle));
}

.timeline-item {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.2s;
}

.timeline-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--lcars-teal);
  transform: translateX(4px);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lcars-teal);
  border: 3px solid var(--bg-space);
  box-shadow: 0 0 8px var(--lcars-teal);
}

/* Easy Add-Album Admin Helper Accordion */
.admin-album-helper {
  margin-top: 3rem;
  background: rgba(13, 21, 39, 0.6);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.admin-album-helper summary {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--lcars-gold-bright);
  cursor: pointer;
  outline: none;
}

.admin-album-helper-content {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.admin-album-helper pre {
  background: #050811;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
  overflow-x: auto;
  color: #a5f3fc;
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .featured-album-card {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .featured-icon-badge {
    width: 52px;
    height: 52px;
    font-size: 1.7rem;
  }

  .featured-title {
    font-size: 1.25rem;
  }

  .photos-search-row {
    flex-direction: column;
    align-items: stretch;
  }
}


/* --------------------------------------------------------------------------
   PUBLIC GOOGLE CALENDAR SECTION
   -------------------------------------------------------------------------- */
.calendar-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.calendar-header-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.calendar-info-text {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.calendar-iframe-container {
  position: relative;
  width: 100%;
  height: 720px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
}

.calendar-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   WHAT IS LCARS SECTION
   -------------------------------------------------------------------------- */
.lcars-hero {
  background: linear-gradient(145deg, #111a2f 0%, #070d19 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  margin-bottom: 2.5rem;
}

.lcars-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.lcars-title span {
  color: var(--lcars-gold);
}

.lcars-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.lcars-feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lcars-feature-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--lcars-gold-bright);
}

.lcars-feature-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.lcars-launch-banner {
  background: rgba(245, 158, 11, 0.1);
  border: 2px solid var(--lcars-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: #04070d;
  border-top: 2px solid var(--border-subtle);
  padding: 3rem 1.25rem 2rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--lcars-gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--lcars-teal);
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .banquet-grid {
    grid-template-columns: 1fr;
  }

  .calendar-iframe-container {
    height: 540px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .hero-content {
    padding: 1.5rem 1.25rem;
  }

  .banquet-spotlight {
    padding: 1.5rem 1.25rem;
  }

  .manifesto-box {
    padding: 1.25rem;
  }

  .manifesto-text {
    font-size: 1rem;
    line-height: 1.65;
  }

  .calendar-wrapper {
    padding: 1rem;
  }

  .calendar-iframe-container {
    height: 440px;
  }

  .header-actions .btn-lcars-primary {
    display: none; /* Keep header concise on narrow mobile, available in drawer */
  }
}

/* Sponsorship Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured-tier {
  border: 2px solid var(--lcars-gold);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08), var(--bg-card) 40%);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.15);
}

.pricing-badge-pill {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--lcars-gold);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin: 0.75rem 0 0.25rem 0;
}

.pricing-perks-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pricing-perk-item {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.pricing-perk-item strong {
  color: #ffffff;
}
