:root {
  --blue: #0b3f78;
  --yellow: #f5c400;
  --bg: #0a2f5a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: #fff;
}

/* ---------- BACKGROUND ---------- */
.bg-svg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.bg-svg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/background.png") center / cover no-repeat;
  opacity: 0.08; /* adjust transparency here */
}


/* ---------- HEADER ---------- */
header {
  padding: 24px 16px;
  max-width: 1200px;
  margin: auto;
}

header img {
  height: 100px;
  max-width: 100%;
}

@media (max-width: 600px) {
  header img {
    height: 80px;
  }
}

h1 {
  font-size: 2rem;
  margin: 24px 0 8px;
}

.subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ---------- MAIN ---------- */
main {
  max-width: 1200px;
  margin: auto;
  padding: 24px 16px 80px;
}

/* ---------- TEAM ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 20px;
}

.person {
  cursor: pointer;
  text-align: center;
}

.person img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.person-name {
  margin-top: 8px;
  font-size: 0.9rem;
}

/* ---------- GOALS ---------- */
.goals {
  margin-top: 60px;
  max-width: 800px;
}

.goals h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--yellow);
}

.goals li {
  margin-bottom: 8px;
}

/* ---------- MODAL ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.active { display: flex; }

.modal-content {
  background: #fff;
  color: #000;
  max-width: 500px;
  width: 90%;
  border-radius: 8px;
  padding: 20px;
  position: relative;
}
.modal-content img {
  width: 100%;
  max-width: 260px;     /* controls perceived size */
  height: auto;
  display: block;
  margin: 0 auto 16px; /* center + spacing */
  border-radius: 6px;
}

/* ---------- FOOTER ---------- */
.site-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ---------- PRINT ---------- */
@media print {
  body { background: #fff; color: #000; }
  .bg-svg, footer, .modal { display: none !important; }
}
