/* ============================================================
   JESUS LOVE REVEALED — COURSE THEME (LIGHT + DARK)
   Fully Responsive • Brand Teal Accent • Dual Theme System
   ============================================================ */

/* ------------------------------------------------------------
   1. ROOT VARIABLES — LIGHT THEME (DEFAULT)
   ------------------------------------------------------------ */
   :root {
    --brand-accent: #00C2A8;
    --bg: #ffffff;
    --text: #1a1a1a;
    --card-bg: #f6f6f6;
    --card-border: #e0e0e0;
    --header-bg: linear-gradient(135deg, #0a0f24, #0c2a3e);
    --scripture-bg: #f1fffc;
    --scripture-border: #00c2a879;
    --btn-primary-bg: #00C2A8;
    --btn-primary-text: #ffffff;
    --btn-ghost-border: #00C2A8;
    --footer-bg: #fafafa;
  
    /* Typography */
    --font-main: 'Inter', Arial, sans-serif;
    --radius: 12px;
  }
  
  /* ------------------------------------------------------------
     2. DARK THEME OVERRIDES
     ------------------------------------------------------------ */
  body[data-theme="dark"] {
    --bg: #0B0F14;
    --text: #f5faff;
    --card-bg: #131922;
    --card-border: #1f2937;
    --header-bg: linear-gradient(135deg, #020b14, #021c25);
    --scripture-bg: #062c28;
    --scripture-border: #00c2a8aa;
    --btn-primary-bg: #00C2A8;
    --btn-ghost-border: #00C2A8;
    --footer-bg: #0f131a;
  }
  
  /* ------------------------------------------------------------
     3. GLOBAL RESET
     ------------------------------------------------------------ */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  #themeToggle {
    margin-left: 15rem;
    color: black;
    padding: 1rem;
    border-radius: 13px;
    border-color: #00C2A8;
    background-color: #00C2A8;
    color: whitesmoke;
  }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.6;
    padding-bottom: 50px;
  }
  
  a {
    color: var(--brand-accent);
    text-decoration: none;
  }
  
  .container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
  }
  
  /* ------------------------------------------------------------
     4. HERO SECTION
     ------------------------------------------------------------ */
  .hero {
    display: flex;
    justify-content: space-between;
    gap: 35px;
    padding: 40px 0;
  }
  
  .hero-left h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
  }
  
  .hero-left .kicker {
    letter-spacing: 1px;
    color: var(--brand-accent);
    text-transform: uppercase;
    font-size: 0.9rem;
  }
  
  .hero-left .lead {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
  }
  
  /* Buttons */
  .btn {
    padding: 12px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-align: center;
    display: inline-block;
  }
  
  .btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    box-shadow: 0 4px 12px #00c2a85d;
  }
  
  .btn-ghost {
    background: transparent;
    color: var(--brand-accent);
    border: 2px solid var(--btn-ghost-border);
  }
/* ==============================
   DONATION BUTTON — CLASSY STYLE
   ============================== */
   .btn-donate {
    background: transparent;
    color: var(--brand-accent);
    border: 2px solid var(--brand-accent);
    font-weight: 600;
    padding: 12px 20px;
    border-radius: var(--radius);
    transition: all 0.25s ease;
    position: relative; /* needed for tooltip */
    outline: none; /* remove default focus ring */
  }
  /* Tooltip text */
