
/* أنماط الأقسام المشتركة */

/* قسم العنوان */
.page-title {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.page-title h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.page-title p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

/* قسم المعلومات */
.service-info {
    padding: 80px 0;
}

.service-info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* تحسين قسم معلومات الخدمة للشاشات المتوسطة */
@media (max-width: 992px) {
    .service-info-content {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 100%;
        padding: 0 30px;
    }
    
    .service-info-text h2 {
        font-size: 28px;
    }
}

/* تحسين قسم معلومات الخدمة للشاشات الصغيرة */
@media (max-width: 576px) {
    .service-info {
        padding: 50px 0;
    }
    
    .service-info-content {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 15px;
        gap: 30px;
    }
    
    .service-info-text {
        order: 2;
    }
    
    .service-info-img {
        order: 1;
        width: 100%;
    }
    
    .service-info-text h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .service-info-text p {
        font-size: 15px;
        margin-bottom: 15px;
    }
}

.service-info-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.service-info-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-info-text ul {
    margin-bottom: 30px;
    padding-right: 20px;
}

.service-info-text li {
    margin-bottom: 10px;
    position: relative;
    padding-right: 25px;
}

.service-info-text li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.service-info-img img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* قسم المعرض */
/* .gallery {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 250px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
}

.gallery-overlay p {
    font-size: 14px;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
} */

/* قسم فلتر المعرض */
/* .gallery-filter {
    padding: 60px 0;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: white;
    color: var(--text-color);
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
} */

/* قسم CTA (دعوة لاتخاذ إجراء) */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-content .btn {
    background-color: white;
    color: var(--primary-color);
    font-weight: 700;
}

.cta-content .btn:hover {
    background-color: var(--light-color);
    transform: translateY(-3px);
}

/* قسم الأسعار */
.pricing-section {
    padding: 80px 0;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.pricing-card.featured {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
}

.pricing-card.featured .pricing-header {
    background-color: var(--secondary-color);
}

.pricing-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 36px;
    font-weight: 700;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 400;
}

.pricing-body {
    padding: 30px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-right: 25px;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* تأثيرات الحركة */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* أنماط استجابة الشاشات */
@media (max-width: 992px) {
    .service-info-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-title {
        padding: 70px 0;
    }

    .page-title h1 {
        font-size: 32px;
    }

    .page-title p {
        font-size: 16px;
    }

    .service-info,
    .gallery,
    .cta {
        padding: 60px 0;
    }

    .filter-buttons {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 576px) {
    .page-title h1 {
        font-size: 28px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }
}




/* قسم آراء العملاء */
/* قسم آراء العملاء */
.client-reviews {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.reviews-header {
    text-align: center;
    margin-bottom: 4rem;
}

.reviews-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
}

.reviews-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 0.25rem;
    background: linear-gradient(90deg, #4ecdc4, #ff6b6b);
    border-radius: 0.125rem;
}

.reviews-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* شبكة التقييمات */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* كروت التقييم */
.review-card {
    background: white;
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(0.625rem);
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 5rem;
    color: #4ecdc4;
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.15);
}

.review-card:hover::before {
    opacity: 0.2;
    transform: scale(1.1);
}

/* محتوى التقييم */
.review-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    flex-grow: 1;
    text-align: justify;
}

.review-author {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    position: relative;
    z-index: 2;
}

.review-stars i {
    color: #ffc107;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.review-stars .fa-star-half-alt {
    color: #ffc107;
}

/* تأثيرات خاصة للكروت */
.review-card:nth-child(1) {
    border-top: 0.25rem solid #4ecdc4;
}

.review-card:nth-child(2) {
    border-top: 0.25rem solid #ff6b6b;
}

.review-card:nth-child(3) {
    border-top: 0.25rem solid #45b7d1;
}

.review-card:nth-child(4) {
    border-top: 0.25rem solid #96ceb4;
}

.review-card:nth-child(5) {
    border-top: 0.25rem solid #ffa726;
}

.review-card:nth-child(6) {
    border-top: 0.25rem solid #ab47bc;
}

/* شبكة الخلفية */
.client-reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #4ecdc4, transparent);
}

.client-reviews::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(78, 205, 196, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* تأثيرات الحركة */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-card {
    animation: fadeInUp 0.6s ease-out;
}

.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card:nth-child(4) { animation-delay: 0.4s; }
.review-card:nth-child(5) { animation-delay: 0.5s; }
.review-card:nth-child(6) { animation-delay: 0.6s; }

/* التكيف مع الشاشات المتوسطة */
@media (max-width: 1024px) {
    .client-reviews {
        padding: 4rem 1rem;
    }
    
    .reviews-title {
        font-size: 2.2rem;
    }
    
    .reviews-subtitle {
        font-size: 1.1rem;
    }
    
    .reviews-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
    }
    
    .review-card {
        padding: 2rem 1.5rem;
    }
    
    .review-content {
        font-size: 1.05rem;
    }
}

/* التكيف مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .client-reviews {
        padding: 3rem 1rem;
    }
    
    .reviews-header {
        margin-bottom: 3rem;
    }
    
    .reviews-title {
        font-size: 2rem;
    }
    
    .reviews-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .review-card {
        padding: 1.75rem 1.5rem;
        margin: 0 0.5rem;
    }
    
    .review-content {
        font-size: 1rem;
        text-align: right;
    }
    
    .review-author {
        font-size: 1.1rem;
    }
    
    .review-stars i {
        font-size: 1rem;
    }
}

/* التكيف مع الشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .client-reviews {
        padding: 2.5rem 0.5rem;
    }
    
    .reviews-header {
        margin-bottom: 2rem;
    }
    
    .reviews-title {
        font-size: 1.75rem;
    }
    
    .reviews-subtitle {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
    
    .reviews-grid {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .review-card {
        padding: 1.5rem 1.25rem;
        margin: 0 0.25rem;
        border-radius: 1rem;
    }
    
    .review-card::before {
        top: 1rem;
        right: 1.25rem;
        font-size: 4rem;
    }
    
    .review-content {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .review-author {
        font-size: 1rem;
    }
    
    .review-stars i {
        font-size: 0.9rem;
    }
}

/* تحسين إمكانية الوصول */
@media (prefers-reduced-motion: reduce) {
    .review-card {
        animation: none;
        transition: none;
    }
    
    .review-card:hover {
        transform: none;
    }
    
    .review-card:hover::before {
        transform: none;
    }
}

/* تحسين التباين للألوان */
@media (prefers-contrast: high) {
    .review-card {
        border: 2px solid #2c3e50;
    }
    
    .review-content {
        color: #000;
    }
    
    .review-author {
        color: #000;
    }
}

/* وضع الظلام */
@media (prefers-color-scheme: dark) {
    .client-reviews {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    }
    
    .review-card {
        background: #3a506b;
        color: #ffffff;
    }
    
    .review-content {
        color: #e9ecef;
    }
    
    .review-author {
        color: #ffffff;
    }
    
    .reviews-title {
        color: #ffffff;
    }
    
    .reviews-subtitle {
        color: #bdc3c7;
    }
}

/* دعم المتصفحات القديمة */
@supports not (backdrop-filter: blur(10px)) {
    .review-card {
        background: rgba(255, 255, 255, 0.95);
    }
    
    @media (prefers-color-scheme: dark) {
        .review-card {
            background: rgba(58, 80, 107, 0.95);
        }
    }
}