/* [Navbar CSS moved to navbar.css] */
/* ===================================================
   PAGE DESIGN SYSTEM & TOKENS
=================================================== */
:root {
  --navy-deep: #011b52;
  --navy: #01236a;
  --navy-mid: #0a358c;
  --cobalt: #1a56c4;
  --cobalt-lt: #2d6ee8;
  --gold-deep: #9a6c12;
  --gold: #c9922a;
  --gold-mid: #dfaa3e;
  --gold-lt: #f3cb6d;
  --gold-pale: #faf4e8;
  --cream: #fbf9f4;
  --ink: #181d27;
  --ink-mid: #414a5c;
  --ink-soft: #727c8e;
  --rule-soft: #e8ecf2;
  --rule-hard: #d0d7e3;
  --ff-display: 'DM Sans', system-ui, sans-serif;
  --ff-body: 'DM Sans', system-ui, sans-serif;
  --ff-mono: 'DM Mono', monospace;
  --shadow-sm: 0 2px 8px rgba(1,35,106,.06);
  --shadow-md: 0 8px 24px rgba(1,35,106,.10);
  --shadow-lg: 0 16px 48px rgba(1,35,106,.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--ff-body);
  background: #f4f6fa;
  color: var(--ink);
  line-height: 1.6;
}

/* Page Masthead */
.page-masthead {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 60%, var(--cobalt) 100%);
  padding: 50px 24px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-masthead::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at center, rgba(201,146,42,.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-masthead-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-tagline {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-lt);
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 16px;
  border: 1px solid rgba(201,146,42,.35);
  border-radius: 30px;
  background: rgba(201,146,42,.1);
}
.page-masthead h1 {
  font-family: var(--ff-body);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 14px;
}
.page-masthead p {
  font-size: 17px;
  color: rgba(255,255,255,.88);
  max-width: 800px;
  margin: 0 auto;
}

/* Quick Filter Bar */
.filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--rule-hard);
  position: sticky;
  top: 70px;
  z-index: 900;
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
  padding: 12px 20px;
}
.filter-container {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.filter-container::-webkit-scrollbar { display: none; }
.filter-chip {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 30px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  color: #444;
  text-decoration: none;
  cursor: pointer;
  transition: .25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.filter-chip:hover,
.filter-chip.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* Content Container Shell */
.shell {
  max-width: 1240px;
  margin: 40px auto;
  padding: 0 24px 80px;
}

/* Section Dividers */
.section-head {
  display: flex;
  align-items: center;
  margin: 60px 0 35px;
}
.section-head-line {
  flex: 1;
  height: 2px;
  background: var(--rule-hard);
}
.section-head-label {
  padding: 8px 24px;
  font-family: var(--ff-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .08em;
  background: var(--cream);
  border: 2px solid var(--gold);
  border-radius: 40px;
  margin: 0 18px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

/* Project Cards */
.project-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(1,35,106,.07);
  border: 1px solid rgba(1,35,106,.08);
  margin-bottom: 50px;
  overflow: hidden;
  transition: box-shadow .3s, transform .2s;
}
.project-card:hover {
  box-shadow: 0 14px 40px rgba(1,35,106,.12);
}

/* Card Header */
.card-top {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  padding: 26px 36px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}
.card-club-meta {
  flex: 1;
}
.badge-category {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.card-club-name {
  font-family: var(--ff-body);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
}
.card-project-title {
  font-size: 19px;
  color: var(--gold-lt);
  font-weight: 600;
}
.card-event-pill {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: #fff;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Card Body */
.card-body {
  padding: 36px;
}
.card-body p {
  font-size: 16px;
  line-height: 1.85;
  color: #333;
  margin-bottom: 18px;
  text-align: justify;
}

/* Blockquote */
.quote-highlight {
  border-left: 4px solid var(--gold);
  background: var(--gold-pale);
  padding: 18px 24px;
  border-radius: 0 12px 12px 0;
  margin: 25px 0;
  font-family: var(--ff-body);
  font-size: 18px;
  font-style: italic;
  color: var(--navy-deep);
  line-height: 1.6;
}

/* Highlight Grid */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.highlight-item, .resource-box {
  background: #f8f9fc;
  border: 1px solid #e7ecf5;
  border-left: 4px solid var(--cobalt);
  padding: 18px 22px;
  border-radius: 10px;
}
.highlight-item h5, .resource-box h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.highlight-item ul, .resource-box ul {
  padding-left: 18px;
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}
.highlight-item li, .resource-box li {
  margin-bottom: 6px;
}

/* Stat Bar */
.stat-strip {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  background: #f4f7fc;
  border: 1px solid #dde5f5;
  border-radius: 12px;
  padding: 18px 24px;
  margin: 25px 0;
}
.stat-box {
  flex: 1;
  min-width: 180px;
  text-align: center;
  border-right: 1px solid #dce4f2;
}
.stat-box:last-child { border-right: none; }
.stat-num {
  font-family: var(--ff-body);
  font-size: 30px;
  font-weight: 700;
  color: var(--navy-mid);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-lbl {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #666;
  font-weight: 600;
}

/* Leaders / Speakers Bar */
.leaders-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 22px 0;
}
.leader-card {
  background: var(--gold-pale);
  border-radius: 10px;
  padding: 16px 18px;
  border-top: 3px solid var(--gold);
}
.leader-role {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 6px;
}
.leader-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.leader-desc {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Photo Gallery Grid */
.photo-gallery {
  margin-top: 35px;
  border-top: 1px solid #f0ede8;
  padding-top: 25px;
}
.photo-gallery h4 {
  font-family: var(--ff-body);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.photo-gallery h4::after {
  content: "";
  height: 2px;
  background: var(--gold);
  flex: 1;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  display: block;
  aspect-ratio: 4/3;
  box-shadow: 0 6px 16px rgba(0,0,0,.09);
  transition: transform .25s, box-shadow .25s;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s;
}
.gallery-item:hover img {
  transform: scale(1.04);
}
.gallery-item::after {
  content: '🔍 Zoom';
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Lightbox Modal */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
#lightbox.active {
  display: flex;
}
#lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute;
  top: 25px;
  right: 25px;
  color: #fff;
  font-size: 35px;
  cursor: pointer;
  background: rgba(255,255,255,.15);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  border: none;
}
.lightbox-close:hover {
  background: rgba(255,255,255,.3);
}

@media (max-width: 768px) {
  .card-body { padding: 22px; }
  .card-top { padding: 20px; }
  .card-club-name { font-size: 22px; }
  .card-project-title { font-size: 16px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .filter-bar { top: 60px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .stat-box { border-right: none; border-bottom: 1px solid #dce4f2; padding-bottom: 12px; }
}