/* Liberal Party of ToadVille Bay — Main Stylesheet */

:root {
  --red:        #c41230;
  --red-dark:   #9b0e25;
  --red-light:  #e8203e;
  --black:      #1a1a1a;
  --blue:       #2255aa;
  --blue-dark:  #1a3f80;
  --white:      #ffffff;
  --off-white:  #f7f7f7;
  --gray-light: #e8e8e8;
  --gray-mid:   #999999;
  --text:       #222222;
  --shadow:     0 4px 18px rgba(0,0,0,0.13);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.09);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-dark); }

img { max-width: 100%; display: block; }

/* ── TOPBAR ─────────────────────────────────────────── */
.topbar {
  background: var(--black);
  color: var(--gray-light);
  font-size: .8rem;
  padding: .35rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: var(--gray-light); font-size: .8rem; }
.topbar a:hover { color: var(--white); }

/* ── NAVBAR ─────────────────────────────────────────── */
.navbar {
  background: var(--red);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: .6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.nav-logo img { height: 48px; width: auto; }
.nav-logo-text {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
}
.nav-logo-text span { display: block; font-weight: 400; font-size: .78rem; opacity: .85; }

.nav-links {
  list-style: none;
  display: flex;
  gap: .25rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--white);
  font-weight: 600;
  font-size: .92rem;
  padding: .45rem .85rem;
  border-radius: 4px;
  transition: background .2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { background: var(--red-dark); color: var(--white); }

.nav-cta {
  background: var(--white) !important;
  color: var(--red) !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
}
.nav-cta:hover { background: var(--off-white) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .4rem;
}
.nav-hamburger span { display: block; width: 26px; height: 2.5px; background: var(--white); border-radius: 2px; }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, #2c0a14 60%, var(--red-dark) 100%);
  color: var(--white);
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; max-width: 820px; margin: 0 auto; }
.hero-wordmark { height: 90px; margin: 0 auto 2rem; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero h1 em { font-style: normal; color: #ffccd2; }
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: .88;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .75rem 1.8rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .2s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn-sm { padding: .5rem 1.2rem; font-size: .85rem; }

/* ── SECTION SHELL ───────────────────────────────────── */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: .5rem;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1.05rem;
  color: #555;
  max-width: 640px;
  margin-bottom: 3rem;
}
.section-divider {
  width: 56px; height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin: .75rem 0 1.5rem;
}

/* ── PRIORITIES GRID ─────────────────────────────────── */
.priorities { background: var(--off-white); }
.priorities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.priority-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--red);
  transition: transform .2s, box-shadow .2s;
}
.priority-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.priority-icon { font-size: 2.4rem; margin-bottom: 1rem; }
.priority-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; color: var(--black); }
.priority-card p { font-size: .93rem; color: #555; line-height: 1.55; }

/* ── LEADER SPOTLIGHT ────────────────────────────────── */
.leader-section { background: var(--white); }
.leader-flex {
  display: flex;
  gap: 3.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.leader-photo-wrap {
  flex: 0 0 260px;
  text-align: center;
}
.leader-avatar {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 0%, var(--black) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  margin: 0 auto 1rem;
  box-shadow: 0 0 0 6px rgba(196,18,48,.15);
}
.leader-name { font-weight: 700; font-size: 1.05rem; color: var(--black); }
.leader-title { font-size: .85rem; color: var(--red); font-weight: 600; }
.leader-text { flex: 1; min-width: 280px; }
.leader-text blockquote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--black);
  border-left: 4px solid var(--red);
  padding-left: 1.2rem;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
.leader-text p { color: #444; margin-bottom: 1rem; }

/* ── NEWS CARDS ──────────────────────────────────────── */
.news-section { background: var(--off-white); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.news-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card-banner {
  height: 8px;
  background: var(--red);
}
.news-card-body { padding: 1.5rem; flex: 1; }
.news-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--red);
  margin-bottom: .5rem;
}
.news-date { font-size: .78rem; color: var(--gray-mid); margin-bottom: .6rem; }
.news-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: var(--black); line-height: 1.3; }
.news-card p { font-size: .88rem; color: #555; }
.news-card-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--gray-light); }
.news-card-footer a { font-size: .85rem; font-weight: 600; color: var(--red); }

/* ── JOIN BANNER ─────────────────────────────────────── */
.join-banner {
  background: linear-gradient(90deg, var(--red-dark) 0%, var(--red) 100%);
  color: var(--white);
  text-align: center;
  padding: 4.5rem 2rem;
}
.join-banner h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: .75rem; }
.join-banner p { font-size: 1.05rem; opacity: .9; max-width: 540px; margin: 0 auto 2rem; }

/* ── PLATFORM PAGE ───────────────────────────────────── */
.platform-hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 4.5rem 2rem 3.5rem;
  text-align: center;
}
.platform-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: .75rem; }
.platform-hero p { font-size: 1.05rem; opacity: .87; max-width: 580px; margin: 0 auto; }

