/* ═══════════════════════════════════════════════════
   TOKEN SYSTEM & DESIGN VARIABLES
═══════════════════════════════════════════════════ */
:root {
  --navy:       #01236a;
  --navy-deep:  #010f2e;
  --navy-mid:   #0d3885;
  --cobalt:     #1A5EB8;
  --cobalt-lt:  #3575d4;
  --gold:       #C9922A;
  --gold-lt:    #E8B84B;
  --gold-pale:  #FBF4E8;
  --amber:      #f5a623;
  --cream:      #FAF8F4;
  --white:      #FFFFFF;
  --ink:        #0D0E1A;
  --ink-mid:    #3B3C50;
  --ink-soft:   #6B6C80;
  --rule:       rgba(201,146,42,0.18);
  --rule-hard:  #E2DDD5;

  --ff-display: 'DM Sans', system-ui, sans-serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;
  --ff-mono:    'DM Mono', monospace;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --shadow-sm:  0 2px 10px rgba(1,35,106,.06);
  --shadow-md:  0 8px 30px rgba(1,35,106,.09);
  --shadow-lg:  0 18px 50px rgba(1,35,106,.14);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.75;
  overflow-x: hidden;
}

/* [Navbar CSS moved to navbar.css] */
.hero-banner {
  width: 100%;
  overflow: hidden;
}
.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.page-masthead {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 60%, var(--cobalt) 100%);
  padding: 55px 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,.18) 0%, transparent 70%);
  pointer-events: none;
}
.page-masthead-inner {
  max-width: 1080px;
  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: 14px;
  padding: 6px 18px;
  border: 1px solid rgba(201,146,42,.4);
  border-radius: 30px;
  background: rgba(201,146,42,.12);
}
.page-masthead h1 {
  font-family: var(--ff-body);
  font-size: clamp(38px, 5.2vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: .02em;
}
.page-masthead p {
  font-size: 17.5px;
  color: rgba(255,255,255,.85);
  max-width: 820px;
  margin: 0 auto 28px;
  line-height: 1.8;
}

/* ═══════════════════════════════════════════════════
   OVERVIEW METRICS STRIP
═══════════════════════════════════════════════════ */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1160px;
  margin: -32px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}
