@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&display=swap');

/* ========================= */
/* إعدادات عامة */
/* ========================= */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

body{

    background:#ffffff;

    font-family:'Cairo',sans-serif;


}

/* ========================= */
/* Navbar */
/* ========================= */

.navbar{

    position:sticky;

    top:0;

    z-index:1000;

    height:85px;

    background:#ffffff;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 45px;

    box-shadow:0 8px 15px rgba(0,0,0,.05);

}

/* الشعار */

.logo img{

    height:60px;

    transition:.3s;

}

.logo img:hover{

    transform:scale(1.05);

}

/* الروابط */

.nav-links{

    display:flex;

    gap:35px;

}

.nav-links a{

    text-decoration:none;

    color:#111;

    font-size:17px;

    font-weight:bold;

    position:relative;

    transition:.3s;

}

.nav-links a::after{

    content:"";

    position:absolute;

    bottom:-8px;

    right:0;

    width:0;

    height:3px;

    background:#d60000;

    transition:.35s;

}

.nav-links a:hover{

    color:#d60000;

}

.nav-links a:hover::after{

    width:100%;

}


.nav-links a.active{
    color:#d60000;
    font-weight:bold;
}

/* البحث واللغة */

.actions{

    display:flex;

    align-items:center;

    gap:15px;

}

.search{

    width:230px;

    padding:11px 18px;

    border-radius:30px;

    border:1px solid #ddd;

    transition:.3s;

    outline:none;

}

.search:focus{

    border-color:#d60000;

    box-shadow:0 0 10px rgba(214,0,0,.15);

}

.lang-btn{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    background:white;

    color:#111;

    border:1px solid #d60000;

    padding:11px 18px;

    border-radius:30px;

    cursor:pointer;

    text-decoration:none;

    transition:.3s;

}

.lang-btn:hover{

    background:#d60000;

    color:white;

}

/* الإنجليزية */
html[lang="en"] .lang-btn{

    flex-direction:row;

}

/* العربية */
html[lang="ar"] .lang-btn{

    flex-direction:row-reverse;

}

/* ========================= */
/* Hero */
/* ========================= */

.hero{

    height:calc(100vh - 85px);

    background:#f4f4f4;

}

.hero{

    height:calc(100vh - 85px);

    background-image:url('../images/home-banner.jpg');

    background-size:cover;

    background-position:center;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    color:white;

    position:relative;

}

/* طبقة تغميق */
.hero::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,0.5);

}

/* المحتوى */
.hero-content{

    position:relative;

    z-index:2;

}

.hero-content h1{

    font-size:50px;

    margin-bottom:10px;

}

.hero-content p{

    font-size:18px;

    margin-bottom:20px;

}

/* الزر */
.hero-content a{

    padding:12px 25px;

    border:none;

    background:#d60000;

    color:white;

    border-radius:30px;

    text-decoration: none;

    transition:.3s;

}

.hero-content a:hover{

    transform:scale(1.05);

}

.trucks {
    padding: 60px 20px;
    text-align: center;
}

.trucks h1 {
    margin-bottom: 30px;
    color: #d60000;
}

.truck-container {
    display: flex;
    background-color: rgb(250, 250, 250);
    padding: 20px;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.truck-card {
    width: 280px;
    background: rgb(255, 255, 255);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
}


.truck-card:hover{
    transform: translateY(-10px) scale(1.03);
    box-shadow:0 15px 35px rgba(0,0,0,.18);
}

.truck-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.5s ease;
}

.truck-card:hover img{
    transform: scale(1.08);
}

.truck-card h3 {
    margin: 10px 0;
}

.truck-card p {
    padding: 0 10px;
    margin-bottom: 30px;
    color: #555;
}

.truck-card a {
    margin: 15px 0;
    padding: 10px 20px;
    border: none;
    background: #d60000;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.5s ease;
}

.truck-card a:hover {
    background: black;
}

.about-preview{
    text-align:center;
    padding:80px 20px;
    background:#f9f9f9;
}

.about-preview h2{
    color:#d60000;
    margin-bottom:15px;
}

.about-preview p{
    max-width:700px;
    margin:auto;
    color:#555;
    line-height:1.8;
}

.about-btn{
    display:inline-block;
    margin-top:20px;
    padding:10px 25px;
    background:#d60000;
    color:white;
    text-decoration:none;
    border-radius:25px;
    transition:.3s;
}

.about-btn:hover{
    background:black;
}

.footer{
    background:#111;
    color:white;
    padding:30px 20px 20px;
    margin-top:0px;
}

.footer-container{
    display:flex;
    justify-content:space-around;
    flex-wrap:wrap;
    text-align:center;
    gap:30px;
    padding-top: 50px;
}

.footer-logo img{
    height:70px;
    background:white;
    padding:5px;
    border-radius:10px;
}

.footer-links h2 {
    margin-bottom: 20px;
}

.footer-links a{
    display:block;
    text-decoration:none;
    margin:10px 0;
    transition:.3s;
}

.footer-links a:hover{
    color:#d60000;
}

.footer-contact p{
    margin:5px 0;
    font-size: 14px;
    color: #cacaca;
    margin-bottom: 30px;
}

.footer-contact h2 {
    margin-bottom: 30px;
    
}

.footer-bottom{
    text-align:center;
    margin-top:30px;
    border-top:1px solid #333;
    padding-top:15px;
    font-size:14px;
    color:#aaa;
}

/* ========================= */
/* تحسين الجوال */
/* ========================= */


.close-menu{
    display: none;
}






.menu-toggle{
    display:none;
    font-size:28px;
    cursor:pointer;
}



.features{
    padding:80px 20px;
    background:#ffffff;
    text-align:center;
}

.features h2{
    font-size:34px;
    margin-bottom:40px;
    color:#d60000;
}

.features-container{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:25px;
}

.feature-card{
    width:260px;
    padding:25px;
    border-radius:15px;
    background:#fff;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:0.3s;
}

.feature-card:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.feature-card h3{
    margin-bottom:15px;
    color:#111;
}

.feature-card p{
    color:#666;
    line-height:1.7;
}

/* ========================= */
/* قسم الموقع */
/* ========================= */

.location-section{

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;

    padding:80px 50px;

    background:#f8f8f8;

    flex-wrap:wrap;

}

.location-text{

    flex:1;
    min-width:300px;

}

.location-text h2{

    color:#090909;
    margin-bottom:20px;
    font-size:34px;

}

.location-text p{

    margin-bottom:15px;
    line-height:1.9;
    color:#555;
    font-size:18px;

}

.map-btn{

    display:inline-block;

    margin-top:15px;

    background:#d60000;
    color:white;

    text-decoration:none;

    padding:12px 24px;

    border-radius:30px;

    transition:.3s;

}

.map-btn:hover{

    background:#111;

}

.location-map{

    flex:1;
    min-width:300px;
    border-radius:15px;
    overflow:hidden;

    box-shadow:0 5px 20px rgba(0,0,0,.15);

}

/* ========================= */
/* أحدث الشاحنات */
/* ========================= */


