/* ===== Variables ===== */
:root {
  --primary: #8B1A1A;
  --primary-dark: #6B0F0F;
  --secondary: #D4A843;
  --accent: #134F5C;
  --text-dark: #1a1a1a;
  --text-body: #333;
  --text-muted: #666;
  --bg-light: #FFF8F0;
  --bg-cream: #FAF3E8;
  --bg-white: #ffffff;
  --border-light: #e8ddd0;
}

/* ===== Base ===== */
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif', serif;
  color: var(--text-dark);
  font-weight: 700;
}

/* ===== Navbar ===== */
.navbar {
  background-color: var(--bg-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 0.75rem 0;
}

.navbar .brand-text {
  font-family: 'Noto Serif', serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.navbar .nav-link {
  font-weight: 600;
  color: var(--text-body);
  padding: 0.5rem 1rem;
  transition: color 0.2s;
}

.navbar .nav-link:hover {
  color: var(--primary);
}

/* ===== Hero Section ===== */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero-section h1 {
  font-size: 2.2rem;
  color: white;
  margin-bottom: 1rem;
}

.hero-section .lead {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto;
}

.hero-section img {
  max-height: 200px;
  margin-bottom: 1.5rem;
}

/* ===== Content Sections ===== */
.section {
  padding: 3.5rem 0;
}

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

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

.section h2 {
  color: var(--primary);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--secondary);
  display: inline-block;
}

.section h3 {
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* ===== Image Cards ===== */
.img-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}

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

.img-card .caption {
  background: var(--bg-white);
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  color: var(--text-dark);
}

/* ===== Feature List ===== */
.feature-item {
  margin-bottom: 1.5rem;
}

.feature-item strong {
  color: var(--primary-dark);
}

/* ===== Donate Section ===== */
.donate-section {
  background: linear-gradient(135deg, var(--accent) 0%, #0d3a44 100%);
  color: white;
  padding: 4rem 0;
}

.donate-section h2 {
  color: white;
  border-bottom-color: var(--secondary);
}

.donate-section h3 {
  color: var(--secondary);
}

.donate-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.donate-card h4 {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.donate-card ul {
  list-style: none;
  padding-left: 0;
}

.donate-card ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.donate-card ul li:last-child {
  border-bottom: none;
}

/* ===== Budget Table ===== */
.budget-table {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
}

.budget-table table {
  margin-bottom: 0;
}

.budget-table thead {
  background-color: var(--primary);
  color: white;
}

.budget-table .total-row {
  font-weight: 700;
  background-color: var(--bg-cream);
}

/* ===== Footer ===== */
.site-footer {
  background-color: #1a1a1a;
  color: #ccc;
  padding-top: 1rem;
}

.site-footer h5 {
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: #ccc;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--secondary);
}

.site-footer hr {
  border-color: #333;
}

/* ===== Utilities ===== */
.text-primary-custom {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

.text-secondary-custom {
  color: var(--secondary);
}

.bg-primary-custom {
  background-color: var(--primary);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-section {
    padding: 2.5rem 0;
  }

  .hero-section h1 {
    font-size: 1.6rem;
  }

  .section {
    padding: 2rem 0;
  }

  .section h2 {
    font-size: 1.4rem;
  }
}
