*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul{
    list-style: none;
}

.container{
    width: 90%;
    margin: auto;
}

.header {
    background: #111;
    width: 100%;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h2{
    color: #e61e25;
    font-size: 40px;
    font-weight: bold;
}

.menu{
    display: flex;
    gap: 30px;
}

.menu li{
    color: white;
    font-size: 25px;
    cursor: pointer;
}
.hero{
    position: relative;
    height: 90vh;
    background: url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?q=80&w=1974&auto=format&fit=crop") center center/cover;
    display:flex;
    justify-content:center;
    align-items:center;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

.hero-content{
    position:relative;
    z-index:2;
    color:white;
    text-align:center;
}

.hero-content span{
    color:#e61e25;
    font-size:20px;
}

.hero-content h1{
    font-size:65px;
    margin:20px 0;
}

.hero-content p{
    font-size:20px;
    margin-bottom:30px;
}

.hero-btn{
    background:#e61e25;
    color:#111;
    padding:15px 40px;
    border-radius:8px;
    font-weight:bold;
    text-decoration:none;
}
/* تنسيق سكشن الحجز بالكامل */
.booking-section {
    position: relative;
    margin-top: -50px; /* عشان نرفع الشريط لفوق شوية فيدخل جوة صورة الـ Hero زي الموقع الأصلي */
    z-index: 5; /* عشان يظهر فوق الصورة وميستخباش وراها */
}

/* تنسيق الفورم نفسه كشريط أبيض */
.booking-form {
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* عشان يظبط العناوين مع المدخلات على خط واحد */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15); /* ظل خفيف عشان يدي تأثير احترافي */
    gap: 20px;
}

/* تنسيق المجموعات الداخلية (العنوان + المدخل) */
.form-group {
    display: flex;
    flex-direction: column;
    flex: 1; /* عشان يوزع المساحات بالتساوي بين المدخلات */
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.form-group label i {
    color: #e61e25; /* لون الأيقونات الصغيرة أصفر متناسق مع الهوية */
    margin-left: 5px;
}

/* تنسيق القوائم وحقول الإدخال */
.form-group select, 
.form-group input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    background-color: #fcfcfc;
    width: 100%;
}

/* تنسيق زرار البحث الخاص بالفورم */
.search-btn {
    background: #e61e25; /* اللون الأصفر اللي اخترتيه */
    margin-top: 10px;
    color: #111;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    height: 48px; /* نفس ارتفاع حقول الإدخال عشان يبقوا سوا */
    margin-right: 10px ; /* شوية مسافة من اليمين عشان ميكشش على الحافة */
    margin-left: 10px;
    width: 100%;
}

.search-btn:hover {
    background: #e61e25; /* يغمق سنة لما الماوس ييجي عليه */
}
/* تنسيق سكشن المميزات بالكامل */
.features-section {
    padding: 80px 0;
    background-color: #fafafa; /* خلفية رمادي فاتح جداً عشان تفصل السكاشن */
    text-align: center;
}

/* تنسيق عنوان السكشن */
.section-title h2 {
    font-size: 32px;
    color: #111;
    margin-bottom: 15px;
    font-weight: bold;
}

.section-title p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 50px auto; /* توسيط النص وعمل مسافة تحت العنوان */
    line-height: 1.6;
}

/* توزيع الكروت بجانب بعضها */
.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap; /* عشان لو الشاشة صغيرة الكروت تنزل تحت بعضها تلقائي */
}

/* تنسيق الكارت الواحد */
.feature-card {
    background: #ffffff;
    flex: 1;
    min-width: 280px; /* أقل عرض للكارت عشان ميكشش زيادة عن اللزوم */
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* تأثير حركة خفيف لما الماوس ييجي على الكارت */
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* تنسيق الأيقونة داخل الكارت */
.feature-icon {
    width: 70px;
    height: 70px;
    background: #111; /* اللون الأسود للشركة */
    color: #e61e25; /* اللون الأصفر للأيقونة */
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px auto; /* لتوسيط الأيقونة داخل الكارت */
}

/* تنسيق نصوص الكارت */
.feature-card h3 {
    font-size: 20px;
    color: #111;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}
/* تنسيق سكشن أسطول السيارات بالكامل */
.cars-section {
    padding: 80px 0;
    background-color: #ffffff; /* خلفية بيضاء عشان نفصل عن السكشن الرمادي اللي قبله */
    text-align: center;
}

/* شبكة توزيع كروت السيارات */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 40px auto 0;
    max-width: 1400px;
    padding: 20px;
}

/* تنسيق كارت السيارة الواحد */
.car-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    text-align: right;
    min-width: 0;
}

@media (max-width: 1100px) {
    .cars-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .cars-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .cars-grid {
        grid-template-columns: 1fr;
    }
}

.car-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

/* تنسيق وحجم صورة السيارة */
.car-image {
    width: 100%;
    height: 170px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f6f6;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.5s;
}

.car-card:hover .car-image img {
    transform: scale(1.05); /* زووم خفيف جداً على الصورة لما الماوس ييجي على الكارت */
}

/* محتوى تفاصيل السيارة */
.car-info {
    padding: 20px;
}

.car-info h3 {
    font-size: 18px;
    color: #111;
    margin-bottom: 15px;
    font-weight: bold;
}

/* تنسيق المواصفات (أوتوماتيك - مقاعد) */
.car-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.car-specs span {
    font-size: 13px;
    color: #666;
    background: #f5f5f5;
    padding: 5px 10px;
    border-radius: 20px;
}

.car-specs span i {
    color: #e61e25; /* أيقونات صفراء متناسقة */
    margin-left: 5px;
}

/* الجزء السفلي (السعر + زرار الحجز) */
.car-price-book {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.car-price-book .car-price {
    font-size: 14px;
    color: #666;
}

.car-price-book .car-price strong {
    font-size: 20px;
    color: #111;
}

/* زرار احجز الآن داخل الكارت */
.book-btn {
    background: #111; /* لون أسود ملكي */
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
    transition: 0.3s;
}

.book-btn:hover {
    background: #e61e25; /* يقلب أحمر لما الماوس ييجي عليه */
    color: #111;
}
/* تنسيق الفوتر بالكامل */
.main-footer {
    background-color: #111; /* لون أسود ملكي متناسق مع هوية الشركة */
    color: #ffffff;
    padding: 60px 0 20px 0;
    font-size: 14px;
}

/* توزيع الأعمدة بالتساوي */
.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    border-bottom: 1px solid #222; /* خط فاصل خفيف جداً قبل حقوق الملكية */
    padding-bottom: 40px;
}

/* تنسيق العمود الواحد */
.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    color: #e61e25; /* عناوين الفوتر باللون الأصفر */
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-col p {
    color: #aaa;
    line-height: 1.8;
}

/* تنسيق القوائم والروابط السريعة */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #e61e25; /* الرابط ينور أحمر لما الماوس ييجي عليه */
    padding-right: 5px; /* حركة تأثير خفيفة لليمين */
}

/* تنسيق أيقونات السوشيال ميديا */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #222;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: #e61e25;
    color: #111;
}

/* الجزء السفلي الخاص بحقوق الملكية */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #666;
}