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

/* Style Guide - Color Palette
 * Primary Logo Colors:
 * --trent-red: #9a2123 (from logo)
 * --trent-blue: #050b4d (from logo)
 * 
 * Party Affiliation:
 * --yellowhammer-gold: #f2ba0c (Yellowhammer Party brand color)
 * 
 * Complementary Colors:
 * --warm-cream-banner: #f5f2ed (hero background - neutral warm tone that complements logo)
 * --soft-charcoal: #2c2c2c (text readability)
 * 
 * Supporting Colors:
 * Maintained existing palette for consistency with brand evolution
 */
:root {
  --trent-red: #9a2123;
  --trent-blue: #050b4d;
  --yellowhammer-gold: #f2ba0c;
  --warm-cream-banner: #f5f2ed;
  --soft-charcoal: #2c2c2c;

  /* Legacy colors maintained for existing elements */
  --forest-green: #1f4f3c;
  --warm-charcoal: #3e3e3e;
  --soft-cream: #f8f6f1;
  --sage-gray: #8a9a8b;
  --burnt-orange: #cc6b2c;
  --white: #ffffff;
}

body {
  font-family: "Libre Baskerville", serif;
  line-height: 1.6;
  color: var(--warm-charcoal);
  background-color: var(--soft-cream);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: inline-block;
  text-decoration: none;
}

.header-logo-img {
  height: 35px;
  width: auto;
  transition: opacity 0.3s ease;
}

.header-logo-img:hover {
  opacity: 0.9;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  font-family: "Exo 2", sans-serif;
  font-weight: 400;
  color: var(--warm-charcoal);
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--warm-charcoal);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--warm-charcoal);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.cta-btn {
  background: var(--yellowhammer-gold);
  color: var(--trent-blue);
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-family: "Exo 2", sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-btn:hover {
  background: #d9a10b;
  color: var(--trent-blue);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background: var(--warm-cream-banner);
  color: var(--soft-charcoal);
  padding: 120px 0 80px;
  text-align: center;
}

/* Volunteer Page Sections */
.page-hero {
  background: var(--warm-cream-banner);
  color: var(--soft-charcoal);
  padding: 120px 0 80px;
  text-align: center;
}

.page-hero h1 {
  font-family: "Exo 2", sans-serif;
  font-weight: 700;
  font-size: 48px;
  color: var(--trent-blue);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.volunteer-form-section {
  background: var(--white);
  padding: 80px 0;
}

.form-intro {
  text-align: center;
  margin-bottom: 50px;
}

.form-intro h2 {
  font-family: "Exo 2", sans-serif;
  font-weight: 600;
  font-size: 36px;
  color: var(--trent-blue);
  margin-bottom: 20px;
}

.volunteer-form-container {
  max-width: 900px;
  margin: 0 auto;
}

.volunteer-opportunities {
  background: var(--soft-cream);
  padding: 80px 0;
}

.volunteer-opportunities h2 {
  font-family: "Exo 2", sans-serif;
  font-weight: 600;
  font-size: 36px;
  color: var(--trent-blue);
  text-align: center;
  margin-bottom: 50px;
}

.opportunities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.opportunity-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.opportunity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.opportunity-card h3 {
  font-family: "Exo 2", sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--trent-red);
  margin-bottom: 15px;
}

.volunteer-commitment {
  background: var(--white);
  padding: 80px 0;
}

.volunteer-commitment h2 {
  font-family: "Exo 2", sans-serif;
  font-weight: 600;
  font-size: 36px;
  color: var(--trent-blue);
  text-align: center;
  margin-bottom: 50px;
}

.commitment-content {
  max-width: 800px;
  margin: 0 auto;
}

.commitment-text ul {
  margin: 20px 0;
  padding-left: 20px;
}

.commitment-text li {
  margin-bottom: 10px;
}

.hero-logo {
  margin-bottom: 30px;
  animation: fadeInUp 1s ease;
}

.hero-logo img {
  max-width: 500px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.hero .subtitle {
  font-family: "Exo 2", sans-serif;
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--trent-blue);
  font-weight: 600;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero .tagline {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--trent-red);
  font-style: italic;
  font-weight: 500;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary {
  background: var(--yellowhammer-gold);
  color: var(--trent-blue);
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-family: "Exo 2", sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #d9a10b;
  color: var(--trent-blue);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--trent-blue);
  padding: 15px 30px;
  border: 2px solid var(--trent-blue);
  border-radius: 8px;
  font-family: "Exo 2", sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--trent-blue);
  color: var(--white);
}

