/* The D.G. Chama Sanctuary Project - Outdoor Conservation Stylesheet */

:root {
  --forest-dark: #183623;
  --forest-mid: #234b32;
  --sage-light: #eef3ef;
  --sage-border: #cddbd1;
  --gold-accent: #d4a843;
  --gold-light: #f3d27a;
  --text-dark: #1f2922;
  --text-muted: #4a5a50;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  color: var(--text-dark);
  background-color: var(--white);
}

/* Header & Navigation */
header {
  background-color: var(--forest-dark);
  color: var(--white);
  padding: 1.5rem 1.25rem;
  border-bottom: 4px solid var(--gold-accent);
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
}

.site-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.site-tagline {
  font-size: 0.95rem;
  color: #dce6df;
  margin-bottom: 1rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

nav a {
  color: #e8efe9;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--white);
  border-bottom: 2px solid var(--gold-accent);
}

/* Hero Banner Section */
.hero {
  background-color: var(--forest-mid);
  color: var(--white);
  padding: 2.5rem 1.25rem 3rem;
  text-align: center;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
}

.hero img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

/* High-contrast crisp white & warm gold hero typography */
.hero h1,
.hero h2 {
  color: #ffffff !important;
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.28;
  margin-bottom: 1rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.hero .eyebrow,
.hero .subtitle-gold {
  color: var(--gold-light) !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.hero p {
  color: #f3f7f4 !important;
  font-size: 1.08rem;
  max-width: 780px;
  margin: 0 auto 1.25rem;
}

/* Main Content Containers */
main {
  max-width: 1050px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

section {
  margin-bottom: 2.75rem;
}

h2 {
  color: var(--forest-dark);
  font-size: 1.65rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--sage-border);
}

h3 {
  color: var(--forest-mid);
  font-size: 1.22rem;
  margin: 1.25rem 0 0.5rem;
}

p {
  margin-bottom: 1rem;
}

ul {
  margin: 0.75rem 0 1.25rem 1.4rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Cards & Grid Layouts */
.grid,
.card-grid,
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.35rem;
  margin-top: 1.25rem;
}

.card,
.tier-card,
.pillar-card {
  background-color: var(--sage-light);
  border: 1px solid var(--sage-border);
  border-top: 4px solid var(--forest-mid);
  border-radius: 6px;
  padding: 1.4rem;
}

.tier-card.featured {
  border-top-color: var(--gold-accent);
  background-color: #f7f9f5;
}

.card h3,
.tier-card h3 {
  margin-top: 0;
  color: var(--forest-dark);
}

/* Callout Boxes */
.callout,
.highlight-box {
  background-color: var(--sage-light);
  border-left: 5px solid var(--gold-accent);
  padding: 1.25rem 1.4rem;
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0;
}

/* Buttons & CTAs */
.btn,
button[type="submit"] {
  display: inline-block;
  background-color: var(--gold-accent);
  color: #13281b;
  font-weight: 700;
  text-decoration: none;
  padding: 0.75rem 1.4rem;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s, transform 0.1s;
}

.btn:hover,
button[type="submit"]:hover {
  background-color: #e0b653;
}

/* Contact Form */
form {
  background-color: var(--sage-light);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--sage-border);
  max-width: 680px;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--forest-dark);
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  margin-bottom: 1.1rem;
  border: 1px solid #b5c7bb;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  background-color: var(--white);
}

/* Footer */
footer {
  background-color: var(--forest-dark);
  color: #dce6df;
  padding: 2rem 1.25rem;
  margin-top: 3rem;
  border-top: 4px solid var(--gold-accent);
  font-size: 0.92rem;
}

.footer-container {
  max-width: 1050px;
  margin: 0 auto;
}

footer a {
  color: var(--gold-light);
  text-decoration: none;
}

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

@media (max-width: 640px) {
  .site-title {
    font-size: 1.35rem;
  }
  .hero h1,
  .hero h2 {
    font-size: 1.55rem;
  }
}
/* Fix Header Brand Title Color */
header a,
header a:visited,
.brand,
.brand:visited,
.brand span {
  color: #ffffff !important;
  text-decoration: none !important;
}

