/* ============================================
   The Ollie Jacob Parks PCHS STEM Scholarship Fund
   Powell County / Red River Gorge Theme
   ============================================ */

:root {
  --sandstone:    #C4A882;
  --sandstone-light: #D4BFA0;
  --warm-red:     #8B4513;
  --forest-green: #2D5016;
  --cream:        #FAF5EF;
  --dark-brown:   #3B2F1E;
  --dark-brown-90: rgba(59, 47, 30, 0.9);
  --dark-brown-60: rgba(59, 47, 30, 0.6);
  --sandstone-20: rgba(196, 168, 130, 0.2);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--dark-brown);
  background: var(--cream);
}

.container {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  background: var(--dark-brown);
  text-align: center;
  padding-top: 48px;
  overflow: hidden;
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.hero-image {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--sandstone);
  box-shadow:
    0 0 0 10px rgba(196, 168, 130, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-text {
  padding: 0 24px 80px;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.3;
  color: var(--cream);
  margin-bottom: 16px;
}

.hero-text .fund-name {
  display: block;
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  color: var(--sandstone-light);
  margin-top: 4px;
}

.hero-subtitle {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--sandstone-light);
  letter-spacing: 0.02em;
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================
   Ridge / Cliff Silhouette Dividers
   ============================================ */
.ridge-divider {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.ridge-hero {
  position: absolute;
  bottom: 0;
  left: 0;
}

.ridge-hero svg {
  width: 100%;
  height: 80px;
}

.ridge-mid {
  background: var(--sandstone-20);
}

.ridge-mid svg {
  width: 100%;
  height: 50px;
}

.ridge-footer svg {
  width: 100%;
  height: 40px;
}

/* ============================================
   About / Narrative Section
   ============================================ */
.about {
  background: var(--cream);
  padding: 64px 0 48px;
}

.about-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-brown);
  text-align: center;
  margin-bottom: 36px;
}

/* Visually hidden but accessible to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.narrative {
  max-width: 680px;
  margin: 0 auto;
}

.narrative p {
  margin-bottom: 24px;
  font-size: 1.05rem;
  color: var(--dark-brown);
}

.narrative .lead {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--warm-red);
  line-height: 1.6;
  border-left: 4px solid var(--sandstone);
  padding-left: 20px;
  margin-bottom: 32px;
}

/* ============================================
   Donate Section
   ============================================ */
.donate {
  background: var(--sandstone-20);
  padding: 64px 0 80px;
}

.donate h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-brown);
  text-align: center;
  margin-bottom: 12px;
}

.donate-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
  color: var(--dark-brown-60);
}

.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

.donate-card {
  background: white;
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(59, 47, 30, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.donate-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.donate-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59, 47, 30, 0.12);
}

.donate-card-wide {
  grid-column: 1 / -1;
}

.donate-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sandstone-20);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.donate-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-brown);
  margin-bottom: 8px;
}

.donate-handle {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--warm-red);
  font-weight: 700;
  word-break: break-all;
}

.donate-detail {
  font-size: 0.95rem;
  color: var(--dark-brown-60);
  margin-bottom: 20px;
}

.mail-addresses {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.address {
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--dark-brown);
}

.address strong {
  color: var(--warm-red);
}

.address-note {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--dark-brown-60);
}

/* Copy button */
.copy-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 16px;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cream);
  background: var(--warm-red);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
  letter-spacing: 0.02em;
}

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

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--dark-brown);
  color: var(--sandstone-light);
  text-align: center;
  position: relative;
}

.ridge-footer {
  position: relative;
  top: 1px;
}

.footer-content {
  padding: 24px 24px 48px;
}

.footer-content p {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.footer-content strong {
  color: var(--cream);
}

.footer-nonprofit {
  font-size: 0.8rem;
  color: var(--sandstone);
  opacity: 0.7;
  margin-top: 12px;
}

.footer-location {
  font-size: 0.8rem;
  color: var(--dark-brown-60);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 12px;
  color: var(--sandstone);
  opacity: 0.7;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 1.7rem;
  }

  .hero-text .fund-name {
    font-size: 1.1rem;
  }

  .hero-image {
    width: 180px;
    height: 180px;
  }

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

  .donate h2 {
    font-size: 1.6rem;
  }

  .mail-addresses {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .address {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 32px;
  }

  .hero-text h1 {
    font-size: 1.4rem;
  }

  .hero-text .fund-name {
    font-size: 1rem;
  }

  .hero-image {
    width: 150px;
    height: 150px;
  }

  .about {
    padding: 40px 0 32px;
  }

  .narrative .lead {
    font-size: 1.1rem;
  }

  .donate {
    padding: 40px 0 60px;
  }
}
