:root {
  --navy: #0A2540;
  --or-blue: #1E4A7A;
  --accent: #2E7D9A;
  --light-blue: #E8F4F8;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --black: #1A1A1A;
  --gray: #64748B;
  --light-gray: #E2E8F0;
  --success: #10B981;
  --pie-orange: #E07A3D;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black);
  background: var(--off-white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header & Nav */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
}

.logo-img {
  height: 56px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.25rem;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255,255,255,0.15);
}

.main-nav a.active {
  background: var(--accent);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--or-blue) 100%);
  color: var(--white);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 1.5rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: #256b85;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-donate {
  background: #C2410C;
  color: white;
}

.btn-donate:hover {
  background: #9A3412;
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.section {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

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

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid var(--light-gray);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.card h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.card p {
  color: var(--gray);
  font-size: 0.95rem;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

/* Mission */
.mission-box {
  background: var(--light-blue);
  border-left: 5px solid var(--accent);
  padding: 1.75rem;
  border-radius: 0 12px 12px 0;
  font-size: 1.1rem;
  color: var(--navy);
}

/* Board */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.board-member {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.board-member .name {
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
}

.board-member .role {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 0.25rem;
}

/* Calendar / Events */
.calendar-controls {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.calendar-controls select,
.calendar-controls input {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  font-size: 0.95rem;
  background: white;
}

.month-group {
  margin-bottom: 2rem;
}

.month-header {
  background: var(--navy);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 8px 8px 0 0;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.month-header.nov { background: #E07A3D; }
.month-header.dec { background: #2E7D32; }
.month-header.jan { background: #0288D1; }
.month-header.feb { background: #7B1FA2; }
.month-header.mar { background: #F9A825; color: #333; }
.month-header.apr { background: #EC407A; }
.month-header.may { background: #3949AB; }
.month-header.jun { background: #43A047; }

.event-list {
  background: white;
  border: 1px solid var(--light-gray);
  border-top: none;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.event-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--light-gray);
  align-items: start;
}

.event-item:last-child {
  border-bottom: none;
}

.event-item:hover {
  background: var(--light-blue);
}

.event-date {
  font-weight: 600;
  color: var(--or-blue);
  font-size: 0.95rem;
  white-space: nowrap;
}

.event-title {
  font-weight: 500;
  color: var(--black);
}

.event-time {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Initiatives */
.initiative-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.initiative-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.initiative-card .status {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.status-active {
  background: #D1FAE5;
  color: #065F46;
}

.status-upcoming {
  background: #DBEAFE;
  color: #1E40AF;
}

.status-closed {
  background: #FEE2E2;
  color: #991B1B;
}

/* Social links */
.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  text-decoration: none;
  font-size: 1.25rem;
  transition: background 0.2s, transform 0.15s;
}

.social-links a:hover {
  background: var(--accent);
  transform: scale(1.08);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: auto;
}

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

.footer-content h4 {
  color: white;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.footer-content a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.footer-content a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46,125,154,0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: var(--gray); }

.page-header {
  background: var(--navy);
  color: white;
  padding: 2rem 1.5rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.page-header p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
    padding: 0.5rem 0 1rem;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0.15rem;
  }

  .main-nav a {
    display: block;
    padding: 0.7rem 1rem;
  }

  .header-top {
    flex-wrap: wrap;
  }

  .event-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .logo-img {
    height: 44px;
  }
}

/* Calendar filter highlight */
.event-item.hidden {
  display: none;
}
