/* =========================================================
   SCTAI Website Redesign - Shared Framework Styles
   Location: /redesign/assets/css/styles.css
   ========================================================= */

:root {
  --green-dark: #183d27;
  --green: #285b38;
  --green-light: #3f7a4d;
  --tan: #efe2c5;
  --tan-light: #f8f3e7;
  --orange: #c85f24;
  --orange-dark: #9f4317;
  --gray-dark: #222222;
  --gray: #666666;
  --white: #ffffff;
  --border: #ddd1b8;

  --max-width: 1180px;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   Base
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--gray-dark);
  background: var(--tan-light);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

/* =========================================================
   Header / Navigation
   ========================================================= */

.site-header {
  background: var(--white);
  border-bottom: 8px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 4px 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  width: auto;
  max-width: 360px;
}

.site-logo-icon {
  display: block;
  width: 74px;
  height: 74px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.site-logo-text strong {
  display: block;
  font-size: 30px;
  font-weight: 900;
  color: var(--green-dark);
  letter-spacing: 1px;
}

.site-logo-text span {
  display: block;
  margin-top: 5px;
  max-width: 230px;
  font-size: 11px;
  font-weight: 800;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1.15;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--gray-dark);
  padding: 24px 0 18px;
  border-bottom: 4px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* =========================================================
   Generic Page Hero
   ========================================================= */

.page-hero {
  background:
    linear-gradient(rgba(24, 61, 39, 0.82), rgba(24, 61, 39, 0.82)),
    url("../images/hero-placeholder.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 96px 0;
}

/* Page-specific hero photos */
.page-hero-resources {
  background-image:
    linear-gradient(rgba(24, 61, 39, 0.66), rgba(24, 61, 39, 0.58)),
    url("../images/volunteer-resources/hero-resources-holcomb-creek.webp");
  background-position: center 75%;
}

.page-hero-impact {
  background-image:
    linear-gradient(rgba(24, 61, 39, 0.66), rgba(24, 61, 39, 0.58)),
    url("../images/projects-impact/hero-projects-impact.webp");
  background-position: center 30%;
}

.page-hero-contact {
  background-image:
    linear-gradient(rgba(24, 61, 39, 0.66), rgba(24, 61, 39, 0.58)),
    url("../images/contact/hero-contact.webp");
  background-position: center 65%;
}

.page-hero .eyebrow {
  color: var(--tan);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  margin: 0 0 10px;
}

.page-hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1;
  margin: 0 0 20px;
}

.hero-text {
  max-width: 760px;
  font-size: 22px;
  margin: 0;
}

/* =========================================================
   About Page Hero
   ========================================================= */

.page-hero-about {
  background:
    linear-gradient(rgba(24, 61, 39, 0.66), rgba(24, 61, 39, 0.58)),
    url("../images/about/hero-about-sctai.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 90px 0;
}

.page-hero-about {
  position: relative;
  overflow: hidden;
}

.page-hero-about::after {
  content: attr(data-photo-caption);
  position: absolute;
  right: 24px;
  bottom: 18px;
  max-width: min(520px, calc(100% - 48px));
  background: rgba(24, 61, 39, 0.86);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  padding: 9px 13px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.page-hero-about:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.about-hero-inner {
  display: flex;
  align-items: center;
}

.about-hero-copy {
  max-width: 760px;
}

.about-story {
  max-width: 980px;
}

.about-story h2 {
  margin-bottom: 28px;
}

.about-story p {
  max-width: 960px;
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.65;
}

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

/* =========================================================
   Content Sections
   ========================================================= */

.page-content {
  padding: 70px 0;
}

.page-content h2 {
  color: var(--green-dark);
  font-size: 36px;
  margin-top: 0;
}

.page-content p {
  font-size: 18px;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 {
  color: var(--green-dark);
  font-size: 26px;
  margin-top: 0;
}

/* =========================================================
   Buttons
   ========================================================= */

.button {
  display: inline-block;
  background: var(--green-dark);
  color: var(--white);
  padding: 13px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  margin-top: 10px;
}

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

.button.secondary {
  background: var(--orange);
}

.button.secondary:hover {
  background: var(--orange-dark);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--green-dark);
  color: var(--white);
  padding-top: 44px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
}

.site-footer h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

.site-footer p {
  margin: 6px 0;
  color: var(--tan-light);
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-content: flex-start;
  justify-content: flex-end;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  padding: 18px;
  color: var(--tan);
}

/* =========================================================
   Homepage
   ========================================================= */

.home-hero {
  min-height: 520px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.42)),
    url("../images/hero-homepage-ohv-trail.webp");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.home-hero-overlay {
  min-height: 520px;
  display: flex;
  align-items: center;
}

.home-hero-content {
  max-width: var(--max-width);
}

.home-hero .eyebrow {
  color: var(--tan);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 900;
  margin: 0 0 12px;
}

.home-hero h1 {
  max-width: 760px;
  font-size: clamp(58px, 9vw, 112px);
  line-height: 0.9;
  margin: 0 0 24px;
  color: var(--white);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.42);
}

.home-hero p {
  max-width: 680px;
  font-size: 24px;
  line-height: 1.4;
  margin: 0 0 28px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.tan-button {
  background: #b88745;
}

.tan-button:hover {
  background: #966d36;
}

.mission-strip {
  background: #f4ead5;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.mission-inner {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 28px;
}

.mission-icon {
  font-size: 54px;
  color: var(--green-dark);
  text-align: center;
  border-right: 2px solid var(--border);
}

.mission-inner p {
  font-size: 21px;
  line-height: 1.55;
  margin: 0;
}

.home-section {
  padding: 54px 0;
}

.home-section.light {
  background: #f8f3e7;
}

.home-card-grid {
  display: grid;
  gap: 24px;
}

.home-card-grid.two {
  grid-template-columns: 1fr 1fr;
}

.home-card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.info-panel,
.mini-card,
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.feature-card-body {
  padding: 24px;
}

.feature-card h2,
.info-panel h2 {
  color: var(--green-dark);
  line-height: 1.15;
  margin-top: 0;
}

.feature-card p,
.info-panel p,
.mini-card p {
  font-size: 17px;
}

.info-panel {
  padding: 32px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 17px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-weight: 900;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 30px;
}

.section-heading h2 {
  color: var(--green-dark);
  font-size: 40px;
  margin: 0 0 8px;
}

.section-heading p {
  font-size: 18px;
  margin: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.stat-card {
  padding: 24px;
  text-align: center;
}

.stat-card strong {
  display: block;
  color: var(--green-dark);
  font-size: 34px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.stat-card small {
  display: block;
  color: var(--gray);
  margin-top: 4px;
}

.project-row {
  margin-top: 28px;
}

.mini-card {
  padding-bottom: 22px;
}

.mini-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.mini-card h3,
.mini-card p,
.mini-card a {
  margin-left: 22px;
  margin-right: 22px;
}

.mini-card h3 {
  color: var(--green-dark);
}

.mini-card a {
  display: inline-block;
  color: var(--orange);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.support-strip {
  background:
    linear-gradient(rgba(239, 226, 197, 0.92), rgba(239, 226, 197, 0.92)),
    linear-gradient(135deg, #d9c99d, #f2e4c4);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.support-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.support-inner h2 {
  color: var(--green-dark);
  font-size: 42px;
  line-height: 1.1;
  margin: 0 0 12px;
}

.support-inner p {
  max-width: 820px;
  font-size: 19px;
  margin: 0;
}

.donate-button {
  white-space: nowrap;
  font-size: 18px;
  padding: 16px 28px;
}

/* =========================================================
   Supporters Page
   ========================================================= */

.supporter-note {
  background: #f4ead5;
  border-left: 6px solid var(--orange);
  padding: 18px 22px;
  margin: 30px 0;
  font-size: 17px;
}

.supporter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 30px 0 48px;
}

.supporter-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  text-align: center;
}

.supporter-logo-placeholder {
  height: 120px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  background: var(--tan-light);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.supporter-card h3 {
  color: var(--green-dark);
  margin: 0 0 10px;
}

.supporter-card p {
  font-size: 16px;
  margin: 0;
}

.supporter-disclaimer {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 40px 0;
}

.supporter-cta {
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  margin-top: 40px;
}

.supporter-cta h2 {
  color: var(--white);
}

.supporter-cta p {
  color: var(--tan-light);
}

.supporter-cta .button {
  margin-right: 12px;
}

/* =========================================================
   Supporter Logo Variations
   ========================================================= */

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

.supporter-logo-warn {
  background: #111111;
  color: #ffffff;
  border: 2px solid #111111;
  font-size: 34px;
  letter-spacing: 3px;
}

.supporter-code-button {
  display: block;
  background: var(--green-dark);
  color: var(--white);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 18px;
  text-decoration: none;
  text-align: center;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.supporter-code-button span {
  display: block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--tan);
}

.supporter-code-button strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  letter-spacing: 1px;
}

.supporter-code-button:hover {
  background: var(--green);
  transform: translateY(-1px);
}

.supporter-discount-note {
  font-size: 14px;
  color: var(--gray);
  margin-top: 10px;
}

.supporter-logo-box {
  height: 120px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  margin-bottom: 18px;
}

.supporter-logo-img {
  max-width: 180px;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
    gap: 12px;
  }

  .site-logo {
    max-width: 100%;
  }

  .site-logo-icon {
    width: 64px;
    height: 64px;
  }

  .site-logo-text strong {
    font-size: 26px;
  }

  .site-logo-text span {
    font-size: 10px;
    max-width: 220px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 18px;
    white-space: normal;
  }

  .site-nav a {
    padding: 4px 0 8px;
  }

  .about-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .home-card-grid.two,
  .home-card-grid.three,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .mission-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mission-icon {
    border-right: none;
    border-bottom: 2px solid var(--border);
    padding-bottom: 12px;
  }

  .support-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 560px) {
  .container {
    width: min(100% - 26px, var(--max-width));
  }

  .site-logo-icon {
    width: 56px;
    height: 56px;
  }

  .site-logo-text strong {
    font-size: 23px;
  }

  .site-logo-text span {
    font-size: 9px;
    max-width: 190px;
  }

  .page-hero {
    padding: 70px 0;
  }

  .hero-text {
    font-size: 18px;
  }

  .site-nav {
    font-size: 14px;
  }

  .home-hero,
  .home-hero-overlay {
    min-height: 460px;
  }

  .home-hero p {
    font-size: 19px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .supporter-cta .button {
    display: block;
    width: fit-content;
    margin-bottom: 12px;
  }
}
/* =========================================================
   Current Priorities Homepage Section + Filmstrip
   ========================================================= */

.current-priorities-section {
  padding: 54px 0;
  background: var(--tan-light);
}

.current-priorities-heading {
  max-width: 780px;
  margin: 0 auto 30px;
  text-align: center;
}

.current-priorities-heading h2 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: clamp(34px, 5vw, 46px);
  line-height: 1.05;
}

.current-priorities-heading p {
  margin: 0;
  color: var(--gray);
  font-size: 18px;
}

.current-priorities-embed {
  width: 100%;
  overflow: hidden;
}

.current-priorities-frame {
  display: block;
  width: 100%;
  min-height: 500px;
  border: 0;
  background: transparent;
}

@media (max-width: 800px) {
  .current-priorities-section {
    padding: 42px 0;
  }

  .current-priorities-frame {
    min-height: 760px;
  }
}
