.navbar {
  background-color: black;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
}

.nav-brand {
  color: white;
}

.candidate-name {
  font-size: 1.4em;
  color: red;
}

.position {
  font-size: 0.9em;
  letter-spacing:0.5em;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: white;
  text-decoration: none;
}

.nav-menu a[href="#donate"] {
  background-color: red;
  color: white;
  padding: 5px 15px;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
}

.nav-menu a:hover:not([href="#donate"]),
.about-page .nav-menu a[href="about.html"],
.unfiltered-page .nav-menu a[href="unfiltered.html"],
.get-involved-page .nav-menu a[href="get-involved.html"],
.contact-page .nav-menu a[href="contact.html"],
.donate-page .nav-menu a[href="donate.html"],
body:not(.about-page):not(.get-involved-page):not(.contact-page):not(.donate-page):not(.unfiltered-page) .nav-menu a[href="index.html"] {
  color: red;
}

.nav-menu a[href="#donate"]:hover {
  background-color: darkred;
}

@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    text-align: center;
    padding: 10px 20px;
  }

  .nav-brand {
    margin-bottom: 10px;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .profile-image {
    display: block;
    margin: 0 auto 20px;
    max-width: 100%;
    height: auto;
  }
}



body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: white;
  background-color: black;
}

.hero-section {
  background-color: black;
  padding: 40px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
}

.hero-text {
  font-size: 4em;
  font-weight: bold;
  color: white;
  text-align: center;
}

.white-section {
  background-color: white;
  height: 400px;
}

.books-section {
  height: 400px;
  background-image: url('books.webp');
  background-size: cover;
  background-position: center;
}

@media screen and (min-width: 769px) {
  .books-section {
    background-attachment: fixed;
  }
}

.profile-image {
  float: right;
  margin: 0 0 20px 20px;
  max-width: 300px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media screen and (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .hero-text {
    font-size: 3em;
    display: none;
  }

  .white-section,
  .books-section {
    display: none;
  }

  .profile-image {
    display:block;
    max-width: 100%;
  }
}

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



h1 {
  color: red;
  text-align: center;
  margin-bottom: 30px;
}

h2 {
  color: red;
  margin-top: 30px;
}

h3 {
  color: red;
}

section {
  margin-bottom: 40px;
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

.priority-item {
  margin-bottom: 25px;
}

.tagline {
  text-align: center;
  font-style: italic;
  color: #7f8c8d;
}

.closing {
  text-align: center;
  margin-top: 50px;
}

/* About page styles */
.about-page {
  background-color: white;
  color: black;
}

.about-header {
  background-color: #f5f5f5;
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 40px;
}

.about-header h1 {
  margin: 0;
  color: red;
}

.about-header h2 {
  margin: 10px 0 0;
  color: black;
  font-weight: normal;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.about-content {
  line-height: 1.8;
}

.mission-section {
  background-color: #f5f5f5;
  padding: 60px 0;
  margin-top: 60px;
}

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

.mission-title {
  color: red;
  text-align: center;
  margin-bottom: 20px;
}

.mission-subtitle {
  color: black;
  text-align: center;
  font-size: 1.8em;
  margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }
}

.help ul {
  list-style: none;
  padding-left: 0;
}

.footer {
  background-color: black;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-nav {
  margin-bottom: 30px;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
}

.footer-nav a:hover {
  color: red;
}

.footer-brand {
  margin: 20px 0;
}

.footer-brand div:first-child {
  font-size: 1.5em;
  color: red;
}

.footer-credit {
  color: #666;
  margin-top: 30px;
  font-size: 0.9em;
}

.footer-credit a {
  color: #888;
  text-decoration: none;
}

.footer-credit a:hover {
  color: white;
}

/* Get Involved page styles */
.get-involved-page {
  background-color: white;
  color: black;
}

.get-involved-header {
  background-color: #f5f5f5;
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 40px;
}

.get-involved-header h1 {
  margin: 0;
  color: red;
}

.get-involved-header h2 {
  margin: 10px 0 0;
  color: black;
  font-weight: normal;
}

.signup-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.form-header {
  background-color: black;
  color: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.form-header h2 {
  color: white;
  margin: 0 0 10px 0;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.checkbox-grid input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  accent-color: red;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f5f5f5;
}

.message-submit {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 20px;
}

.message textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f5f5f5;
  resize: vertical;
}

.submit button {
  width: 100%;
  padding: 10px;
  background-color: red;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  height: 100%;
}

.submit button:hover {
  background-color: darkred;
}

@media screen and (max-width: 768px) {
  .checkbox-grid,
  .form-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .message-submit {
    grid-template-columns: 1fr;
  }

  .family-photo {
    width: 100%;
    max-width: 90vw;
    margin: 20px auto;
  }
}

/* Contact page styles */
.contact-page {
  background-color: white;
  color: black;
}

.contact-header {
  background-color: #f5f5f5;
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h1 {
  margin: 0;
  color: red;
}

.contact-header h2 {
  margin: 10px 0 0;
  color: black;
  font-weight: normal;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.contact-intro {
  text-align: center;
  margin-bottom: 30px;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f5f5f5;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
  padding: 10px;
  background-color: red;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: darkred;
}

/* Donate page styles */
.donate-page {
  background-color: white;
  color: black;
}

.donate-header {
  background-color: #f5f5f5;
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 40px;
}

.donate-header h1 {
  margin: 0;
  color: red;
}

.donate-header h2 {
  margin: 10px 0 0;
  color: black;
  font-weight: normal;
}

.donate-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.donate-intro {
  text-align: center;
  margin-bottom: 30px;
}

.donate-form h2 {
  text-align: center;
  margin-bottom: 30px;
}

.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.donate-form .form-group {
  margin-bottom: 20px;
}

.donate-form input,
.donate-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f5f5f5;
}

.donate-form textarea {
  height: 150px;
  resize: vertical;
}

.donate-form button {
  width: 100%;
  padding: 10px;
  background-color: red;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.donate-form button:hover {
  background-color: darkred;
}

.family-photo {
  max-width: 100%;
  width: auto;
  border-radius: 8px;
  margin: 20px auto;
  display: block;
}

.priority-item h3 {
  color: red;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.priority-checkbox {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #333;
  border-radius: 3px;
  background-color: white;
  pointer-events: none;
  position: relative;
}

.priority-checkbox {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #333;
  border-radius: 3px;
  background-color: white;
  position: relative;
  pointer-events: none;
  cursor: default;
}

.priority-checkbox::after {
  content: '✓';
  color: red;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: bold;
  display: block;
}