/* ============================================
   LIGHT MODE CSS VARIABLES & OVERRIDES
   StylingCV WordPress Theme
   ============================================ */

/* Light Mode Variables */
[data-theme="light"] {
    --background: 210 20% 98%;
    --foreground: 222.2 84% 4.9%;
    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;
    --primary: 174 72% 40%;
    --primary-foreground: 210 20% 98%;
    --secondary: 210 20% 96%;
    --secondary-foreground: 222.2 47% 11%;
    --muted: 210 15% 92%;
    --muted-foreground: 215 16% 47%;
    --accent: 84 75% 45%;
    --accent-foreground: 222.2 84% 4.9%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 210 20% 98%;
    --border: 214 32% 91%;
    --input: 214 32% 91%;
    --ring: 174 72% 40%;
    
    /* Glow effects - softer for light mode */
    --glow-primary: 0 0 40px rgba(13, 148, 136, 0.2);
    --glow-accent: 0 0 60px rgba(132, 204, 22, 0.15);
}

/* Light mode body background */
[data-theme="light"] body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
}

/* ============================================
   HEADER OVERRIDES FOR LIGHT MODE
   ============================================ */

[data-theme="light"] .header-en {
    background: transparent;
}

[data-theme="light"] .header-en.scrolled {
    background: hsla(210, 20%, 98%, 0.9);
    border-bottom-color: hsl(var(--border));
}

[data-theme="light"] .header-en-nav-pills {
    background: hsla(210, 20%, 98%, 0.8);
    border-color: hsl(var(--border));
}

[data-theme="light"] .header-en-logo-text {
    color: hsl(var(--foreground));
}

[data-theme="light"] .header-en-lang-toggle {
    background: hsla(210, 20%, 96%, 0.8);
    border-color: hsl(var(--border));
}

[data-theme="light"] .header-en-theme-toggle {
    background: hsla(210, 20%, 96%, 0.8);
    border-color: hsl(var(--border));
}

[data-theme="light"] .header-en-theme-toggle svg {
    color: hsl(var(--muted-foreground));
}

[data-theme="light"] .header-en-menu-btn {
    background: hsla(210, 20%, 96%, 0.8);
    border-color: hsl(var(--border));
    color: hsl(var(--foreground));
}

[data-theme="light"] .header-en-mobile-nav {
    background: hsla(210, 20%, 98%, 0.95);
    border-color: hsl(var(--border));
}

/* ============================================
   HERO SECTION OVERRIDES FOR LIGHT MODE
   ============================================ */

[data-theme="light"] .hero-section {
    background: hsl(var(--background));
}

[data-theme="light"] .hero-bg-svg {
    opacity: 0.6;
}

[data-theme="light"] .hero-bg-orb-1 {
    background: radial-gradient(circle, hsla(174, 72%, 40%, 0.2), transparent);
}

[data-theme="light"] .hero-bg-orb-2 {
    background: radial-gradient(circle, hsla(84, 75%, 45%, 0.15), transparent);
}

