/* ============================================================
   A New Year – A New You · Health Program Website
   Florence First SDA Church
   Shared Stylesheet
   ============================================================ */

:root {
  --primary:       #0369a1;
  --primary-dark:  #075985;
  --green:         #059669;
  --green-light:   #ecfdf5;
  --green-mid:     #a7f3d0;
  --bg:            #f0f9ff;
  --white:         #ffffff;
  --text:          #1e293b;
  --muted:         #64748b;
  --border:        #e2e8f0;
  --amber-bg:      #fffbeb;
  --amber-border:  #fde68a;
  --amber-text:    #92400e;
  --amber-body:    #78350f;
  --amber-btn:     #d97706;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Site Header ── */
.site-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--green) 100%);
  color: var(--white);
  padding: 2rem 1.25rem 2.25rem;
  text-align: center;
}

.site-header .church-name {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.site-header h1 {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.site-header .tagline {
  font-size: 0.875rem;
  opacity: 0.85;
  margin-top: 0.5rem;
}

/* ── Container ── */
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

/* ── Section Label ── */
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* ── Week Cards (Home Page) ── */
.week-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
  border-left: 4px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.week-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.11);
}

.week-card.current {
  border-left-color: var(--green);
}

.week-card.past {
  border-left-color: var(--border);
  opacity: 0.65;
}

.week-card.coming {
  opacity: 0.38;
  cursor: default;
}

.week-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.week-badge.current { background: var(--green-light); color: var(--green); }
.week-badge.past    { background: #f1f5f9; color: var(--muted); }
.week-badge.coming  { background: #f8fafc; color: #cbd5e1; }

.week-info {
  flex: 1;
}

.week-num {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.week-title {
  font-weight: 600;
  font-size: 0.975rem;
  margin-top: 0.1rem;
}

.week-status {
  font-size: 0.775rem;
  margin-top: 0.15rem;
}

.week-status.current { color: var(--green); font-weight: 600; }
.week-status.past    { color: var(--muted); }
.week-status.coming  { color: #cbd5e1; }

.week-arrow {
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
}

/* ── Page Header (Challenge Pages) ── */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--green) 100%);
  color: var(--white);
  padding: 1.25rem 1.25rem 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 1.1rem;
}

.back-link:hover { opacity: 1; }

.week-pill {
  display: inline-block;
  background: rgba(255,255,255,0.22);
  border-radius: 20px;
  padding: 0.2rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.page-header h1 {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.page-header .page-subtitle {
  font-size: 0.875rem;
  opacity: 0.88;
  margin-top: 0.4rem;
  font-style: italic;
}

/* ── Challenge Card ── */
.card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
}

.card-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.9rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--green-light);
}

.card-intro {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.55;
}

/* ── Challenge Items ── */
.challenge-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f8fafc;
}

.challenge-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.check-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.check-circle svg {
  width: 14px;
  height: 14px;
}

.challenge-item p {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text);
}

/* ── Infographic ── */
.infographic-card {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

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

.infographic-caption {
  background: var(--white);
  padding: 0.65rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

/* ── Warning / Note Card ── */
.note-card {
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.note-card h3 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--amber-text);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.note-card p {
  font-size: 0.875rem;
  color: var(--amber-body);
  line-height: 1.55;
}

.note-card .note-btn {
  display: inline-block;
  margin-top: 0.9rem;
  background: var(--amber-btn);
  color: var(--white);
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.note-card .note-btn:hover {
  background: #b45309;
}

/* ── Sabbath Note ── */
.sabbath-card {
  background: var(--green-light);
  border: 1px solid var(--green-mid);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  text-align: center;
}

.sabbath-card p {
  font-size: 0.9rem;
  color: var(--green);
  font-weight: 500;
  line-height: 1.5;
}

/* ── Footer ── */
.site-footer {
  text-align: center;
  padding: 1.5rem 1.25rem 2rem;
  color: var(--muted);
  font-size: 0.78rem;
  border-top: 1px solid var(--border);
}

.site-footer a {
  color: var(--primary);
  text-decoration: none;
}

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

/* ── Intro Blurb (Home) ── */
.intro-text {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* ── Header Motto ── */
.tagline-motto {
  font-size: 0.8rem;
  font-style: italic;
  opacity: 0.72;
  margin-top: 0.3rem;
}

/* ── About Series Section ── */
.about-quote {
  font-style: italic;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  border-left: 3px solid var(--green);
  padding-left: 0.85rem;
  margin-bottom: 1.1rem;
}

.presenter-block {
  background: var(--bg);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
}

.presenter-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.presenter-creds {
  font-size: 0.775rem;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 0.2rem;
}

.presenter-contact {
  font-size: 0.8rem;
  margin-top: 0.45rem;
}

.presenter-contact a {
  color: var(--primary);
  text-decoration: none;
}

.presenter-contact a:hover {
  text-decoration: underline;
}

.session-schedule {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.topic-item {
  background: var(--bg);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
}

.gain-list {
  margin-top: 0.5rem;
}

.gain-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  padding: 0.35rem 0;
  color: var(--text);
  line-height: 1.5;
  border-bottom: 1px solid #f8fafc;
}

.gain-item:last-child {
  border-bottom: none;
}

.gain-item::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Download Button ── */
.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 1rem;
  transition: background 0.15s;
}

.download-btn:hover {
  background: var(--primary-dark);
}

.download-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── Baseline Note (Week 1) ── */
.baseline-note {
  background: var(--green-light);
  border: 1px solid var(--green-mid);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 0.85rem 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #065f46;
}

.baseline-note strong {
  display: block;
  margin-bottom: 0.2rem;
}

/* ── Area List (Assessment page) ── */
.area-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #f8fafc;
  font-size: 0.9rem;
  line-height: 1.45;
}

.area-item:last-child {
  border-bottom: none;
}

.area-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
