/* Color Switcher Styles */
.color-switcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

.color-switcher-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-white);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 0 0 2px var(--color-accent),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-accent);
    backdrop-filter: blur(10px);
}

.color-switcher-toggle:hover {
    transform: scale(1.1);
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.2),
        0 0 0 3px var(--color-accent),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.color-switcher-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 280px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.1);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.color-switcher-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.color-switcher-panel h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
}

.color-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.color-option {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    background: rgba(0, 0, 0, 0.02);
}

.color-option:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateX(-4px);
}

.color-option.active {
    border-color: var(--color-accent);
    background: rgba(139, 154, 122, 0.1);
    transform: translateX(-4px);
}

.color-preview {
    display: flex;
    gap: 4px;
    margin-right: 12px;
}

.color-preview > div {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.color-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    flex: 1;
}

/* Theme-specific styles */
.theme-dark {
    background-color: var(--color-bg);
    color: var(--color-text);
}

.theme-dark .navbar {
    background: rgba(42, 42, 42, 0.95);
    border-bottom-color: rgba(107, 122, 90, 0.2);
}

.theme-dark .service-card,
.theme-dark .neumorphic-card {
    background: rgba(42, 42, 42, 0.95);
    box-shadow: 
        6px 6px 12px rgba(0, 0, 0, 0.3),
        -6px -6px 12px rgba(60, 60, 60, 0.2),
        inset 1px 1px 2px rgba(60, 60, 60, 0.1),
        inset -1px -1px 2px rgba(0, 0, 0, 0.2);
}

.theme-dark .hero-bg,
.theme-dark .bg-parallax {
    background-blend-mode: multiply;
}

.theme-dark .btn-primary {
    background: var(--color-copper);
    color: var(--color-bg);
}

.theme-dark .btn-secondary {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.theme-dark .btn-secondary:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .color-switcher {
        bottom: 20px;
        right: 20px;
    }
    
    .color-switcher-toggle {
        width: 50px;
        height: 50px;
    }
    
    .color-switcher-panel {
        width: 260px;
        bottom: 70px;
    }
    
    .color-switcher-panel h4 {
        font-size: 14px;
    }
    
    .color-name {
        font-size: 12px;
    }
}

/* Animation for theme transitions */
* {
    transition: background-color 0.3s ease, 
                color 0.3s ease, 
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

/* Notification styles */
.theme-notification {
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.theme-notification.success {
    background-color: #10b981;
}

.theme-notification.error {
    background-color: #ef4444;
}

.theme-notification.info {
    background-color: #3b82f6;
}

.theme-notification.show {
    transform: translateX(0);
}