﻿/* ============================================
   Site.Master.DarkMode.css - تنسيقات Dark Mode
   ============================================ */

/* Dark Mode Toggle Button */
.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border: none;
    color: #0f172a;
    font-size: 24px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .dark-mode-toggle:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(251,191,36,0.4);
    }

/* Light Mode Variables */
:root {
    --bg-primary: linear-gradient(135deg, #0a0f1e 0%, #0c1222 100%);
    --bg-secondary: rgba(30, 41, 59, 0.9);
    --bg-card: rgba(30, 41, 59, 0.8);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-dark: #1e293b;
    --border-color: rgba(255, 255, 255, 0.05);
    --card-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Light Mode Class */
body.light-mode {
    --bg-primary: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    --bg-secondary: rgba(255, 255, 255, 0.95);
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-dark: #0f172a;
    --border-color: rgba(0, 0, 0, 0.1);
    --card-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

body.light-mode {
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

    /* Hero Header - Light Mode */
    body.light-mode .hero-header {
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border-bottom-color: #fbbf24;
    }

    body.light-mode .hero-text h1 {
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    body.light-mode .hero-text p {
        color: #475569;
    }

    body.light-mode .hero-badge {
        background: rgba(251,191,36,0.15);
        border-color: #fbbf24;
        color: #475569;
    }

        body.light-mode .hero-badge i {
            color: #f59e0b;
        }

    /* Navigation - Light Mode */
    body.light-mode .navbar {
        background: rgba(255, 255, 255, 0.95);
        border-bottom-color: rgba(251,191,36,0.3);
    }

        body.light-mode .navbar a {
            color: #475569;
        }

            body.light-mode .navbar a:hover {
                color: #f59e0b;
            }

    /* Footer - Light Mode */
    body.light-mode .footer {
        background: #ffffff;
        border-top-color: #e2e8f0;
    }

    body.light-mode .footer-section h3 {
        color: #f59e0b;
    }

    body.light-mode .footer-section p {
        color: #64748b;
    }

    body.light-mode .footer-bottom {
        border-top-color: #e2e8f0;
        color: #94a3b8;
    }

    body.light-mode .footer-motto {
        color: #cbd5e1;
    }

    body.light-mode .version-badge {
        background: rgba(251, 191, 36, 0.1);
        color: #f59e0b;
        border-color: #fbbf24;
    }

    body.light-mode .last-update-time {
        background: #f1f5f9;
        color: #0f172a;
    }

    body.light-mode .footer-links a {
        color: #64748b;
    }

        body.light-mode .footer-links a:hover {
            color: #f59e0b;
        }

    body.light-mode .footer-social a {
        background: #f1f5f9;
        color: #64748b;
    }

        body.light-mode .footer-social a:hover {
            background: #fef9e3;
            color: #f59e0b;
        }

    body.light-mode .footer-divider {
        background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.3), transparent);
    }

    body.light-mode .company-link {
        color: #f59e0b;
    }

        body.light-mode .company-link:hover {
            color: #fbbf24;
        }

    body.light-mode .company-logo-wrapper {
        background: rgba(245, 158, 11, 0.1);
    }

        body.light-mode .company-logo-wrapper span {
            color: #64748b;
        }

    body.light-mode .separator {
        color: #f59e0b;
    }
