/**
 * MINEX GROUP COMPANY LIMITED - Theme Switcher
 * Three different themes: Gold (default), Blue, Green
 */

/* ============================================
   THEME 1: GOLD (Default)
   ============================================ */
[data-theme="gold"] {
    --color-primary: #D4AF37;
    --color-primary-dark: #B8941F;
    --color-primary-light: #E5C158;
    --color-secondary: #1a1a1a;
    --color-secondary-light: #2d2d2d;
    --color-accent: #96622B;
    --color-text: #ffffff;
    --color-text-light: #e0e0e0;
    --color-bg: #0a0a0a;
    --color-bg-light: #1a1a1a;
    --color-bg-section: #0f0f0f;
    --color-border: rgba(212, 175, 55, 0.2);
}

/* ============================================
   THEME 2: BLUE
   ============================================ */
[data-theme="blue"] {
    --color-primary: #3B82F6;
    --color-primary-dark: #2563EB;
    --color-primary-light: #60A5FA;
    --color-secondary: #1e293b;
    --color-secondary-light: #334155;
    --color-accent: #1e40af;
    --color-text: #ffffff;
    --color-text-light: #e2e8f0;
    --color-bg: #0f172a;
    --color-bg-light: #1e293b;
    --color-bg-section: #1e293b;
    --color-border: rgba(59, 130, 246, 0.2);
}

/* ============================================
   THEME 3: GREEN
   ============================================ */
[data-theme="green"] {
    --color-primary: #10B981;
    --color-primary-dark: #059669;
    --color-primary-light: #34D399;
    --color-secondary: #1a1a1a;
    --color-secondary-light: #2d2d2d;
    --color-accent: #047857;
    --color-text: #ffffff;
    --color-text-light: #d1fae5;
    --color-bg: #0a0a0a;
    --color-bg-light: #1a1a1a;
    --color-bg-section: #0f0f0f;
    --color-border: rgba(16, 185, 129, 0.2);
}

/* Theme Switcher Button */
.theme-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--color-bg-light);
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.theme-switcher:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.theme-switcher button {
    background: transparent;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.theme-switcher button:hover {
    background: var(--color-primary);
    color: var(--color-bg);
    transform: rotate(180deg);
}

.theme-switcher .theme-label {
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: capitalize;
    min-width: 60px;
    text-align: center;
}

.theme-switcher .theme-options {
    display: none;
    position: absolute;
    bottom: 60px;
    right: 0;
    background: var(--color-bg-light);
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 150px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.theme-switcher.active .theme-options {
    display: block;
}

.theme-switcher .theme-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    color: var(--color-text);
}

.theme-switcher .theme-option:hover {
    background: var(--color-primary);
    color: var(--color-bg);
}

.theme-switcher .theme-option.active {
    background: var(--color-primary);
    color: var(--color-bg);
    font-weight: 600;
}

.theme-switcher .theme-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--color-text);
}

.theme-switcher .theme-color.gold {
    background: #D4AF37;
}

.theme-switcher .theme-color.blue {
    background: #3B82F6;
}

.theme-switcher .theme-color.green {
    background: #10B981;
}

/* Responsive */
@media (max-width: 768px) {
    .theme-switcher {
        bottom: 10px;
        right: 10px;
        padding: 0.4rem 0.8rem;
    }
    
    .theme-switcher button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .theme-switcher .theme-label {
        display: none;
    }
}
