/* ============================================================
   LIGHT THEME OVERRIDE
   Applied to: blog pages, project detail pages, 404
   Resets dark-theme variables and hardcoded colors back to light.
   ============================================================ */

:root {
    --bg-base:    #ffffff;
    --bg-alt:     #f8fafc;
    --bg-card:    #ffffff;
    --bg-card-hv: #f1f5f9;
    --border:     #e2e8f0;
    --border-hv:  rgba(79, 70, 229, 0.4);
    --text-1:     #111827;
    --text-2:     #374151;
    --text-3:     #6b7280;
    --accent:     #4f46e5;
    --accent-2:   #0891b2;
    --gold:       #d97706;
    --glow:       0 2px 20px rgba(79, 70, 229, 0.08);
    --glow-hv:    0 4px 30px rgba(79, 70, 229, 0.15);
}

body {
    background-color: #ffffff;
    color: #111827;
}

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e5e7eb;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-link { color: #374151; }
.nav-link:hover { color: #4f46e5; }
.nav-link::after { background-color: #4f46e5; }
.bar { background-color: #111827; }

@media (max-width: 768px) {
    .nav-menu {
        background-color: #ffffff;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    }
}

/* ── Section titles ──────────────────────────────────────── */
.section-title { color: #111827; }
.section-title::after {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
    background-color: #1e293b;
    border-top: 1px solid #334155;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background: transparent;
    color: #4f46e5;
    border-color: #4f46e5;
    box-shadow: 0 4px 24px rgba(79, 70, 229, 0.15);
}

/* ── Project content area ────────────────────────────────── */
.project-content {
    background: #ffffff !important;
}

.project-intro {
    color: #374151 !important;
    border-bottom-color: #e5e7eb !important;
}

.project-body h2,
.project-body h3 {
    color: #1f2937 !important;
}

.project-body p,
.project-body ul li {
    color: #4b5563 !important;
}

.project-footer {
    border-top-color: #e5e7eb !important;
}

.tool-stack {
    background: #f9fafb !important;
    border: none !important;
}

.tool-stack h3 {
    color: #6b7280 !important;
}

.tool-list span {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
    color: #374151 !important;
}

.stage {
    background: #f9fafb !important;
    border-left-color: #4f46e5 !important;
}

.stage div strong {
    color: #1f2937 !important;
}

.stage div p {
    color: #6b7280 !important;
}

.learning-item div {
    color: #4b5563 !important;
}

.learning-item strong {
    color: #1f2937 !important;
}

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb {
    background: rgba(79, 70, 229, 0.3);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: #4f46e5; }
