/* Pack 3462 — BSA Color Palette */
:root {
  --navy: #003f87;
  --gold: #ffc82e;
  --gold-dark: #e0a800;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray: #666666;
  --text: #1a1a1a;
  --font: system-ui, -apple-system, sans-serif;
  --radius: 6px;
  --shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header / Nav */
header {
  background: var(--navy);
  color: var(--white);
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.01em;
}

.site-title span {
  color: var(--white);
  font-weight: 400;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

nav a:hover,
nav a.active {
  border-bottom-color: var(--gold);
  text-decoration: none;
  color: var(--gold);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 60%, #005bb5);
  color: var(--white);
  text-align: center;
  padding: 5rem 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

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

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  margin-left: 0.75rem;
}

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

/* Sections */
.section {
  padding: 4rem 1.5rem;
}

.section-alt { background: var(--gray-light); }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--gray);
  margin-bottom: 2.5rem;
}

.section-title-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.title-accent {
  width: 40px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
}

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}

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

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

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

/* Events list */
.events-list { display: flex; flex-direction: column; gap: 1rem; }

.event-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.event-date {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  text-align: center;
  min-width: 56px;
  flex-shrink: 0;
}

.event-date .month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.event-date .day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.event-info h3 { font-size: 1rem; color: var(--navy); margin-bottom: 0.25rem; }
.event-info p { font-size: 0.9rem; color: var(--gray); }

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

form { display: flex; flex-direction: column; gap: 1rem; }

label { font-weight: 600; font-size: 0.9rem; color: var(--text); }

input, textarea, select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #ccc;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color 0.2s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--navy);
}

textarea { min-height: 130px; resize: vertical; }

/* Leadership grid */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.leader-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.leader-avatar {
  width: 72px;
  height: 72px;
  background: var(--navy);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.75rem;
  font-weight: 700;
}

.leader-card h3 { color: var(--navy); font-size: 1rem; margin-bottom: 0.25rem; }
.leader-card .role { color: var(--gold-dark); font-size: 0.85rem; font-weight: 600; }
.leader-card .email { color: var(--gray); font-size: 0.85rem; margin-top: 0.5rem; }

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
}

.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; }
.page-hero p { opacity: 0.85; margin-top: 0.5rem; }

/* Footer */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.875rem;
}

footer a { color: var(--gold); }
footer strong { color: var(--white); }

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

  nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  nav.open { max-height: 300px; padding: 1rem 0; }

  nav ul { flex-direction: column; gap: 0; }
  nav a { display: block; padding: 0.75rem 1.5rem; border-bottom: none; }
  nav a:hover, nav a.active { background: rgba(255,255,255,0.1); color: var(--gold); }

  header { position: relative; }

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

  .hero { padding: 3rem 1.5rem; }

  .btn-outline { margin-left: 0; margin-top: 0.75rem; }
}
