@import url(https://fonts.googleapis.com/css2?family=Gideon+Roman&display=swap);
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Box sizing and reset */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

/* Reset margins */
body, h1, h2, h3, h4, h5, h6, p, ul, ol {
  margin: 0;
  padding: 0;
}

/* Images */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Links & buttons */
a, button {
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Lists */
ul {
  list-style: none;
}
/*────────────────────────────────────────────────────────────────────────*/
/* 1) Theme & Layout Variables                                          */
/*────────────────────────────────────────────────────────────────────────*/

:root {
  --font-family:       "Gideon Roman", serif;
  --background-main:   #ffffff;
  --text-main:         #333333;

  --primary-color:     #396289;   /* Campaign blue */
  --secondary-color:   #8d232b;   /* Accent red */

  --button-bg:         var(--primary-color);
  --button-hover:      #004080;
  --link-color:        var(--primary-color);

  --form-background-color: #c5c5c5;
  --form-input-color:     #cccccc;
  --form-input-placeholder:   #838383;

  --radius:            5px;

  --container-max:     1200px;
  --padding-side:      1rem;
  --section-vertical:  4rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background-main: #121212;
    --text-main:       #ffffff;
    --button-hover:    #003064;

    --form-background-color: #2a2a2a;
    --form-input-color:     #1a1a1a;
    --form-input-placeholder:   #aaa;
  }
}

html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  background-color: var(--background-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--padding-side);
}

/*────────────────────────────────────────────────────────────────────────*/
/* 2) Flex helper                                                     */
/*────────────────────────────────────────────────────────────────────────*/
.flex {
  display: flex;
  gap: 1rem;
}
/*────────────────────────────────────────────────────────────────────────*/
/* 1) Headings & Paragraphs                                             */
/*────────────────────────────────────────────────────────────────────────*/

h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--text-main);
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

p {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

/* Links */
a {
  color: var(--link-color);
  transition: opacity 0.2s;
}
a:hover,
a:focus {
  opacity: 0.8;
}
/*────────────────────────────────────────────────────────────────────────*/
/* 1) Buttons                                                            */
/*────────────────────────────────────────────────────────────────────────*/

.btn {
  display:        inline-block;
  padding:        0.75rem 1.5rem;
  background:     var(--button-bg);
  color:          #fff;
  border-radius:  var(--radius);
  font-size:      1rem;
  font-weight:    600;
  text-align:     center;
  transition:     background 0.3s;
}

.btn:hover,
.btn:focus {
  background: var(--button-hover);
}

.btn-secondary {
  background: var(--secondary-color);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #c0273d;
}

/*────────────────────────────────────────────────────────────────────────*/
/* 2) Sections                                                           */
/*────────────────────────────────────────────────────────────────────────*/

.section {
  padding: var(--section-vertical) 0;
}

/*────────────────────────────────────────────────────────────────────────*/
/* 3) Header & Nav                                                       */
/*────────────────────────────────────────────────────────────────────────*/

.site-header {
  position: fixed;
  top:        0;
  width:      100%;
  background: var(--background-main);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index:    1000;
}
.header-inner {
  display:        flex;
  align-items:    center;
  justify-content: space-between;
}
.logo {
  font-size:    1.5rem;
  font-weight:  bold;
  color:        var(--primary-color);
}
.site-nav {
  display: flex;
}
.nav-list {
  display: flex;
  gap:     1rem;
}
.nav-list a {
  padding:        0.5rem 1rem;
  border-radius:  var(--radius);
  transition:     background 0.2s;
}
.nav-list a:hover {
  background: rgba(0,0,0,0.05);
}
.header-actions {
  display: flex;
  gap:     1rem;
}
.mobile-nav-toggle {
  display: none;
}

/*────────────────────────────────────────────────────────────────────────*/
/* 4) Hero & Lists                                                       */
/*────────────────────────────────────────────────────────────────────────*/

.hero {
  text-align:      center;
  padding:         var(--section-vertical) 0;
  background:      var(--primary-color);
  color:           #fff;
}
.hero-content {
  max-width: 600px;
  margin:    0 auto;
}
.hero-buttons {
  display: flex;
  gap:     1rem;
  justify-content: center;
  margin-top: 1rem;
}

.events-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.events-list li {
  background: var(--background-main);
  padding:    1rem;
  border-radius: var(--radius);
}
.issues-list li h3 {
  margin-bottom: 0.5rem;
}

/*────────────────────────────────────────────────────────────────────────*/
/* 5) Footer                                                             */
/*────────────────────────────────────────────────────────────────────────*/

.site-footer {
  background: var(--background-main);
  text-align: center;
  padding:    2rem 0;
}
.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.social-links a {
  font-size: 1.25rem;
  color:     var(--text-main);
}

/*────────────────────────────────────────────────────────────────────────*/
/* 6) Responsive                                                         */
/*────────────────────────────────────────────────────────────────────────*/

@media (max-width: 768px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--background-main);
    flex-direction: column;
    display: none;
  }
  .site-nav.open {
    display: flex;
  }
  .mobile-nav-toggle {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    border-radius: var(--radius);
  }
}
/*────────────────────────────────────────────────────────────────────────*/
/* Header (desktop + injected mobile)                                    */
/*────────────────────────────────────────────────────────────────────────*/

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--background-main);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 1000;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-right: 0.5rem;
}

