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

body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  color: #003366;
  background-color: #f8f9fb;
  line-height: 1.5;
}

/* ---------- Navigation ---------- */
nav {
  background: #002244;
  text-align: center;
  padding: 12px;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

nav a:hover { color: #cc0000; }

/* ---------- Footer ---------- */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 25px;
  margin-top: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 24px;
  margin: 10px;
  background: #003366;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.btn.red { background: #cc0000; }
.btn:hover { opacity: 0.9; }

/* ---------- Hero (Home only) ---------- */
.hero {
  position: relative;
  background: #003366;
  color: white;
  text-align: center;
  padding: 140px 20px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 500px; height: 500px;
  background: url('logo.png') no-repeat center;
  background-size: contain;
  opacity: 0.08;
  transform: translate(-50%, -50%);
}

.hero * { position: relative; z-index: 1; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in { opacity: 0; animation: fadeIn 1.2s ease forwards; }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

/* ---------- Page Title (inner pages, no hero) ---------- */
.page-title {
  text-align: center;
  padding: 60px 20px 20px;
}

.page-title h1 {
  margin-bottom: 12px;
}

/* ---------- Sections ---------- */
section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

section h2 { margin-bottom: 20px; }

section p {
  max-width: 700px;
  margin: 0 auto 16px;
}

/* ---------- Card grid (Home objectives) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card h3 { margin-bottom: 10px; }

/* ---------- Two-column layout ---------- */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
  gap: 0;
  position: relative;
}

.two-column .column:first-child {
  border-right: 2px solid #cc0000;
}

.two-column section {
  padding: 40px 30px;
  max-width: none;
}

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
  }

  .two-column .column:first-child {
    border-right: none;
    border-bottom: 2px solid #cc0000;
  }
}
/* ---------- Section Divider ---------- */
.section-divider {
  border: none;
  border-top: 2px solid #cc0000;
  max-width: 1000px;
  margin: 20px auto;
}


/* ---------- Board CTA (Home) ---------- */
.board-cta {
  background: #002244;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.board-cta h2 { color: white; margin-bottom: 14px; }
.board-cta p { max-width: 600px; margin: 0 auto 28px; opacity: 0.85; line-height: 1.6; }
.board-cta .btn { background: #cc0000; }

/* ---------- Board page cards ---------- */
.board-container {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

.board-container h1 {
  text-align: center;
  margin-bottom: 40px;
}

.board-card {
  display: flex;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 25px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.board-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-left: 6px solid #cc0000;
}

.board-info {
  padding: 20px;
  flex: 1;
  text-align: left;
}

.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.board-header h3 {
  margin: 0;
  color: #0b3d91;
}

.tag {
  background: #e6eef9;
  color: #0b3d91;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.role {
  margin: 5px 0 15px;
  color: #666;
}

.board-section {
  margin-bottom: 15px;
}

.board-section h4 {
  font-size: 12px;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 5px;
}

.now-badge {
  display: inline-block;
  background: #d7e8c5;
  color: #3c6e1f;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.board-info p {
  margin: 0;
  line-height: 1.5;
  max-width: none;
}

@media (max-width: 768px) {
  .board-card {
    flex-direction: column;
  }

  .board-card img {
    width: 100%;
    height: auto;
    border-left: none;
    border-bottom: 6px solid #cc0000;
  }
}

/* ---------- Events page ---------- */
.events-grid {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.event-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.event-graphic {
  width: 100%;
  aspect-ratio: 600 / 280;
  background: #003366;
  display: block;
}

.event-graphic svg {
  width: 100%;
  height: 100%;
  display: block;
}

.event-details {
  padding: 25px 30px 30px;
  text-align: left;
}

.event-tag {
  display: inline-block;
  background: #cc0000;
  color: #fff;
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 5px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 12px;
}

.event-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #003366;
}

.event-meta {
  margin-bottom: 14px;
  color: #333;
  line-height: 1.7;
  font-size: 15px;
}

.event-card p {
  color: #444;
  line-height: 1.6;
  margin-bottom: 10px;
  max-width: none;
}

.event-status {
  font-style: italic;
  color: #888;
  font-size: 14px;
}

@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Poll ---------- */
.poll-section {
  max-width: 800px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 50px 40px;
  margin: 20px auto 60px;
}

.poll {
  margin-top: 30px;
  text-align: left;
}

.poll-option {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 8px 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.poll-option:last-child {
  border-bottom: none;
}

.poll-label {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #003366;
  font-size: 15px;
}

.poll-count {
  color: #888;
  font-size: 13px;
  font-weight: normal;
}

.poll-bar {
  grid-column: 1;
  grid-row: 2;
  height: 8px;
  background: #eef1f6;
  border-radius: 5px;
  overflow: hidden;
}

.poll-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #003366, #cc0000);
  border-radius: 5px;
  transition: width 0.6s ease;
}

.poll-vote-btn {
  grid-column: 2;
  grid-row: 1 / span 2;
  background: #003366;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  align-self: center;
  transition: background 0.2s;
}

.poll-vote-btn:hover:not(:disabled) {
  background: #cc0000;
}

.poll-vote-btn:disabled {
  background: #ccc;
  cursor: default;
}

.poll-note {
  margin-top: 25px;
  font-size: 14px;
  color: #666;
  text-align: center;
}
/* ---------- Featured Launch Event (Brunch) ---------- */
.brunch-launch {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.brunch-flyer {
  position: relative;
}

.brunch-flyer img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.brunch-badge {
  position: absolute;
  top: -12px;
  left: -12px;
  background: #cc0000;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 2;
}

.brunch-text {
  text-align: left;
}

.brunch-text .eyebrow {
  color: #cc0000;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.brunch-text h2 {
  color: #003366;
  font-size: 36px;
  margin-bottom: 8px;
  line-height: 1.1;
}

.brunch-text .tagline {
  color: #cc0000;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 22px;
  font-size: 17px;
}

.brunch-text p {
  line-height: 1.7;
  margin-bottom: 14px;
  color: #333;
  max-width: none;
}

.brunch-text p strong {
  color: #003366;
}

.brunch-free {
  display: inline-block;
  background: #003366;
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  margin-top: 12px;
  font-weight: 600;
  font-size: 15px;
}

.brunch-free span {
  color: #FFD200;
  font-weight: 800;
  letter-spacing: 1px;
}

@media (max-width: 800px) {
  .brunch-launch {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .brunch-text { text-align: center; }
  .brunch-text h2 { font-size: 28px; }
  .brunch-flyer { max-width: 420px; margin: 0 auto; }
}
