/* ============================================
   📄 PAGE-SPECIFIC STYLES
============================================ */

/* 🎨 Content Sections */
.content-section {
    padding: var(--space-4xl) var(--space-xl);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-700));
    border-radius: var(--radius-full);
}

/* 📊 Features Grid - للصفحات الفرعية */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin: var(--space-3xl) 0;
}

/* 🔍 Deep Analysis Section - فحص الكمبيوتر */
.deep-analysis {
    background: linear-gradient(135deg, var(--neutral-50) 0%, #ffffff 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    margin: var(--space-4xl) 0;
    border: 1px solid var(--neutral-200);
    position: relative;
    overflow: hidden;
}

.deep-analysis::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.05) 0%, transparent 50%);
}

/* 🛡️ Quality Assurance - للصفحات الفرعية */
.quality-assurance {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    margin: var(--space-4xl) 0;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--primary-100);
}

.quality-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-500);
}

.quality-icon {
    font-size: 2rem;
    color: var(--primary-500);
    flex-shrink: 0;
}

/* 📋 Process Steps - للصفحات الفرعية */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin: var(--space-3xl) 0;
}

.process-step {
    text-align: center;
    padding: var(--space-2xl);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    counter-increment: step;
}

.process-step::before {
    content: counter(step);
    position: absolute;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    background: var(--primary-500);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

/* ❓ FAQ Section - للصفحات الفرعية */
.faq-section {
    background: linear-gradient(135deg, var(--neutral-900) 0%, #1a1a1a 100%);
    color: white;
    padding: var(--space-4xl) var(--space-xl);
    margin: var(--space-4xl) 0;
    border-radius: var(--radius-2xl);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255, 152, 0, 0.1) 0%, transparent 40%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    padding: var(--space-lg) var(--space-xl);
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-base);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-400);
    transition: transform var(--transition-base);
}

.faq-question.active::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--space-xl);
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-answer.show {
    padding: var(--space-lg) var(--space-xl);
    max-height: 500px;
}

/* ============================================
   🖥️ صفحات الخدمات المحددة
============================================ */

/* 🎨 خلفيات الهيرو للصفحات المختلفة */
/* الصفحة الرئيسية */
.hero::before {
    background-image: url('../images/main-hero.webp');
    background-position: center;
    background-size: cover;
    opacity: 0.3;
}

/* فحص الكمبيوتر */
.computer-check-page .service-hero::before {
    background-image: url('../images/computer-check-hero.webp');
    background-position: center;
    background-size: cover;
    opacity: 0.4;
}

/* فحص البودي */
.body-check-page .service-hero::before {
    background-image: url('../images/body-check-hero.webp');
    background-position: center;
    background-size: cover;
    opacity: 0.4;
}

/* فحص القير */
.gear-check-page .service-hero::before {
    background-image: url('../images/gear-check-hero.webp');
    background-position: center;
    background-size: cover;
    opacity: 0.4;
}

/* الفحص السفلي */
.underbody-check-page .service-hero::before {
    background-image: url('../images/underbody-check-hero.webp');
    background-position: center;
    background-size: cover;
    opacity: 0.4;
}

/* 🎨 أقسام خاصة بفحص الكمبيوتر */
.computer-check-page .specialized-section {
    background: linear-gradient(135deg, var(--neutral-50) 0%, #ffffff 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    margin: var(--space-4xl) 0;
    border: 1px solid var(--neutral-200);
    position: relative;
    overflow: hidden;
}

/* 👁️ قسم العين الخبيرة - فحص البودي */
.body-check-page .expert-eye {
    background: linear-gradient(135deg, var(--neutral-900) 0%, #1a1a1a 100%);
    color: white;
    padding: var(--space-4xl) var(--space-xl);
    margin: var(--space-4xl) 0;
    border-radius: var(--radius-2xl);
    position: relative;
    overflow: hidden;
}

.body-check-page .expert-eye::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255, 152, 0, 0.1) 0%, transparent 40%);
}

/* 🔊 قسم الاستماع - فحص القير */
.gear-check-page .listening-section {
    background: linear-gradient(135deg, var(--neutral-900) 0%, #1a1a1a 100%);
    color: white;
    padding: var(--space-4xl) var(--space-xl);
    margin: var(--space-4xl) 0;
    border-radius: var(--radius-2xl);
    position: relative;
    overflow: hidden;
}

.gear-check-page .listening-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255, 152, 0, 0.1) 0%, transparent 40%);
}

/* 👁️ قسم الرؤية الخبيرة - الفحص السفلي */
.underbody-check-page .expert-vision {
    background: linear-gradient(135deg, var(--neutral-900) 0%, #1a1a1a 100%);
    color: white;
    padding: var(--space-4xl) var(--space-xl);
    margin: var(--space-4xl) 0;
    border-radius: var(--radius-2xl);
    position: relative;
    overflow: hidden;
}

.underbody-check-page .expert-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255, 152, 0, 0.1) 0%, transparent 40%);
}

/* 🔍 قسم الفحص العميق - الفحص السفلي */
.underbody-check-page .deep-inspection {
    background: linear-gradient(135deg, var(--neutral-50) 0%, #ffffff 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    margin: var(--space-4xl) 0;
    border: 1px solid var(--neutral-200);
    position: relative;
    overflow: hidden;
}

.underbody-check-page .deep-inspection::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.05) 0%, transparent 50%);
}

/* ⚙️ قسم التخصص - فحص القير */
.gear-check-page .specialized-section {
    background: linear-gradient(135deg, var(--neutral-50) 0%, #ffffff 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    margin: var(--space-4xl) 0;
    border: 1px solid var(--neutral-200);
    position: relative;
    overflow: hidden;
}

.gear-check-page .specialized-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.05) 0%, transparent 50%);
}

/* 🎨 قسم التخصص - فحص البودي */
.body-check-page .specialized-section {
    background: linear-gradient(135deg, var(--neutral-50) 0%, #ffffff 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    margin: var(--space-4xl) 0;
    border: 1px solid var(--neutral-200);
    position: relative;
    overflow: hidden;
}

.body-check-page .specialized-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.05) 0%, transparent 50%);
}

/* ============================================
   🎯 Animations on Scroll
============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   📱 RESPONSIVE DESIGN - PAGES
============================================ */
@media (max-width: 768px) {
    .features-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .deep-analysis,
    .quality-assurance,
    .specialized-section,
    .deep-inspection {
        padding: var(--space-xl);
    }
    
    .quality-item {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .content-section {
        padding: var(--space-3xl) var(--space-lg);
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: var(--space-2xl) var(--space-md);
    }
    
    .section-title::after {
        width: 60px;
    }
}