/* About Section */
.about {
  padding: 80px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  text-align: center;
}

.about-image img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid var(--warm-charcoal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
  font-family: "Exo 2", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--warm-charcoal);
  margin-bottom: 20px;
}

.about-content p {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.highlight {
  background: linear-gradient(
    120deg,
    transparent 2%,
    rgba(242, 186, 12, 0.2) 2%,
    rgba(242, 186, 12, 0.7) 4%,
    rgba(242, 186, 12, 0.7) 96%,
    rgba(242, 186, 12, 0.2) 98%,
    transparent 98%
  );
  padding: 3px 6px;
  font-weight: 700;
  color: var(--trent-red);
  display: inline-block;
}

/* Platform Section */
.platform {
  padding: 80px 0;
  background: var(--soft-cream);
}

.platform h2 {
  font-family: "Exo 2", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--warm-charcoal);
  text-align: center;
  margin-bottom: 50px;
}

.issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.issue-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.issue-card:hover {
  transform: translateY(-5px);
}

.issue-card h3 {
  font-family: "Exo 2", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--trent-blue);
  margin-bottom: 15px;
}

.issue-card p {
  font-size: 16px;
  line-height: 1.6;
}

/* Values Section */
.values {
  padding: 80px 0;
  background: var(--warm-charcoal);
  color: var(--white);
  text-align: center;
}

.values h2 {
  font-family: "Exo 2", sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
}

.values-quote {
  font-size: 24px;
  font-style: italic;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.values-description {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: var(--white);
}

.contact h2 {
  font-family: "Exo 2", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--warm-charcoal);
  text-align: center;
  margin-bottom: 50px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

/* Second row with 2 items centered - leave a gap in the middle */
.contact-grid .contact-item:nth-child(4) {
  grid-column: 1 / 2;
}

.contact-grid .contact-item:nth-child(5) {
  grid-column: 3 / 4;
}

.contact-item {
  padding: 30px;
  background: var(--soft-cream);
  border-radius: 12px;
}

.contact-item h3 {
  font-family: "Exo 2", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--warm-charcoal);
  margin-bottom: 15px;
}

.contact-item a {
  color: var(--warm-charcoal);
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--yellowhammer-gold);
}

/* Yellowhammer Party Styling */
.yellowhammer-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.yellowhammer-logo {
  width: 40px;
  height: 44px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.yellowhammer-section h3 {
  margin-bottom: 0;
}

/* Footer */
footer {
  background: var(--warm-charcoal);
  color: var(--white);
  text-align: center;
  padding: 40px 0;
}

footer p {
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.footer-links a {
  color: var(--sage-gray);
  text-decoration: none;
  font-family: "Exo 2", sans-serif;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--white);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
  }

  .nav-menu.active {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
  }

  .nav-menu li {
    text-align: center;
    border-bottom: 1px solid var(--soft-cream);
  }

  .nav-menu a {
    display: block;
    padding: 15px 20px;
    font-size: 16px;
  }

  .cta-btn {
    display: none;
  }

  .hero-logo img {
    max-width: 300px;
  }

  .hero .subtitle {
    font-size: 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

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

  /* Reset grid positioning for mobile */
  .contact-grid .contact-item:nth-child(4),
  .contact-grid .contact-item:nth-child(5) {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }

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

  .header-logo-img {
    height: 28px;
  }

  .yellowhammer-section {
    flex-direction: column;
    gap: 8px;
  }

  .yellowhammer-logo {
    width: 35px;
    height: 38px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Trent Red Accents for emphasis */
strong {
  color: var(--trent-red);
}

em {
  color: var(--trent-red);
  font-style: italic;
}

/* Focus states for accessibility */
.cta-btn:focus,
.btn-primary:focus,
.btn-secondary:focus,
nav a:focus {
  outline: 3px solid var(--yellowhammer-gold);
  outline-offset: 2px;
}
