/* ============================================================
   CHAPTER LANDING PAGE STYLES
   Association of Midnight Basketball
   ============================================================ */

/* ── Hero ── */
.ch-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.ch-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.ch-hero:hover .ch-hero-bg { transform: scale(1.0); }
.ch-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.25) 100%);
}
.ch-hero-content {
  position: relative;
  z-index: 2;
  padding: 64px 0 52px;
  width: 100%;
}
.ch-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.ch-breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.ch-breadcrumb a:hover { color: var(--orange); }
.ch-breadcrumb i { font-size: 10px; }
.ch-state-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.ch-hero-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 14px;
}
.ch-hero-title span { color: var(--orange); }
.ch-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.ch-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.ch-hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}
.ch-hero-meta-item i { color: var(--orange); }

/* ── Stats Bar ── */
.ch-stats-bar {
  background: var(--orange);
  padding: 0;
}
.ch-stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.ch-stat {
  padding: 22px 28px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.2);
  transition: background 0.2s;
}
.ch-stat:last-child { border-right: none; }
.ch-stat:hover { background: rgba(255,255,255,0.1); }
.ch-stat-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.ch-stat-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── About Section ── */
.ch-about {
  background: #fff;
  padding: 72px 0;
}
.ch-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ch-about-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.ch-about-label .label-line { display: block; width: 28px; height: 2px; background: var(--orange); }
.ch-about-title {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 900;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 18px;
}
.ch-about-title span { color: var(--orange); }
.ch-about-body {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 14px;
}
.ch-about-img {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.ch-about-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.ch-about-img:hover img { transform: scale(1.04); }
.ch-about-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Programs Section ── */
.ch-programs {
  background: #0A0A0A;
  padding: 72px 0;
}
.ch-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.ch-program-card {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.ch-program-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,107,0,0.4);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.ch-program-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,107,0,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--orange);
  margin-bottom: 18px;
}
.ch-program-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}
.ch-program-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ── Impact Section ── */
.ch-impact {
  background: var(--warm-gray);
  padding: 72px 0;
}
.ch-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.ch-impact-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid var(--gray-light);
}
.ch-impact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.ch-impact-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 18px;
}
.ch-impact-icon.orange { background: rgba(255,107,0,0.1); color: var(--orange); }
.ch-impact-icon.blue   { background: rgba(37,99,235,0.1);  color: #2563eb; }
.ch-impact-icon.green  { background: rgba(22,163,74,0.1);  color: #16a34a; }
.ch-impact-num {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  margin-bottom: 6px;
}
.ch-impact-label {
  font-size: 13px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.ch-impact-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* ── CTA Section ── */
.ch-cta {
  background: linear-gradient(135deg, #111 0%, #1C0A00 60%, #2D1200 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ch-cta::before {
  content: '';
  position: absolute;
  bottom: -120px; right: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,0.12) 0%, transparent 70%);
}
.ch-cta-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}
.ch-cta-title span { color: var(--orange); }
.ch-cta-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.ch-cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Info Box ── */
.ch-info-box {
  background: #fff;
  padding: 72px 0;
}
.ch-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 44px;
}
.ch-info-card {
  background: var(--warm-gray);
  border-radius: 16px;
  padding: 28px 28px 28px 28px;
  border-left: 4px solid var(--orange);
}
.ch-info-card h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ch-info-card h4 i { color: var(--orange); }
.ch-info-card p, .ch-info-card li {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}
.ch-info-card ul { padding-left: 18px; }
.ch-info-card li { margin-bottom: 4px; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .ch-about-grid { grid-template-columns: 1fr; gap: 36px; }
  .ch-programs-grid { grid-template-columns: repeat(2,1fr); }
  .ch-impact-grid { grid-template-columns: repeat(2,1fr); }
  .ch-info-grid { grid-template-columns: 1fr; }
  .ch-stats-bar .container { grid-template-columns: repeat(2,1fr); }
  .ch-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
}
@media (max-width: 600px) {
  .ch-programs-grid { grid-template-columns: 1fr; }
  .ch-impact-grid { grid-template-columns: 1fr; }
  .ch-stats-bar .container { grid-template-columns: repeat(2,1fr); }
}
