/* For Fonts, in description */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0, 100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

*{
margin: 0; 
padding: 0; 
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}

:root{
    --accent:  #800202;
    --black:   #131313;
    --gray:    #5b13d6;
    --blue-gray:#f7f7fb;
}

html{
    scroll-behavior: smooth;
}

body{
    min-height: 100vh;
}

section{
    min-width: 100%;
     min-height: 100vh; 
     color: var(--black);
}

/* Navbar */
nav {
    z-index: 999; 
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    color: var (--black); 
    background-color:white;
    padding: 30px 50px;
    transition: all 0.1s ease-out;
    filter: drop-shadow(5px 5px 10px transparent);
}

/* Navbar Sticky */
nav.sticky {
    background-color:white;
    filter: drop-shadow(5px 5px 10px rgba(194, 184, 255, 0.5))
}
 
/* Navbar Brand */
.brand{
    text-decoration: none;
    transition: all ease-in-out 0.35; 
    color: var(--black);
}
.brand h1 {
    font-size: 38px; 
    font-weight: bold;
}
.accent{
    color: var(--accent);
    font-size: 50px;
}
.zaki{
    color: rgb(13, 2, 32);
    font-size: 45px;
}
.adem{
    color: #1600b9;
    font-size: 18px;
}
.brand:hover{
    opacity: 0.8;
}

/* Navbar Menu*/ 
.menu{
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 42px;
}

.menu a{
    display: inline-block;
    position: relative;
    color: var(--black);
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
}
.menu a::after{
color: var(--accent);
content: "";
position: absolute;
width: 50%;
transform: scale(0);
border-radius: 5px;
height: 0.1em;
bottom: 0;
left: 0;
background: currentColor;
transform-origin: bottom right;
transition: transform 0.25s ease-out;
}

.menu a:hover::after{
    transform: scaleX(1);
    transform-origin: bottom left;
}

.btn{
    color: white;
    font-size: 25px;
    cursor: pointer;
    display: none;
}

.btn-2{
    width: 160px;
    height: 50px;
    font-size: 20px;
    background-color: var(--accent);
    border: 1pxsolid var(--accent);
    border-radius: 12px;
    color: white;
    transition: all ease-in-out 0.2s;
    cursor: pointer;
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.2));
}

.btn-2:hover{
    background-color: var(--black);
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.5));
}

/* Hero Page Section */
.hero-page{
    margin-top: 200px;
    display: flex;
    padding: 0px 50px;
    justify-content: space-between; 
    overflow: hidden;
}
   
.hero-headlines{ 
        display: flex;
        flex-direction: column;
        gap: 18px;
        width: 652px;
    }
   
    .hero-headlines h1{ 
        font-size: 48px; 
        font-weight: bold;
    }

    .hero-headlines p{ 
        font-size: 20px;
    }

    .bnt-hero{
        width: 100%;
        height: 62px;
        font-size: 24px;
    }

    .dowload-buttons{
        display: flex;
        gap: 18px;
        margin-top: 24px;
    }

    .dowload-buttons img{
        transition: 0.3s ease-out all;
    }

    .dowload-buttons img:hover{
        opacity: 0.8;
        cursor: pointer;
    }

    .hero-page-img{
        max-width: 45%;
        height: auto;
    
    }
    .simple-img{
        max-width: 35%;
    }
    .smp-img{
        max-width: 35%;
    }

    /* About Section */
    .about {
        display: flex;
        flex-direction: column;
        color: white;
        margin-top: 110px;
    }

    .about-container { 
        display:flex;
        position: relative;
        flex-direction: column; 
        align-items: center; 
        background-image: url("rendu-3d-fond-texture-hexagonale_23-2150796421.jpg.avif");
        background-repeat: no-repeat; 
        background-size: cover;
        width:100%;
        height:540px;
    }

    .about-container h1{
        font-size:40px;
        font-weight: bold;
        width: 494px;
         text-align: center;
         margin-top: 100px;
         color: #d8c9c9;
    }

.about-subline { 
    font-size: 24px; 
    width: 822px;
    text-align: center;
    opacity: 0.7;
}
.about-info {
        display: flex;
        position: absolute;   
        top: 300px;
        gap: 50px;
        flex-wrap:wrap;
        }
        
        
.about-info-item {
        display: flex;
        flex-direction: column; 
        background-color: white;
        color: var(--black);
        padding: 0px 35px 47px 17px;
        filter: drop-shadow(5px 5px 10px rgb(0, 0, 0));
        width: 380px;
        height:414px;
        transition: all ease-out 0.3s;
}

