/* =====================================================
   PP Services Website Styles
   ملف التنسيقات الرئيسي - سهل التعديل
   ===================================================== */

/* ===== الإعدادات الأساسية ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ===== الألوان الرئيسية (قابلة للتعديل بسهولة) ===== */
:root {
    --primary-color: #1a4173;        /* اللون الأساسي - أزرق داكن */
    --secondary-color: #2d5a8f;      /* اللون الثانوي - أزرق متوسط */
    --accent-color: #5ea3d9;         /* لون التمييز - أزرق فاتح */
    --text-dark: #333;               /* لون النص الداكن */
    --text-light: white;             /* لون النص الفاتح */
    --background-light: #f8f9fa;     /* خلفية فاتحة */
    --footer-dark: #0f2847;          /* لون الفوتر الداكن */
}

/* ===== الحاوية الرئيسية ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== القائمة العلوية (Header) ===== */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.lang-switcher {
    padding: 8px 15px;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--text-light);
    color: var(--text-light);
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.lang-switcher:hover {
    background: rgba(255,255,255,0.2);
}

/* ===== القسم الرئيسي (Hero) ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s;
}

/* ===== الأزرار ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--text-light);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ===== قسم الخدمات ===== */
.services {
    padding: 80px 0;
    background: var(--background-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--text-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* ===== قسم من نحن ===== */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* ===== قسم الاتصال ===== */
.contact {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: inline-block;
    margin: 1rem 2rem;
    font-size: 1.2rem;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.contact-item a:hover {
    border-bottom-color: var(--text-light);
}

/* ===== الفوتر (Footer) ===== */
footer {
    background: var(--footer-dark);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
}

footer a {
    color: var(--text-light);
    transition: color 0.3s;
}

footer a:hover {
    color: var(--accent-color);
}

/* ===== الحركات (Animations) ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== التصميم المتجاوب (Responsive) ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        display: block;
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}