.btn-donate::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%; /* above the button */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 194, 168, 0.95);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 10;
  }
  
  /* Tooltip arrow */
  .btn-donate::before {
    content: '';
    position: absolute;
    bottom: 115%; /* just above button */
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(0, 194, 168, 0.95) transparent transparent transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 10;
  }
  
  /* Show tooltip on hover */
  .btn-donate:hover::after,
  .btn-donate:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
  }


  .btn-donate:hover {
    background: var(--brand-accent);
    color: var(--btn-primary-text);
    box-shadow: 0 4px 12px rgba(0, 194, 168, 0.3);
  }
  
  /* Responsive: full width on mobile */
  @media (max-width: 768px) {
    .cta-row .btn-donate {
      width: 100%;
      text-align: center;
    }
  }



  .logo {
    background-color: #00C2A8;
    opacity: 0.75;
    border-radius: 50%;
  }
  .cta-row {
    display: flex;
    gap: 15px;
  }
  
  /* ------------------------------------------------------------
     5. SIDEBAR CARD (SIGNUP BOX)
     ------------------------------------------------------------ */
  .card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 22px;
    border-radius: var(--radius);
    box-shadow: 0 3px 10px #0000000b;
  }
  
  .card input {
    margin-bottom: 12px;
    padding: 10px;
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid #ccc;
  }
  
  .success {
    background: var(--scripture-bg);
    border: 1px solid var(--scripture-border);
    padding: 15px;
    margin-top: 15px;
    border-radius: var(--radius);
    display: none;
  }
  
  /* ------------------------------------------------------------
     6. COURSE OVERVIEW
     ------------------------------------------------------------ */
  .clean {
    list-style: none;
    margin-top: 20px;
  }
  
  .clean li {
    margin-bottom: 14px;
  }
  
  .clean li a {
    font-size: 1.1rem;
    font-weight: 600;
  }
  
  /* ------------------------------------------------------------
     7. WEEK PAGE HEADERS
     ------------------------------------------------------------ */
  .week-header {
    margin-bottom: 25px;
  }
  
  .week-header h1 {
    font-size: 2em;
    margin-bottom: 8px;
  }
  
  .week-header .lead {
    opacity: 0.9;
  }
  
  /* ------------------------------------------------------------
     8. SCRIPTURE BOXES
     ------------------------------------------------------------ */
  .scripture-box {
    background: var(--scripture-bg);
    border-left: 5px solid var(--brand-accent);
    border-radius: var(--radius);
    padding: 15px 18px;
    margin-bottom: 20px;
    border: 1px solid var(--scripture-border);
  }
  
  /* ------------------------------------------------------------
     9. REFLECTION BOXES
     ------------------------------------------------------------ */
  .reflection-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
  }
  
  .reflection-box strong {
    display: block;
    margin-bottom: 10px;
  }
  
  /* ------------------------------------------------------------
     10. FOOTER
     ------------------------------------------------------------ */
  footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    background: var(--footer-bg);
    border-top: 1px solid var(--card-border);
    border-radius: var(--radius);
  }
  
  /* ------------------------------------------------------------
     11. MOBILE RESPONSIVE PATCH
     ------------------------------------------------------------ */
  @media (max-width: 768px) {
    .container {
      padding: 15px;
    }
  
    .hero {
      flex-direction: column;
      text-align: center;
    }
  
    .hero-left h1,
    .week-header h1 {
      font-size: 1.9rem;
    }
  
    .cta-row {
      flex-direction: column;
      width: 100%;
    }
  
    .cta-row .btn {
      width: 100%;
    }
  
    .hero aside.card {
      width: 100%;
    }
  
    .card {
      margin-bottom: 20px;
    }
  
    .scripture-box {
      padding: 12px;
    }
  
    footer {
      font-size: 0.9rem;
    }
  }
  .logo {
    background-color: #00C2A8;
    opacity: 0.75;
    border-radius: 50%;
    width: 150px;
  }
  @media (max-width: 375px) {
    .hero-left h1,
    .week-header h1 {
      font-size: 1.6rem;
    }
  
    .scripture-box,
    .reflection-box {
      font-size: 0.9rem;
    }
  }
  /* ==============================
   CLASSY VIDEO EMBED
   ============================== */
.course-video {
    margin: 28px 0;
    text-align: center;
  }
  
  .course-video h2 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--accent);
  }
  
  .video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;  /* keeps it contained */
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(11,20,17,0.1);
    border: 1px solid rgba(11,20,17,0.05);
  }
  
  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
  }
  