.about-info-item:hover {
    filter: drop-shadow(5px 5px 10px rgb(0, 0, 0));
}

.about-hr{
    width: 100%;
    position: absolute;
    border: 16px solid var(--accent);
    color: var(--accent);
    left: 0px;
}

.about-info-item img{
    width: 178px;
    height: 178px;
    margin-top: 45px;
}

.about-info-item h5{
    font-size: 32px;
}

.about-info-item p{
    font-size: 16px;
    margin-top: 8px;
}

/* Responsive Design For Mobile Screens */ 
@media (max-width: 768px) { 
    .hero-headlines { width: 100%; 
        padding: 0 16px; 
        text-align: center;
     } 
        .hero-headlines h1 { 
            font-size: 32px;
         } 
         .hero-headlines p {
             font-size: 16px; 
            } 
             .btn-hero { 
                font-size: 18px;
                 height: 50px; 
                 width: 100%;
                 } 
                 .download-buttons { 
                    flex-direction: column; 
                    gap: 12px; 
                    align-items: center; 
                } 
                .download-buttons img {
                     width: 160px;
                     } 
                     .hero-page { 
                        flex-direction: column;
                         align-items: center; 
                         padding: 24px 0; 
                        } 
                        .hero-page-img {
                             max-width: 90%; 
                             height: auto; 
                             margin-top: 20px; 
                            } 
                            nav { 
                                flex-direction: column; 
                                align-items: flex-start; 
                                padding: 10px 16px;
                             } 
                             nav .menu { 
                                flex-direction: column; 
                                width: 100%;
                                 display: none;
                                 } nav .menu.active { 
                                    display: flex;
                                 } 
                                 .about-container h1 {
                                     font-size: 24px;
                                      text-align: center; 
                                    } 
                                    .about-info {
                                         flex-direction: column; 
                                         gap: 20px; 
                                        } 
                                        .about-info-item img {
                                             width: 80px;
                                             } 
                                             .btn-2 { 
                                                width: 100%; 
                                                font-size: 18px; 
                                            } 
                                        }



/* Section des voitures */
.cars-section {
    padding: 80px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.cars-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--black);
}

