/* Rivers Foundation — static site styles */

:root {
  --charcoal: #2c2c2c;
  --charcoal-dark: #1a1a1a;
  --red: #e2001a;
  --white: #ffffff;
  --grey-text: #555555;
  --grey-bg: #f5f5f5;
  --max-width: 1100px;
  --font: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: #333;
  background: var(--white);
  line-height: 1.6;
}

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

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 4px solid var(--red);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  color: var(--charcoal);
}

.brand img { height: 40px; width: auto; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.main-nav a:hover,
.main-nav a.active { color: var(--red); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--charcoal);
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 60px 24px;
}

.hero-inner { max-width: 720px; }

.hero .logo-mark { width: 180px; margin: 0 auto 20px; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero p {
  font-size: 1.1rem;
  margin: 0 0 28px;
  opacity: 0.95;
}

.page-hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 70px 24px 50px;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--red);
  color: var(--white);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn:hover { background: #b80015; transform: translateY(-1px); }

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

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

/* Sections */
section { padding: 70px 0; }

.section-alt { background: var(--grey-bg); }

.section-dark {
  background: var(--charcoal);
  color: var(--white);
}

h2.section-title {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.8rem;
  margin: 0 0 24px;
  text-align: center;
  position: relative;
}

h2.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--red);
  margin: 14px auto 0;
}

.lede {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--grey-text);
  font-size: 1.05rem;
}

.section-dark .lede { color: #ccc; }

/* About / two-column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.two-col h3 {
  text-transform: uppercase;
  color: var(--red);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.two-col .block { margin-bottom: 36px; }

/* Cards / drives grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s ease;
}

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

.card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }

.card .card-body { padding: 18px 16px 24px; }
.card .price { color: var(--red); font-weight: 500; }

.card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  text-transform: uppercase;
}


/* Donate section */
.donate-section {
  background: var(--charcoal);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.donate-box {
  max-width: 420px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 36px 32px;
}

.donate-box h2 {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.donate-box p {
  color: #ccc;
  margin: 0 0 24px;
  font-size: 0.95rem;
}

.amount-field {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}

.amount-field .prefix {
  padding: 14px 16px;
  font-weight: 500;
  color: var(--charcoal);
  background: #eee;
}

.amount-field input {
  flex: 1;
  border: none;
  padding: 14px 12px;
  font-size: 1.1rem;
  color: var(--charcoal);
  min-width: 0;
}

.amount-field input:focus { outline: 2px solid var(--red); }

.donate-box .btn { width: 100%; }

.donate-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: #999;
}

/* Get involved list */
.list-check {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.list-check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
}

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

.donation-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}

.option-card {
  background: var(--grey-bg);
  border-radius: 6px;
  padding: 28px;
  text-align: center;
}

.option-card p { color: var(--grey-text); margin-bottom: 20px; }

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--charcoal);
}

.faq-question .icon {
  font-size: 1.4rem;
  color: var(--red);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--grey-text);
}

.faq-item.open .faq-answer { max-height: 600px; }

.faq-answer-inner { padding: 0 0 20px; }

/* Forms */
form.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.field label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.field textarea { min-height: 120px; resize: vertical; }

/* Contact details */
.contact-details {
  text-align: center;
  margin-bottom: 40px;
  color: var(--grey-text);
}

.contact-details strong { color: var(--charcoal); }

/* Footer */
.site-footer {
  background: var(--charcoal-dark);
  color: #aaa;
  padding: 36px 0;
  text-align: center;
  font-size: 0.9rem;
}




/* Responsive */
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
  .donation-options { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid #eee;
    display: none;
  }

  .main-nav.open { display: block; }

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

  .main-nav li { border-bottom: 1px solid #eee; }
  .main-nav a { display: block; padding: 14px 0; }
}
