/*
Theme Name: ServicePro RTL - Clean Blue
Theme URI: https://yourdomain.com
Author: Your Name
Author URI: https://yourdomain.com
Description: قالب احترافي لشركات الخدمات (تنظيف/صيانة/مكافحة حشرات) بألوان زرقاء سماوية، متوافق مع RTL و Elementor Pro.
Version: 2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: servicepro
Tags: rtl-language-support, custom-menu, featured-images, theme-options, elementor, blue, cleaning-services
*/

/* -----------------------------------------------
   أساسيات وتنسيقات عامة
------------------------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
    text-align: right;
    background-color: #F0F9FF;
    color: #1A2A3A;
    line-height: 1.6;
}

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

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    /* تم إزالة transition: all 0.3s ease; لمنع أي تأثير حركة على الأزرار */
}

/* -----------------------------------------------
   الألوان الأساسية (زرقاء سماوية)
------------------------------------------------ */
:root {
    --primary: #00B4D8;
    --primary-dark: #0096C7;
    --primary-light: #48CAE4;
    --secondary: #0077B6;
    --accent: #90E0EF;
    --success: #25D366;
    --text-dark: #1A2A3A;
    --text-light: #5A6E7A;
    --bg-white: #FFFFFF;
    --bg-light: #F0F9FF;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
}

/* -----------------------------------------------
   الهيدر (Header)
------------------------------------------------ */
.site-header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo img {
    max-height: 50px;
}
.primary-menu ul {
    display: flex;
    list-style: none;
    gap: 25px;
}
.primary-menu a {
    color: var(--text-dark);
    font-weight: 500;
    /* تم إزالة transition و hover */
}
.primary-menu a:hover {
    color: var(--primary);
}
.booking-btn {
    background-color: var(--primary);
    color: white;
    padding: 8px 25px;
    border-radius: 40px;
    font-weight: bold;
    /* تم إزالة transition */
}
/* تم حذف .booking-btn:hover بالكامل */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* -----------------------------------------------
   قسم الهيرو (Hero) مع صورة خلفية
------------------------------------------------ */
.hero {
    background: linear-gradient(rgba(0, 90, 110, 0.75), rgba(0, 50, 70, 0.85)), 
                url('assets/images/hero-bg-default.jpg') center/cover no-repeat;
    color: white;
    padding: 90px 0;
    text-align: center;
}
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}
.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}
.hero .btn-primary {
    background-color: var(--success);
    padding: 12px 35px;
    border-radius: 40px;
    color: white;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 40px;
}
/* تم حذف أي hover لـ .hero .btn-primary */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}
.hero-stats div {
    font-size: 18px;
}
.hero-stats span {
    font-size: 32px;
    font-weight: bold;
    display: block;
    color: #F5A623;
}

/* -----------------------------------------------
   بطاقات الخدمات
------------------------------------------------ */
.services-grid {
    padding: 60px 0;
    background: var(--bg-white);
}
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--text-dark);
}
.services-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -15px rgba(0,0,0,0.15);
}
.service-img {
    height: 220px;
    overflow: hidden;
}
.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.service-card:hover .service-img img {
    transform: scale(1.05);
}
.service-info {
    padding: 20px;
}
.service-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.service-icon {
    font-size: 32px;
}
.service-info h3 {
    font-size: 20px;
    margin: 0;
    color: var(--text-dark);
}
.service-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}
.service-price {
    color: var(--primary);
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
}
.service-btn {
    background-color: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 500;
}
/* تم حذف .service-btn:hover بالكامل */

/* -----------------------------------------------
   باقي الأقسام (مميزات، شهادات، FAQ، إلخ)
------------------------------------------------ */
.feature-box {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
}
.feature-box .icon {
    font-size: 48px;
    margin-bottom: 15px;
}
.feature-box h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin: 15px;
}
.testimonial-stars {
    color: #F5A623;
    margin-bottom: 10px;
}
.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
}
.testimonial-author {
    font-weight: bold;
    color: var(--primary);
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.faq-question {
    padding: 18px;
    font-weight: bold;
    cursor: pointer;
    background: var(--bg-light);
    border-bottom: 1px solid #eee;
}
.faq-answer {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.faq-item.active .faq-answer {
    padding: 18px;
    max-height: 500px;
}

.service-areas {
    background: var(--bg-light);
    padding: 40px 0;
    text-align: center;
}
.chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.chip {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 14px;
}

.cta-section {
    background: var(--primary-dark);
    padding: 50px 0;
    color: white;
    text-align: center;
}
.cta-section h3 {
    font-size: 28px;
    margin-bottom: 20px;
}
.booking-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.booking-form input,
.booking-form select,
.booking-form textarea {
    padding: 14px 18px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    width: 100%;
}
.booking-form button {
    background: var(--success);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    /* تم إزالة transition: 0.3s; */
}
/* تم حذف .booking-form button:hover بالكامل */

.footer {
    background: #0A2A3A;
    color: #ccc;
    padding: 30px 0;
    text-align: center;
}
.footer a {
    color: var(--primary-light);
}

/* -----------------------------------------------
   تنسيقات استجابة (Responsive)
------------------------------------------------ */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .primary-menu {
        display: none;
        width: 100%;
        background: white;
        padding: 20px;
        margin-top: 15px;
        border-radius: 12px;
        box-shadow: var(--shadow);
    }
    .primary-menu.active {
        display: block;
    }
    .primary-menu ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero-stats {
        gap: 20px;
    }
    .services-wrapper {
        grid-template-columns: 1fr;
    }
}