/* المتغيرات العامة */
:root {
    --primary-color: #b78d65;
    --secondary-color: #5a3921;
    --light-color: #f9f5f0;
    --dark-color: #333;
    --text-light: #fff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* التنسيقات العامة */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Tajawal', Arial, sans-serif;
    direction: rtl;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* تنسيقات الهيدر */
header {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-light);
    text-decoration: none;
}

.navbar {
    display: flex;
}

.navbar a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.3rem;
    transition: var(--transition);
}

.navbar a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* تنسيقات قسم الخدمة */
.service-detail {
    padding: 3rem 0;
}

.service-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-header h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.service-header img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-header img:hover {
    transform: scale(1.02);
}

/* تنسيقات محتوى الخدمة */
.service-content {
    background-color: var(--text-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.service-section {
    margin-bottom: 2rem;
}

.service-section h2 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0d5c8;
}

/* تنسيقات القوائم */
.features-list {
    list-style-type: none;
    padding-right: 1.5rem;
}

.features-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-right: 1.8rem;
    font-size: 1.1rem;
}

.features-list li::before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.8rem;
    position: absolute;
    right: 0;
    top: -0.4rem;
}

/* معرض الصور */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-item {
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* تنسيقات الأزرار */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1.5rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: #9a7554;
    transform: translateY(-3px);
}

/* تنسيقات الفوتر */
footer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links {
    margin: 1rem 0;
}

.social-links a {
    color: var(--text-light);
    margin: 0 0.8rem;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

/* تنسيقات للجوال */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .navbar {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }
    
    .navbar.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
        margin-top: 1rem;
    }
    
    .service-header h1 {
        font-size: 2rem;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .service-header h1 {
        font-size: 1.8rem;
    }
    
    .service-section h2 {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}