/* Core Custom Variables and Utilities */
:root {
  --bg-primary: #0f172a; /* Slate 900 */
  --text-primary: #f8fafc; /* Slate 50 */
}

/* Light Theme Variables Override */
body.light-theme {
  background-color: #f8fafc !important; /* Slate 50 */
  color: #0f172a !important; /* Slate 900 */
}

body.light-theme #navbar {
  background-color: rgba(248, 250, 252, 0.8) !important;
  border-color: #e2e8f0 !important; /* Slate 200 */
}

body.light-theme .section-bg {
  background: radial-gradient(circle, #f1f5f9 0%, #f8fafc 100%) !important;
}

body.light-theme .section-bg-alt {
  background-color: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
}

/* Fixes text contrast inside About section in light mode */
body.light-theme .section-bg-alt font-light,
body.light-theme .font-light {
  color: #1e293b !important; /* Slate 800 */
}

body.light-theme .card-bg,
body.light-theme #theme-toggle,
body.light-theme #theme-toggle-mobile {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #1e293b !important;
}

body.light-theme .card-bg:hover {
  border-color: #10b981 !important; /* Emerald 500 */
}

body.light-theme .text-secondary {
  color: #475569 !important; /* Slate 600 secondary text */
}

body.light-theme .btn-secondary {
  background-color: #e2e8f0 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

body.light-theme footer {
  border-color: #e2e8f0 !important;
}

/* Specific targeting for the main about text layout */
body.light-theme .main-about-text {
  color: #334155 !important; /* slate-700 */
}

body.light-theme .light-strong {
  color: #0f172a !important; /* slate-900 */
}
