/* EV Island — Global Styles */

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

:root {
  --green: #2a6b3c;
  --green-dark: #1d4d2b;
  --green-light: #e8f3ec;
  --accent: #f0a500;
  --text: #1a1a1a;
  --muted: #555;
  --border: #d4e2d9;
  --white: #ffffff;
  --max: 1080px;
  --font: 'Georgia', serif;
  --sans: 'Helvetica Neue', Arial, sans-serif;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Header ── */
header {
  background: var(--green-dark);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-arrow {
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: -4px;
}

.logo-text {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.logo-text span {
  color: var(--accent);
}

nav { display: flex; gap: 0.25rem; }

nav a {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

nav a:hover, nav a.active {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--white);
  padding: 5rem 2rem;
  text-align: center;
}

.hero-inner { max-width: 760px; margin: 0 auto; }

.hero-tag {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--green-dark);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  transition: opacity 0.2s;
  text-decoration: none;
}

.btn:hover { opacity: 0.85; text-decoration: none; }

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  margin-left: 0.75rem;
}

/* ── Mandate bar ── */
.mandate {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  padding: 1.5rem 2rem;
  text-align: center;
  font-style: italic;
  color: var(--green-dark);
  font-size: 1rem;
}

/* ── Sections ── */
.section { padding: 4rem 2rem; }
.section-inner { max-width: var(--max); margin: 0 auto; }

.section-alt { background: var(--green-light); }

.section-title {
  font-size: 1.8rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.section-sub {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 0.4rem;
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 0.75rem 0 1.5rem;
}

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  border-top: 4px solid var(--green);
}

.card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.card h3 { font-size: 1.1rem; color: var(--green-dark); margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; color: var(--muted); }

/* ── Two-col layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ── Hamburger menu ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

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

  .hamburger { display: flex; }

  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--green-dark);
    padding: 1rem;
    gap: 0.25rem;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

  nav.open { display: flex; }

  nav a {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 4px;
  }
}

/* ── Callout ── */
.callout {
  background: var(--green-dark);
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
}

.callout h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.callout p { opacity: 0.85; max-width: 600px; margin: 0 auto 1.5rem; }

/* ── Timeline ── */
.timeline { list-style: none; padding: 0; margin-top: 1.5rem; }
.timeline li {
  padding: 1rem 1rem 1rem 2rem;
  border-left: 3px solid var(--green);
  margin-bottom: 1rem;
  position: relative;
}
.timeline li::before {
  content: '';
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  left: -7.5px;
  top: 1.2rem;
}
.timeline li strong { color: var(--green-dark); display: block; margin-bottom: 0.25rem; }

/* ── Contact form ── */
.contact-form { display: flex; flex-direction: column; gap: 1rem; max-width: 540px; }
.contact-form input,
.contact-form textarea {
  font-family: var(--font);
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.65rem 0.9rem;
  width: 100%;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form button {
  align-self: flex-start;
  cursor: pointer;
  border: none;
  font-family: var(--sans);
  font-weight: 700;
}

/* ── Footer ── */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 2rem;
  font-family: var(--sans);
  font-size: 0.85rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer a { color: rgba(255,255,255,0.7); }
footer a:hover { color: var(--white); }

/* ── Page header (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  padding: 3.5rem 2rem;
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.5rem; }
.page-hero p { opacity: 0.85; max-width: 600px; font-size: 1.05rem; }

/* ── Prose ── */
.prose p { margin-bottom: 1.2rem; }
.prose h2 { color: var(--green-dark); font-size: 1.4rem; margin: 2rem 0 0.5rem; }
.prose h3 { color: var(--green-dark); font-size: 1.15rem; margin: 1.5rem 0 0.4rem; }
.prose ul { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.prose ul li { margin-bottom: 0.4rem; }
.prose strong { color: var(--green-dark); }

/* ── News ── */
.news-list { display: flex; flex-direction: column; gap: 2rem; margin-top: 1.5rem; }
.news-item { border-bottom: 1px solid var(--border); padding-bottom: 2rem; }
.news-item:last-child { border-bottom: none; }
.news-date { font-family: var(--sans); font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.news-item h3 { font-size: 1.25rem; color: var(--green-dark); margin-bottom: 0.5rem; }
.news-item p { color: var(--muted); font-size: 0.95rem; }
.btn-newsletter { display: inline-block; margin-top: 0.75rem; padding: 0.45rem 1rem; background: var(--green-dark); color: white; font-family: var(--sans); font-size: 0.85rem; font-weight: 600; text-decoration: none; border-radius: 4px; letter-spacing: 0.03em; }
.btn-newsletter:hover { background: var(--green); }

/* ── nzevpilot.ca additions ── */
.btn-secondary {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--green-dark);
  color: var(--green-dark);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.7rem 1.85rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-secondary:hover { background: var(--green-dark); color: var(--white); text-decoration: none; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}
.status-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

.steps-list {
  display: flex; flex-direction: column; margin-top: 2rem;
  border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
}
.steps-list .step {
  display: flex; align-items: stretch;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.steps-list .step:last-child { border-bottom: none; }
.steps-list .step-num {
  flex: 0 0 64px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-dark); color: var(--white);
  font-family: var(--sans); font-weight: 700; font-size: 1.3rem;
}
.steps-list .step-content { padding: 1.75rem 2rem; flex: 1; min-width: 0; }
.step h3 { font-size: 1.05rem; color: var(--green-dark); margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; color: var(--muted); }

.bylaw-box {
  background: transparent;
  border: 1px solid #043465;
  border-radius: 8px;
  padding: 1.75rem 2rem 3.25rem;
  margin-top: 1rem;
  position: relative;
}
.bylaw-box h4 {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  font-weight: 700;
  color: #043465;
  text-align: center;
  margin-bottom: 1rem;
}
.bylaw-box p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 0.7rem;
}
.bylaw-box p:last-of-type { margin-bottom: 0; }
.bylaw-box .tranbc-logo {
  position: absolute;
  bottom: 1rem; right: 1.25rem;
  height: 22px; width: auto;
}

@media (max-width: 640px) {
  .steps-list .step { flex-direction: column; }
  .steps-list .step-num { flex: none; height: 44px; }
}

.proof-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.proof-block img { border-radius: 8px; width: 100%; display: block; }
.proof-images { display: flex; flex-direction: column; gap: 1rem; }
.proof-images .proof-img-small { max-width: 65%; margin: 0 auto; }

.milestone-list { list-style: none; margin-top: 1.5rem; }
.milestone-list li {
  display: flex; gap: 0.85rem;
  padding: 0.6rem 0;
  font-size: 0.98rem;
}
.milestone-list .check { color: var(--green); font-weight: 700; flex: none; }
.milestone-list .pending { color: var(--muted); font-weight: 700; flex: none; }

.operator-strip {
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
}
.operator-strip img { height: 56px; width: auto; }

.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

@media (max-width: 680px) {
  .proof-block { grid-template-columns: 1fr; }
}