.car-list {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.car-item {
    background: #fff;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.car-item:hover {
    transform: translateY(-5px);
}

.car-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.car-item .car-info {
    padding: 15px;
}

.car-item .car-info h3 {
    margin: 10px 0 5px;
    font-size: 20px;
}

.car-item .car-info p {
    color: #27ae60;
    font-weight: bold;
}


.car-item {
    background: #fff;
    border-radius: 12px;
    width: 300px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
  }
  
  .car-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  }
  
  .car-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  
  .car-info {
    padding: 15px;
  }
  
  .car-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #333;
  }
  
  .car-info p {
    color: #27ae60;
    font-weight: bold;
    font-size: 16px;
  }
  
  .title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: #333;
  }


  body.cars-page {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
  }
  
  .cars-header {
    background-color: #1b1f3a;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    position: relative;
  }
  
  .cars-header h1 {
    margin: 0;
    font-size: 32px;
  }
  
  .btn-back {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #27ae60;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
  }
  
  .btn-back:hover {
    background-color: #219150;
  }
  
  .car-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
  }
  
  .car-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .car-card:hover {
    transform: translateY(-5px);
  }
  
  .car-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .car-card h2 {
    font-size: 20px;
    color: #2c3e50;
    margin: 15px 0 5px;
  }
  
  .car-card .price {
    font-size: 18px;
    color: #27ae60;
    margin-bottom: 20px;
  }
  
  /* زر واتساب في الجانب */
  .whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  .whatsapp-button img {
    width: 55px;
    height: 55px;
  }

  .whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  .whatsapp-button img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
  }
  
  .whatsapp-button img:hover {
    transform: scale(1.1);
  }


  .menu {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 60px;
    right: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 15px;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background: #fff;
    align-items: center;
    position: relative;
  }
  
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #eee;
    padding: 15px;
    border-radius: 8px;
  }
  
  .menu a {
    margin: 10px 0;
    text-decoration: none;
    color: #000;
  }
  
  .menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
  }
  
  .close-btn {
    align-self: flex-end;
    cursor: pointer;
    font-size: 20px;
  }
  
  @media (max-width: 768px) {
    .menu-btn {
      display: block;
    }
  
    .menu {
      display: none;
    }
  
    .menu.active {
      display: flex;
    }
  }


  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: white;
    position: relative;
  }
  
  .menu {
    display: flex;
    gap: 20px;
  }
  
  .menu-btn, .close-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
  }
  
  /* مظهر الهاتف */
  @media (max-width: 768px) {
    .menu {
      position: absolute;
      top: 100%;
      left: 0;
      background: white;
      width: 100%;
      flex-direction: column;
      display: none;
      padding: 15px 0;
      text-align: center;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
  
    .menu a {
      padding: 10px 0;
      font-size: 18px;
    }
  
    .menu-btn {
      display: block;
    }
  
    .menu.active {
      display: flex;
    }
  
    .close-btn {
      display: block;
      align-self: flex-end;
      margin-right: 20px;
    }
  }

  /* هذا الجزء للتأكد أن القائمة الجانبية لا تظهر في الحاسوب */
@media (min-width: 769px) {
    .menu {
      display: flex !important;
      position: static !important;
      flex-direction: row !important;
      background: none !important;
      box-shadow: none !important;
      gap: 20px;
    }
  
    .menu-btn,
    .close-btn {
      display: none !important;
    }
  }


  .btn-hero {
    background-color: #c0392b;
    color: white;
    padding: 12px 30px;
    font-size: 18px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-weight: bold;
    letter-spacing: 1px;
  }
  
  .btn-hero:hover {
    background-color: #e74c3c;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }


  .social-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    margin: 5px;
    transition: 0.3s ease;
    font-size: 16px;
  }
  
  .facebook {
    background-color: #3b5998;
  }
  
  .facebook:hover {
    background-color: #2d4373;
  }
  
  .instagram {
    background: linear-gradient(45deg, #feda75, #d62976, #962fbf);
  }
  
  .instagram:hover {
    opacity: 0.85;
  }



  /* تنسيق عام */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
  }
  
  /* الهيدر */
  .page-header {
    background-color: #0d1b2a;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
  }
  
  .btn-retour {
    position: absolute;
    left: 20px;
    top: 20px;
    background-color: #2ecc71;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
  }
  
  .btn-retour:hover {
    background-color: #27ae60;
  }
  
  /* قائمة السيارات */
  .cars-list {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  /* بطاقة السيارة */
  .car-card {
    width: 280px;
    padding: 20px;
    margin: 15px auto;
    background-color: rgb(0, 0, 0);
    border-radius: 12px;
    box-shadow: 0 0 10px #ff0000;
    text-align: center;
    overflow: hidden;
    transition: transform 0.2s ease;
  }
  
  .car-card:hover {
    transform: translateY(-5px);
  }
  
  .car-img-placeholder {
    height: 150px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    color: #555;
  }
  
  .car-details {
    padding: 15px;
    text-align: center;
  }
  
  .price {
    color: green;
    font-weight: bold;
    margin-top: 5px;
  }
  
  /* زر واتساب */
  .whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    font-size: 24px;
    padding: 12px 14px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 1000;
  }
  
  .whatsapp-float:hover {
    background-color: #1ebe57;
  }


  
  .btn-reserver:hover {
    background-color: #c35b16;
  }


  .btn-reserver {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* تباعد بين الأيقونة والنص */
    background: linear-gradient(45deg, #c7cd0f, #04d74e); /* تدرج لوني جميل */
    color: white;
    padding: 12px 20px;
    border-radius: 25px; /* يجعل الزر دائري الشكل */
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
  }
  

  body {
    background-color: #ffffff; /* خلفية غامقة */
    color: white;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
  }
  
  .page-title {
    text-align: center;
    font-size: 32px;
    margin-top: 30px;
    font-weight: bold;
    color: #ffffff;
  }
  
  .btn-retour {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #00c853; /* أخضر مضيء */
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    margin: 20px;
    margin-left: 20px;
    transition: background-color 0.3s ease, transform 0.2s;
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.4);
  }
  
  .btn-retour:hover {
    background-color: #00e676;
    transform: scale(1.05);
  }



  /* خلفية الشريط العلوي */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #0d1117; /* خلفية داكنة */
    padding: 15px 20px;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  
  /* عنوان الصفحة */
  .page-title {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
  }
  
  /* زر العودة */
  .btn-retour {
    position:absolute;
    left: 20px;
    top: 1px;
    height: 38;
    background-color: #00c853;
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.4);
  }
  
  .btn-retour:hover {
    background-color: #00e676;
    transform: scale(1.05);
  }

  .page-header {
    position: relative;
    background-color: #0d1117;
    padding: 15px 20px;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center; /* هذا يُوسّط العنوان */
    align-items: center;
  }
  
  /* عنوان الصفحة وسط */
  .page-title {
    font-size: 22px;
    font-weight: bold;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* زر العودة على اليسار */
  .btn-retour {
    position: absolute;
    left: 20px;
    background-color: #00c853;
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.4);
  }
  
  .btn-retour:hover {
    background-color: #00e676;
    transform: scale(1.05);
  }


  .page-header {
    position: relative;
    padding: 25px 20px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border-bottom: 3px solid #00c853;
  }
  
  /* عنوان في الوسط */
  .page-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  }
  
  /* زر العودة */
  .btn-retour {
    position: absolute;
    left: 20px;
    background: #00c853;
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 200, 83, 0.5);
  }
  
  .btn-retour:hover {
    background-color: #00e676;
    transform: scale(1.05);
  }
  


  .reservation-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.reservation-modal.active {
  display: flex;
}

