/* ================================================
   Theme Toggle Styles
   ================================================ */

/* Light Theme Variables - Applied when data-theme="light" */
[data-theme="light"] {
    /* Colors - Light Theme with white/light gray tones */
    --color-bg: #f5f5f7;
    --color-surface: #ffffff;
    --color-surface-light: #e8e8ea;
    --color-primary: #00d4aa;
    --color-secondary: #4a7bff;
    --color-accent: #ff2e72;
    --color-text: #1a1a1a;
    --color-muted: #666666;
    --color-border: rgba(0, 0, 0, 0.1);

    /* Shadows for light theme */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-neon: 0 0 20px rgba(0, 212, 170, 0.2);
}

/* Header override for light theme */
[data-theme="light"] header {
    background: rgba(248, 249, 250, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] header.scrolled {
    background: rgba(248, 249, 250, 0.98);
    box-shadow: var(--shadow-sm);
}

/* Navbar Toggler override for light theme */
[data-theme="light"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-theme="light"] .navbar-toggler {
    border-color: rgba(0,0,0,0.1);
}

/* Theme Toggle Button Styles */
.theme-toggle {
    position: relative;
    width: 50px;
    height: 28px;
    background: var(--color-surface-light);
    border: 2px solid var(--color-border);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0 4px;
}

.theme-toggle:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 255, 198, 0.2);
}

.theme-toggle-slider {
    width: 18px;
    height: 18px;
    background: var(--color-primary);
    border-radius: 50%;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--color-bg);
}

.theme-toggle-slider.dark-mode {
    transform: translateX(22px);
}

/* Icon styles */
.theme-icon {
    font-size: 10px;
    line-height: 1;
}

/* Smooth theme transition */
html {
    transition: background-color 0.3s ease, color 0.3s ease;
}

body,
.service-card,
.team-card,
.footer,
.navbar-collapse,
.cookie-consent {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}