.logo-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.site-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
}

.nav-list a {
  color: var(--text-main);
  font-size: 20px;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.nav-list a.active {
  color: var(--primary-color);
  font-weight: bold;
}

.nav-list a:hover,
.nav-list a:focus {
  background: rgba(0, 0, 0, 0.05);
}

.header-actions {
  display: flex;
  gap: 1rem;
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.75rem;
  background: var(--primary-color);
  color: #fff;
  padding: 0.5rem;
  border-radius: var(--radius);
  width: 50px;
}

/* ─── Dropdown in Desktop Nav ─────────────────────────────────────────── */
.nav-list .dropdown {
  position: relative;
}

.nav-list .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--background-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  z-index: 1000;
}

.nav-list .dropdown-content a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-main);
  white-space: nowrap;
}

.nav-list .dropdown:hover .dropdown-content,
.nav-list .dropdown:focus-within .dropdown-content {
  display: block;
}

/*────────────────────────────────────────────────────────────────────────*/
/* Mobile Navigation                                                    */
/*────────────────────────────────────────────────────────────────────────*/

@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--background-main);
    flex-direction: column;
    padding: 1rem 0;
  }
  .site-nav.open {
    display: flex;
  }
  .mobile-nav-toggle {
    display: block;
  }
  /* hide desktop Donate link on small screens */
  .header-actions .btn-secondary {
    display: none;
  }
}

/*────────────────────────────────────────────────────────────────────────*/
/* Injected mobile-menu panel                                            */
/*────────────────────────────────────────────────────────────────────────*/

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--background-main);
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.1);
  transition: left 0.3s ease;
  z-index: 1100;
}

.header-actions {
  padding-right: 25px;
}

.mobile-menu.open {
  left: 0;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
}

.mobile-menu-close {
  align-self: flex-end;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

.nav-list-mobile {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.nav-list-mobile li + li {
  margin-top: 1rem;
}

.nav-list-mobile a {
  color: var(--text-main);
  font-size: 1.1rem;
  text-decoration: none;
}

.nav-list-mobile a.active {
  color: var(--primary-color);
  font-weight: bold;
}

.nav-list-mobile li.mobile-dropdown {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.submenu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-left: 0.25rem;
}

.caret {
  display: inline-block;
  transition: transform 0.2s ease;
  color: var(--secondary-color);
}

.mobile-submenu {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
  display: none;
}

.mobile-dropdown.open .mobile-submenu {
  display: block;
}

.mobile-dropdown.open .caret {
  transform: rotate(180deg);
}

.mobile-footer-links .social-media {
  display: flex;
  font-size: 25px;
  gap: 1rem;
  padding: 2rem 1.5rem;
  flex-direction: row;
}
/* overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  z-index: 1050;
}

body.mobile-menu-open .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
}

/*────────────────────────────────────────────────────────────────────────*/
/* Footer                                                               */
/*────────────────────────────────────────────────────────────────────────*/

.site-footer {
  background: var(--background-main);
  color: var(--text-main);
  flex-shrink: 0;
  padding: 2rem 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  font-size: 1.25rem;
  color: var(--text-main);
  transition: opacity 0.2s;
}

.social-links a:hover,
.social-links a:focus {
  opacity: 0.7;
}

.footer-copy {
  font-size: 0.9rem;
  text-align: right;
  flex: 1;
}

@media (max-width: 576px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-copy {
    text-align: center;
  }
}
/* Normalize CSS */

/* Google Font Import */

/* Modular CSS Files */

/* Universal Styles */

.universal-container {
  background-color: var(--container-background);
  padding: 20px; /* A common padding, adjust based on your design */
  border-radius: var(--border-radius);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* A moderate shadow for depth */
  margin: auto; /* Center the container */
  box-sizing: border-box; /* Include padding in the container's total width */
}

/* Tab Styles */
.tab-button {
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--heading-color);
  text-align: left;
  border-left: 4px solid transparent;
  margin-bottom: 2px;
  transition:
    background-color 0.3s,
    border-left 0.3s;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 150px;
  box-sizing: border-box;
}

.tab-button:not(:last-child) {
  border-bottom: 1px solid #ffffff30; /* Specific color for this section */
}

.tab-button:hover,
.tab-button.active {
  background-color: var(--container-background);
  border-left: 4px solid var(--heading-color);
}

.tab-button.active {
  color: var(--text-color-main);
  background: rgba(255, 255, 255, 0.2);
  border-left: 4px solid var(--heading-color);
  margin-left: -4px; /* Specific margin for this section */
}
/* Popup Container */
.popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
  z-index: 1000; /* Ensure it's above other content */
}