.section-title{

    text-align:center;

    margin-bottom:40px;

    color:#d60000;

}

.details-btn{

    display:inline-block;

    margin-top:20px;

    padding:12px 28px;

    background:#d60000;

    color:#fff;

    text-decoration:none;

    border-radius:30px;

    transition:.3s;

}

.details-btn:hover{

    background:#111;

}


/* ========================= */
/* Volvo Slider */
/* ========================= */

.volvo-slider{

    width:100%;
    height:500px;

    overflow:hidden;

    background:#eee;

}

.volvo-slider img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:0.5s;

}

/* ========================= */
/* Volvo Products */
/* ========================= */

.volvo-products{

    padding:70px 30px;

}


.products-grid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(280px,320px));

    gap:30px;

    justify-content:center;

}

.product-card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.15);

}

.product-card img{

    width:100%;

    height:240px;

    object-fit:cover;

}

.product-card h3{

    text-align:center;

    margin-top:18px;

    font-size:24px;

}

.product-card .price{

    text-align:center;

    color:#d60000;

    font-size:22px;

    font-weight:bold;

    margin:15px 0 20px;

}

.slider{
    width:100%;
    height:500px;
    position:relative;
    overflow:hidden;
}

.slider-container{
    display:flex;
    width:300%;
    height:100%;
    transition:transform 0.6s ease-in-out;
}

.slide{
    width:100%;
    flex-shrink:0;
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* النقاط */
.dots{
    position:absolute;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:10px;
}

.dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:#ccc;
    cursor:pointer;
    transition:0.3s;
}

.dot.active{
    background:#d60000;
    transform:scale(1.2);
}

.empty-message{
    grid-column:1/-1;
    text-align:center;
    padding:60px 20px;
    font-size:15px;
    color:#777;
    background:#f9f9f9;
    border-radius:12px;
}

/* ========================= */
/* لماذا تختار الرند الفضية */
/* ========================= */

.why-us{
    padding:80px 20px;
    background:#f8f8f8;
    text-align:center;
}

.why-us h2{
    font-size:38px;
    margin-bottom:40px;
    color:#111;
}

.why-us-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.why-card{
    background:#fff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.why-card:hover{
    transform:translateY(-8px);
}

.why-card .icon{
    font-size:45px;
    margin-bottom:15px;
}

.why-card h3{
    margin-bottom:10px;
}

.why-card p{
    color:#666;
    line-height:1.8;
}


.back-to-top{
    width:100%;
    padding:18px;
    text-align:center;
    background:#000000;
    color:white;
    font-size:18px;
    cursor:pointer;
    transition:0.4s;
    margin-bottom: 1px;
}

.back-to-top:hover{

    color:rgb(255, 0, 0);
}

.back-to-top.active{
    opacity:0.6;
}



    .contact-btn{
    position:relative;
    display:block;
    margin:10px 0;
    padding:15px;
    text-align:center;
    text-decoration:none;
    color:rgb(255, 255, 255);
    border-radius:10px;
    overflow:hidden;
    background:#d60000;
    transition:all 0.5s ease;
    z-index:1;
    border-radius: 20px;
}


/* النص يبقى فوق */
.contact-btn:hover{
    background-color: #545454;

}


/* ========================= */
/* صفحة المنتج */
/* ========================= */
/*
.product-page{

    display:flex;

    gap:40px;

    padding:60px 40px;

    flex-wrap:wrap;

}

.product-gallery{

    flex:1;

}

.main-image{

    width:100%;

    border-radius:15px;

    box-shadow:0 5px 15px rgba(0,0,0,.1);

}

.product-info{

    flex:1;

}

.product-info h1{

    font-size:40px;

    margin-bottom:15px;

}

.product-price{

    color:#d60000;

    font-size:32px;

    font-weight:bold;

    margin-bottom:20px;

}

.specs-table{

    width:100%;

    border-collapse:collapse;

    margin-top:25px;

}

.specs-table td{

    border:1px solid #ddd;

    padding:12px;

}
*/



.product-page{
    display:flex;
    gap:40px;
    padding:50px 30px;
    flex-wrap:wrap;
}

.product-gallery{
    flex:1;
    min-width:300px;
}

.main-image{
    width:100%;
    height:500px;
    object-fit:cover;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}




.gallery-thumbs{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-top:15px;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
}



.gallery-thumbs img{
    width:80px;
    height:60px;
    object-fit:cover;
    border-radius:8px;
    cursor:pointer;
    border:2px solid #ddd;
    transition:0.5s;
}

.gallery-thumbs img:hover{
    border-color:#d60000;
    transform:scale(1.05);
}

.gallery-thumbs img:hover{
    border-color:#d60000;
}

.product-info{
    flex:1;
    min-width:300px;
}

.product-price{
    color:#d60000;
    font-size:32px;
    font-weight:bold;
    margin:15px 0;
}

.price-omr{
    color:#666;
    font-size:16px;
    margin-top:5px;
}

.status{
    display:inline-block;
    width: fit-content;
    padding:10px 15px;
    border-radius:8px;
    margin-bottom:20px;
    font-weight:bold;
}

.available{
    background:#e8f8ec;
    color:#28a745;
}

.shipping{
    background:#fff4d6;
    color:#d48806;
}

.reserved{
    background:#e8f1ff;
    color:#1677ff;
}

.sold{
    background:#ffe5e5;
    color:#cf1322;
}

.specs-table{
    width:100%;
    border-collapse:collapse;
}

.specs-table td{
    border:1px solid #ddd;
    padding:12px;
}


.product-description h2{
    margin-bottom:15px;
}



.product-buttons{
    margin-top:25px;
    display:flex;
    gap:15px;

}

.contact-btn-truck-details {
    margin: 10px 0px;
    text-decoration: none;
    
    padding: 12px 30px;
    background-color: #d60000;
    border-radius: 22px;
    color:#fff;
    transition: all 0.3s ease;
}

.contact-btn-truck-details:hover {
    background-color: rgb(67, 67, 67);
}


.image-wrapper{
    position:relative;
}

.gallery-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,0.9);
    cursor:pointer;
    font-size:24px;
    box-shadow:0 2px 10px rgba(0,0,0,0.2);
    z-index:10;
}

.gallery-arrow:hover{
    background:#d60000;
    color:white;
}

.gallery-arrow.left{
    left:15px;
}

.gallery-arrow.right{
    right:15px;
}

.active-thumb{
    border:3px solid #d60000 !important;
}

/* ========================= */
/* البطاقات السريعة */
/* ========================= */

.quick-specs{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin:20px 0;
}

.quick-card{
    background:#f8f8f8;
    border:1px solid #eee;
    border-radius:12px;
    padding:12px 15px;
    display:flex;
    align-items:center;
    gap:8px;
    font-size:15px;
    transition:0.5s;
}

.quick-card:hover{
    transform:translateY(-3px);
    border-color:#d60000;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.quick-card span{
    font-weight:bold;
}

/* ========================= */
/* الشاحنات المشابهة */
/* ========================= */