.platform-section { padding: 4rem 2rem; }
.platform-section:nth-child(even) { background: var(--off-white); }

.pillar {
  max-width: 900px;
  margin: 0 auto;
}
.pillar-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.pillar-icon {
  font-size: 2.2rem;
  width: 62px; height: 62px;
  background: var(--red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pillar-header h2 { font-size: 1.6rem; font-weight: 800; color: var(--black); }
.pillar ul { list-style: none; display: grid; gap: .75rem; }
.pillar ul li {
  padding: .9rem 1.1rem .9rem 3rem;
  background: var(--white);
  border-radius: 8px;
  border-left: 4px solid var(--red);
  font-size: .95rem;
  color: #333;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.pillar ul li::before {
  content: '✔';
  position: absolute;
  left: .9rem;
  color: var(--red);
  font-weight: 700;
}
.platform-section:nth-child(even) .pillar ul li { background: var(--white); }

/* ── ABOUT PAGE ──────────────────────────────────────── */
.about-hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--blue-dark) 60%, var(--red-dark) 100%);
  color: var(--white);
  padding: 4.5rem 2rem 3.5rem;
  text-align: center;
}
.about-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: .75rem; }
.about-hero p { font-size: 1.05rem; opacity: .87; max-width: 580px; margin: 0 auto; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.value-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s;
}
.value-card:hover { transform: translateY(-3px); }
.value-card .icon { font-size: 2.5rem; margin-bottom: .75rem; }
.value-card h3 { font-weight: 700; font-size: 1rem; margin-bottom: .4rem; color: var(--black); }
.value-card p { font-size: .87rem; color: #555; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.team-card {
  text-align: center;
  background: var(--white);
  padding: 1.75rem 1.25rem;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--red);
}
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 0%, var(--black) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto .85rem;
}
.team-card h3 { font-size: .98rem; font-weight: 700; color: var(--black); }
.team-card .role { font-size: .8rem; color: var(--red); font-weight: 600; margin-bottom: .35rem; }
.team-card .riding { font-size: .78rem; color: var(--gray-mid); }

/* ── NEWS PAGE ───────────────────────────────────────── */
.news-hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 4.5rem 2rem 3.5rem;
  text-align: center;
}
.news-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: .75rem; }
.news-hero p { font-size: 1.05rem; opacity: .87; max-width: 580px; margin: 0 auto; }

.news-full-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.news-article {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--red);
  transition: transform .2s;
}
.news-article:hover { transform: translateX(4px); }
.news-article .meta { display: flex; gap: 1rem; margin-bottom: .6rem; flex-wrap: wrap; }
.news-article h2 { font-size: 1.2rem; font-weight: 700; color: var(--black); margin-bottom: .5rem; }
.news-article h2 a { color: var(--black); }
.news-article h2 a:hover { color: var(--red); }
.news-article p { font-size: .93rem; color: #444; }

.news-sidebar { position: sticky; top: 80px; }
.sidebar-widget {
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--black);
  border-bottom: 2px solid var(--red);
  padding-bottom: .5rem;
  margin-bottom: 1rem;
}
.sidebar-widget ul { list-style: none; }
.sidebar-widget ul li { padding: .45rem 0; border-bottom: 1px solid var(--gray-light); font-size: .87rem; }
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a { color: var(--text); }
.sidebar-widget ul li a:hover { color: var(--red); }

/* ── JOIN / CONTACT FORM ─────────────────────────────── */
.contact-section { background: var(--off-white); }
.contact-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .35rem; color: var(--black); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--gray-light);
  border-radius: 6px;
  font-family: inherit;
  font-size: .93rem;
  color: var(--text);
  transition: border-color .2s;
  background: var(--off-white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--red); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* ── STATS STRIP ─────────────────────────────────────── */
.stats-strip {
  background: var(--red);
  color: var(--white);
  padding: 2.5rem 2rem;
}
.stats-strip .section-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  text-align: center;
}
.stat-num { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.stat-label { font-size: .85rem; opacity: .85; margin-top: .25rem; }

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--black);
  color: #bbb;
  padding: 3.5rem 2rem 1.5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand img { height: 52px; margin-bottom: .85rem; }
.footer-brand p { font-size: .87rem; line-height: 1.55; color: #999; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: .9rem; font-weight: 700; margin-bottom: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .45rem; }
.footer-col ul li a { font-size: .87rem; color: #999; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .8rem;
  color: #666;
}
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: var(--white); }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-full-grid { grid-template-columns: 1fr; }
  .news-sidebar { position: static; }
  .leader-flex { flex-direction: column; }
}

@media (max-width: 720px) {
  .nav-links { display: none; flex-direction: column; gap: 0; width: 100%; }
  .nav-links.open { display: flex; }
  .nav-links a { border-radius: 0; padding: .65rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-inner { flex-wrap: wrap; }
  .nav-hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  section { padding: 3.5rem 1.25rem; }
  .hero { padding: 4rem 1.25rem 3.5rem; }
}
