/* 
 * homepage-responsive.css - تحسينات خاصة للصفحة الرئيسية وصفحة البحث السريع
 */

/* تنسيق قسم الخدمات في الصفحة الرئيسية */
.services-section {
    padding: 30px 0;
    width: 100%;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 280px;
    max-width: 320px;
    margin: 0;
}

@media (max-width: 1200px) {
    .service-card {
        flex: 1 1 250px;
    }
}

@media (max-width: 992px) {
    .service-card {
        flex: 1 1 220px;
    }
}

@media (max-width: 768px) {
    .service-card {
        flex: 1 1 45%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .service-card {
        flex: 1 1 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .service-card .btn {
        width: 100%;
        display: block;
    }
}

/* تنسيق قسم الإحصائيات */
.stats-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    margin: 30px 0;
    border-radius: 10px;
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--manus-primary-color, #0A4D68);
    font-weight: 700;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    width: 100%;
}

.stat-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    flex: 1 1 200px;
    max-width: 250px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    margin: 0;
}

@media (max-width: 992px) {
    .stat-card {
        flex: 1 1 180px;
    }
}

@media (max-width: 768px) {
    .stat-card {
        flex: 1 1 45%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .stats-section {
        padding: 30px 10px;
    }
    
    .stat-card {
        flex: 1 1 100%;
        max-width: 100%;
        margin-bottom: 15px;
        padding: 20px 15px;
    }
}

/* تنسيق قسم فيديوهات التيك توك */
.tiktok-preview-section {
    padding: 40px 0;
    background-color: #fff;
    width: 100%;
}

.tiktok-preview-swiper {
    width: 100%;
    padding: 30px 0;
}

.tiktok-preview-swiper .swiper-slide {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    height: auto;
    min-height: 450px;
}

.tiktok-video-embed {
    width: 100%;
    height: auto;
    min-height: 400px;
    border: none;
}

.tiktok-video-info {
    padding: 15px;
}

.tiktok-customer-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.tiktok-car-details {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .tiktok-preview-swiper .swiper-slide {
        min-height: 420px;
    }
    
    .tiktok-video-embed {
        min-height: 370px;
    }
}

@media (max-width: 768px) {
    .tiktok-preview-swiper .swiper-slide {
        min-height: 400px;
    }
    
    .tiktok-video-embed {
        min-height: 350px;
    }
}

@media (max-width: 576px) {
    .tiktok-preview-section {
        padding: 30px 10px;
    }
    
    .tiktok-preview-swiper .swiper-slide {
        min-height: 380px;
    }
    
    .tiktok-video-embed {
        min-height: 330px;
    }
    
    .tiktok-customer-name {
        font-size: 1.1rem;
    }
}

/* تنسيق صفحة البحث السريع */
.search-form-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin: 20px 0;
    width: 100%;
}

.search-form {
    width: 100%;
}

.page-header {
    margin-bottom: 20px;
    border-bottom: 2px solid var(--manus-primary-color, #0A4D68);
    padding-bottom: 10px;
}

.page-header h1 {
    color: var(--manus-primary-color, #0A4D68);
    font-weight: 700;
}

.document-requirements {
    margin-bottom: 20px;
}

.document-requirements h4 {
    margin-bottom: 15px;
}

.document-requirements ol {
    padding-right: 20px;
}

.document-requirements li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .search-form-container {
        padding: 20px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .document-requirements h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .search-form-container {
        padding: 15px;
    }
    
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .document-requirements {
        padding: 15px;
    }
    
    .document-requirements h4 {
        font-size: 1.1rem;
    }
    
    .search-form .btn {
        width: 100%;
        margin-top: 10px;
    }
}

/* تحسينات عامة للتجاوب */
@media (max-width: 576px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero {
        padding: 30px 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
}
