/* ============================================================
   LIGHT THEME OVERRIDE
   Applied when theme_mode = 'light'
   ============================================================ */

body.light-theme {
  --bg: #F5F7FC;
  --bg-2: #EBEEF6;
  --bg-3: #E4E8F2;
  --bg-card: #FFFFFF;
  --bg-card-2: #F2F5FB;
  --bg-secondary: #FFFFFF;
  --text: #1A2035;
  --text-2: #485477;
  --text-3: #8594B4;
  --text-muted: #8594B4;
  --border: rgba(0,0,0,.07);
  --border-2: rgba(0,0,0,.12);
  --border-blue: rgba(79,126,255,.2);
  --border-gold: rgba(185,130,20,.2);
  --primary: #3D6FFF;
  --gold: #C88A10;
  --gold-light: #D9A022;
  --gradient-primary: linear-gradient(135deg, #3D6FFF, #7B6FEF);
  --grad-primary: linear-gradient(135deg, #3D6FFF, #7B6FEF);
}

body.light-theme .grid-bg {
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(79,126,255,.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 60%, rgba(139,124,248,.04) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 100%, rgba(185,130,20,.03) 0%, transparent 50%);
}
body.light-theme .grid-bg::after {
  background-image:
    linear-gradient(rgba(0,0,0,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.025) 1px, transparent 1px);
}

body.light-theme .navbar {
  background: rgba(245,247,252,.88);
  border-bottom: 1px solid rgba(0,0,0,.07);
}
body.light-theme .navbar.scrolled {
  background: rgba(245,247,252,.97);
  box-shadow: 0 1px 0 rgba(0,0,0,.07), 0 6px 20px rgba(0,0,0,.05);
}
body.light-theme .nav-logo { color: #1A2035; }
body.light-theme .nav-links a { color: #8594B4; }
body.light-theme .nav-links a:hover { color: #1A2035; background: rgba(0,0,0,.04); }
body.light-theme .nav-links a.active { background: rgba(79,126,255,.09); color: #3D6FFF; }
body.light-theme .hamburger span { background: #1A2035; }

body.light-theme .hero h1 { color: #1A2035; }
body.light-theme .hero-badge { background: rgba(185,130,20,.07); border-color: rgba(185,130,20,.22); color: #b07d10; }
body.light-theme .hero-badge .dot { background: #C88A10; box-shadow: 0 0 8px #C88A10; }

body.light-theme .service-card,
body.light-theme .project-card,
body.light-theme .stat-card,
body.light-theme .card,
body.light-theme .contact-form-card,
body.light-theme .settings-category,
body.light-theme .login-card,
body.light-theme .modal {
  background: #fff;
  border-color: rgba(0,0,0,.08);
}
body.light-theme .service-card:hover { border-color: rgba(79,126,255,.25); box-shadow: 0 8px 28px rgba(79,126,255,.1); }
body.light-theme .project-card:hover { border-color: rgba(139,124,248,.25); box-shadow: 0 8px 28px rgba(0,0,0,.09); }

body.light-theme .service-icon { background: rgba(79,126,255,.07); border-color: rgba(79,126,255,.14); color: #3D6FFF; }
body.light-theme .service-card h3, body.light-theme .project-body h3, body.light-theme .section-title { color: #1A2035; }

body.light-theme .btn-outline { border-color: rgba(0,0,0,.14); color: #1A2035; }
body.light-theme .btn-outline:hover { background: rgba(0,0,0,.04); border-color: rgba(79,126,255,.3); }

body.light-theme .section-label { color: #3D6FFF; }
body.light-theme .section-label::before, body.light-theme .section-label::after { background: #3D6FFF; }

body.light-theme .page-header { background: linear-gradient(180deg, rgba(79,126,255,.04) 0%, transparent 100%); }
body.light-theme .page-header h1, body.light-theme .admin-header h2 { color: #1A2035; }

body.light-theme .form-input, body.light-theme .form-textarea, body.light-theme .form-select { background: #fff; border-color: rgba(0,0,0,.1); color: #1A2035; }
body.light-theme .form-input:focus, body.light-theme .form-textarea:focus, body.light-theme .form-select:focus { border-color: rgba(79,126,255,.45); box-shadow: 0 0 0 3px rgba(79,126,255,.08); }

body.light-theme .footer { background: #EBEEF6; border-top-color: rgba(0,0,0,.07); }
body.light-theme .footer h4 { color: #1A2035; }
body.light-theme .footer p, body.light-theme .footer a { color: #8594B4; }
body.light-theme .footer a:hover { color: #3D6FFF; }
body.light-theme .footer-bottom { border-top-color: rgba(0,0,0,.07); }

body.light-theme .admin-sidebar { background: #EBEEF6; border-right-color: rgba(0,0,0,.07); }
body.light-theme .admin-nav-link { color: #8594B4; }
body.light-theme .admin-nav-link:hover { background: rgba(0,0,0,.04); color: #1A2035; }
body.light-theme .admin-nav-link.active { background: rgba(79,126,255,.09); color: #3D6FFF; }
body.light-theme .admin-table { background: #fff; border-color: rgba(0,0,0,.07); }
body.light-theme .admin-table th { color: #8594B4; border-bottom-color: rgba(0,0,0,.06); }
body.light-theme .admin-table td { border-bottom-color: rgba(0,0,0,.05); color: #1A2035; }
body.light-theme .admin-table tr:hover td { background: rgba(79,126,255,.025); }

body.light-theme .filter-tab { border-color: rgba(0,0,0,.1); color: #8594B4; }
body.light-theme .filter-tab:hover { border-color: rgba(0,0,0,.18); color: #1A2035; }
body.light-theme .filter-tab.active { background: var(--grad-primary); border-color: transparent; color: #fff; }

body.light-theme .stat-card .stat-value { color: #1A2035; }
body.light-theme .login-card h2, body.light-theme .modal h3 { color: #1A2035; }
body.light-theme .login-card .subtitle { color: #8594B4; }
body.light-theme .settings-category h3 { color: #3D6FFF; }

body.light-theme .modal-overlay { background: rgba(0,0,0,.45); }
body.light-theme .mobile-overlay { background: rgba(0,0,0,.22); }
body.light-theme .nav-links { background: rgba(245,247,252,.98); border-left-color: rgba(0,0,0,.07); }

body.light-theme .alert-success { background: rgba(34,197,94,.07); border-color: rgba(34,197,94,.2); color: #16a34a; }
body.light-theme .alert-error   { background: rgba(239,68,68,.07);  border-color: rgba(239,68,68,.2);  color: #dc2626; }
body.light-theme .badge-success { background: rgba(34,197,94,.1);  color: #16a34a; }
body.light-theme .badge-warning { background: rgba(245,158,11,.1);  color: #d97706; }
body.light-theme .badge-danger  { background: rgba(239,68,68,.1);   color: #dc2626; }

body.light-theme .contact-info-icon { background: rgba(79,126,255,.07); border-color: rgba(79,126,255,.14); color: #3D6FFF; }
body.light-theme .contact-info-content p { color: #1A2035; }
body.light-theme .social-links a { background: #fff; border-color: rgba(0,0,0,.09); color: #8594B4; }
body.light-theme .social-links a:hover { background: rgba(79,126,255,.07); border-color: rgba(79,126,255,.2); color: #3D6FFF; }

body.light-theme .language-selector { background: rgba(0,0,0,.03) !important; border-color: rgba(0,0,0,.1) !important; color: #1A2035 !important; }
body.light-theme .spinner { border-color: rgba(0,0,0,.08); border-top-color: #3D6FFF; }

body.light-theme .project-tech span { background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.08); color: #8594B4; }
body.light-theme .breadcrumb a { color: #8594B4; }
body.light-theme .breadcrumb .current { color: #3D6FFF; }
