/* assets/css/bright-theme.css - The bright look of the public pages (2026-12-03 redesign): light-sky page, slideshow
   text on a white card over the photo, brighter course cards, a cream "Teach on PataElimu" box and a light footer.
   Only for the light theme (body without .dark-mode); dark mode is unchanged. Loaded by includes/header.php.
   Visitors see the light theme unless they chose dark themselves with the sun/moon switch (header.php). */

body:not(.dark-mode) {
    --bg-secondary: #f0fbfe;          /* page background: light sky instead of grey */
    --card-hover: #f0fbfe;
}

/* ---------- Slideshow: the text on a white card ---------- */
body:not(.dark-mode) .slideshow-container { border-radius: 28px; box-shadow: 0 10px 30px rgba(14, 116, 144, 0.12); }
body:not(.dark-mode) .slide-overlay {
    left: 40px; right: auto; bottom: 52px; max-width: 480px;
    background: #ffffff; color: #0f172a;   /* solid: the next slide's text must not show through while slides fade */
    padding: 24px 26px; border-radius: 22px; box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}
body:not(.dark-mode) .slide-title { color: #0f172a; text-shadow: none; letter-spacing: -0.5px; }
body:not(.dark-mode) .slide-description { color: #334155; text-shadow: none; }
body:not(.dark-mode) .slide-category { background: #ecfeff; color: #0e7490; }
body:not(.dark-mode) .slide-btn { color: #0f172a; font-weight: 800; box-shadow: 0 6px 16px rgba(54, 225, 255, 0.35); }
body:not(.dark-mode) .slide-arrow { background: rgba(255, 255, 255, 0.92); color: #0f172a; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18); }
body:not(.dark-mode) .slide-arrow:hover { background: #ffffff; }
body:not(.dark-mode) .slide-nav { background: rgba(255, 255, 255, 0.9); padding: 8px 10px; border-radius: 999px; }
body:not(.dark-mode) .slide-dot { background: #cbd5e1; }
body:not(.dark-mode) .slide-dot.active { background: #0891b2; }
@media (max-width: 768px) {
    body:not(.dark-mode) .slide-overlay { left: 12px; right: 12px; bottom: 44px; max-width: none; padding: 16px 18px; border-radius: 18px; }
    /* No arrows on phones: they would cover the card's text; the dots (and the automatic turning) change slides */
    body:not(.dark-mode) .slide-arrow { display: none; }
    body:not(.dark-mode) .slide-dot { width: 12px; height: 12px; }
}

/* ---------- Course rows and cards ---------- */
body:not(.dark-mode) .section-title { border-left: 0; padding-left: 0; display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.3px; }
body:not(.dark-mode) .section-title::before { content: ''; flex-shrink: 0; width: 8px; height: 1.15em; border-radius: 4px; background: #22d3ee; }
body:not(.dark-mode) .course-card { border: 1px solid #e2e8f0; border-radius: 20px; box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06); overflow: hidden; }
body:not(.dark-mode) .course-card:hover { box-shadow: 0 12px 28px rgba(14, 116, 144, 0.14); }
body:not(.dark-mode) .course-level { background: #ffffff; color: #0e7490; font-weight: 800; box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12); }
body:not(.dark-mode) .course-category { color: #0e7490; font-weight: 700; }
body:not(.dark-mode) .course-title { font-weight: 800; }
body:not(.dark-mode) .enroll-btn { color: #0f172a; font-weight: 800; }
body:not(.dark-mode) .action-icon { background: #ffffff; box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12); }

/* ---------- "New courses are coming soon": a card ---------- */
body:not(.dark-mode) .no-courses-yet {
    max-width: 560px; margin: 32px auto; background: #ffffff; border: 1px solid #cffafe; border-radius: 24px;
    box-shadow: 0 8px 24px rgba(14, 116, 144, 0.08);
}
body:not(.dark-mode) .no-courses-yet > i { width: 64px; height: 64px; border-radius: 20px; background: #cffafe; color: #0e7490 !important; display: inline-flex; align-items: center; justify-content: center; font-size: 1.8rem !important; }

/* ---------- "Teach on PataElimu": warm cream box, steps on white cards ---------- */
body:not(.dark-mode) .teach-cta { background: #fff7e6; border: 1px solid #fde7b5; border-radius: 26px; }
body:not(.dark-mode) .teach-cta-badge { background: #ffffff; color: #92400e; }
body:not(.dark-mode) .teach-cta-btn { background: #0f172a; color: #ffffff; font-weight: 800; }
body:not(.dark-mode) .teach-cta-btn:hover { background: #1e293b; }
body:not(.dark-mode) .teach-cta-steps li { background: #ffffff; border-radius: 18px; padding: 14px 16px; }
body:not(.dark-mode) .teach-cta-steps li::before { color: #0f172a; font-weight: 800; background: #22d3ee; }
body:not(.dark-mode) .teach-cta-steps li:nth-child(2)::before { background: #fbbf24; }
body:not(.dark-mode) .teach-cta-steps li:nth-child(3)::before { background: #4ade80; }

/* ---------- Footer: light ---------- */
body:not(.dark-mode) .main-footer { background: #f1f5f9; color: #334155; border-top: 4px solid #22d3ee; }
body:not(.dark-mode) .main-footer .logo-elimu { color: #0f172a !important; }
body:not(.dark-mode) .main-footer .logo-pata { color: #0891b2; }
body:not(.dark-mode) .main-footer .footer-col h4 { color: #0f172a; }
body:not(.dark-mode) .main-footer .footer-description,
body:not(.dark-mode) .main-footer .newsletter-text,
body:not(.dark-mode) .main-footer .footer-copyright,
body:not(.dark-mode) .main-footer .footer-bottom { color: #475569; }
body:not(.dark-mode) .main-footer .footer-links li a,
body:not(.dark-mode) .main-footer .footer-bottom-links a { color: #334155; }
body:not(.dark-mode) .main-footer .footer-links li a:hover,
body:not(.dark-mode) .main-footer .footer-bottom-links a:hover { color: #0e7490; }
body:not(.dark-mode) .main-footer .social-icon { background: #ffffff; border: 1px solid #e2e8f0; color: #0e7490; }
body:not(.dark-mode) .main-footer .newsletter-form { background: #ffffff; border-color: #cbd5e1; box-shadow: none; }
body:not(.dark-mode) .main-footer .newsletter-form input { background: #ffffff; border-color: transparent; color: #0f172a; }
body:not(.dark-mode) .main-footer .footer-bottom { border-top-color: #cbd5e1; }
