/* Theme System for ModernSuite */

/* Ocean Theme */
[data-theme="ocean"] {
    --primary-color: #006994;
    --secondary-color: #0099cc;
    --accent-color: #00d4ff;
}

/* Sunset Theme */
[data-theme="sunset"] {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --accent-color: #fdc830;
}

/* Forest Theme */
[data-theme="forest"] {
    --primary-color: #2d5016;
    --secondary-color: #56ab2f;
    --accent-color: #a8e063;
}

/* Royal Theme */
[data-theme="royal"] {
    --primary-color: #4a148c;
    --secondary-color: #7b1fa2;
    --accent-color: #9c27b0;
}

/* Tech Theme */
[data-theme="tech"] {
    --primary-color: #00bcd4;
    --secondary-color: #0097a7;
    --accent-color: #00e5ff;
}

/* Fire Theme */
[data-theme="fire"] {
    --primary-color: #c62828;
    --secondary-color: #d32f2f;
    --accent-color: #ff5252;
}

/* Cosmic Theme */
[data-theme="cosmic"] {
    --primary-color: #1a237e;
    --secondary-color: #283593;
    --accent-color: #3f51b5;
}

/* Mint Theme */
[data-theme="mint"] {
    --primary-color: #00695c;
    --secondary-color: #00897b;
    --accent-color: #26a69a;
}

/* Rose Theme */
[data-theme="rose"] {
    --primary-color: #ad1457;
    --secondary-color: #c2185b;
    --accent-color: #e91e63;
}

/* Dark Theme */
[data-theme="dark"] {
    --primary-color: #212121;
    --secondary-color: #424242;
    --accent-color: #616161;
    --text-color: #ffffff;
    --light-bg: #303030;
}

[data-theme="dark"] body {
    background: #121212;
    color: #ffffff;
}

[data-theme="dark"] .navbar {
    background: rgba(33, 33, 33, 0.95);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

[data-theme="dark"] .product-card,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .contact-form {
    background: #1e1e1e;
    color: #ffffff;
}

/* Neon Theme */
[data-theme="neon"] {
    --primary-color: #ff00ff;
    --secondary-color: #00ffff;
    --accent-color: #ffff00;
}

/* Aurora Theme */
[data-theme="aurora"] {
    --primary-color: #00f260;
    --secondary-color: #0575e6;
    --accent-color: #21d4fd;
}

/* Holographic Theme */
[data-theme="holographic"] {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
}

/* Futuristic Theme */
[data-theme="futuristic"] {
    --primary-color: #0f2027;
    --secondary-color: #203a43;
    --accent-color: #2c5364;
}

/* Gradient Theme */
[data-theme="gradient"] {
    --primary-color: #ee0979;
    --secondary-color: #ff6a00;
    --accent-color: #ffd200;
}

/* Theme Selector Styles */
.theme-selector {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.theme-selector.collapsed .theme-options {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.theme-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.theme-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    transition: all 0.3s ease;
}

.theme-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.theme-option:hover {
    transform: scale(1.1);
    border-color: #667eea;
}

.theme-option.active {
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.theme-option::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.theme-option:hover::after {
    opacity: 1;
}

/* Theme Option Colors */
[data-theme="default"] { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
[data-theme="ocean"] { background: linear-gradient(135deg, #006994 0%, #00d4ff 100%); }
[data-theme="sunset"] { background: linear-gradient(135deg, #ff6b35 0%, #fdc830 100%); }
[data-theme="forest"] { background: linear-gradient(135deg, #2d5016 0%, #a8e063 100%); }
[data-theme="royal"] { background: linear-gradient(135deg, #4a148c 0%, #9c27b0 100%); }
[data-theme="tech"] { background: linear-gradient(135deg, #00bcd4 0%, #00e5ff 100%); }
[data-theme="fire"] { background: linear-gradient(135deg, #c62828 0%, #ff5252 100%); }
[data-theme="cosmic"] { background: linear-gradient(135deg, #1a237e 0%, #3f51b5 100%); }
[data-theme="mint"] { background: linear-gradient(135deg, #00695c 0%, #26a69a 100%); }
[data-theme="rose"] { background: linear-gradient(135deg, #ad1457 0%, #e91e63 100%); }
[data-theme="dark"] { background: linear-gradient(135deg, #212121 0%, #616161 100%); }
[data-theme="neon"] { background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%); }
[data-theme="aurora"] { background: linear-gradient(135deg, #00f260 0%, #21d4fd 100%); }
[data-theme="holographic"] { background: linear-gradient(135deg, #667eea 0%, #f093fb 100%); }
[data-theme="futuristic"] { background: linear-gradient(135deg, #0f2027 0%, #2c5364 100%); }
[data-theme="gradient"] { background: linear-gradient(135deg, #ee0979 0%, #ffd200 100%); }

@media (max-width: 768px) {
    .theme-selector {
        right: 10px;
        bottom: 10px;
    }
    
    .theme-toggle-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .theme-options {
        grid-template-columns: repeat(3, 1fr);
        right: -10px;
    }
}
