/**
 * Spotlight Hub - Activities & Programs Page Stylesheet
 * External CSS for Activities Catalog & Interactive Filter Grid
 */

:root {
  --primary-navy: #13223f;
  --primary-navy-hover: #0c172c;
  --accent-gold: #b4854b;
  --accent-gold-hover: #9c713b;
  --accent-pink: #f43f5e;
  --accent-pink-light: #fff1f2;
  --bg-cream: #faf7f2;
  --bg-soft: #f8fafc;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --border-light: #ede8df;
  --card-radius: 20px;
}

body.activities-page-body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* -------------------------------------------------------------
   Top Navigation Bar
------------------------------------------------------------- */
.spotlight-navbar {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.nav-brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0f172a;
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-brand-star {
  color: #f59e0b;
  font-size: 14px;
}

.nav-brand-tagline {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
  margin-top: 3px;
  display: block;
}

.nav-link-item {
  color: #475569;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 6px 14px;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link-item:hover {
  color: #0f172a;
}

.nav-link-item.active {
  color: #0f172a;
  font-weight: 700;
}

.nav-link-item.active::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 14px;
  right: 14px;
  height: 2.5px;
  background: #0f172a;
  border-radius: 2px;
}

.nav-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-icon-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.nav-cta-btn {
  background: var(--primary-navy);
  color: #ffffff !important;
  padding: 9px 22px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(19, 34, 63, 0.15);
  white-space: nowrap;
}

.nav-cta-btn:hover {
  background: var(--primary-navy-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(19, 34, 63, 0.25);
}

/* -------------------------------------------------------------
   Activities Hero Section
------------------------------------------------------------- */
.act-hero-section {
  position: relative;
  padding: 65px 0 50px;
  background: linear-gradient(180deg, #faf7f2 0%, #f5ede2 100%);
  overflow: hidden;
  text-align: center;
}

.act-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.55;
}

.act-hero-orb-1 {
  top: -60px;
  left: 12%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #fed7aa 0%, rgba(254, 215, 170, 0) 70%);
}

.act-hero-orb-2 {
  bottom: -50px;
  right: 15%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, #fbcfe8 0%, rgba(251, 207, 232, 0) 70%);
}

.act-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  margin-bottom: 16px;
}

.act-hero-title {
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.act-hero-title span {
  color: var(--accent-gold);
}

.act-hero-sub {
  font-size: 16px;
  color: #64748b;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* -------------------------------------------------------------
   Interactive Category Filter Bar
------------------------------------------------------------- */
.act-filter-wrapper {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  position: sticky;
  top: 68px;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}

.filter-btn-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.act-filter-btn {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #475569;
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.act-filter-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

.act-filter-btn.active {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
  box-shadow: 0 4px 14px rgba(19, 34, 63, 0.2);
}

/* -------------------------------------------------------------
   Activities Cards Grid
------------------------------------------------------------- */
.activities-grid-section {
  padding: 60px 0 80px;
  background: var(--bg-cream);
}

.program-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  border: 1.5px solid var(--border-light);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.program-img-wrap {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: #f1f5f9;
}

.program-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .program-img-wrap img {
  transform: scale(1.06);
}

.program-cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.badge-kids { background: rgba(244, 63, 94, 0.9); color: #ffffff; }
.badge-ladies { background: rgba(139, 92, 246, 0.9); color: #ffffff; }
.badge-seniors { background: rgba(16, 185, 129, 0.9); color: #ffffff; }
.badge-all { background: rgba(15, 23, 42, 0.85); color: #ffffff; }

/* Category specific badges */
.badge-dance { background: rgba(225, 29, 72, 0.9); color: #ffffff; }
.badge-arts { background: rgba(217, 119, 6, 0.9); color: #ffffff; }
.badge-karate { background: rgba(234, 88, 12, 0.9); color: #ffffff; }
.badge-chess { background: rgba(5, 150, 105, 0.9); color: #ffffff; }
.badge-gymnastics { background: rgba(2, 132, 199, 0.9); color: #ffffff; }
.badge-yoga { background: rgba(124, 58, 237, 0.9); color: #ffffff; }
.badge-zumba { background: rgba(236, 72, 153, 0.9); color: #ffffff; }
.badge-arabic { background: rgba(71, 85, 105, 0.9); color: #ffffff; }

/* Audience sub-filter pills */
.filter-audience-group {
  margin-top: 14px;
}

.audience-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.act-audience-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.act-audience-btn:hover {
  background: #edf2f7;
  color: #0f172a;
  border-color: #cbd5e1;
}

.act-audience-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.program-icon-badge {
  position: absolute;
  bottom: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.program-body {
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.3;
}

.program-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.program-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.program-age {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.program-cta-btn {
  background: var(--accent-gold);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.program-cta-btn:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(180, 133, 75, 0.3);
}

/* Filter Hide Animation */
.program-item-col {
  transition: all 0.3s ease;
}

.program-item-col.filter-hidden {
  display: none !important;
}

/* -------------------------------------------------------------
   Pre-Footer CTA Banner
------------------------------------------------------------- */
.act-cta-section {
  background: linear-gradient(135deg, #13223f 0%, #0c172c 100%);
  color: #ffffff;
  padding: 60px 0;
  position: relative;
}

.cta-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.cta-sub {
  font-size: 15.5px;
  color: #cbd5e1;
  max-width: 580px;
}

.cta-btn-gold {
  background: var(--accent-gold);
  color: #ffffff !important;
  font-weight: 800;
  padding: 13px 32px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  box-shadow: 0 6px 20px rgba(180, 133, 75, 0.35);
  transition: all 0.25s ease;
}

.cta-btn-gold:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(180, 133, 75, 0.45);
}

/* -------------------------------------------------------------
   Footer
------------------------------------------------------------- */
.spotlight-footer {
  background: #111827;
  color: #94a3b8;
  padding: 28px 0;
  border-top: 1px solid #1f2937;
}

.footer-brand {
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1;
}

.footer-tagline {
  font-size: 8.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  margin-top: 3px;
  display: block;
}

.footer-center-text {
  font-size: 12.5px;
  color: #9ca3af;
  font-weight: 500;
}

.footer-social-link {
  color: #9ca3af;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-social-link:hover {
  color: #ffffff;
}
