/* ============================================================
   TEMPLATE 4: CLEAN & MINIMAL — Multi-Page
   Color Palette System
   ============================================================
   HOW TO SWAP PALETTES:
   1. Uncomment ONE palette block below
   2. Comment out all other palette blocks
   3. Save — that's it!
   ============================================================ */

/* --- PALETTE 1: Classic Navy & Red (ACTIVE) --- */
:root {
  --color-primary: #1B3A5C;
  --color-primary-dark: #122840;
  --color-primary-light: #E8EEF4;
  --color-secondary: #C42032;
  --color-secondary-dark: #9A1826;
  --color-text: #1a1a1a;
  --color-text-light: #555555;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fa;
  --color-white: #ffffff;

  --font-heading: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

/* --- PALETTE 2: Modern Blue & Copper ---
:root {
  --color-primary: #2563EB;
  --color-primary-dark: #1D4ED8;
  --color-primary-light: #EFF6FF;
  --color-secondary: #D97706;
  --color-secondary-dark: #B45309;
  --color-text: #1a1a1a;
  --color-text-light: #555555;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-white: #ffffff;

  --font-heading: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}
*/

/* --- PALETTE 3: Forest Green & Cream ---
:root {
  --color-primary: #1E6B45;
  --color-primary-dark: #155235;
  --color-primary-light: #ECFDF5;
  --color-secondary: #B45309;
  --color-secondary-dark: #92400E;
  --color-text: #1a1a1a;
  --color-text-light: #555555;
  --color-bg: #fffdf7;
  --color-bg-alt: #f5f0e8;
  --color-white: #ffffff;

  --font-heading: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}
*/

/* --- PALETTE 4: Slate & Teal ---
:root {
  --color-primary: #334155;
  --color-primary-dark: #1E293B;
  --color-primary-light: #F1F5F9;
  --color-secondary: #0D9488;
  --color-secondary-dark: #0F766E;
  --color-text: #1a1a1a;
  --color-text-light: #555555;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-white: #ffffff;

  --font-heading: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--color-text);
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; margin-bottom: 0.5em; }
h3 { font-size: 1.25rem; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* Accent horizontal rule */
.accent-rule {
  border: none;
  height: 2px;
  width: 40px;
  background-color: var(--color-primary);
  margin: 1.5rem 0 2.5rem;
}

/* Text link style */
.text-link {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--color-primary-dark);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  min-height: 44px;
  min-width: 44px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-donate {
  background-color: var(--color-secondary);
  color: var(--color-white);
  font-size: 1.15rem;
  padding: 1.1rem 3rem;
  font-weight: 700;
}

.btn-donate:hover {
  background-color: var(--color-secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   NAVIGATION — Simple, not sticky, thin bottom border
   ============================================================ */
.navbar {
  border-bottom: 1px solid #e5e7eb;
  background-color: var(--color-bg);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 65px;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-links a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-text);
}

/* Current page: primary color text, no bold, no underline */
.nav-links a.current {
  color: var(--color-primary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO — Minimal, lots of whitespace
   ============================================================ */
/* Hero photo: recommended 400x500px professional headshot */
.hero {
  padding: 6rem 0 5rem;
}

.hero-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4rem;
}

.hero-text {
  flex: 1;
  padding-top: 1rem;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.hero-office {
  color: var(--color-text-light);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.hero-tagline {
  color: var(--color-text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.learn-more {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.learn-more:hover {
  color: var(--color-primary-dark);
}

.hero-photo {
  flex: 0 0 auto;
}

.hero-photo-placeholder {
  width: 320px;
  height: 400px;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.6;
}

/* ============================================================
   ABOUT — Single column, centered, max-width 680px
   ============================================================ */
.about {
  padding: 4rem 0 5rem;
}

.about-inner {
  max-width: 680px;
}

.about-inner p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  line-height: 1.8;
}

.about-inner p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   QUICK ISSUES PREVIEW — Minimal cards
   ============================================================ */
.issues-preview {
  padding: 4rem 0 5rem;
  background-color: var(--color-bg);
}

.issues-preview-inner {
  max-width: 680px;
}

.preview-card {
  padding: 1.5rem 0;
  border-bottom: 2px solid var(--color-primary-light);
}

.preview-card h3 {
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.preview-card p {
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.7;
}

.issues-preview .text-link {
  display: inline-block;
  margin-top: 2rem;
}

/* ============================================================
   PAGE CONTENT — Shared layout for inner pages
   ============================================================ */
.page-content {
  padding: 4rem 0 6rem;
}

.content-inner {
  max-width: 720px;
}

.content-inner--wide {
  max-width: 860px;
}

.content-inner h1 {
  margin-bottom: 0.25rem;
}

/* ============================================================
   ISSUES PAGE — Clean single-column
   ============================================================ */
.issue-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.issue-section:last-child {
  border-bottom: none;
}

.issue-section h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.issue-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.issue-section p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   ENDORSEMENTS PAGE — Simple list
   ============================================================ */
.endorsement-item {
  padding: 2.5rem 0;
}

.endorsement-item + .endorsement-item {
  border-top: none;
}

.endorsement-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.endorsement-name {
  font-weight: 700;
  color: var(--color-text);
  font-size: 1rem;
}

.endorsement-title {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* ============================================================
   EVENTS PAGE — Grid table layout
   ============================================================ */
.events-header {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 2px solid var(--color-text);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
}

.event-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e5e7eb;
  align-items: baseline;
}

.event-row-date {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.event-row-name {
  font-weight: 600;
  color: var(--color-text);
}

.event-row-location {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ============================================================
   DONATE PAGE — Centered, simple
   ============================================================ */
.donate-content {
  text-align: center;
  padding-top: 6rem;
  max-width: 560px;
  margin: 0 auto;
}

.donate-content h1 {
  margin-bottom: 1.5rem;
}

.donate-content p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  margin-bottom: 3rem;
}

.contact-section h3 {
  margin-bottom: 0.75rem;
}

.contact-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.contact-section a {
  color: var(--color-primary);
  transition: color 0.2s ease;
}

.contact-section a:hover {
  color: var(--color-primary-dark);
}

.social-text-links {
  list-style: none;
}

.social-text-links li {
  margin-bottom: 0.5rem;
}

.social-text-links a {
  font-size: 1rem;
  color: var(--color-primary);
}

.social-text-links a:hover {
  color: var(--color-primary-dark);
}

/* ============================================================
   FOOTER — Minimal, thin top border
   ============================================================ */
.footer {
  border-top: 1px solid #e5e7eb;
  padding: 2rem 0;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-align: center;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 992px) {
  h1 { font-size: 2rem; }

  .hero-layout {
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .hero-text h1 { font-size: 2.5rem; }

  .hero-photo-placeholder {
    width: 250px;
    height: 310px;
  }

  .events-header,
  .event-row {
    grid-template-columns: 80px 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  section { padding: 3rem 0; }

  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    background-color: var(--color-bg);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    z-index: 100;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .hero { padding: 3rem 0; }
  .hero-text h1 { font-size: 2rem; }

  .hero-photo-placeholder {
    width: 200px;
    height: 250px;
  }

  .events-header { display: none; }

  .event-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .content-inner,
  .content-inner--wide {
    max-width: 100%;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-text h1 { font-size: 1.75rem; }
}


/* ============================================================
   PALETTE PICKER — Demo floating bubble
   ============================================================ */

.palette-picker {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: var(--font-body);
}

.palette-picker-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 16px;
  padding: 12px 16px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.palette-picker-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0,0,0,0.3);
}

.palette-picker-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.palette-picker-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}

.palette-picker-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  display: none;
  min-width: 180px;
}

.palette-picker-panel.open {
  display: block;
}

.palette-picker-panel h4 {
  margin: 0 0 12px 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #555;
  font-family: inherit;
}

.palette-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: none;
  width: 100%;
  font-family: inherit;
}

.palette-option:hover {
  background: #f5f5f5;
}

.palette-option.active {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.palette-swatches {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}

.palette-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
}

.palette-option-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .palette-picker { bottom: 16px; right: 16px; }
  .palette-picker-btn { padding: 10px 12px; border-radius: 14px; }
  .palette-picker-btn svg { width: 24px; height: 24px; }
}
