﻿/* ============================================
   DONATE PAGE - 布施项目详情样式
   Reuses style.css base, Buddhist theme colors
   ============================================ */

/* === PAGE HERO BANNER === */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(54,62,90,0.85) 0%, rgba(54,62,90,0.5) 100%);
}
.page-hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-title {
  font-family: 'Oswald', sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}
.breadcrumb a { color: #fff; transition: opacity 0.3s; }
.breadcrumb a:hover { opacity: 0.7; }
.breadcrumb-sep { opacity: 0.5; }
.breadcrumb-current { color: #d88e7d; font-weight: 600; }

/* === CAMPAIGN LAYOUT === */
.campaign-section { padding: 70px 0; }
.campaign-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}

/* === LEFT COLUMN (Main Content) === */
.campaign-main { }

/* Image Gallery */
.campaign-gallery {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
}
.campaign-gallery img {
  width: 100%;
  height: auto;
  display: block;
}

/* Campaign Info */
.campaign-header {
  margin-bottom: 25px;
}
.campaign-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #d88e7d;
  background: #fdf5f0;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.campaign-header h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: #363e5a;
  line-height: 1.3;
  margin-bottom: 15px;
}
.campaign-meta {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #888;
}
.campaign-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Progress Bar */
.campaign-progress {
  margin: 25px 0 20px;
}
.progress-bar-wrap {
  height: 8px;
  background: #f8eae1;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #d88e7d, #d88e7d);
  border-radius: 4px;
  transition: width 1s ease;
}
.campaign-amounts {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #595a5a;
}
.campaign-amounts strong {
  color: #d88e7d;
  font-size: 20px;
}

/* Campaign Description */
.campaign-content { }
.campaign-content h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #363e5a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.campaign-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 18px;
}
.campaign-content ul, .campaign-content ol {
  margin: 15px 0 20px 20px;
}
.campaign-content ul li, .campaign-content ol li {
  font-size: 14px;
  color: #595a5a;
  line-height: 1.7;
  margin-bottom: 8px;
  padding-left: 5px;
}
.campaign-content ul li::marker { color: #d88e7d; }

/* Dharma Quote */
.dharma-quote {
  background: #fdf5f0;
  border-left: 4px solid #d88e7d;
  padding: 20px 25px;
  margin: 25px 0;
  border-radius: 0 8px 8px 0;
}
.dharma-quote p {
  font-size: 16px;
  font-style: italic;
  color: #363e5a;
  line-height: 1.7;
  margin-bottom: 5px;
}
.dharma-quote .quote-source {
  font-size: 12px;
  color: #888;
  font-style: normal;
  text-align: right;
}

/* === RIGHT SIDEBAR === */
.campaign-sidebar { }

/* Sidebar Card */
.sidebar-card {
  background: #fff;
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 25px;
  box-shadow: 0 3px 15px rgba(54,62,90,0.06);
}
.sidebar-card h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #363e5a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f8eae1;
}
.sidebar-card p {
  font-size: 13px;
  color: #777;
  line-height: 1.7;
}

/* Donate CTA */
.donate-cta-card {
  background: #363e5a;
  color: #fff;
  border-radius: 10px;
  padding: 28px;
  text-align: center;
}
.donate-cta-card h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  color: #d88e7d;
}
.donate-cta-card p {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 18px;
}
.donate-cta-card .btn-donate-cta {
  display: block;
  background: #d88e7d;
  color: #fff;
  padding: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 8px;
  transition: background 0.3s;
}
.donate-cta-card .btn-donate-cta:hover { background: #c47a6b; }

/* Stats */
.sidebar-stats { }
.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f8eae1;
  font-size: 14px;
}
.stat-item:last-child { border-bottom: none; }
.stat-label { color: #777; }
.stat-value { font-weight: 700; color: #363e5a; }

/* Responsive */
@media (max-width: 768px) {
  .campaign-grid { grid-template-columns: 1fr; }
  .page-title { font-size: 32px; }
  .campaign-header h2 { font-size: 24px; }
}
