/* ===================================================================
   BayPA Website Stylesheet
   Brand Guide v3.1 (May 2026)
   =================================================================== */

:root {
  /* Colors from Brand Style Guide v3.1 */
  --logo-navy: #1D2A39;
  --deep-navy: #1B3A5F;
  --professional-blue: #2E5F8A;
  --bright-blue: #4A90E2;
  --sky-blue: #87CEEB;
  --orange: #F47C20;
  --orange-light: #F9A05A;
  --charcoal: #333333;
  --mid-gray: #666666;
  --light-gray: #E5E5E5;
  --off-white: #F8F9FA;
  --white: #FFFFFF;

  /* Typography */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', Arial, sans-serif;

  /* Spacing & shape */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 4px rgba(27, 58, 95, 0.08);
  --shadow-md: 0 4px 16px rgba(27, 58, 95, 0.12);
  --shadow-lg: 0 8px 32px rgba(27, 58, 95, 0.16);

  /* Layout */
  --max-width: 1200px;
  --content-width: 960px;
  --nav-height: 80px;
}

/* === RESET === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--professional-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--orange);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--deep-navy);
  line-height: 1.2;
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 20px;
}

h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
  color: var(--professional-blue);
  margin-bottom: 12px;
}

h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

p {
  margin-bottom: 16px;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
  display: block;
}

/* === NAVIGATION === */
.nav-bar {
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-logo-fallback {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--logo-navy);
  letter-spacing: -0.02em;
}

.nav-logo-fallback .accent {
  color: var(--orange);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--deep-navy);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--deep-navy);
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--deep-navy);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--orange);
  color: var(--white);
}

.btn-secondary:hover {
  background: #d96918;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

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

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

/* === HERO SECTION === */
.hero {
  background: var(--logo-navy);
  color: var(--white);
  padding: 100px 32px 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244, 124, 32, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-logo {
  margin-bottom: 32px;
  max-width: 720px;
}

.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero h1 {
  color: var(--white);
  max-width: 800px;
  margin-bottom: 20px;
}

.hero h1.hero-title-stacked {
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero-subheading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.8vw, 32px);
  color: var(--orange);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero h1 .accent {
  color: var(--orange);
}

.hero-tagline {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin-bottom: 36px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* === SECTIONS === */
section {
  padding: 80px 32px;
}

section.tinted {
  background: var(--off-white);
}

section.dark {
  background: var(--logo-navy);
  color: var(--white);
}

section.dark h2,
section.dark h3 {
  color: var(--white);
}

section.dark p {
  color: rgba(255, 255, 255, 0.85);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-header p {
  font-size: 18px;
  color: var(--mid-gray);
}

/* === STATS BAR === */
.stats-bar {
  background: var(--off-white);
  padding: 64px 32px;
}

.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  text-align: center;
}

.stat {
  padding: 36px 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--orange);
  transition: all 0.2s ease;
}

.stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--deep-navy);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 14px;
  color: var(--mid-gray);
  font-weight: 500;
}

.stat-label-large {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.stat-sublabel {
  font-size: 14px;
  color: var(--mid-gray);
  line-height: 1.5;
}

/* === CARDS === */
.card-grid {
  display: grid;
  gap: 28px;
}

.card-grid.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card-grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card-grid.cols-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--professional-blue);
  transition: all 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card.orange {
  border-top-color: var(--orange);
}

.card.navy {
  border-top-color: var(--logo-navy);
}

.card-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.card-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  color: var(--deep-navy);
  margin-bottom: 10px;
}

.card-body {
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.65;
}

.card-body a {
  font-weight: 600;
}

/* === PROGRAM CARDS === */
.program-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--professional-blue);
}

.program-card.signature::before {
  background: var(--logo-navy);
}

.program-card.rising::before {
  background: var(--orange);
}

.program-card.showcase::before {
  background: var(--professional-blue);
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.program-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--deep-navy);
  margin-bottom: 12px;
}

.program-subtitle {
  font-size: 14px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* === LEADERSHIP === */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 48px;
  margin-top: 40px;
}

.leader-card {
  text-align: center;
  background: var(--white);
  padding: 40px 36px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.leader-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--logo-navy);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  border: 4px solid var(--orange);
}

.leader-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--deep-navy);
  margin-bottom: 6px;
}

.leader-role {
  font-size: 13px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.leader-bio {
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.65;
  text-align: left;
  margin-bottom: 14px;
}

/* === EVENTS === */
.event-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  background: var(--white);
  padding: 28px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  border-left: 4px solid var(--orange);
}

.event-date {
  text-align: center;
  min-width: 80px;
}

.event-date .month {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}

.event-date .day {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--deep-navy);
  line-height: 1;
}

.event-info h3 {
  color: var(--deep-navy);
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-weight: 700;
}

.event-meta {
  font-size: 14px;
  color: var(--mid-gray);
  margin-bottom: 8px;
}

.event-meta .program-tag {
  display: inline-block;
  background: var(--off-white);
  color: var(--deep-navy);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 12px;
}

/* === CTA SECTION === */
.cta-band {
  background: var(--logo-navy);
  color: var(--white);
  padding: 80px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(244, 124, 32, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-band p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

/* === FOOTER === */
.site-footer {
  background: var(--logo-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 32px 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-tagline {
  color: var(--orange);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 16px;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom p {
  margin-bottom: 4px;
}

/* === FORMS === */
.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--deep-navy);
  margin-bottom: 6px;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--professional-blue);
  box-shadow: 0 0 0 3px rgba(46, 95, 138, 0.1);
}

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

/* === FAQ === */
.faq-item {
  border-bottom: 1px solid var(--light-gray);
  padding: 24px 0;
}

.faq-question {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--deep-navy);
  margin-bottom: 10px;
}

.faq-answer {
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.65;
}

/* === CALLOUT BOXES === */
.callout {
  background: var(--off-white);
  border-left: 4px solid var(--orange);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  font-size: 15px;
}

.callout.blue {
  border-left-color: var(--professional-blue);
}

.callout strong {
  color: var(--deep-navy);
}

/* === LISTS === */
.value-list {
  list-style: none;
  margin-top: 16px;
}

.value-list li {
  padding: 12px 0 12px 32px;
  position: relative;
  font-size: 16px;
}

.value-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 16px;
  height: 2px;
  background: var(--orange);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  section {
    padding: 60px 24px;
  }

  .hero {
    padding: 70px 24px 90px;
  }

  .nav-inner {
    padding: 0 24px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--light-gray);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .event-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }

  .event-card .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}
