@import "/mk3/assets/palette.css";
/* projects.css — 音樂項目展示（總覽 + 心靈充電音樂會 + 樂動 DJ 音樂會）。
   專業捐款者／機構夥伴導向：敘事式內容、品牌 Navy/Orange 色系、無表情符號。 */

.projects-page section { padding: 3rem 0; }
.projects-page .container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* Hero */
.projects-hero {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 4.5rem 2rem;
  text-align: center;
}
.projects-hero h1 { font-size: 2.5rem; margin: 0 0 1rem; font-weight: 700; }
.projects-hero .subtitle {
  font-size: 1.25rem; opacity: .95;
  max-width: 800px; margin: 0 auto; line-height: 1.6;
}
.projects-hero .tagline-note { font-size: 1rem; opacity: .8; margin: 1rem 0 0; }

.projects-page h2 { text-align: center; font-size: 1.9rem; color: var(--navy-dark); margin: 0 0 .5rem; }
.projects-page .section-subtitle { text-align: center; color: var(--gray); font-size: 1.125rem; margin: 0 0 2rem; }
.intro-text {
  font-size: 1.125rem; line-height: 1.8; color: var(--text);
  max-width: 800px; margin: 0 auto; text-align: center;
}

/* Projects grid（總覽卡片） */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
  gap: 2rem;
  margin: 2rem 0 0;
}
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(15, 36, 86, .08);
  transition: transform .25s, box-shadow .25s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(15, 36, 86, .15); }
.project-card-header {
  background: var(--light-blue);
  padding: 2rem;
  border-bottom: 3px solid var(--navy);
}
.project-card h2 { font-size: 1.6rem; color: var(--navy-dark); margin: 0 0 .5rem; text-align: left; }
.project-card .tagline { font-size: 1rem; color: var(--gray); font-style: italic; margin: 0; }
.project-card-body { padding: 2rem; }

.project-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.meta-item { display: flex; flex-direction: column; }
.meta-label { font-size: .8rem; color: var(--gray); letter-spacing: .5px; margin-bottom: .25rem; }
.meta-value { font-size: 1rem; color: var(--ink); font-weight: 600; }

.project-description { color: var(--text); line-height: 1.7; margin: 0 0 1.5rem; }
.project-highlights { list-style: none; padding: 0; margin: 1.5rem 0; }
.project-highlights li {
  padding: .5rem 0 .5rem 1.5rem;
  position: relative;
  color: var(--text);
  line-height: 1.6;
}
.project-highlights li::before {
  content: "\25B8";
  position: absolute; left: 0;
  color: var(--orange);
  font-weight: 700;
}
.project-cta {
  display: inline-block;
  padding: .75rem 1.5rem;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background .2s;
}
.project-cta:hover { background: var(--navy-hover); }

/* Stats */
.stats-section { background: var(--light-gray); }
.stats-period { text-align: center; color: var(--gray); margin: 0 0 2rem; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 2rem 1.25rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(15, 36, 86, .06);
}
.stat-number { font-size: 2.75rem; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: .5rem; }
.stat-label { font-size: 1rem; color: var(--text); font-weight: 600; }
.stat-detail { font-size: .875rem; color: var(--gray); margin-top: .5rem; }

/* Support section */
.support-section .container { max-width: 900px; }
.support-card {
  padding: 3rem 2.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(15, 36, 86, .08);
}
.support-text { text-align: center; color: var(--text); line-height: 1.8; margin: 0 0 2rem; }
.support-list { list-style: none; padding: 0; margin: 2rem auto; max-width: 640px; }
.support-list li {
  padding: .75rem 0 .75rem 2rem;
  position: relative;
  color: var(--text);
  line-height: 1.6;
}
.support-list li::before {
  content: "\2713";
  position: absolute; left: 0;
  color: var(--success);
  font-weight: 700; font-size: 1.2rem;
}

/* Detail page building blocks */
.detail-section-alt { background: var(--light-gray); }
.narrative { max-width: 800px; margin: 0 auto; }
.narrative p { color: var(--text); line-height: 1.85; margin: 0 0 1.25rem; font-size: 1.05rem; }

.flow-table-wrap { overflow-x: auto; max-width: 860px; margin: 2rem auto 0; }
.flow-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.flow-table th {
  background: var(--navy); color: #fff;
  padding: .85rem 1.25rem; text-align: left; font-size: .95rem;
}
.flow-table td { padding: .85rem 1.25rem; border-top: 1px solid var(--line); color: var(--text); line-height: 1.6; }
.flow-table td:first-child { white-space: nowrap; color: var(--navy-dark); font-weight: 600; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 0;
}
.feature-item {
  padding: 1.5rem;
  background: var(--light-blue);
  border-radius: 10px;
  border-left: 4px solid var(--navy);
}
.feature-item h3 { color: var(--navy-dark); margin: 0 0 .5rem; font-size: 1.05rem; }
.feature-item p { color: var(--text); line-height: 1.6; margin: 0; }

/* Course extension cards */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 0;
}
.course-card {
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(15, 36, 86, .06);
}
.course-card h3 { color: var(--navy-dark); margin: 0 0 .6rem; font-size: 1.05rem; }
.course-card p { color: var(--gray); line-height: 1.6; margin: 0; }

/* Steps（合作流程） */
.steps-list { counter-reset: step; list-style: none; padding: 0; max-width: 720px; margin: 2rem auto 0; }
.steps-list li {
  position: relative;
  padding: .9rem 0 .9rem 3.25rem;
  color: var(--text);
  line-height: 1.6;
}
.steps-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: .55rem;
  width: 2.25rem; height: 2.25rem;
  background: var(--navy); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 1rem;
}
.pricing-card {
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(15, 36, 86, .06);
  text-align: center;
}
.pricing-card h3 { color: var(--navy-dark); margin: 0 0 .5rem; }
.pricing-amount { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin: .75rem 0; }
.pricing-card p { color: var(--gray); line-height: 1.6; margin: 0; }
.pricing-note { text-align: center; color: var(--gray); font-size: .95rem; margin: 0; }

/* CTA（詳情頁） */
.cta-section { background: var(--navy-deep); color: #fff; text-align: center; padding: 4rem 2rem; }
.cta-section h2 { color: #fff; }
.cta-text { font-size: 1.35rem; margin: 0 0 .5rem; }
.cta-subtext { font-size: 1.05rem; opacity: .9; margin: 0 0 2rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0; }
.primary-button {
  padding: 1rem 2rem;
  background: var(--orange);
  color: var(--navy-deep);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: background .2s;
}
.primary-button:hover { background: var(--orange-hover); }
.secondary-button {
  padding: 1rem 2rem;
  background: transparent;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, .7);
  transition: background .2s, border-color .2s;
}
.secondary-button:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.contact-info p { margin: .25rem 0; opacity: .85; }

/* Breadcrumb spacing */
.projects-page .breadcrumb { margin-top: 1rem; }

/* Responsive */
@media (max-width: 768px) {
  .projects-hero h1 { font-size: 2rem; }
  .projects-grid, .stats-grid, .project-meta { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .projects-page .container { padding: 0 1.25rem; }
  .support-card { padding: 2rem 1.5rem; }
}
