/* Theme-specific styles and transitions */

/* Smooth transitions for theme switching */
* {
    transition: background-color var(--transition-fast), 
                color var(--transition-fast), 
                border-color var(--transition-fast),
                box-shadow var(--transition-fast);
}

/* Light theme specific adjustments */
[data-theme="light"] {
    /* Enhanced shadows for light theme */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 188, 212, 0.15);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .card:hover {
    box-shadow: 0 8px 32px rgba(0, 188, 212, 0.15);
}

[data-theme="light"] header {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Theme toggle button specific styles */
.theme-toggle {
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.theme-toggle:hover::before {
    left: 100%;
}

/* Light theme button hover effect */
[data-theme="light"] .theme-toggle:hover {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

/* Dark theme button hover effect */
[data-theme="dark"] .theme-toggle:hover {
    background: var(--color-primary);
    color: var(--color-background);
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.4);
}

/* Enhanced focus states for accessibility */
.theme-toggle:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Smooth theme transition for all elements */
body,
header,
.card,
.section,
.dropdown-content,
footer {
    transition: background-color var(--transition-fast), 
                color var(--transition-fast), 
                border-color var(--transition-fast),
                box-shadow var(--transition-fast);
}

/* Grid background transition */
body::before {
    transition: background-image var(--transition-fast);
}

/* Hero glow transition */
.hero::before {
    transition: background var(--transition-fast);
} 