/* ============================================================
   Empowered Teen — shared stylesheet
   Brand palette sampled from the organisation's own logo & flyers
   ============================================================ */

:root {
  --navy: #1E1868;
  --navy-deep: #0B0F3D;
  --teal: #0FA39A;
  --teal-dark: #0C7F78;
  --orange: #F0603C;
  --orange-dark: #D6472A;
  --purple: #7C2AA0;
  --yellow: #FFC93C;
  --red: #E2333F;

  --cream: #FAF8FB;
  --white: #FFFFFF;
  --ink: #1A1A2E;
  --ink-soft: #565672;
  --border: #E6E1EF;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(27, 20, 90, 0.10);
  --shadow-sm: 0 4px 14px rgba(27, 20, 90, 0.08);
  --container: 1140px;

  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.2; font-weight: 800; }
p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy p { color: #C8C6E8; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section--navy .eyebrow { color: var(--yellow); }

h2 { font-size: clamp(28px, 4vw, 38px); color: var(--navy); }
h3 { font-size: 22px; color: var(--navy); }
.lede { font-size: 18px; max-width: 680px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-teal { background: var(--teal); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-teal:hover { background: var(--teal-dark); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 17px; }
.brand img { height: 44px; width: 44px; border-radius: 10px; object-fit: cover; }
.brand span small { display: block; font-weight: 500; font-size: 11px; color: var(--ink-soft); letter-spacing: 0.06em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-weight: 600; font-size: 15px; color: var(--ink);
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal-dark); border-color: var(--teal); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2A1F86 55%, var(--purple) 130%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(420px 420px at 88% 12%, rgba(240,96,60,0.35), transparent 60%),
    radial-gradient(360px 360px at 8% 92%, rgba(15,163,154,0.30), transparent 60%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  padding: 84px 24px 70px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.hero h1 { font-size: clamp(32px, 5vw, 50px); color: var(--white); }
.hero p.lede { color: #DAD8F4; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
  margin-bottom: 20px; color: var(--yellow);
}
.hero-media {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
  border: 4px solid rgba(255,255,255,0.15);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

.page-hero {
  background: linear-gradient(120deg, var(--navy), var(--purple));
  color: var(--white);
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4.5vw, 44px); }
.page-hero p { color: #DAD8F4; max-width: 640px; margin: 0 auto; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--white);
}
.icon-teal { background: var(--teal); }
.icon-orange { background: var(--orange); }
.icon-purple { background: var(--purple); }
.icon-navy { background: var(--navy); }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-block; padding: 9px 16px; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--border);
  font-size: 14px; font-weight: 700; color: var(--navy);
}
.badge.on-navy { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.25); color: var(--white); }

.stat-row { display: flex; flex-wrap: wrap; gap: 16px; }
.stat-pill {
  flex: 1 1 200px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.stat-pill .label { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-bottom: 6px; }
.stat-pill .value { font-size: 19px; font-weight: 800; color: var(--navy); }

/* ---------- Convention banner (home) ---------- */
.convo-banner {
  background: linear-gradient(120deg, var(--orange) 0%, var(--purple) 100%);
  border-radius: 24px;
  color: var(--white);
  padding: 44px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
  box-shadow: var(--shadow);
}
.convo-banner h3 { color: var(--white); font-size: 26px; }
.convo-banner .btn-outline { border-color: rgba(255,255,255,0.7); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; text-align: center; box-shadow: var(--shadow-sm);
}
.team-card .avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800; font-size: 22px;
}
.team-card .role { font-size: 13px; color: var(--ink-soft); }
.team-card .name { font-weight: 700; color: var(--navy); margin-bottom: 2px; }

/* ---------- Schedule table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
table.schedule { border-collapse: collapse; width: 100%; min-width: 900px; background: var(--white); }
table.schedule th, table.schedule td {
  border: 1px solid var(--border); padding: 12px 14px; font-size: 13.5px; vertical-align: top; text-align: left;
}
table.schedule thead th {
  background: var(--navy); color: var(--white); position: sticky; top: 0; font-size: 12.5px;
  letter-spacing: 0.03em; text-transform: uppercase;
}
table.schedule td:first-child, table.schedule th:first-child {
  font-weight: 700; color: var(--navy); background: var(--cream); white-space: nowrap; position: sticky; left: 0;
}
table.schedule tbody tr:nth-child(even) td:not(:first-child) { background: #FCFBFE; }
table.schedule .facilitator { display: block; font-style: italic; color: var(--ink-soft); font-size: 12.5px; margin-top: 2px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 16px;
}
.contact-card .card-icon { margin-bottom: 0; flex-shrink: 0; }
.contact-card h4 { margin: 0 0 4px; color: var(--navy); font-size: 16px; }
.contact-card p { margin: 0; }

form.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--navy); }
.field input, .field textarea {
  padding: 13px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  font-family: inherit; font-size: 15px; color: var(--ink); background: var(--white);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.form-note { font-size: 13px; color: var(--ink-soft); }

/* ---------- Video ---------- */
.video-frame {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.video-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy-deep); color: #C8C6E8; padding: 56px 0 24px; }
footer.site-footer h4 { color: var(--white); font-size: 15px; margin-bottom: 14px; }
footer.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-grid li { margin-bottom: 10px; font-size: 14.5px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 40px; width: 40px; border-radius: 8px; }
.footer-brand span { color: var(--white); font-weight: 800; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery-grid img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; height: 100%; object-fit: cover; }

/* ---------- Utilities ---------- */
.mt-lg { margin-top: 40px; }
.mb-lg { margin-bottom: 40px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 320px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .convo-banner { grid-template-columns: 1fr; text-align: left; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 16px 24px 24px; box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 0; }
  .nav-cta { margin-left: 0; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .section { padding: 52px 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: 1fr; }
}
