:root {
  --primary-color: #fbe41a;
  --secondary-color: #000;
  --light-bg: #f9f9f9;
  --white-color: #fff;
  --dark-grey: #222;
  --text-color: #333;
  --border-color: #ccc;
  --button-hover-dark: #e0b000;
  --blue-button: #007bff;
  --blue-button-hover: #0056b3;
  --status-pending: #FFA500;
  --status-success: #28a745;
  --status-error: #dc3545;
}

body {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  text-align: right;
  background-color: var(--white-color);
  margin: 0;
  padding: 0;
  /* يمكنك تكبير الخط العام للصفحة من هنا إذا أردت */
  /* font-size: 17px; */
}
header {
  background-color: var(--light-bg);
  padding: 20px;
  text-align: center;
}
header img {
  width: 180px;
}
h1, h2, h3 {
  color: var(--secondary-color);
}
.section-title { /* كلاس جديد للعناوين الرئيسية للأقسام */
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
}

/* تنسيقات قسم اطلب الخدمة الآن (CTA) */
.cta {
  position: relative;
  background-image: url('images/cta_background.png'); /* تأكد من المسار والاسم هنا */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  padding: 80px 10px;
  color: var(--white-color);
  overflow: hidden; /* يمنع أي محتوى زائد من الظهور خارجياً */
}

/* الطبقة الشفافة (Overlay) فوق الصورة */
.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* تم تصحيح هذا إلى 100% ليغطي الصورة بالكامل */
  height: 100%; /* تم تصحيح هذا إلى 100% ليغطي الصورة بالكامل */
  background-color: rgba(0, 0, 0, 0.5); /* لون أسود بشفافية 50% */
  z-index: 0;
}

.cta h2, .cta button {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 38px;
  color: var(--white-color);
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
.cta button {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 15px 50px;
  border: none;
  border-radius: 40px;
  font-size: 22px;
  cursor: pointer;
  margin-top: 40px;
  margin-bottom: 40px;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.cta button:hover {
    background-color: var(--button-hover-dark);
}

/* تنسيقات قسم الخدمات */
.services {
  background-color: var(--primary-color);
  padding: 40px 10px; /* بادينغ جانبي أقل */
  text-align: center;
}
.services h2 {
  margin-bottom: 30px;
  font-size: 28px;
}
.service-items-wrapper { /* الكلاس الجديد للـ div الحاوي */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* المسافة بين البطاقات */
}
.services .service-item {
  display: inline-block;
  width: 220px;
  background-color: var(--white-color);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  vertical-align: top;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}
.services .service-item:hover {
    transform: translateY(-5px);
}
.service-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}
.service-item p {
    font-size: 18px;
    color: var(--text-color);
    font-weight: bold;
}

/* تنسيقات قسم "من نحن" */
.about-us { /* تم استخدام الكلاس هنا */
    padding: 30px 15px; /* إضافة بادينغ جانبي */
    text-align: justify;
}
.about-us p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 16px;
}

/* تنسيقات النموذج (قسم احجز خدمتك الآن) */
.booking-section { /* تم استخدام الكلاس هنا */
  padding: 28px 15px; /* إضافة بادينغ جانبي */
  background-color: var(--light-bg);
}
form {
  max-width: 500px;
  margin: 20px auto;
  padding: 20px;
  background-color: var(--white-color);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--text-color);
}
form input[type="text"],
form input[type="tel"],
form select,
form textarea {
  width: calc(100% - 22px);
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
}
form textarea {
  resize: vertical;
  min-height: 80px;
}
/* تنسيقات خاصة بزر تحديد الموقع */
form button[type="button"] {
  padding: 10px 15px;
  background-color: var(--blue-button);
  color: var(--white-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  width: auto;
  margin-bottom: 0;
  transition: background-color 0.3s ease;
}
form button[type="button"]:hover {
    background-color: var(--blue-button-hover);
}
/* تنسيقات زر الإرسال النهائي */
form button[type="submit"] {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 12px 25px;
  border: none;
  border-radius: 40px;
  font-size: 19px;
  cursor: pointer;
  width: 100%;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}
form button[type="submit"]:hover {
    background-color: var(--button-hover-dark);
}
#locationStatus {
    font-size: 14px;
    color: var(--text-color);
}
    