/* Popup Content */
.popup-content {
  background-color: #1f1f1f; /* Light background to match your site */
  padding: 30px;
  border-radius: 10px;
  width: 80%;
  max-width: 800px;
  text-align: center;
  position: relative;
}

/* Close Button */
.popup-content .close-button {
  position: absolute;
  top: 0px;
  right: 15px;
  background: none;
  border: none;
  font-size: 40px;
  cursor: pointer;
  color: #ffffff;
}

/* Popup Heading */
.popup-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #ffffff;
}

.popup-content h3 {
  font-weight: 600;
}

/* Style for the images in the popup options */
.option-image {
  width: 40%; /* Adjusts the width to 80% of the container */
  height: auto; /* Maintains aspect ratio */
  border-radius: 50% / 25%; /* Creates the oval shape */
  margin-bottom: 15px;
  object-fit: contain; /* Ensures the entire image is visible */
  display: block; /* Centers the image horizontally */
  margin-left: auto;
  margin-right: auto;
}

.popup-content p {
  font-size: 20px;
  font-weight: 600;
}

/* Signup Form */
.wip-signup-form {
  width: 60%;
  margin: 1rem auto 0;   /* top margin stays, left/right auto‑centers */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wip-signup-form input[type="email"],
.wip-signup-form input[type="tel"] {
  background-color: #1a1a1a;
  border: 1px solid #555;
  border-radius: 5px;
  color: #e0e0e0;
  padding: 0.5rem;
}

.or-text {
  color: #fff;
  font-size: 0.9rem;
  align-self: center;
}

/* Popup Options */
.popup-options {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
}

/* Option Styles */
.popup-options .option {
  flex: 1;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Option Content */
.option-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Option Headings */
.popup-options .option h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}

/* Option Paragraphs */
.popup-options .option p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #666;
  text-align: center;
}

/* Option Buttons */
.btn-option {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto;
  align-self: center;
}

.popup-options .btn-option:hover {
  background-color: #ff5a4d;
}

/* pushes the Got it down a bit */
.btn-option.gotit-button {
  margin-top: 1.5rem;
  /* inherits all the styling from .btn-option */
}

/* always limit popup height and allow scrolling */
.popup-content {
  /* never exceed 90% of viewport height */
  max-height: 90vh;
  /* if content is taller, allow inner scroll */
  overflow-y: auto;
}

/* at mobile sizes, shrink everything down */
@media (max-width: 768px) {
  .popup-content {
    width: 90%;        /* narrower on small screens */
    padding: 20px;     /* less padding so you see more content */
  }

  /* make the signup form full‑width inside the popup */
  .wip-signup-form {
    width: 100%;
  }

  /* (optional) scale down text and buttons */
  .popup-content h2 {
    font-size: 24px;
  }
  .popup-content p {
    font-size: 18px;
  }
  .wip-signup-form input {
    padding: 0.75rem;
    font-size: 16px;
  }
  .btn-option {
    padding: 0.75rem 1.5rem;
    font-size: 16px;
  }
}
