/* ==================== تخصيص الصفحة الرئيسية ==================== */

/* الأنماط - 8 أنماط */

/* 1. تقليدي - النمط الافتراضي */
.home-style-classic .home-content {
    text-align: center;
    padding: 100px 20px;
}

.home-style-classic .home-text h1 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.home-style-classic .home-text .subtitle {
    font-size: 24px;
    color: #666;
    margin-bottom: 20px;
}

.home-style-classic .home-text .description {
    font-size: 18px;
    color: #777;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* 2. عصري */
.home-style-modern .home-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 40px;
    min-height: calc(100vh - 80px);
}

.home-style-modern .home-text {
    text-align: right;
}

.home-style-modern .home-text h1 {
    font-size: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.home-style-modern .home-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-style-modern .home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-style-modern .home-image i {
    font-size: 120px;
    color: white;
    opacity: 0.3;
}

/* 3. بطاقة */
.home-style-card .home-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 40px;
}

.home-style-card .home-card {
    background: white;
    border-radius: 30px;
    padding: 60px;
    max-width: 800px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.home-style-card .home-text h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* 4. خلفية كاملة */
.home-style-fullscreen {
    position: relative;
    overflow: hidden;
}

.home-style-fullscreen .home-content {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.home-style-fullscreen .home-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    z-index: -1;
}

.home-style-fullscreen .home-text h1 {
    font-size: 64px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* 5. منقسم */
.home-style-split .home-content {
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 100vh;
}

.home-style-split .home-left {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.home-style-split .home-left-content {
    text-align: center;
    color: white;
}

.home-style-split .home-left-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.home-style-split .home-right {
    display: flex;
    align-items: center;
    padding: 60px;
}

.home-style-split .home-text .subtitle {
    font-size: 28px;
    color: #666;
    margin-bottom: 20px;
}

/* 6. متموج */
.home-style-wave {
    position: relative;
    overflow: hidden;
}

.home-style-wave .home-content {
    position: relative;
    padding: 100px 40px;
    text-align: center;
}

.home-style-wave .wave-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

.home-style-wave .home-text h1 {
    font-size: 52px;
    color: var(--primary-color);
}

/* 7. متحرك */
.home-style-animated .home-content {
    text-align: center;
    padding: 100px 40px;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-style-animated .home-text h1 {
    font-size: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideInDown 1s ease;
}

.home-style-animated .home-text .subtitle {
    font-size: 28px;
    color: #666;
    animation: fadeInUp 1s ease 0.3s both;
}

.home-style-animated .home-text .description {
    font-size: 18px;
    color: #777;
    max-width: 700px;
    margin: 20px auto 40px;
    animation: fadeInUp 1s ease 0.6s both;
}

.home-style-animated .home-buttons {
    animation: fadeInUp 1s ease 0.9s both;
}

@keyframes slideInDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 8. حد أدنى */
.home-style-minimal .home-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    padding: 40px;
}

.home-style-minimal .home-text {
    max-width: 600px;
}

.home-style-minimal .home-text h1 {
    font-size: 72px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.home-style-minimal .home-text .subtitle {
    font-size: 24px;
    color: #666;
    font-weight: 300;
}

/* الخلفيات - 6 أنماط */

/* 1. لون صلب */
.home-bg-solid {
    background: #ffffff;
}

/* 2. تدرج */
.home-bg-gradient {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* 3. نقاط */
.home-bg-dots {
    background-image: radial-gradient(circle, rgba(102, 126, 234, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* 4. خطوط */
.home-bg-lines {
    background-image: 
        linear-gradient(90deg, rgba(102, 126, 234, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(102, 126, 234, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* 5. شبكة */
.home-bg-grid {
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.03) 2px, transparent 2px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.03) 2px, transparent 2px);
    background-size: 50px 50px;
}

/* 6. جزيئات متحركة */
.home-bg-particles {
    position: relative;
}

.home-bg-particles::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(102, 126, 234, 0.15) 2px, transparent 2px);
    background-size: 50px 50px;
    animation: particlesMove 20s linear infinite;
}

@keyframes particlesMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* الأزرار المخصصة */
.home-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* صورة شخصية دائرية */
.home-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 30px;
    overflow: hidden;
    border: 5px solid var(--primary-color);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.home-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* روابط التواصل الاجتماعي */
.home-social {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.home-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.home-social a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* إحصائيات */
.home-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.home-stat {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.home-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.home-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.home-stat-label {
    font-size: 14px;
    color: #666;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .home-style-modern .home-content,
    .home-style-split .home-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .home-style-modern .home-text,
    .home-style-split .home-text {
        text-align: center;
    }
    
    .home-style-modern .home-text h1 {
        font-size: 42px;
    }
    
    .home-style-fullscreen .home-text h1 {
        font-size: 48px;
    }
    
    .home-style-minimal .home-text h1 {
        font-size: 56px;
    }
    
    .home-style-classic .home-text h1,
    .home-style-card .home-text h1,
    .home-style-wave .home-text h1 {
        font-size: 38px;
    }
    
    .home-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .home-stat-number {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .home-style-card .home-card {
        padding: 40px 30px;
    }
    
    .home-style-modern .home-image {
        height: 350px;
    }
    
    .home-avatar {
        width: 150px;
        height: 150px;
    }
}