/**
 * ملف الأنماط الرئيسي - موقع المميز للنقل البري
 * الألوان الأساسية: #3e0862 (أساسي/داكن) و #f4f5f7 (خلفية فاتحة)
 */

/* خطوط عربية */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* المتغيرات CSS */
:root {
    --primary-color: #3e0862;
    --secondary-color: #f4f5f7;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(62, 8, 98, 0.1);
    --shadow-hover: 0 4px 20px rgba(62, 8, 98, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

/* الحاويات */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    padding: 0 15px;
}

/* الشبكة المتجاوبة */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col, .col-md-6, .col-lg-4, .col-lg-8 {
    padding: 0 15px;
}

.col {
    flex: 1;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

/* الهيدر */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a1a7a 100%);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: var(--transition);
}

.main-nav .nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
    border: 2px solid transparent;
}

.contact-btn:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    text-decoration: none;
}

.whatsapp-btn {
    background: #25D366;
}

.whatsapp-btn:hover {
    background: #128C7E;
    color: var(--white);
}

/* المحتوى الرئيسي */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* البطاقات */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.card-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background: var(--secondary-color);
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* الأزرار */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1.2;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #2a0544;
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--text-light);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--text-color);
    color: var(--white);
    text-decoration: none;
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background: #218838;
    color: var(--white);
    text-decoration: none;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* النماذج */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(62, 8, 98, 0.1);
}

.form-control.is-invalid {
    border-color: var(--danger);
}

.invalid-feedback {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* الجداول */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    background: var(--white);
}

.table th,
.table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    text-align: right;
}

.table th {
    background: var(--secondary-color);
    font-weight: 600;
    color: var(--text-color);
}

.table-striped tbody tr:nth-child(odd) {
    background: rgba(244, 245, 247, 0.5);
}

/* التنبيهات */
.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border-color: var(--success);
    color: #155724;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-color: var(--danger);
    color: #721c24;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: var(--warning);
    color: #856404;
}

.alert-info {
    background: rgba(23, 162, 184, 0.1);
    border-color: var(--info);
    color: #0c5460;
}

/* قسم الخدمات */
.services-section {
    padding: 3rem 0;
    background: var(--white);
}

/* قسم الخدمات المفصل */
.detailed-services-section {
    background: var(--secondary-color);
}

.detailed-service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(62, 8, 98, 0.1);
    margin-bottom: 3rem;
    transition: var(--transition);
}

.detailed-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(62, 8, 98, 0.15);
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.service-main-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 500;
}

.service-features {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.service-features h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-right: 2rem;
    color: var(--text-color);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    top: 0.5rem;
    color: var(--success);
    font-weight: bold;
    font-size: 1.1rem;
}

.service-actions {
    margin-top: 2rem;
}

.service-actions .btn {
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
}

/* الأيقونات المرئية بدلاً من الصور */
.service-visual {
    text-align: center;
    padding: 2rem;
}

.service-icon-large {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 3rem;
    color: var(--primary-color);
}

.service-icon-large i:nth-child(2) {
    font-size: 2rem;
    color: var(--text-light);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

.visual-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.visual-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
}

/* قسم SEO */
.seo-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(62, 8, 98, 0.1);
}

.seo-feature {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.seo-feature h5 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.seo-feature ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-feature li {
    padding: 0.5rem 0;
    position: relative;
    padding-right: 1.5rem;
    color: var(--text-color);
}

.seo-feature li::before {
    content: '✓';
    position: absolute;
    right: 0;
    top: 0.5rem;
    color: var(--success);
    font-weight: bold;
}

.seo-highlight {
    border: 2px solid var(--primary-color);
}

.final-cta-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 25px;
    margin: 0.5rem;
}

/* قسم الأسعار */
.pricing-highlight {
    margin-top: 4rem;
    padding: 3rem 0;
}

.pricing-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a1a7a 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(62, 8, 98, 0.3);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.pricing-card h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.price-item {
    padding: 1rem;
    margin-bottom: 1rem;
}

.price-item h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.price-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    background: var(--secondary-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* قسم السيارات */
.cars-section {
    padding: 3rem 0;
    background: var(--secondary-color);
}

/* قسم شهادات العملاء */
.testimonials-section {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(62, 8, 98, 0.1);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(62, 8, 98, 0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-stars {
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: #ffc107;
    margin-left: 0.25rem;
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.author-location {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

/* قسم الكلمات المفتاحية */
.keywords-services-section {
    position: relative;
    overflow: hidden;
}

.keywords-services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.keyword-service-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(62, 8, 98, 0.1);
    border: 1px solid rgba(62, 8, 98, 0.1);
    transition: var(--transition);
    overflow: hidden;
}

.keyword-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(62, 8, 98, 0.15);
}

.keyword-service-card .card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a1a7a 100%);
    color: var(--white);
    padding: 1.5rem;
    border: none;
}

.keyword-service-card .card-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.keyword-service-card .card-body {
    padding: 1.5rem;
}

.service-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.service-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-item h5 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.service-item p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.service-features-mini {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features-mini li {
    padding: 0.25rem 0;
    position: relative;
    padding-right: 1.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.service-features-mini li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* بطاقات البحث */
.keywords-cta {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    box-shadow: 0 8px 30px rgba(62, 8, 98, 0.1);
}

.search-keyword-card {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.search-keyword-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(62, 8, 98, 0.2);
}

.search-keyword-card h6 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.search-keyword-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* الخدمات المتقدمة */
.advanced-services {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(62, 8, 98, 0.1);
}

.advanced-service-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--secondary-color);
    border-radius: 12px;
    transition: var(--transition);
    height: 100%;
}

.advanced-service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(62, 8, 98, 0.15);
}

