/* إعدادات عامة */



/* إزالة أي مساحات بيضاء افتراضية */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: right;
    background-color: #f9f9f9;
     color: #333;
    ًbox-sizing: border-box;
     height: 100vh;
    overflow-x: hidden; /* منع التمرير الأفقي */
   
}


/*body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    text-align: center;
    direction: rtl;
}*/

/* الهيدر */
/*.header {
    background-color: #007bff;
    color: white;
    padding: 20px 10px;
}

.header h1 {
    margin: 0;
    font-size: 36px;
}

.header p {
    font-size: 18px;
    margin-top: 10px;
}*/

/* قسم المقدمة */
.services-intro {
    padding: 20px;
    font-size: 16px;
    background-color: #fff;
    margin: 20px auto;
    width: 80%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* قسم المعرض */
/* تصميم قسم "أعمالنا" */
.services-gallery {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
}

.services-gallery h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-item {
    max-width: 250px;
    text-align: center;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* صورة دائرية */
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* ظل للصورة */
}

.gallery-item p {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

/* زر "المزيد" */
.more-button-container {
    margin-top: 20px;
}

.more-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #4caf50;
    border: none;
    border-radius: 30px; /* زوايا مستديرة بالكامل */
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.more-button:hover {
    background-color: #45a049;
    transform: scale(1.05); /* تكبير طفيف */
}

.more-button:active {
    transform: scale(0.98); /* تأثير الضغط */
}


/* قسم النموذج */
.request-form {
    background-color: #fff;
    margin: 20px auto;
    padding: 20px;
    width: 80%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.request-form h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #007bff;
}

.request-form label {
    display: block;
    margin: 10px 0 5px;
    font-size: 14px;
    text-align: right;
}

.request-form input, 
.request-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.request-form button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.request-form button:hover {
    background-color: #0056b3;
}

/* الفوتر */
/*.footer {
    background-color: #333;
    color: white;
    padding: 10px;
    font-size: 14px;
    text-align: center;
}

.footer p {
    margin: 0;
}*/

/* استجابة للموبايلات */
@media (max-width: 768px) {
    .services-intro, 
    .request-form {
        width: 95%;
    }

    .gallery {
        flex-direction: column;
        gap: 15px;
    }

    .gallery-item {
        width: auto;
    }
}


.services-header {
    text-align: center; /* توسيط النص */
    margin: 50px 0; /* مسافة من الأعلى والأسفل */
    padding: 20px; /* مسافة داخلية */
    background-color: #f9f9f9; /* لون خلفية خفيف */
    border-radius: 10px; /* زوايا دائرية لإطار القسم */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* ظل لإبراز القسم */
}

.services-title {
    font-size: 36px; /* حجم الخط */
    color: #333; /* لون النص */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* تأثير محفور */
    margin-bottom: 10px; /* مسافة تحت العنوان */
    font-family: 'Arial', sans-serif; /* نوع الخط */
}

.services-description {
    font-size: 18px; /* حجم الخط للنص */
    color: #666; /* لون النص */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); /* تأثير محفور للنص */
    line-height: 1.8; /* تحسين المسافات بين الأسطر */
}



/*********************************************************/


/* الحاوية الرئيسية */
.more-arrow-container {
    text-align: center;
    margin-top: 20px;
}

/* الزر الدائري */
.more-arrow {
    display: inline-block;
    width: 60px; /* حجم الدائرة */
    height: 60px;
    position: relative;
    background-color: #f4f4f4; /* لون الخلفية */
    border: 3px solid #ddd; /* حواف الدائرة */
    border-radius: 50%; /* الشكل الدائري */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* التأثير عند التمرير */
.more-arrow:hover {
    background-color: #ddd;
    transform: translateY(-5px);
}

/* السهم */
.arrow {
    width: 20px; /* طول السهم */
    height: 20px;
    border-right: 3px solid #333; /* ضلع السهم الأيمن */
    border-bottom: 3px solid #333; /* ضلع السهم السفلي */
    position: absolute;
    top: 50%; /* وضع السهم في المنتصف رأسيًا */
    left: 50%; /* وضع السهم في المنتصف أفقيًا */
    transform: translate(-50%, -50%) rotate(45deg); /* تدوير السهم بزاوية 45 درجة */
    transition: transform 0.3s ease;
}

/* حركة السهم عند التمرير */
.more-arrow:hover .arrow {
    transform: translate(-50%, -50%) rotate(45deg) translateY(5px);
}

