:root {
  --bg: #0a0a0a;          /* primary background fallback */
  --surface: #141414;     /* cards / nav */
  --surface-2: #1b1b1b;   /* hover / secondary */
  --border: #262626;
  --text: #ffffff;
  --muted: #b5b5b5;
}

/* ---------- Base Reset ---------- */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* GLOBAL BACKGROUND IMAGE (Option B) */
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.75), rgba(0,0,0,0.90)),
    url("bg.jpg");
  background-size: cover;
  background-position: center;
}

/* Improve readability on very wide screens */
body { min-height: 100vh; }

a { color: var(--text); text-decoration: none; }
a:hover { opacity: 0.9; }

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

/* ---------- Topbar / Header ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  /* translucent dark over background image */
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid var(--border);
}

/* Center logo + titles */
.brand {
  padding: 16px 16px 10px;
  text-align: center;
}

.site-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  margin: 0 auto 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
}

.brand .title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.brand .subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Center the mobile menu button */
.navwrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 16px 12px;
}

.menu-btn {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
}

/* ---------- Navigation ---------- */
.nav {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  padding: 12px 16px 16px;
  border-top: 1px solid var(--border);
}

.nav.open { display: flex; }

/* Mobile: full-width centered buttons */
.nav a {
  width: 100%;
  max-width: 520px;
  text-align: center;

  padding: 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 800;
}

.nav a:hover {
  background: var(--surface-2);
}

/* Desktop: centered horizontal nav */
@media (min-width: 860px) {
  .menu-btn { display: none; }

  .nav {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    gap: 12px;
    padding: 0 16px 12px;
    border-top: none;
  }

  .nav a {
    width: auto;
    max-width: none;
    padding: 10px 14px;
  }
}

/* ---------- Cards / Sections ---------- */
.card {
  background: rgba(20, 20, 20, 0.92); /* slight transparency so background image feels present */
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.section-title {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 10px;
}

/* Simple horizontal rule style used across pages */
.sep {
  border: none;
  border-top: 1px solid var(--border);
  margin: 14px 0;
}

/* Key/Value blocks used for policies and info */
.kv b { font-size: 14px; }
.kv span { color: var(--muted); font-size: 14px; }

/* ---------- Layout Utilities ---------- */
.grid {
  display: grid;
  gap: 14px;
}

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

@media (min-width: 860px) {
  .grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Hero (Optional Section Class) ---------- */
.hero-bg {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);

  background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.85)),
              url("hero.jpg");
  background-size: cover;
  background-position: center;

  padding: 28px 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 900;
  background: #ffffff;
  color: #000000;
}

.btn.secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}

/* ---------- Media ---------- */
.media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.media img {
  width: 100%;
  display: block;
}

/* ---------- Iframes (Google Forms / Calendar) ---------- */
iframe {
  width: 100%;
  border: none;
  border-radius: 16px;
  background: #000;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 28px;
  padding: 20px 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  text-align: center;

  background: rgba(10, 10, 10, 0.85);
}