[data-theme="light"] .hero-badge {
    background: hsla(210, 20%, 100%, 0.8);
    border-color: hsl(var(--border));
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .hero-badge:hover {
    background: hsla(210, 20%, 100%, 0.95);
}

[data-theme="light"] .hero-badge-text {
    color: hsl(var(--foreground));
}

[data-theme="light"] .hero-headline {
    color: hsl(var(--foreground));
}

[data-theme="light"] .hero-subtitle {
    color: hsl(var(--muted-foreground));
}

[data-theme="light"] .hero-form-inner {
    background: hsla(210, 20%, 100%, 0.95);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .hero-form-textarea {
    color: hsl(var(--foreground));
}

[data-theme="light"] .hero-form-textarea::placeholder {
    color: hsl(var(--muted-foreground));
}

[data-theme="light"] .hero-form-icon-btn {
    color: hsl(var(--muted-foreground));
}

[data-theme="light"] .hero-form-icon-btn:hover {
    background: hsla(210, 20%, 92%, 0.8);
}

[data-theme="light"] .hero-form-advanced-inner {
    background: hsla(210, 20%, 98%, 0.95);
}

/* ============================================
   GLASS EFFECTS FOR LIGHT MODE
   ============================================ */

[data-theme="light"] .glass {
    background-color: hsla(210, 20%, 100%, 0.7);
    border-color: hsla(214, 32%, 91%, 0.8);
}

[data-theme="light"] .glass-strong {
    background-color: hsla(210, 20%, 100%, 0.9);
    border-color: hsl(var(--border));
}

/* ============================================
   BUTTON OVERRIDES FOR LIGHT MODE
   ============================================ */

[data-theme="light"] .btn-gradient {
    box-shadow: 0 4px 15px -3px rgba(13, 148, 136, 0.3);
}

[data-theme="light"] .btn-gradient:hover {
    box-shadow: 0 8px 25px -5px rgba(13, 148, 136, 0.4);
}

/* ============================================
   SECTION BACKGROUNDS FOR LIGHT MODE
   ============================================ */

[data-theme="light"] .bg-card {
    background-color: hsl(var(--card));
}

[data-theme="light"] .bg-card\/30 {
    background-color: hsla(0, 0%, 100%, 0.3);
}

[data-theme="light"] .bg-card\/40 {
    background-color: hsla(0, 0%, 100%, 0.4);
}

[data-theme="light"] .bg-card\/50 {
    background-color: hsla(0, 0%, 100%, 0.5);
}

[data-theme="light"] .bg-card\/60 {
    background-color: hsla(0, 0%, 100%, 0.6);
}

[data-theme="light"] .bg-secondary {
    background-color: hsl(var(--secondary));
}

/* ============================================
   TEXT COLOR OVERRIDES FOR LIGHT MODE
   ============================================ */

[data-theme="light"] .text-foreground {
    color: hsl(var(--foreground));
}

[data-theme="light"] .text-muted-foreground {
    color: hsl(var(--muted-foreground));
}

[data-theme="light"] .text-primary {
    color: hsl(var(--primary));
}

[data-theme="light"] .text-accent {
    color: hsl(var(--accent));
}

/* ============================================
   BORDER COLOR OVERRIDES FOR LIGHT MODE
   ============================================ */

[data-theme="light"] .border-border {
    border-color: hsl(var(--border));
}

/* ============================================
   WHY STYLINGCV SECTION FOR LIGHT MODE
   ============================================ */

[data-theme="light"] .why-stylingcv-section {
    background: hsl(var(--background));
}

[data-theme="light"] .why-stylingcv-card {
    background: hsla(210, 20%, 100%, 0.8);
    border-color: hsl(var(--border));
}

/* ============================================
   TESTIMONIALS FOR LIGHT MODE
   ============================================ */

[data-theme="light"] .testimonial-card {
    background: hsla(210, 20%, 100%, 0.9);
    border-color: hsl(var(--border));
}

/* ============================================
   TEMPLATES SLIDER FOR LIGHT MODE
   ============================================ */

[data-theme="light"] .template-card {
    background: hsl(var(--card));
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

/* ============================================
   FOOTER FOR LIGHT MODE
   ============================================ */

[data-theme="light"] .footer-section {
    background: hsl(210, 20%, 96%);
    border-top-color: hsl(var(--border));
}

[data-theme="light"] .footer-link {
    color: hsl(var(--muted-foreground));
}

[data-theme="light"] .footer-link:hover {
    color: hsl(var(--foreground));
}

/* ============================================
   SMOOTH TRANSITIONS FOR THEME SWITCHING
   ============================================ */

html {
    transition: background-color 0.3s ease, color 0.3s ease;
}

body,
.header-en,
.hero-section,
.hero-badge,
.hero-form-inner,
.glass,
.glass-strong,
.bg-card,
.bg-secondary {
    transition: background-color 0.3s ease, 
                border-color 0.3s ease, 
                box-shadow 0.3s ease;
}

.text-foreground,
.text-muted-foreground,
.hero-headline,
.hero-subtitle {
    transition: color 0.3s ease;
}