.metric-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(1,35,106,.10);
  border: 1px solid rgba(201,146,42,.22);
  transition: transform .25s ease, box-shadow .25s ease;
}
.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(1,35,106,.15);
}
.metric-icon {
  font-size: 26px;
  margin-bottom: 6px;
}
.metric-title {
  font-family: var(--ff-body);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.2;
}
.metric-sub {
  font-size: 12px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

@media (max-width: 900px) {
  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -20px;
  }
}
@media (max-width: 540px) {
  .metrics-strip {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
}

/* ═══════════════════════════════════════════════════
   SHELL & SECTION HEADERS
═══════════════════════════════════════════════════ */
.shell {
  max-width: 1240px;
  margin: 50px auto 40px;
  padding: 0 24px 80px;
}

.section-head {
  display: flex;
  align-items: center;
  margin: 55px 0 35px;
}
.section-head-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201,146,42,0.45), transparent);
}
.section-head-label {
  padding: 9px 26px;
  font-family: var(--ff-body);
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .08em;
  background: #fff;
  border: 1.5px solid var(--gold);
  border-radius: 40px;
  margin: 0 16px;
  box-shadow: 0 4px 18px rgba(201,146,42,.12);
  text-align: center;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════
   PREMIUM OCV FEATURE CARD
═══════════════════════════════════════════════════ */
.ocv-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 14px 45px rgba(1,35,106,.09);
  border: 1px solid rgba(201,146,42,.25);
  margin-bottom: 50px;
  overflow: hidden;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ocv-card:hover {
  box-shadow: 0 18px 55px rgba(1,35,106,.13);
}

/* Card Top Header */
.card-top {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 60%, var(--cobalt) 100%);
  padding: 32px 40px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 4px solid var(--gold);
  position: relative;
}
.card-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 20%, rgba(201,146,42,.22) 0%, transparent 60%);
  pointer-events: none;
}
.card-club-meta {
  flex: 1;
  min-width: 280px;
  position: relative;
  z-index: 2;
}
.badge-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--gold) 0%, #b38420 100%);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(201,146,42,.35);
}
.card-club-name {
  font-family: var(--ff-body);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: .01em;
}
.card-project-title {
  font-size: 19px;
  color: var(--gold-lt);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Quick Info Pills on Top */
.card-info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.info-pill {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13.5px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.info-pill strong {
  color: var(--gold-lt);
}

/* Card Body */
.card-body {
  padding: 40px;
}
.card-lead {
  font-size: 17px;
  line-height: 1.9;
  color: #2e3040;
  margin-bottom: 24px;
  text-align: justify;
}

/* Highlights Grid */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 32px 0;
}
.highlight-item {
  background: linear-gradient(135deg, #fdfcf9 0%, #f7f9fd 100%);
  border: 1px solid #e7ecf5;
  border-left: 5px solid var(--gold);
  padding: 20px 22px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(1,35,106,.04);
  transition: transform .2s ease;
}
.highlight-item:hover {
  transform: translateY(-2px);
}
.highlight-item h5 {
  font-family: var(--ff-body);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.highlight-item p {
  font-size: 14.5px;
  color: #55586d;
  line-height: 1.65;
}

/* Quote Box */
.quote-highlight {
  border-left: 5px solid var(--gold);
  background: linear-gradient(135deg, #fffdf9 0%, #fdf8ee 100%);
  padding: 24px 30px;
  border-radius: 0 16px 16px 0;
  margin: 32px 0;
  box-shadow: 0 6px 20px rgba(201,146,42,.08);
  border-top: 1px solid rgba(201,146,42,.15);
  border-bottom: 1px solid rgba(201,146,42,.15);
  border-right: 1px solid rgba(201,146,42,.15);
}
.quote-highlight p {
  font-family: var(--ff-body);
  font-size: 21px;
  font-style: italic;
  color: var(--navy-deep);
  line-height: 1.6;
  margin-bottom: 8px;
}
.quote-author {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Details Table Card */
.details-summary {
  background: #fbfcfe;
  border: 1px solid #e1e7f2;
  border-radius: 16px;
  padding: 24px 28px;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.detail-box {
  display: flex;
  flex-direction: column;
}
.detail-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-soft);
  font-weight: 700;
  margin-bottom: 4px;
}
.detail-value {
  font-family: var(--ff-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

/* Photo Gallery Grid */
.photo-gallery {
  margin-top: 40px;
  border-top: 1px solid #ede8df;
  padding-top: 30px;
}
.photo-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.photo-gallery h4 {
  font-family: var(--ff-body);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.gallery-count-badge {
  font-family: var(--ff-mono);
  font-size: 12px;
  padding: 4px 12px;
  background: var(--gold-pale);
  color: var(--gold);
  border: 1px solid rgba(201,146,42,.3);
  border-radius: 20px;
  font-weight: 700;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 860px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(201,146,42,.22);
  box-shadow: 0 8px 24px rgba(1,35,106,.06);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(1,35,106,.13);
}
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease;
  cursor: zoom-in;
}
.gallery-card:hover .gallery-item img {
  transform: scale(1.05);
}
.gallery-item::after {
  content: '🔍 Click to Enlarge';
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(1,35,106,.82);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
  backdrop-filter: blur(4px);
}
.gallery-card:hover .gallery-item::after {
  opacity: 1;
}
.gallery-caption {
  padding: 16px 18px;
  background: #fdfcf9;
  border-top: 1px solid #f0ede6;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gallery-caption h6 {
  font-family: var(--ff-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.gallery-caption p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* ═══════════════════════════════════════════════════
   DISTRICT OCV CALENDAR & RESOURCES CARD
═══════════════════════════════════════════════════ */
.calendar-cta-card {
  background: linear-gradient(145deg, #ffffff 0%, #fbf9f4 100%);
  border: 1px solid rgba(201,146,42,.3);
  border-radius: 22px;
  padding: 40px;
  box-shadow: 0 14px 40px rgba(1,35,106,.07);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .calendar-cta-card {
    grid-template-columns: 1fr;
    padding: 30px;
  }
}
.calendar-cta-info h3 {
  font-family: var(--ff-body);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.calendar-cta-info p {
  font-size: 16px;
  color: #44475b;
  line-height: 1.8;
  margin-bottom: 22px;
}
.checklist-list {
  list-style: none;
  margin-bottom: 24px;
}
.checklist-list li {
  font-size: 15px;
  color: var(--ink-mid);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.checklist-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--gold-pale);
  color: var(--gold);
  border-radius: 50%;
  font-weight: bold;
  font-size: 13px;
  border: 1px solid rgba(201,146,42,.3);
  flex-shrink: 0;
}

.calendar-action-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--cobalt) 100%);
  border-radius: 18px;
  padding: 32px;
  text-align: center;
  color: #fff;
  box-shadow: 0 12px 30px rgba(1,35,106,.15);
}
.calendar-action-box h4 {
  font-family: var(--ff-body);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}
.calendar-action-box p {
  font-size: 14.5px;
  color: rgba(255,255,255,.8);
  margin-bottom: 22px;
  line-height: 1.6;
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, #b38420 100%);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 50px;
  transition: all .25s ease;
  box-shadow: 0 8px 24px rgba(201,146,42,.35);
  border: 1px solid rgba(255,255,255,.2);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #d9a834 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201,146,42,.45);
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.footer {
  background: var(--navy-deep);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  font-size: 13.5px;
  line-height: 1.8;
  border-top: 3px solid var(--gold);
}
.footer strong { color: #fff; }
.footer em { color: var(--gold-lt); font-style: normal; }

/* ═══════════════════════════════════════════════════
   LIGHTBOX MODAL
═══════════════════════════════════════════════════ */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 99999;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 30px;
  cursor: zoom-out;
}
#lightbox.active {
  display: flex;
}
#lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  border: 2px solid rgba(201,146,42,.4);
  animation: zoomFade .25s ease-out;
}
@keyframes zoomFade {
  from { opacity: 0; transform: scale(.92); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
  .card-top { padding: 24px 20px; }
  .card-body { padding: 24px 20px; }
  .page-masthead { padding: 40px 18px; }
  .section-head-label { font-size: 9px; padding: 16px 18px; }
}
/* ═══════════════════════════════════════════════════
   OCV MONTHLY TABS SYSTEM
═══════════════════════════════════════════════════ */
.ocv-tabs-container {
  max-width: 1160px;
  margin: 45px auto 25px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ocv-tabs-nav {
  display: inline-flex;
  gap: 10px;
  background: #ffffff;
  padding: 8px;
  border-radius: 50px;
  border: 1px solid rgba(201, 146, 42, 0.3);
  box-shadow: 0 10px 30px rgba(1, 35, 106, 0.08);
  flex-wrap: wrap;
  justify-content: center;
}
.ocv-tab-btn {
  padding: 12px 26px;
  border-radius: 40px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--navy);
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
  text-decoration: none;
  user-select: none;
}
.ocv-tab-btn:hover {
  background: var(--gold-pale);
  color: var(--navy-mid);
}
.ocv-tab-btn.active {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #ffffff !important;
  border-color: rgba(201, 146, 42, 0.5);
  box-shadow: 0 6px 20px rgba(1, 35, 106, 0.25);
}
.ocv-tab-btn .badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  padding: 2px 10px;
  border-radius: 12px;
  background: rgba(201, 146, 42, 0.15);
  color: var(--gold);
  font-weight: 800;
}
.ocv-tab-btn.active .badge-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
}
.ocv-card[data-month] {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.ocv-card.hidden {
  display: none !important;
}