.advanced-service-item .service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.advanced-service-item h6 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.advanced-service-item p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* سحابة الكلمات المفتاحية */
.keywords-showcase {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a1a7a 100%);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
}

.keywords-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem 0;
}

.keyword-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: default;
}

.keyword-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.cta-buttons {
    margin-top: 2rem;
}

.cta-buttons .btn {
    margin: 0.5rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .keyword-service-card .card-header {
        padding: 1rem;
    }
    
    .keyword-service-card .card-body {
        padding: 1rem;
    }
    
    .keywords-cta {
        padding: 2rem 1rem;
    }
    
    .search-keyword-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .advanced-service-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .keywords-cloud {
        gap: 0.5rem;
    }
    
    .keyword-tag {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    .cta-buttons .btn {
        display: block;
        margin: 0.5rem auto;
        width: 100%;
        max-width: 300px;
    }
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.car-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.car-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.car-icon {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a1a7a 100%);
    color: var(--white);
    font-size: 3rem;
}

.car-info {
    padding: 1.5rem;
    text-align: center;
}

.car-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
    line-height: 1.4;
}

.car-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.car-features {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* قسم المقالات */
.articles-section {
    padding: 3rem 0;
    background: var(--white);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-default-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a1a7a 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.article-default-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.default-image-content {
    text-align: center;
    z-index: 1;
    position: relative;
}

.default-image-content i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    display: block;
}

.default-image-content span {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.article-content {
    padding: 1.5rem;
}

.article-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-views {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* صفحة المقال */
.article-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.article-title-main {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-meta-main {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-light);
    font-size: 1rem;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.article-body h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.article-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 1.5rem 0 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul, .article-body ol {
    margin: 1.5rem 0;
    padding-right: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body blockquote {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-right: 4px solid var(--primary-color);
    margin: 2rem 0;
    font-style: italic;
}

/* التنقل بين المقالات */
.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 2px solid var(--border-color);
    margin-top: 3rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    max-width: 300px;
}

.nav-link:hover {
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

.nav-link-title {
    font-weight: 500;
    line-height: 1.3;
}

/* الفوتر */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: #cccccc;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cccccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #555;
    color: #cccccc;
    font-size: 0.9rem;
}

/* أزرار التواصل الثابتة */
.floating-buttons {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

.floating-btn:hover {
    transform: scale(1.1);
    text-decoration: none;
    color: var(--white);
}

.floating-whatsapp {
    background: #25D366;
}

.floating-phone {
    background: var(--primary-color);
}

/* البحث */
.search-form {
    max-width: 500px;
    margin: 2rem auto;
}

.search-input-group {
    position: relative;
}

.search-input {
    padding-left: 50px;
}

.search-btn {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.2rem;
}

/* الترقيم */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.page-link {
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.page-link:hover {
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

.page-link.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* التحميل الكسول للصور */
.lazy-img {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-img.loaded {
    opacity: 1;
}

/* الاستجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-info {
        justify-content: center;
    }
    
    .col-md-6, .col-lg-4, .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .services-grid, .cars-grid, .articles-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .detailed-service-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .service-main-title {
        font-size: 1.5rem;
    }
    
    .service-actions {
        text-align: center;
    }
    
    .service-actions .btn {
        display: block;
        margin: 0.5rem auto;
        width: 100%;
        max-width: 300px;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .pricing-card h4 {
        font-size: 1.5rem;
    }
    
    .price-item {
        margin-bottom: 1.5rem;
    }
    
    .article-title-main {
        font-size: 2rem;
    }
    
    .article-meta-main {
        flex-direction: column;
        gap: 1rem;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-link {
        max-width: 100%;
    }
    
    .floating-buttons {
        bottom: 1rem;
        left: 1rem;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .services-section, .cars-section, .articles-section {
        padding: 2rem 0;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .article-title-main {
        font-size: 1.8rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
}

/* تحسينات الطباعة */
@media print {
    .header, .footer, .floating-buttons, .article-navigation {
        display: none;
    }
    
    .main-content {
        margin: 0;
        padding: 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
