/* أنماط أساسية */
:root {
    --sunset-orange: #FF6B35;
    --sunset-red: #FF3A20;
    --sunset-yellow: #FFB347;
    --sunset-dark: #2D3047;
    --sunset-light: #F8F7F2;
    --sunset-gradient: linear-gradient(135deg, var(--sunset-red), var(--sunset-orange), var(--sunset-yellow));
}

body {
    font-family: 'Noto Kufi Arabic', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.8;
}

.sunset-bg {
    background: var(--sunset-gradient);
    min-height: 100vh;
    padding: 20px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* أنماط البطاقات */
.card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* أنماط الهيدر */
header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

h1 {
    color: var(--sunset-light);
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 20px 0 10px;
}

.name-highlight {
    color: var(--sunset-yellow);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.name-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--sunset-yellow);
    border-radius: 3px;
}

.header-subtitle {
    color: var(--sunset-light);
    font-size: 1.4rem;
    margin: 0;
    font-weight: 500;
    opacity: 0.9;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    display: block;
    transition: all 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
    border-color: rgba(255, 179, 71, 0.7);
}

/* أنماط العناوين */
h2 {
    color: var(--sunset-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sunset-orange);
    display: flex;
    align-items: center;
    gap: 10px;
}

h2 i {
    color: var(--sunset-red);
}

/* أنماط النصوص */
p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 20px;
    color: #444;
}

/* أنماط المهارات */
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.skill {
    background-color: var(--sunset-orange);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 1rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.skill:hover {
    background-color: var(--sunset-red);
    transform: translateY(-3px);
}

/* أنماط المشاريع */
.projects {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.project h3 {
    color: var(--sunset-red);
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
}

/* أنماط الفوتر */
footer {
    text-align: center;
    margin-top: 50px;
}

.contact-text {
    margin-bottom: 25px;
    font-size: 1.2rem;
    color: #555;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 25px 0;
}

.social-links a {
    color: var(--sunset-dark);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
}

.social-links a:hover {
    color: white;
    background-color: var(--sunset-orange);
    transform: scale(1.1);
}

.copyright {
    margin-top: 25px;
    margin-bottom: 0;
    font-size: 1rem;
    color: #666;
}

/* تأثيرات الحركة */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.6s ease forwards;
}

.bio { animation-delay: 0.1s; }
.skills-section { animation-delay: 0.2s; }
.projects-section { animation-delay: 0.3s; }
footer { animation-delay: 0.4s; }

/* أنماط للجوال */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .header-subtitle {
        font-size: 1.1rem;
    }
    
    .profile-img {
        width: 150px;
        height: 150px;
    }
    
    .projects {
        grid-template-columns: 1fr;
    }