/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  --green-dark: #1e3d0f;
  --green: #3a6b1f;
  --green-light: #7aaa5a;
  --yellow: #c4920a;
  --yellow-light: #f0c430;
  --brown: #6b3e1a;
  --brown-dark: #3d2005;
  --cream: #f8f4ec;
  --white: #fff;
  --text-dark: #1a140a;
  --text-muted: #5c5040;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Bebas Neue', sans-serif;

  --nav-height: 64px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--green-dark);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.5rem;
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 2px;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.section-heading--light {
  color: var(--white);
}

.section-bar {
  width: 80px;
  height: 5px;
  background: var(--yellow);
  margin-bottom: 0.5rem;
}

.section-bar--center {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

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

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

.btn-yellow:hover {
  background: #a87c08;
}

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

.btn-green:hover {
  background: var(--green-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 3px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
}

/* ============================================
   1. NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--green-dark);
  z-index: 100;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

.navbar__brand {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--white);
  flex: 1;
  text-align: left;
  margin-left: -120px;
}

.navbar__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 110;
}

.navbar__toggle-bar {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-bar:nth-child(2) {
  opacity: 0;
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.navbar__list {
  display: none;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--green-dark);
  padding: 1rem 2rem 2rem;
  gap: 0;
}

.navbar__list.is-open {
  display: flex;
}

.navbar__link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.navbar__link:hover {
  color: var(--yellow-light);
}

.navbar__link--donate {
  background: var(--yellow);
  padding: 0.5rem 1.2rem;
  border-radius: 2px;
  transition: background 0.2s;
}

.navbar__link--donate:hover {
  background: #a87c08;
  color: var(--white);
}

/* ============================================
   2. HERO
   ============================================ */
.hero {
  margin-top: var(--nav-height);
  min-height: 85vh;
  background-size: auto 100%;
  background-position: right center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(30, 61, 15, 1) 0%,
    rgba(30, 61, 15, 0.85) 47%,
    transparent 86%
  );
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
}

.hero__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero__text {
  max-width: 600px;
  margin-left: auto;
  text-align: right;
}

.hero__text--left {
  margin-left: -120px;
  margin-right: auto;
  text-align: left;
}

.hero__bar--left {
  margin-left: 0;
  margin-right: auto;
}

.hero__cta--left {
  justify-content: flex-start;
}

.hero__name {
  font-family: var(--font-display);
  font-size: clamp(4.8rem, 12vw, 9.6rem);
  color: var(--white);
  line-height: 0.9;
  letter-spacing: -2px;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__bar {
  width: 100%;
  height: 6px;
  background: var(--yellow);
  margin: 1rem 0;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 1.7vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.4;
  letter-spacing: 1px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

.hero__tagline {
  font-size: 1.5rem;
  color: var(--yellow-light);
  margin-top: 1rem;
  font-weight: 600;
  font-style: italic;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.hero__cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero__authority {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.3rem 1rem;
  z-index: 3;
  white-space: nowrap;
}

/* ============================================
   3. ABOUT
   ============================================ */
.about {
  padding: 5rem 2rem;
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about__text p {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  color: #3a2e20;
}

.about__text p:first-of-type::first-letter {
  font-size: 3rem;
  font-weight: 900;
  color: var(--green);
  float: left;
  margin-right: 0.5rem;
  line-height: 1;
}

.about__image img {
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

/* ============================================
   4. WHY THIS OFFICE MATTERS
   ============================================ */
.office {
  padding: 5rem 2rem;
  background: var(--green-dark);
  color: var(--white);
}

.office__intro {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 1rem 0 2rem;
  line-height: 1.7;
}

.office__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.office__list li {
  padding: 0.9rem 1.2rem 0.9rem 1.5rem;
  border-left: 4px solid var(--yellow);
  background: rgba(255, 255, 255, 0.07);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.office__goal {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--yellow-light);
  font-style: italic;
}

/* ============================================
   PHOTO BREAK
   ============================================ */
.photo-break {
  position: relative;
  height: 50vh;
  min-height: 280px;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

@supports (-webkit-touch-callout: none) {
  .photo-break {
    background-attachment: scroll;
  }
}

.photo-break__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 61, 15, 0.75) 0%, rgba(107, 62, 26, 0.6) 100%);
}

.photo-break__text {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  letter-spacing: 4px;
  text-align: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* ============================================
   5. PRIORITIES
   ============================================ */
.priorities {
  padding: 5rem 2rem;
  background: var(--brown-dark);
  color: var(--white);
}

.priorities__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.priority-card {
  background: rgba(255, 255, 255, 0.06);
  border-left: 5px solid var(--yellow);
  padding: 1.75rem 2rem;
  transition: background 0.2s;
}

.priority-card:hover {
  background: rgba(255, 255, 255, 0.12);
}

.priority-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
  color: var(--yellow-light);
}

.priority-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   6. GET INVOLVED
   ============================================ */
.get-involved {
  padding: 5rem 2rem;
  background: var(--cream);
  text-align: center;
}

.get-involved__subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0.75rem auto 2.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.get-involved__form {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.get-involved__form input[type="text"],
.get-involved__form input[type="email"],
.get-involved__form input[type="tel"] {
  padding: 0.9rem 1rem;
  border: 2px solid #d4c9b0;
  border-radius: 3px;
  font-size: 1rem;
  font-family: var(--font-body);
  width: 100%;
  background: var(--white);
  color: var(--text-dark);
  transition: border 0.2s;
}

.get-involved__form input:focus {
  outline: none;
  border-color: var(--green);
}

.form-checkboxes {
  padding: 0.5rem 0;
}

.form-label {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-checkboxes label {
  display: block;
  padding: 0.35rem 0;
  font-size: 1rem;
  color: var(--text-dark);
  cursor: pointer;
}

.form-checkboxes input[type="checkbox"] {
  margin-right: 0.5rem;
  accent-color: var(--green);
  width: 16px;
  height: 16px;
}

.get-involved__form .btn {
  align-self: center;
  margin-top: 0.5rem;
}

.form-thanks {
  font-size: 1.1rem;
  color: var(--green-dark);
  font-weight: 700;
  margin-top: 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.footer__authority {
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in-section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================
   RESPONSIVE — TABLET+ (768px)
   ============================================ */
@media (min-width: 768px) {
  .navbar__toggle {
    display: none;
  }

  .navbar__list {
    display: flex;
    flex-direction: row;
    position: static;
    padding: 0;
    background: transparent;
    gap: 2rem;
    margin-left: auto;
    margin-right: -15.5rem;
  }

  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .about__image img {
    margin: 0;
    max-width: 100%;
  }

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

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

/* ============================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .hero__text--left {
    margin-left: -60px;
  }

  .navbar__brand {
    font-size: 0.85rem;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
    background-position: right center;
    background-size: auto 60%;
  }

  .hero::before {
    background: linear-gradient(
      to top,
      rgba(30, 61, 15, 0.97) 0%,
      rgba(30, 61, 15, 0.85) 45%,
      rgba(30, 61, 15, 0.4) 70%,
      transparent 100%
    );
  }

  .hero__content {
    padding: 2rem 1.5rem 3.5rem;
  }

  .hero__text--left {
    margin-left: 0;
    max-width: 100%;
    text-align: left;
    margin-top: 45vh;
  }

  .hero__name {
    font-size: 3rem;
  }

  .hero__bar--left {
    margin-left: 0;
    margin-right: auto;
    width: 100%;
  }

  .hero__subtitle {
    font-size: 0.75rem;
    text-align: left;
  }

  .hero__tagline {
    font-size: 1rem;
    text-align: left;
  }

  .hero__cta--left {
    justify-content: flex-start;
    margin-top: 1rem;
    gap: 0.75rem;
  }

  .hero__cta .btn {
    padding: 0.7rem 1rem;
    font-size: 0.8rem;
    text-align: center;
  }

  .hero__authority {
    display: none;
  }

  .navbar__brand {
    font-size: 0.75rem;
    letter-spacing: 0;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }
}