.related-products{
    padding:60px 30px;
}

.related-products h2{
    text-align:center;
    margin-bottom:30px;
}

.related-wrapper{
    display:flex;
    align-items:center;
    gap:15px;
}

.related-slider{
    display:flex;
    gap:20px;
    overflow-x:hidden;
    scroll-behavior:smooth;
    flex:1;
}

.related-card{
    min-width:280px;
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.related-card:hover{
    transform:translateY(-5px);
}

.related-card img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.related-card h3{
    padding:10px;
}

.related-card p{
    padding:0 10px;
    color:#d60000;
    font-weight:bold;
}

.related-card a{
    display:block;
    margin:15px;
    text-align:center;
    text-decoration:none;
    background:#d60000;
    color:white;
    padding:10px;
    border-radius:8px;
}

.related-arrow{
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    cursor:pointer;
    font-size:22px;
    background:#f3f3f3;
}

.related-arrow:hover{
    background:#d60000;
    color:white;
}



/* ========================= */
/* MAN Intro */
/* ========================= */

.man-intro{
    text-align:center;
    padding:80px 20px 40px;
}

.man-intro h2{
    font-size:42px;
    margin-bottom:15px;
}

.man-intro p{
    max-width:700px;
    margin:auto;
    line-height:2;
    color:#666;
}


.man-hero{

    position:relative;
    margin:40px auto;
    width:90%;
    max-width:1200px;
}

.man-hero img{

    width:100%;
    height:500px;
    object-fit:cover;
    border-radius:10px;
    display:block;
}

.hero-box{
    position:absolute;
    right:-40px;
    bottom:-60px;
    width:500px;
    background:#1f2937f3;
    color:white;
    padding:30px;
    border-radius:10px;
    box-shadow:0 5px 20px rgba(0,0,0,.25);
    z-index:10;
}

.hero-btn{

    display:inline-block;
    margin-top:15px;
    padding:12px 25px;
    background:#d60000;
    color:white;
    font-weight: 600;
    border-radius: 7px;
    text-decoration: none;
    transition: all 0.5s ease;
}
.hero-btn:hover {
    background-color: #3c3c3c;

}

.hero-box h2{

    margin-bottom:10px;
}

.hero-box p{

    line-height:1.8;
    color:#dad8d8;
}


/*  volvo-hero */
.volvo-hero {
        position:relative;
    margin:40px auto;
    width:90%;
    max-width:1200px;
}

.volvo-hero img {
        width:100%;
    height:500px;
    object-fit:cover;
    border-radius:10px;
    display:block;
}

.volvo-box{
    position:absolute;
    right:-40px;
    bottom:-60px;
    width:500px;
    background:#000000d4;
    color:white;
    padding:30px;
    border-radius:10px;
    box-shadow:0 5px 20px rgba(0,0,0,.25);
    z-index:10;
}

.volvo-hero-box-btn{

    display:inline-block;
    margin-top:15px;
    padding:12px 25px;
    background:#d60000;
    color:white;
    text-decoration:none;
    font-weight: 600;
    border-radius: 7px;
    transition: all 0.5s ease;
}
.volvo-hero-box-btn:hover {
    background-color: rgb(67, 67, 67);
    
}


.volvo-box h2{

    margin-bottom:10px;
}

.volvo-box p{

    line-height:1.8;
    color:#dad8d8;
}





.social-links{

    display:flex;
    justify-content:center;
    gap:25px;
    margin-top:20px;
}

.social-links a{

    color:#b5b5b5;

    font-size:20px;

    transition:.3s ease;
}

.social-links a:hover{

    transform:translateY(-4px)scale(1.12);
}

/* واتساب */
.social-links a:nth-child(1):hover{

    color:#25D366;
}

/* فيسبوك */
.social-links a:nth-child(2):hover{

    color:#1877F2;
}

/* انستجرام */
.social-links a:nth-child(3):hover{

    color:#E4405F;
}

/* تيك توك */
.social-links a:nth-child(4):hover{

    color:#ffffff;
}


/* ========================= */
/* Renault Hero */
/* ========================= */

.renault-hero{

    width:90%;
    max-width:1200px;

    margin:50px auto;

    display:flex;
    align-items:center;
    gap:50px;
}

.renault-image{

    flex:1;
}

.renault-image img{

    width:100%;

    border-radius:20px;

    display:block;

    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.renault-content{

    flex:1;
}

.renault-content h1{

    font-size:42px;

    margin-bottom:20px;
}

.renault-content p{

    line-height:2;

    color:#666;

    margin-bottom:25px;
}

.renault-btn{

    display:inline-block;

    padding:14px 28px;

    background:#d60000;

    color:white;

    text-decoration:none;

    border-radius:12px;

    transition:.3s;
}


/* ========================= */
/* Renault About */
/* ========================= */

.renault-about{

    width:90%;
    max-width:900px;

    margin:80px auto;

    text-align:center;
}

.renault-about h2{

    font-size:34px;

    margin-bottom:20px;
}

.renault-about p{

    line-height:2;

    color:#666;

    font-size:17px;
}

/* ========================= */
/* Renault Info Cards */
/* ========================= */

.renault-info{

    width:90%;
    max-width:1200px;

    margin:60px auto;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;
}

.info-card{

    background:#fff;

    padding:30px 20px;

    text-align:center;

    border-radius:18px;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    transition:.3s;
}

.info-card:hover{

    transform:translateY(-5px);
}

.info-card span{

    font-size:35px;

    display:block;

    margin-bottom:15px;
}

.info-card h3{

    color: #ca0101;

    margin-bottom:10px;

    font-size:20px;
}

.info-card p{

    color:#666;
}

/* ========================= */
/* About Page */
/* ========================= */

.about-page{

    padding:80px 20px 40px;
}

.about-container{

    max-width:900px;
    margin:auto;
}

.about-container h1{

    text-align:center;
    font-size:48px;

    margin-bottom:40px;
}

.about-container p{

    line-height:2.2;

    color:#555;

    margin-bottom:25px;

    font-size:17px;
}

/* ========================= */
/* About Cards */
/* ========================= */

.about-cards{

    max-width:1200px;

    margin:50px auto 80px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

    padding:0 20px;
}

.about-card{

    background:#fff;

    padding:30px;

    border-radius:18px;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    transition:.3s;
}

.about-card:hover{

    transform:translateY(-5px);
}

.about-card h3{

    margin-bottom:15px;

    color:#d60000;
}

.about-card p{

    color:#666;

    line-height:1.8;
}

.faq{

    max-width:900px;

    margin:80px auto;

    padding:0 20px;
}

.faq h2{

    text-align:center;

    margin-bottom:40px;

    font-size:36px;
}

.faq-item{

    margin-bottom:15px;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.faq-question{

    width:100%;

    background:white;

    border:none;

    padding:20px;

    text-align:right;

    font-size:18px;

    cursor:pointer;

    display:flex;

    justify-content:space-between;

    align-items:center;
}

.faq-answer{

    max-height:0;

    overflow:hidden;

    background:#f8f8f8;

    line-height:2;

    color:#555;

    padding:0 20px;

    transition:.4s;
}

.faq-item.active .faq-answer{

    max-height:200px;

    padding:20px;
}

.faq-item.active span{

    transform:rotate(180deg);
}

.faq-question span{

    transition:.3s;
}

.contact-page{

    padding:80px 20px;
}

.contact-container{

    max-width:800px;

    margin:auto;
}

.contact-container h1{

    text-align:center;

    margin-bottom:20px;

    font-size:42px;
}

.contact-text{

    text-align:center;

    color:#666;

    margin-bottom:40px;

    line-height:2;
}

.contact-container form{

    display:flex;

    flex-direction:column;

    gap:20px;
}

.contact-container input,
.contact-container textarea{

    padding:16px;

    border:1px solid #ddd;

    border-radius:12px;

    font-size:16px;
}

.contact-container textarea{

    resize:vertical;
}

.sent-message-btn{

    background:#d60000;

    color:white;

    padding:16px;

    border-radius:15px;

    cursor:pointer;

    font-weight: bold;

    font-size:17px;

    transition:all 0.5s ease;
}

.sent-message-btn:hover{

    background:#323232;
    color: #ffffff;
}


/* ========================= */
/* Login Page */
/* ========================= */

.login-page{

    min-height:70vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px 20px;
}

.login-box{

    width:100%;
    max-width:450px;

    background:#fff;

    padding:40px;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.1);

    text-align:center;
}

.login-box h1{

    margin-bottom:15px;

    font-size:36px;
}

.login-box p{

    color:#666;

    margin-bottom:30px;
}

.login-box form{

    display:flex;

    flex-direction:column;

    gap:15px;
}

.login-box input{

    padding:15px;

    border:1px solid #ddd;

    border-radius:12px;

    font-size:16px;
}

.login-box input:focus{

    outline:none;

    border-color:#d60000;
}

.login-box button{

    background:#d60000;

    color:white;

    border:none;

    padding:15px;

    border-radius:12px;

    font-size:16px;

    cursor:pointer;

    transition:.3s;
}

.login-box button:hover{

    background:#b50000;
}


/* ========================= */
/* Admin Dashboard */
/* ========================= */

.admin-dashboard{

    display:flex;

    min-height:100vh;
}

.sidebar{

    width:280px;

    background:#1f2937;

    padding:30px 20px;

    display:flex;

    flex-direction:column;
}

.sidebar h2{

    color:white;

    margin-bottom:40px;

    text-align:center;
}

.sidebar a{

    color:#d1d5db;

    text-decoration:none;

    padding:15px;

    border-radius:10px;

    margin-bottom:10px;

    transition:.3s;
}

.sidebar a:hover{

    background:#374151;

    color:white;
}

.dashboard-content{

    flex:1;

    padding:50px;
}

.dashboard-content h1{

    font-size:40px;

    margin-bottom:15px;
}

.dashboard-content p{

    color:#666;
}


/* ========================= */
/* Add Truck */
/* ========================= */

.add-truck{

    padding:60px 20px;
}

.add-truck-box{

    max-width:900px;

    margin:auto;

    background:white;

    padding:40px;

    border-radius:20px;

    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.add-truck-box h1{

    margin-bottom:30px;
    font-size: 55px;
    text-align:center;
}

.add-truck-box form{

    display:flex;

    flex-direction:column;

    gap:15px;
}

.add-truck-box label{

    font-weight:600;
}

.add-truck-box input,
.add-truck-box textarea,
.add-truck-box select{

    padding:14px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:16px;
}

.save-product-btn {
    min-width:170px;

    font-family:'Cairo',sans-serif;

    margin-top:10px;

    background:#d60000;

    color:white;

    border:none;

    padding:15px;

    border-radius:10px;

    cursor:pointer;

    font-size:16px;
}

.save-product-btn:hover{

    background:#b50000;
}

/* ========================= */
/* Manage Trucks */
/* ========================= */

.manage-trucks{

    padding:60px 20px;
}

.manage-trucks h1{

    text-align:center;

    margin-bottom:30px;
}

.table-container{

    max-width:1200px;

    margin:auto;

    overflow-x:auto;
}

table{

    width:100%;

    border-collapse:collapse;

    background:white;

    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

th{

    background:#1f2937;

    color:white;

    padding:15px;
}

td{

    padding:15px;

    text-align:center;

    border-bottom:1px solid #eee;
}

.edit-btn{

    background:#2563eb;

    color:white;

    border:none;

    padding:8px 15px;

    border-radius:8px;

    cursor:pointer;
}

.delete-btn{

    background:#dc2626;

    color:white;

    border:none;

    padding:15px 15px;

    border-radius:8px;

    cursor:pointer;
}

/* ========================= */
/* Messages */
/* ========================= */

.messages-container{

    display:flex;

    flex-direction:column;

    gap:20px;

    margin-top:30px;
}

.message-card{

    background:white;

    padding:25px;

    border-radius:15px;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    transition:.3s;
}

.message-card:hover{

    transform:translateY(-5px);
}

.message-card h3{

    margin-bottom:5px;

    color:#d60000;
}

.message-card span{

    font-size:14px;

    color:#888;

    display:block;

    margin-bottom:10px;
}

.message-card p{

    color:#555;

    line-height:1.8;
}

.sidebar a.active{

    background:#424752;
    font-weight: bold;
    color:white;

    transform:translateX(-3px);
    border-right: 4px solid white;
    transition: all 0.3s ease;
}





.sidebar-toggle{

    display:none;

    font-size:30px;

    padding:15px;

    cursor:pointer;

    color:#111;
}



.sidebar a{
    position:relative;
}

/* شكل العداد */
.badge{

    background:#d60000;

    color:white;

    font-size:12px;

    padding:3px 8px;

    border-radius:20px;

    margin-right:8px;

    display:inline-block;
}

.email{

    color:#666;

    font-size:14px;

    margin-bottom:10px;
}


.delete-message-btn{

    margin-top:15px;

    background:#dc2626;

    color:white;

    border:none;

    padding:10px 15px;

    border-radius:8px;

    cursor:pointer;
}

.delete-message-btn:hover{

    background:#b91c1c;
}



.truck-card{

    background:#fff;

    padding:20px;

    border-radius:12px;

    margin-bottom:20px;

    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.truck-card h3{

    margin-bottom:10px;
}

.trucks-table{

    width:100%;

    border-collapse:collapse;

    background:#fff;

    border-radius:12px;

    overflow:hidden;
}

.trucks-table th{

    background:#1f2937;

    color:white;

    padding:15px;
}

.trucks-table td{

    padding:15px;

    border-bottom:1px solid #eee;

    text-align:center;
}

.trucks-table tr:hover{

    background:#f8f8f8;
}

.edit-btn{

    background:#2563eb;

    color:white;

    padding:8px 12px;

    border-radius:8px;

    text-decoration:none;
}





.product-card{

    background:#fff;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    transition:.3s;
}

.product-card:hover{

    transform:translateY(-5px);
}

.product-card img{

    width:100%;

    height:220px;

    object-fit:cover;
}

.product-card h3{

    padding:15px 15px 5px;
}

.product-card p{

    padding:0 15px 10px;
}

.truck-price{

    font-weight:bold;

    color:#0f766e;
}



.view-truck-btn{

    display:block;

    width:fit-content;

    margin:15px auto 20px;

    background:#c8102e;

    color:white;

    text-decoration:none;

    padding:10px 22px;

    border-radius:13px;

    transition:all 0.5s ease;

}

.view-truck-btn:hover{

    background:#3c3c3c;

}



.truck-details{

    padding:60px 20px;

}

.truck-details-container{

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:40px;

    align-items:start;

}

.truck-details-container img{

    width:100%;

    border-radius:15px;

}

.truck-info h1{

    margin-bottom:20px;

}

.truck-info p{

    margin-bottom:12px;

    font-size:18px;

}

.truck-description{

    margin-top:25px;

}




.gate-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
    display:none;
    z-index:999;
}

.gate-sidebar{
    position:fixed;
    top:0;
    left:-350px;
    width:320px;
    height:100%;
    background:#fff;
    padding:20px;
    transition:0.4s;
    z-index:1000;
}

.gate-sidebar.active{
    left:0;
}

.gate-sidebar input{
    width:100%;
    padding:10px;
    margin:10px 0;
}

.gate-sidebar button{
    width:100%;
    padding:12px;
    background:#d60000;
    color:#fff;
    border:none;
    cursor:pointer;
}

.close-btn{
    margin: 15px 0px;
    text-align:right;
    font-size:20px;
    cursor:pointer;
}


.index-gallery{
    width: 90%;
    max-width: 1200px;
    margin: 80px auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}


.gallery-img{

    height: 320px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    transition: .35s;
}

.gallery-img:hover{
    transform: scale(1.03);
}

.img1,
.img3{
    align-self: flex-end;
    width: 55%;
}

.img2,
.img4{
    align-self: flex-start;
    width: 55%;
}




.admin-link{
    color:#2b2b2b;
    font-size:11px;
    text-decoration:none;
    opacity:0.5;
    transition:.3s;
}

.admin-link:hover{
    opacity:1;
    color:#3b3b3b;
}



/* ========================= */
/* Price Gate */
/* ========================= */

.price-gate-overlay{

    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);

    display: none;

    z-index: 9999;

}

.price-gate{

    position: fixed;

    top: 0;
    left: -430px;

    width: 420px;
    max-width: 95%;

    height: 100vh;

    background: #fff;

    padding: 35px;

    box-sizing: border-box;

    transition: .45s ease;

    overflow-y: auto;

    box-shadow: 0 0 30px rgba(0,0,0,.25);

}

.price-gate.active{

    left: 0;

}

.close-gate{

    border: none;
    background: none;

    font-size: 28px;

    cursor: pointer;

    float: left;

}

.price-gate h2{

    margin-top: 40px;

    color: #222;

}

.price-gate p{

    color: #666;

    line-height: 1.8;

    margin-bottom: 25px;

}

.price-gate input,
.price-gate select{

    width: 100%;

    padding: 14px;

    margin-bottom: 18px;

    border: 1px solid #ddd;

    border-radius: 8px;

    font-size: 15px;

    box-sizing: border-box;

}

.phone-group{

    display: flex;

    gap: 10px;

}

.phone-group select{

    width: 42%;

}

.phone-group input{

    width: 58%;

}

.save-gate-btn{

    width: 100%;

    padding: 15px;

    background: #d60000;

    color: white;

    border: none;

    border-radius: 8px;

    cursor: pointer;

    font-size: 16px;

    font-weight: bold;
    transition: all 0.5s ease;

}

.save-gate-btn:hover{

    background: #353535;

}






.show-price-btn{

    width:100%;
    padding:16px 20px;
    margin-bottom: 30px;
    margin-top: 20px;
    background:linear-gradient(135deg,#0f766e,#14b8a6);

    color:#fff;

    border:none;
    border-radius:12px;

    font-size:18px;
    font-weight:700;

    cursor:pointer;

    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;

    box-shadow:0 8px 20px rgba(20,184,166,.25);

    transition:.3s;

}

.show-price-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 12px 25px rgba(20,184,166,.35);

}

.show-price-btn:active{

    transform:scale(.98);

}





.admin-container{
    padding:20px;
}

.clients-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-top:20px;
}

.client-card{
    background:#fff;
    border-radius:12px;
    padding:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    transition:0.3s;
}

.client-card:hover{
    transform:translateY(-5px);
}

.client-card h3{
    margin-bottom:10px;
}

.client-card p{
    margin:5px 0;
    color:#555;
}

.call-btn{
    display:inline-block;
    margin-top:10px;
    padding:10px 15px;
    background:#14b8a6;
    color:#fff;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
}


.stats-container{
    display:flex;
    gap:20px;
    margin:20px 0;
}

.stat-card{
    background:#14b8a6;
    color:#fff;
    padding:20px;
    border-radius:12px;
    min-width:220px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

.stat-card h3{
    margin:0;
    font-size:18px;
}

.stat-card span{
    display:block;
    margin-top:12px;
    font-size:32px;
    font-weight:bold;
}




.client-actions{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:15px;
}

.delete-form{
    margin:0;
}

.delete-client-btn{
    width:45px;
    
    border:none;
    padding-bottom:10px;
    padding-top: 10px;
    border-radius:10px;
    background:#ffffff00;
    color:#797979;
    cursor:pointer;
    font-size:18px;
    transition:.3s;
}

.delete-client-btn:hover{
    transform:scale(1.08);
}






.nav-links a,
.footer-links a {
    text-transform: uppercase;
}

.footer-links a {
    color: #c6c3c3;
    font-size: 14px;
}

.flag {
    width: 20px;
    height: 14px;
    margin-right: 6px;
    vertical-align: middle;
}



/* ================= المعدات ================= */

.equipment-hero{

    width:90%;
    max-width:1200px;

    margin:60px auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:50px;

    align-items:center;
}

.equipment-image img{

    width:100%;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.equipment-content h1{

    font-size:42px;

    margin-bottom:20px;

    color:#d60000;
}

.equipment-content p{

    font-size:18px;

    color:#555;

    line-height:1.9;

    margin-bottom:30px;
}

.equipment-btn{

    display:inline-block;

    background:#d60000;

    color:#fff;

    text-decoration:none;

    padding:15px 35px;

    border-radius:10px;

    font-weight:bold;

    transition:.3s;
}

.equipment-btn:hover{

    background:#b40000;

    transform:translateY(-3px);
}

.equipment-about{

    width:90%;
    max-width:1000px;

    margin:80px auto;

    text-align:center;
}

.equipment-about h2{

    color:#d60000;

    margin-bottom:20px;
}

.equipment-about p{

    color:#666;

    line-height:2;

    font-size:18px;
}





@media (max-width: 768px) {

    .quick-card{
    padding:10px 12px;
    gap:4px;
    font-size:12px;
    
}


    .gallery-thumbs::-webkit-scrollbar {
    display: none;
}


    .close-menu{
        display: block;
        position: absolute;
        top: 20px;
        left: 20px;
        font-size: 32px;
        cursor: pointer;
        color: #222;
        transition: .3s;
    }

    .close-menu:hover{
        color: #d60000;
    }


    h1{
        font-size:22px;
    }

    h2{
        font-size:19px;
    }

    h3{
        font-size:16px;
    }

    p{
        font-size:14px;
    }

    a{
        font-size:14px;
    }





    .main-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }


    .navbar{
    position: relative;
}



    /* العربية */
    html[lang="ar"] .actions{

        position:absolute;

        left:55px;

        display:flex;

        align-items:center;

        gap:12px;

        flex-direction:row;

    }

    /* الإنجليزية */
    html[lang="en"] .actions{

        position:absolute;

        left:55px;

        display:flex;

        align-items:center;

        gap:12px;

        flex-direction:row-reverse;

    }



.menu-toggle{
    position: absolute;
    left: 20px;
}



    .truck-container{
        flex-direction:column;
        align-items:center;
    }

    .truck-card{
        width:90%;
    }

    .nav-links{
        position:fixed;
        top:0;
        right:-260px;
        width:250px;
        height:100vh;
        background:#ffffff;
        display:flex;
        flex-direction:column;
        text-align: center;
        gap:20px;
        padding:100px 25px 25px 25px;
        box-shadow:-5px 0 20px rgba(0,0,0,.15);
        transition:right .35s ease;
        z-index:999;
    }

    .nav-links a{


    width: 100%;
    color:#111;
    margin-bottom: 10px;
    font-size:18px;
    padding: 10px 20px;
    font-weight:bold;
    position:relative;
    border-bottom: 1px solid #dddddd;
    transition:0.3s;

}

    .nav-links.active{
        right:0;
    }


    .lang-btn {
        margin-left: 20px;
        padding:10px 18px;
        font-size: 10px;

    }

        .menu-toggle{
        display:block !important;
        font-size:38px;
        cursor:pointer;
        padding: 8px;
    }

    .logo {
        position: absolute;
        right: 20px;
    }


    
.logo img{

    height:40px;

}


    .truck-horizontal-card{

        flex-direction:column;

    }

    .truck-image img{

        height:220px;

    }

    .truck-info{

        width:100%;

        text-align:center;

    }


        .hero-box{
        position: static;
        width:100%;
        margin: 20px auto 0;
        transform:none;

    }

    .man-hero img{

        height:350px;
    }

    
    .volvo-box{
        position: static;
        width:100%;
        margin: 10px auto 0;
        transform:none;
        border-radius: 10px;
        background-color: #20374cda;
        box-shadow: 0px 3px 10px #989898;
    }

    .volvo-hero img{

        height:350px;
    }

    /*renault*/

    .renault-hero{

        flex-direction:column;
}

    .renault-content{

        text-align:center;
}




.renault-info{
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
}

.info-card{
    padding:20px 15px;
}




.about-cards{
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
}

.about-card{
    padding:20px;
}


.admin-dashboard{

    flex-direction:column;
}

.sidebar{

    width:100%;
}


.gallery-arrow{
    top:50%;
    width:30px;
    height:30px;
    background:rgba(255, 255, 255, 0.523);
    font-size:15px;
    z-index:10;
}



.gallery-arrow.left{
    left:8px;
}

.gallery-arrow.right{
    right:8px;


}

.sidebar{

    width:100%;

    position:static;

    display:flex;

    flex-direction:column;

    padding:15px;
}

/* كل زر صف كامل */
.sidebar a{

    display:block;

    width:100%;

    background:#1f2937;

    color:white;

    padding:18px;

    margin-bottom:12px;

    border-radius:12px;

    text-align:center;

    font-size:16px;
}

/* آخر زر (تسجيل الخروج) */
.sidebar a:last-child{

    background:#d60000;
}

    .truck-details-container{

        grid-template-columns:1fr;

    }



        .index-gallery{

        height:auto;
        display:flex;
        flex-direction:column;
        gap:20px;
        padding:20px;
    }

    .gallery-img{

        position:static;
        width:100%;
    }

        .price-gate{

        width: 92%;

        left: -100%;

        padding: 25px;

    }

    .phone-group{

        flex-direction: column;

    }

    .phone-group select,
    .phone-group input{

        width: 100%;

    }

        .footer-container{

        display: flex;
        flex-direction: column;
        gap: 35px;

    }

    .footer-links,
    .footer-contact,
    .social-section{

        width: 100%;
        text-align: center;

    }

    .social-links{

        justify-content: center;

    }




    .equipment-hero{

    grid-template-columns:1fr;

    text-align:center;

    gap:30px;
}

.equipment-content h1{

    font-size:32px;
}

.equipment-content p{

    font-size:16px;
}

.add-truck-box {
    width: 100%;
    max-width: none;
    padding: 20px 15px;
}

.dashboard-content{
    padding:10px;
}

.add-truck{

    padding:10px 3px;
}


.add-truck-box h1{

    font-size: 22px;
}


.features h2{
    font-size:25px;
}
}


/* ================= الشاحنات المميزة ================= */

.featured-trucks{

    width:90%;
    max-width:1200px;

    margin:80px auto;
}

.featured-trucks h2{

    text-align:center;

    font-size:38px;

    color:#d60000;

    margin-bottom:45px;
}


/* ===== Featured Trucks ===== */

.featured-card{

    display:flex;

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    margin-bottom:35px;

    transition:.3s;
}

.featured-card:hover{

    transform:translateY(-5px);

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}

.featured-image{

    width:48%;

}

.featured-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

}

.featured-info{

    width:52%;

    padding:35px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.featured-info h3{

    font-size:40px;

    margin-bottom:20px;

    color:#1e293b;

}

.featured-specs{

    display:flex;

    justify-content:space-around;

    margin:35px 0;

    border-top:1px solid #eee;

    padding-top:25px;

}

.featured-specs div{

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:8px;

    font-size:18px;

    color:#555;

}

.featured-btn{

    background:#c40000;

    color:#fff;

    text-decoration:none;

    padding:15px 35px;

    border-radius:20px;

    width:max-content;

    font-weight:bold;

    transition:.3s;

}

.featured-btn:hover{

    background:rgb(67, 67, 67);

}


.featured-grid{

    display:flex;

    flex-direction:column;

    gap:35px;

}


@media(max-width:900px){

    .featured-card{

        flex-direction:column;

    }

    .featured-image{

        width:100%;

        height:250px;

    }

    .featured-info{

        width:100%;

        padding:25px;

    }

    .featured-info h3{

        font-size:30px;

    }

    .featured-specs{

        flex-wrap:wrap;

        gap:20px;

        justify-content:center;

    }

    .featured-btn{

        width:100%;

        text-align:center;

    }

}

/* ================= موقع الشاحنة ================= */

.truck-location{

    width:90%;
    max-width:1200px;

    margin:40px auto;
}

.truck-location h2{

    font-size:30px;

    margin-bottom:20px;

    color:#222;
}

.location-card{

    background:#fff;

    border-left:6px solid #c40000;

    border-radius:15px;

    padding:25px 30px;

    font-size:22px;

    font-weight:600;

    color:#444;

    box-shadow:0 10px 25px rgba(0, 0, 0, 0.177);

}


/*================ Upload Area ================*/

.upload-box{

    width:100%;

    margin-top:20px;

}

.upload-area{

    width:100%;

    height:270px;

    border:3px dashed #d7d7d7;

    border-radius:18px;

    background:#fafafa;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    cursor:pointer;

    transition:.3s;

}

.upload-area:hover{

    border-color:#d60000;

    background:#fff;

}

.upload-icon{

    font-size:70px;

    margin-bottom:15px;

}

.upload-area h3{

    font-size:28px;

    color:#222;

    margin-bottom:10px;

}

.upload-area p{

    color:#888;

}

/*================ Gallery ================*/

.gallery-area{

    display:flex;

    gap:25px;

    margin-top:20px;

}

.main-image{

    flex:1;

}

.main-image img{

    width:100%;

    height:500px;

    object-fit:cover;

    border-radius:16px;

    border:2px solid #ddd;

    background:#f5f5f5;

}

.thumb-container{

    width:150px;

    display:flex;

    flex-direction:column;

    gap:15px;

    overflow-y:auto;

}

.thumb-item{

    width:100%;

    height:95px;

    border-radius:12px;

    overflow:hidden;

    border:2px solid #ddd;

    cursor:pointer;

    transition:.25s;

}

.thumb-item:hover{

    border-color:#d60000;

}

.thumb-item img{

    width:100%;

    height:100%;

    object-fit:cover;

}

/*================ Mobile ================*/

@media(max-width:768px){

    .gallery-area{

        flex-direction:column;

    }

    .thumb-container{

        width:100%;

        flex-direction:row;

        overflow-x:auto;

    }

    .thumb-item{

        min-width:110px;

        height:90px;

    }

    .main-image img{

        height:250px;

    }

    .featured-trucks h2{

    font-size:25px;
}

    .why-us h2{
    font-size:25px;

}

}

.dragging{

    opacity:.45;

    transform:scale(.95);

}

.thumb-item{

    transition:.25s;

}

.thumb-item{

    cursor:grab;

}

.thumb-item:active{

    cursor:grabbing;

}



.thumb-item{

    position:relative;

}




.thumb-item .image-delete-btn{

    position:absolute;

    top:6px;

    right:6px;

    width:30px;

    height:30px;

    padding:0;

    border:none;

    border-radius:50%;

    background:#777777aa;

    color:white;

    cursor:pointer;

    font-size:14px;

    display:flex;

    align-items:center;

    justify-content:center;

    transition: all 0.3s ease;

}


.main-image-badge{

    position:absolute;

    bottom:1px;

    left:1px;

    color:white;

    padding:4px 10px;

    border-radius:50%;

    font-size:15px;

}

/*================ أزرار النموذج =================*/

.form-buttons{

    display:flex;

    justify-content:flex-end;

    gap:15px;

    margin-top:35px;

}

.cancel-product-btn{

    background:#ececec;

    color:#333;

    text-decoration:none;

    padding:15px;

    border-radius:10px;

    font-size:17px;

    font-weight:600;

    transition:.25s;

    margin-top: 10px;

}

.cancel-product-btn:hover{

    background:#dcdcdc;

}





/* ===========================
   إدارة صور الموقع
=========================== */

.admin-images-box{

    background:#fff;

    border-radius:18px;

    padding:30px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.admin-images-box h1{

    font-size:30px;

    margin-bottom:10px;

}

.images-description{

    color:#777;

    margin-bottom:35px;

}

.image-card{
    margin-bottom: 15px;

    max-width:500px;

    background:#fafafa;

    border:2px solid #ececec;

    border-radius:18px;

    padding:25px;

}

.image-card h3{

    margin-bottom:20px;

}

.image-preview{

    width:100%;

    height:230px;

    border-radius:15px;

    overflow:hidden;

    border:2px dashed #d9d9d9;

    background:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

}

.image-preview img{

    width:100%;

    height:100%;

    object-fit:contain;

}

.change-image-btn{

    display:block;

    width:100%;

    text-align:center;

    margin-top:18px;

    padding:14px;

    border-radius:12px;

    background:#f3f3f3;

    cursor:pointer;

    transition:.3s;

    font-weight:bold;

}

.change-image-btn:hover{

    background:#e5e5e5;

}

.card-buttons{

    display:flex;

    gap:12px;

    margin-top:18px;

}

.save-image-btn{

    flex:1;

    background:#d32f2f;

    color:#fff;

    border:none;

    border-radius:12px;

    padding:14px;

    cursor:pointer;

    font-size:16px;

}

.save-image-btn:hover{

    background:#b71c1c;

}

.cancel-image-btn{

    flex:1;

    background:#9e9e9e;

    color:#fff;

    border:none;

    border-radius:12px;

    padding:14px;

    cursor:pointer;

    font-size:16px;

}

.cancel-image-btn:hover{

    background:#757575;

}

.the-title-in-image-manege {
    color: #ffffff;
    background-color: #d60000;
    box-shadow: 0px 2px 10px #00000046;
    width: 100%;
    padding: 10px 20px;
    text-align: center;
    margin-bottom: 10px;
    border-radius: 15px;
}

.success-message{

    position: fixed;

    bottom: 30px;

    right: 30px;

    background: #28a745;

    color: #fff;

    padding: 15px 25px;

    border-radius: 10px;

    font-size: 16px;

    font-weight: bold;

    box-shadow: 0 8px 20px rgba(0,0,0,.2);

    z-index: 9999;

    animation: slideUp .5s ease;

}

@keyframes slideUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}



.password-box{
    position:relative;
}

.password-box input{
    width:100%;
    padding-left:45px;
    box-sizing:border-box;
}

.toggle-password{

    position:absolute;

    left:15px;

    top:50%;

    transform:translateY(-50%);

    cursor:pointer;

    color:#777;

    font-size:18px;

    transition:.3s;

}

.toggle-password:hover{

    color:#d32f2f;

}









.product-description{

    

    width:90%;
    max-width:1200px;

    margin:40px auto;
}




.product-description h2{

    font-size:32px;

    margin-bottom:20px;

}

.description-card{

    background:#fff;

    border-left:6px solid #c40000;

    border-radius:15px;

    padding:25px 30px;

    font-size:22px;

    font-weight:600;

    color:#444;

    box-shadow:0 10px 25px rgba(0, 0, 0, 0.177);

}


textarea{

    font-family: "Cairo", sans-serif;

    font-size: 15px;

    line-height: 1.8;

    font-weight: 500;

    color: #333;

}

@media (max-width:768px){

    .description-box{

        font-size:9px;

        line-height:1.6;

    }

    .product-description h2{
    font-size: 20px;
}

.description-card {
    font-size: 15px;
}


.truck-location h2{

    font-size:20px;
}

.location-card{
    font-size:15px;

}


}

.country-flag{

    width:24px;
    height:16px;

    object-fit:cover;

    border-radius:3px;

    margin:0 8px;

    vertical-align:middle;

    box-shadow:0 1px 4px rgba(0,0,0,.15);

}

.error-message {
        position: fixed;

    bottom: 30px;

    right: 30px;

    background:#d32f2f;

    color: #fff;

    padding: 15px 25px;

    border-radius: 10px;

    font-size: 16px;

    font-weight: bold;

    box-shadow: 0 8px 20px rgba(0,0,0,.2);

    z-index: 9999;

    animation: slideUp .5s ease;
}


.form-note{

    display:block;

    margin-top:6px;

    font-size:13px;

    color:#777;

}


.cookie-banner{

    position:fixed;

    left:25px;

    right:25px;

    bottom:25px;

    background:rgba(20,20,20,.97);

    backdrop-filter:blur(12px);

    border-radius:18px;

    padding:25px;

    color:white;

    display:flex;

    align-items:center;

    gap:20px;

    box-shadow:0 20px 45px rgba(0,0,0,.35);

    z-index:99999;

    transform:translateY(180px);

    opacity:0;

    transition:.5s ease;

}

.cookie-banner.show{

    transform:translateY(0);

    opacity:1;

}

.cookie-banner.hide{

    transform:translateY(180px);

    opacity:0;

}

.cookie-icon{

    font-size:45px;

}

.cookie-text{

    flex:1;

}

.cookie-text h3{

    margin:0 0 8px;

    font-size:22px;

}

.cookie-text p{

    margin:0;

    line-height:1.8;

    color:#ddd;

}

.cookie-buttons{

    display:flex;

    gap:12px;

}

.cookie-buttons button{

    background:#c62828;

    border:none;

    color:white;

    padding:12px 28px;

    border-radius:10px;

    cursor:pointer;

    font-size:15px;

    transition:.3s;

}

.cookie-buttons button:hover{

    background:#9d1d1d;

    transform:translateY(-2px);

}

.cookie-policy{

    background:#444;

    color:white;

    text-decoration:none;

    padding:12px 22px;

    border-radius:10px;

    transition:.3s;

}

.cookie-policy:hover{

    background:#666;

}

@media(max-width:900px){

.cookie-banner{

    flex-direction:column;

    text-align:center;

}

.cookie-buttons{

    width:100%;

}

.cookie-buttons a,

.cookie-buttons button{

    flex:1;

}

}



.privacy-page{

    padding:80px 20px;

    background:#f8f8f8;

}

.privacy-container{

    max-width:1100px;

    margin:auto;

}

.privacy-container h1{

    text-align:center;

    font-size:42px;

    margin-bottom:20px;

}

.intro{

    text-align:center;

    color:#555;

    font-size:18px;

    line-height:1.8;

    margin-bottom:40px;

}

.privacy-card{

    background:white;

    padding:25px;

    margin-bottom:25px;

    border-radius:15px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.3s;

}

.privacy-card:hover{

    transform:translateY(-4px);

}

.privacy-card h2{

    color:#c62828;

    margin-bottom:15px;

}

.privacy-card p,

.privacy-card li{

    line-height:1.9;

    color:#444;

}

.privacy-card ul{

    padding-left:20px;

}






/* ===========================
   Live Search Suggestions
=========================== */

.search-wrapper{
    position: relative;
    width: 100%;
}

.search-suggestions{

    position: absolute;

    top: calc(100% + 8px);

    left: 0;

    width: 100%;

    background: #fff;

    border: 1px solid #ddd;

    border-radius: 12px;

    box-shadow: 0 8px 25px rgba(0,0,0,.12);

    overflow: hidden;

    display: none;

    z-index: 9999;

    max-height: 350px;

    overflow-y: auto;

}

.search-item{

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px;

    cursor: pointer;

    transition: .2s;

}

.search-item:hover{

    background: #f5f5f5;

}

.search-item img{

    width: 65px;

    height: 50px;

    object-fit: cover;

    border-radius: 8px;

    flex-shrink: 0;

}

.search-info{

    flex: 1;

}

.search-title{

    font-weight: 700;

    color: #222;

    margin-bottom: 5px;

}

.search-status{

    font-size: 13px;

    font-weight: 600;

}

.status-available{

    color: #28a745;

}

.status-shipping{

    color: #f39c12;

}

.status-reserved{

    color: #3498db;

}

.status-sold{

    color: #dc3545;

}


/* شكل شريط التمرير */

.search-suggestions::-webkit-scrollbar{

    width:8px;

}

.search-suggestions::-webkit-scrollbar-track{

    background:#f2f2f2;

    border-radius:10px;

}

.search-suggestions::-webkit-scrollbar-thumb{

    background:#c0c0c0;

    border-radius:10px;

}

.search-suggestions::-webkit-scrollbar-thumb:hover{

    background:#999;

}




/* ========================= */
/* زر البحث للجوال */
/* ========================= */

.mobile-search-btn{

    display:none;

    width:45px;

    height:45px;

    border:none;

    border-radius:12px;

    background:#ffffff00;

    cursor:pointer;

    font-size:20px;

    transition:.3s;


}

.mobile-search-btn:hover{

    background:#f3f3f3;

}

/* يظهر فقط على الجوال */



/* يظهر فقط على الجوال */

@media (max-width:768px){

    .mobile-search-btn{

        display:flex;

        align-items:center;

        justify-content:center;

    }
    .search-wrapper{

        position:fixed;

        top:75px;

        left:0;

        width:100%;

        padding:12px 15px;

        background:#ffffff;

        box-sizing:border-box;

        display:none;

        z-index:9999;

        animation:searchSlide .25s ease;

        box-shadow:0 6px 18px rgba(0,0,0,.12);

    }

    .search-wrapper.mobile-search-open{

        display:block;

    }


    .search{

    display:block !important;

    width:100%;

}

}



@keyframes searchSlide{

    from{

        opacity:0;

        transform:translateY(-15px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}



.search-input-wrapper{

    position:relative;

}

.clear-search{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:32px;

    height:32px;

    border:none;

    border-radius:50%;

    background:#e9e9e9;

    color:#444;

    font-size:18px;

    cursor:pointer;

    display:none;

    transition:.2s;

}

/* الإنجليزية */
html[lang="en"] .clear-search{

    right:8px;

}

/* العربية */
html[lang="ar"] .clear-search{

    left:8px;

}

.clear-search:hover{

    background:#d8d8d8;

}

/* الإنجليزية */
html[lang="en"] #searchInput{

    padding-right:55px;

}

/* العربية */
html[lang="ar"] #searchInput{

    padding-left:55px;

}

html{

    scroll-behavior: smooth;

}


.truck-thumb{

    width:70px;

    height:70px;

    object-fit:cover;

    border-radius:10px;

    border:1px solid #ddd;

    display:block;

    margin:auto;

}