/* هيدر الصفحة */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/services-header.jpg') center/cover;
    opacity: 0.1;
}

.header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
}

.header-content p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.breadcrumb a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--gold-light);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb .current {
    color: white;
    font-weight: 600;
}

/* قسم الخدمات الرئيسي */
.services-main {
    padding: 100px 0;
    background: #f8fafc;
}

.services-category {
    margin-bottom: 80px;
}

.category-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    font-weight: 700;
}

.category-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--gold), var(--accent));
    border-radius: 2px;
}

/* بطاقات الخدمات المفصلة */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.service-card.detailed {
    background: white;
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(233, 185, 73, 0.1);
}

.service-card.detailed:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold), var(--accent));
    transition: var(--transition);
}

.service-card.detailed:hover:before {
    width: 100%;
    opacity: 0.03;
}

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

.service-card.detailed .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), var(--accent));
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(233, 185, 73, 0.3);
    transition: var(--transition);
}

.service-card.detailed:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card.detailed h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 700;
}

.service-card.detailed p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.1rem;
}

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

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #555;
    font-size: 1rem;
}

.service-features li i {
    color: var(--gold);
    font-size: 0.9rem;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.btn-small {
    padding: 12px 30px;
    font-size: 1rem;
}

.service-duration {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #777;
    font-weight: 600;
    font-size: 0.9rem;
}

.service-duration i {
    color: var(--accent);
}

/* قسم التشطيب والديكور */
.finishing-section {
    padding: 100px 0;
    background: white;
}

.finishing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.finishing-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(233, 185, 73, 0.1);
}

.finishing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.finishing-image {
    height: 250px;
    overflow: hidden;
}

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

.finishing-card:hover .finishing-image img {
    transform: scale(1.1);
}

.finishing-content {
    padding: 35px 30px;
}

.finishing-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 700;
}

.finishing-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.finishing-content ul {
    list-style: none;
}

.finishing-content ul li {
    position: relative;
    padding-right: 20px;
    margin-bottom: 10px;
    color: #555;
}

.finishing-content ul li:before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--gold);
    font-weight: bold;
}

/* قسم عملية العمل */
.work-process {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.process-step {
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(233, 185, 73, 0.1);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--accent));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(233, 185, 73, 0.3);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(233, 185, 73, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    color: var(--gold);
    font-size: 2rem;
    transition: var(--transition);
}

.process-step:hover .step-icon {
    background: var(--gold);
    color: white;
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 700;
}

.process-step p {
    color: #666;
    line-height: 1.7;
}

/* قسم الاستشارة */
.consultation-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.consultation-cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80') center/cover;
    opacity: 0.1;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* التكيف مع الشاشات الصغيرة */
@media (max-width: 1200px) {
    .header-content h1 {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 992px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .header-content h1 {
        font-size: 2.5rem;
    }
    
    .category-title {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 50px;
    }
    
    .header-content h1 {
        font-size: 2.2rem;
    }
    
    .header-content p {
        font-size: 1.2rem;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .service-card.detailed {
        padding: 35px 25px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .finishing-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .service-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    .breadcrumb {
        flex-direction: column;
        gap: 10px;
    }
    
    .category-title {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.detailed {
        padding: 30px 20px;
    }
    
    .finishing-content {
        padding: 25px 20px;
    }
}