.modal-box {
  background: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}


.reservation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .reservation-modal.active {
    display: flex;
  }
  
  .modal-box {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .modal-box h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
  }
  
  .modal-box input {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: 0.3s;
  }
  
  .modal-box input:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
  }
  
  .modal-box button {
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
    background: linear-gradient(45deg, #4CAF50, #2E8B57);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .modal-box button:hover {
    background: linear-gradient(45deg, #43A047, #1E6B43);
    transform: scale(1.05);
  }
  
  .close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .close-btn:hover {
    color: red;
  }



  .reservation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.4s ease-in-out;
  }
  
  .reservation-modal.active {
    display:flex;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: scale(0.9);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  .modal-box {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
    animation: popup 0.3s ease;
  }
  
  @keyframes popup {
    from {
      transform: translateY(-30px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  .modal-box h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
  }
  
  .modal-box .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    color: #888;
    transition: 0.3s;
  }
  
  .modal-box .close-btn:hover {
    color: red;
  }
  
  .modal-box form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .modal-box input {
    padding: 12px 14px 12px 38px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 16px;
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 20px;
  }
  
  input[name="carName"] {
    background-image: url('https://cdn-icons-png.flaticon.com/512/2329/2329074.png');
  }
  
  input[name="nom"] {
    background-image: url('https://cdn-icons-png.flaticon.com/512/1077/1077012.png');
  }
  
  input[name="telephone"] {
    background-image: url('https://cdn-icons-png.flaticon.com/512/159/159832.png');
  }
  
  input[name="dateDebut"] {
    background-image: url('https://cdn-icons-png.flaticon.com/512/747/747310.png');
  }
  
  input[name="dateFin"] {
    background-image: url('https://cdn-icons-png.flaticon.com/512/747/747310.png');
  }
  
  .modal-box button {
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    border: none;
    background: linear-gradient(45deg, #4CAF50, #2E8B57);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .modal-box button:hover {
    background: linear-gradient(45deg, #388E3C, #1B5E20);
    transform: scale(1.03);
  }

  .modal {
    display: none;
  }
  .modal.active {
    display: block;
  }


  .btn-reserver{
    background: linear-gradient(135deg, #818584, #00cec9); /* تدرج لوني جذاب */
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 206, 201, 0.4);
  }
  
  .reservation:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #00cec9, #00b894);
    box-shadow: 0 6px 16px rgba(56, 12, 234, 0.6);
  }


  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* خلفية شفافة */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .modal-content {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    
  }
  



  .modal-content button {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background0.3s ease;
  }
  
  .modal-content button:hover {
    background: linear-gradient(135deg, #66bb6a, #388e3c);
  }



  .submit-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .submit-btn:hover {
    background-color: #218838;
    transform: scale(1.05);
  }






  .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
  }
  
  .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
  }
  
  .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
  }




  .car-images-slider {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: auto;
    overflow: hidden;
  }
  
  .car-img {
    display: none;
    width: 100%;
    border-radius: 10px;
  }
  
  .car-img.active {
    display: block;
  }
  
  .prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: white;
    background-color: rgba(255, 255, 255, 0.4);
    padding: 6px 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    opacity: 1; /* الأسهم دائمة الظهور */
  }
  .prev { left: 8px; }
  .next { right: 8px; }