/* الألوان الرئيسية مستوحاة من اللوجو */
:root {
    --primary-color: #26b6a5;
    --secondary-color: #4a9ff5;
    --accent-color: #ffa5b9;
    --light-accent: #7de8d6;
    --background-color: #f8f9fa;
    --text-color: #333;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    direction: rtl;
}

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

/* الهيدر والشعار */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 30px;
}

.logo {
    max-width: 200px;
    height: auto;
}

.site-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 10px 0;
    text-align: center;
}

/* قسم الخدمات */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

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

.service-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-title {
    font-size: 1.2rem;
    margin: 0;
}

.service-price {
    background-color: white;
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
}

.service-body {
    padding: 15px;
}

.service-description {
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.service-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkmark {
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 4px;
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.service-checkbox:checked ~ .checkmark {
    background-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    display: none;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.service-checkbox:checked ~ .checkmark:after {
    display: block;
}

.service-card.selected {
    border-color: var(--primary-color);
}

/* قسم الطلب والتكلفة */
.order-section {
    margin-top: 40px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
}

.total-cost {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    background-color: rgba(38, 182, 165, 0.1);
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: #1e9d8e;
}

.btn-block {
    display: block;
    width: 100%;
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .header {
        flex-direction: column;
    }
}

/* تأثيرات إضافية */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}
