:root {
    --primary-color: #d82b2b; /* أحمر داكن */
    --secondary-color: #080808; /* أسود/رمادي داكن */
    --light-bg: #f4f4f4;
    --white-color: #fff;
    --text-color: #333;
    --whatsapp-color: #25d366; 
    --youtube-color: #ff0000; 
    --facebook-color: #4267B2; 
    --instagram-color: #C13584; 
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* -------------------------------------- */
/* ----- Header & Navigation (Fixed)---- */
/* -------------------------------------- */
header {
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 10px 0;
    border-bottom: 5px solid var(--primary-color);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0; 
}

.logo-container {
    height: 40px; 
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 100%; 
    width: auto;
    max-height: 40px; 
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li a {
    color: var(--white-color);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    margin-right: 20px;
    padding: 5px 10px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* -------------------------------------- */
/* ----- Hero Section ------------------- */
/* -------------------------------------- */
#hero {
    background: url('motostreetcover11.jpg') no-repeat center center/cover;
    color: var(--white-color);
    min-height: 600px; 
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); 
}

#hero-content {
    position: relative;
    z-index: 1;
}

#hero h2 {
    font-size: 3.5em; 
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

#hero p {
    font-size: 1.8em; 
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* -------------------------------------- */
/* ----- About Section (Improved) ------- */
/* -------------------------------------- */
#about {
    background: var(--light-bg); /* إضافة خلفية لكسر رتابة الأبيض */
    padding: 40px 0;
    text-align: center; /* محاذاة النص في المنتصف */
}
#about h2 {
    color: var(--secondary-color); 
    margin-bottom: 20px;
}
#about p {
    font-size: 1.1em; 
    color: #555;
}


/* -------------------------------------- */
/* ----- Buttons (CTA & Social) --------- */
/* -------------------------------------- */
.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 12px 25px; 
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    font-weight: 700;
    margin: 10px; 
    white-space: nowrap; 
}

.cta-button:hover {
    background: #a32222;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
    gap: 15px; 
    margin-top: 20px;
}

/* تنسيقات الأزرار الاجتماعية الخاصة */
.whatsapp-button {
    background-color: var(--whatsapp-color);
}
.whatsapp-button:hover {
    background-color: #1da84d; 
}

.youtube-button {
    background-color: var(--youtube-color);
}
.youtube-button:hover {
    background-color: #c40000;
}
.facebook-button {
    background-color: var(--facebook-color);
}
.facebook-button:hover {
    background-color: #3b5998;
}
.instagram-button {
    background-color: var(--instagram-color);
}
.instagram-button:hover {
    background-color: #9f2a6f;
}

/* -------------------------------------- */
/* ----- Models Section & Tables -------- */
/* -------------------------------------- */
#models {
    padding: 40px 0;
    text-align: center;
}

#models h2 {
    color: var(--secondary-color);
    margin-bottom: 40px;
    font-size: 2.5em;
}

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

.model-card {
    background: var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-align: right;
}

.model-card:hover {
    transform: translateY(-5px);
}

.model-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-color);
}

.model-card-content {
    padding: 20px;
}

.model-card-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.model-card-content p {
    margin-bottom: 5px;
    color: #555;
}

/* ----- Technical Table CSS ----- */
.tech-table {
    width: 100%; 
    margin: 20px auto 15px;
    border-collapse: collapse;
    font-size: 14px;
    text-align: right;
}

.tech-table th, .tech-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: right;
}

.tech-table th {
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-align: center;
    font-size: 16px;
}

.tech-table tr:nth-child(even) {
    background-color: #f0f0f0; 
}

.tech-table td:first-child {
    font-weight: 700;
    width: 50%;
}
/* ----- End Technical Table CSS ----- */

/* -------------------------------------- */
/* ----- Footer (Improved Icons) -------- */
/* -------------------------------------- */
footer {
    background: var(--secondary-color);
    color: var(--white-color);
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

footer p, footer a {
    color: var(--white-color);
    text-decoration: none;
    margin: 0 10px;
    display: inline-block;
}

footer a:hover {
    color: var(--primary-color);
}
/* تنسيق الأيقونات */
footer a i {
    font-size: 1.4em;
    vertical-align: middle;
}

/* ----- Responsive Design ----- */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 10px;
    }

    nav ul li a {
        margin-right: 10px;
    }
    #hero h2 {
        font-size: 2.5em;
    }
    #hero p {
        font-size: 1.3em;
    }
    .social-links {
        flex-direction: column;
        gap: 10px;
    }
    .cta-button {
        width: 80%;
        margin: 5px auto;
    }
}/* ... [الكود السابق لملف style.css] ... */

/* -------------------------------------- */
/* ----- Testimonials Section ----------- */
/* -------------------------------------- */
#testimonials {
    background: var(--white-color); 
    padding: 60px 0;
    text-align: center;
}

#testimonials h2 {
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2.5em;
}

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

.testimonial-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-right: 5px solid var(--primary-color); /* لمسة تصميم مميزة */
    text-align: right;
    transition: transform 0.3s;
}
/* تأثير خفيف عند المرور فوق البطاقة */
.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-card p.quote {
    font-style: italic;
    font-size: 1.1em;
    color: var(--text-color);
    margin-bottom: 15px;
}

.testimonial-card p.author {
    font-weight: 700;
    color: var(--secondary-color);
    border-top: 1px dashed #ccc;
    padding-top: 10px;
}

.testimonial-card p.author span {
    font-weight: 400;
    color: #777;
    font-size: 0.9em;
    display: block;
    margin-top: 3px;
}

/* -------------------------------------- */
/* ----- Responsive Design (Update) ----- */
/* -------------------------------------- */
@media (max-width: 768px) {
    /* ... [باقي التنسيقات المتجاوبة] ... */
    
    /* جعل بطاقات آراء العملاء تتراص عمودياً في شاشات الهاتف */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}