/* ملف style.css - تصميم شركة Sika IT */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&display=swap');

:root {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --primary: #3b82f6;       /* اللون الأزرق الرئيسي */
    --primary-dark: #2563eb;
    --accent: #10b981;        /* اللون الأخضر الثانوي */
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: #334155;
}

* { box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- الهيدر (Header) --- */
header {
    background: rgba(15, 23, 42, 0.95);
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo { font-size: 1.8rem; font-weight: 900; color: #fff; text-decoration: none; }
.logo span { color: var(--primary); }

.nav-links a { 
    color: #fff; 
    text-decoration: none; 
    margin-left: 25px; 
    font-weight: 600; 
    font-size: 0.95rem; 
    transition: 0.3s;
}
.nav-links a:hover { color: var(--primary); }

.btn-header {
    background: var(--primary);
    color: white;
    padding: 8px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: 0.3s;
}
.btn-header:hover { background: var(--primary-dark); }

/* --- الواجهة الرئيسية (Hero) --- */
.hero {
    padding: 120px 20px 80px;
    text-align: center;
    /* صورة خلفية تقنية مع طبقة تعتيم */
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.85)), url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* تأثير جميل عند التمرير */
}

.hero h1 { 
    font-size: 3.5rem; 
    margin-bottom: 20px; 
    line-height: 1.3; 
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p { font-size: 1.3rem; color: #cbd5e1; max-width: 700px; margin: 0 auto 40px; }

/* الأزرار العامة */
.btn {
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary { 
    background: var(--primary); 
    color: white; 
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}
.btn-primary:hover { 
    transform: translateY(-3px); 
    background: var(--primary-dark);
    box-shadow: 0 15px 30px -5px rgba(59, 130, 246, 0.6);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
    margin-right: 10px;
}
.btn-outline:hover { background: var(--primary); color: white; }

/* --- التنسيق العام للأقسام --- */
.section-title { text-align: center; margin: 100px 0 50px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 10px; position: relative; display: inline-block; }
.section-title h2::after {
    content: ''; display: block; width: 60px; height: 4px; background: var(--primary); margin: 10px auto 0; border-radius: 2px;
}
.section-title p { color: var(--text-muted); font-size: 1.1rem; }
.container { max-width: 1200px; margin: auto; padding: 0 20px; }

/* --- قسم لماذا نحن (Cards) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.feature-box {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}
.feature-box::before {
    content: ''; position: absolute; top: 0; right: 0; width: 4px; height: 100%; background: var(--primary); opacity: 0; transition: 0.3s;
}
.feature-box:hover { 
    transform: translateY(-10px); 
    background: #233044; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.feature-box:hover::before { opacity: 1; }
.feature-box h3 { margin-top: 10px; color: #fff; font-size: 1.4rem; }
.feature-box p { color: var(--text-muted); line-height: 1.7; }

/* --- معرض الأعمال (Portfolio) --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}
.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
}
.portfolio-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: 0.5s;
    opacity: 0.9;
}
.portfolio-item:hover img { transform: scale(1.05); opacity: 1; }
.portfolio-info { padding: 25px; }
.portfolio-info h4 { margin: 0 0 5px; color: var(--accent); font-size: 1.2rem; }
.portfolio-info p { margin: 0; font-size: 0.95rem; color: var(--text-muted); }

/* --- الأسعار (Pricing) --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}
.pricing-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}
.pricing-card:hover { border-color: var(--primary); }

.pricing-card.featured { 
    border: 2px solid var(--primary); 
    transform: scale(1.05); 
    z-index: 2; 
    background: linear-gradient(to bottom, #1e293b, #0f172a);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.15); 
}

.price { font-size: 3rem; font-weight: 900; color: #fff; margin: 20px 0; }
.price span { font-size: 1rem; color: #94a3b8; font-weight: normal; }

.features-list { list-style: none; padding: 0; margin: 30px 0; text-align: right; }
.features-list li { margin-bottom: 15px; color: #cbd5e1; display: flex; align-items: center; gap: 10px; }
.features-list li i { color: var(--accent); }

/* --- الفوتر --- */
footer { 
    background: #020617; 
    padding: 60px 20px; 
    text-align: center; 
    border-top: 1px solid var(--border-color); 
    margin-top: 80px; 
}
.social-icons a { 
    color: var(--text-muted); 
    margin: 0 15px; 
    font-size: 1.8rem; 
    transition: 0.3s; 
}
.social-icons a:hover { color: var(--primary); transform: translateY(-3px); display: inline-block; }

/* --- واتساب العائم --- */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; background: #25d366; color: white;
    width: 65px; height: 65px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 35px; box-shadow: 0 5px 20px rgba(0,0,0,0.4); z-index: 999; transition: 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); background: #20b053; }

/* للموبايل */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .pricing-card.featured { transform: scale(1); }
}