footer {
  background-color: var(--dark-grey);
  color: var(--white-color);
  text-align: center;
  padding: 15px;
  font-size: 16px;
}
footer a {
  color: var(--primary-color);
  text-decoration: none;
  margin: 0 8px;
}
footer a:hover {
  text-decoration: underline;
}

/* --- زر واتساب العائم --- */
.whatsapp-float {
    position: fixed; /* يجعله عائمًا ويظل في مكانه عند التمرير */
    bottom: 20px;    /* 20 بكسل من أسفل الشاشة */
    right: 20px;     /* 20 بكسل من يمين الشاشة (سيتغير لليسار في RTL تلقائيًا بفضل direction: rtl في body) */
    background-color: #25D366; /* لون خلفية الواتساب الأخضر */
    color: white;
    border-radius: 50%; /* لجعل الزر دائريًا */
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3); /* ظل خفيف */
    z-index: 1000; /* يضمن ظهوره فوق باقي العناصر */
    display: flex; /* ليتوسط الأيقونة داخله */
    align-items: center;
    justify-content: center;
    width: 60px; /* عرض الزر الدائري */
    height: 60px; /* ارتفاع الزر الدائري */
    transition: background-color 0.3s ease, transform 0.3s ease; /* تأثيرات عند التحويم */
}

.whatsapp-float:hover {
    background-color: #1DA851; /* لون أغمق عند التحويم */
    transform: scale(1.05); /* تكبير طفيف عند التحويم */
}
.whatsapp-float img {
    width: 35px; /* حجم أيقونة الواتساب داخل الزر */
    height: 35px;
    vertical-align: middle; /* للتأكد من توسيط الصورة */
}

/* --- تنسيقات أرقام التواصل في الهيدر --- */
.contact-numbers {
    margin-top: 10px; /* مسافة من أعلى اسم الشركة */
    font-size: 40px; /* حجم الخط - يمكنك تعديل هذه القيمة لتكبير الخط */
    color: #072dcc; /*
}
.contact-numbers p {
    margin: 5px 0; /* مسافة بين أسطر الأرقام */
    line-height: 1.5; /* تباعد الأسطر */
    font-weight: normal; /* لجعل النص مثل "موظف رجال" عادي وليس bold */
}

.contact-numbers a {
    color: var(--secondary-color); /* لون الأرقام (أسود) */
    text-decoration: none; /* إزالة الخط تحت الرقم */
    font-weight: bold; /* جعل الرقم نفسه سميكًا */
    transition: color 0.3s ease; /* تأثير تغيير اللون عند التحويم */
}

.contact-numbers a:hover {
    color: var(--primary-color); /* تغيير لون الرقم إلى الأصفر عند التحويم */
}


/* تنسيقات الشاشات الصغيرة (Responsive Design) */
@media (max-width: 768px) {
    .cta h2 {
        font-size: 28px;
    }
    .cta button {
        padding: 12px 40px;
        font-size: 18px;
    }
    .services .service-item {
        width: calc(50% - 30px);
        margin: 15px 0;
    }
    .service-items-wrapper {
        gap: 15px;
    }
    form {
        padding: 15px;
    }
    form input[type="text"],
    form input[type="tel"],
    form select,
    form textarea {
        width: calc(100% - 20px);
    }
}

@media (max-width: 480px) {
    .cta {
        padding: 60px 10px;
    }
    .cta h2 {
        font-size: 24px;
    }
    .cta button {
        padding: 10px 30px;
        font-size: 16px;
    }
    .services .service-item {
        width: calc(100% - 20px);
        margin: 10px 0;
    }
    .service-items-wrapper {
        gap: 10px;
    }
    .section-title {
        font-size: 24px;
    }
    /* تعديل موقع الزر للشاشات الصغيرة */
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float img {
        width: 30px;
        height: 30px;
    }
    /* تعديلات متجاوبة لأرقام التواصل على الشاشات الصغيرة */
    .contact-numbers {
        font-size: 16px;
    }
    /* تنسيق جملة الأسعار باللون الأزرق */
.highlight-price {
    color: #ef012f; /* هذا هو اللون الأزرق القياسي */
    font-weight: bold; /* لجعلها بارزة أكثر */
}
