/* Style Header */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 10px 20px;
}

nav .logo a {
    color: white;
    text-decoration: none;
    font-size: 24px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.burger {
    display: none; /* Masquer le burger sur les écrans larges */
    flex-direction: column;
    cursor: pointer;
}

.burger span {
    background-color: white;
    height: 3px;
    width: 25px;
    margin: 4px 0;
}

/* Style du menu sur petits écrans */
@media (max-width: 768px) {
    nav ul {
        display: none;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #333;
    }

    nav ul li {
        margin: 15px 0;
    }

    nav ul.active {
        display: block;
    }

    .burger {
        display: flex; /* Afficher le burger sur petits écrans */
    }
}


/* Style Global */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: 50%;
    
    display: block;  /* S'assure que le bouton occupe toute la ligne */
    margin: 0 auto;  /* Centre horizontalement */
}

button:hover {
    background-color: #45a049;
}

/* Banner Promotionnelle */
.promo-banner {
    background-color: #ff9800;
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Header */

/* Header */
header {
    background-color: #333;
    padding: 10px 0;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Logo */
  .logo a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
  }
  
  /* Navigation Links */
  .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
  }
  
  .nav-links li {
    margin: 0 15px;
  }
  
  .nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
  }
  
  .nav-links li a:hover {
    color: #4CAF50;
  }
  
  /* Burger Menu */
  .burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .burger span {
    background-color: #fff;
    height: 3px;
    width: 25px;
    margin: 4px 0;
    transition: all 0.3s ease;
  }
  
  /* Responsive - Affichage sur petits écrans */
  @media (max-width: 768px) {
    .nav-links {
      display: none;
      position: absolute;
      top: 60px;
      left: 0;
      background-color: #333;
      width: 100%;
      flex-direction: column;
      text-align: center;
      padding: 10px 0;
    }
    
    .nav-links li {
      margin: 15px 0;
    }
    
    .nav-links.active {
      display: flex;
    }
    
    .burger {
      display: flex;
    }
  }


/* Section Accueil (Hero) */
.hero {
    background: url('images/hero-background.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    /*position: relative;  /* Important pour positionner le crédit photo */
}

.hero h1 {
    font-size: 3rem;
}

.hero p {
    font-size: 1.5rem;
    margin: 20px 0;
}

.cta-btn {
    position: relative;
    display: inline-block;
    background-color: #4CAF50;
    padding: 15px 30px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: all 0.3s ease-in-out;
}

.cta-btn::after {
    content: 'Réserver maintenant';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 5px;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
}

.cta-btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.cta-btn:hover {
    color: #4CAF50;
}

/* Section Services */
#services {
    background: url('images/effeil-unsplash.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: space-around;
    padding: 50px 0;
    background-color: #f4f4f4;
    max-width: 1280px;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service {
    text-align: center;
    width: 30%;
}

.service i {
    font-size: 3rem;
    color: #4CAF50;
}

.service h3 {
    font-size: 1.5rem;
    margin-top: 15px;
}

.service p {
    font-size: 1rem;
}

/* Section Témoignages */
#testimonials {
    background: url('images/testimonial.jpg') no-repeat center center/cover;
    padding: 50px 0;
    background-color: #f4f4f4;
    /*Nouveau code testimonials*/
    max-width: 1200px;
    margin: 0 auto;
    /*border-radius: 10px;*/
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#testimonials {
    padding: 40px;
    text-align: center;
}

#testimonials h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.testimonial {
    margin-bottom: 20px;
    width: 100%;
}

.testimonial .testimonial-text {
    display: none;
    justify-content: inherit;
    font-size: 1rem;
    color: #333;
    padding: 10px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

.testimonial button {
    background-color: #000;
    color: white;
    border: none;
    padding: 10px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
}

.testimonial button:hover {
    background-color: #444;
}


/* Section Réservation */
#booking {
    /* background: url('images/book_driver.jpg') no-repeat center center/cover;*/
    padding: 50px 0;
    background-color: #f4f4f4;
    color: #333;
    max-width: 1280px;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#booking form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

#booking input, #booking select, #booking button {
    margin-bottom: 15px;
}


.form-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 320px; /* Réduction de la largeur maximale */
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    background-color: #f9f9f9;
    width: 90%; 
}

.form-group input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px; /* Taille de texte légèrement réduite */
    background-color: transparent;
    margin-left: 10px;
}

.form-group input::placeholder {
    color: #aaa;
}

.form-group svg {
    width: 20px;
    height: 20px;
    color: #666;
}

.form-container button {
    background-color: #000;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    padding: 10px;
    width: 100%; /* S'étend à la largeur de la carte */
    cursor: pointer;
    max-width: 250px; /* Réduction de la largeur maximale */
    margin: 0 auto;
    display: block; /* Centrage du bouton */
}

.form-container button:hover {
    background-color: #444;
}


/* Debut form contact */
#contact {
    /*background: url('images/contact-us.jpg') no-repeat center center/cover;*/
    padding: 50px 0;
    background-color: #f4f4f4;
    color: #333;
    max-width: 1280px;
    margin: 0 auto;
}

#contact form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

#contact input,
#contact textarea,
#contact button {
    margin-bottom: 15px;
}

/* Conteneur principal du formulaire */
.form-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 320px; /* Réduction de la largeur maximale */
}

/* Titre du formulaire */
.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* Groupes de champs */
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    background-color: #f9f9f9;
}

.form-group input,
.form-group textarea {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
    background-color: transparent;
    margin-left: 10px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

/* Icônes dans les champs */
.form-group svg {
    width: 20px;
    height: 20px;
    color: #666;
}

/* Bouton d'envoi */
.form-container button {
    background-color: #000;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    padding: 10px;
    width: 100%; /* S'étend à la largeur de la carte */
    cursor: pointer;
    max-width: 250px; /* Réduction de la largeur maximale */
    margin: 0 auto;
    display: block; /* Centrage du bouton */
}

.form-container button:hover {
    background-color: #444;
}


/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #333;
    color: white;
    max-width: 1280px;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Media Queries pour rendre le site responsive */
@media screen and (max-width: 768px) {
    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    #services {
        flex-direction: column;
        align-items: center;
    }

    .service {
        width: 80%;
        margin-bottom: 30px;
    }

    #testimonials .carousel {
        flex-direction: column;
    }

    #booking form {
        width: 90%;
    }
}

/* About us */

#about-us {
    background-color: #f4f4f4;
    padding: 40px;
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#about-us h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

#about-us h3 {
    font-size: 1.8rem;
    color: #2980b9;
    margin-top: 30px;
    font-weight: 600;
}

#about-us p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

#about-us strong {
    color: #2980b9;
}

#about-us ul {
    list-style-type: none;
    padding: 0;
}

#about-us ul li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

#about-us ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #2980b9;
}

#about-us ul li strong {
    color: #333;
}

#about-us p:last-child {
    font-weight: bold;
    font-size: 1.2rem;
    color: #2980b9;
    text-align: center;
    margin-top: 40px;
}



.section-transition {
    background: linear-gradient(to bottom, #ffffff, #f4f4f4);
    height: 20px;
}

.section-divider {
    height: 4px;
    background-color: #ddd;
    margin: 20px 0;
}

.g_id_signin {
    width: 100px !important; /* Ajuste la largeur selon ton besoin */
}


.input-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;  /* Ajoute un curseur pointer pour toute la zone */
}

.calendar-wrapper,
.time-wrapper {
    display: flex;
    align-items: center;
    width: 100%;  /* Assure que l'input et l'icône sont sur la même ligne et que toute la zone est cliquable */
}

input[type="date"],
input[type="time"] {
    flex-grow: 1;  /* Permet à l'input de s'étendre et d'occuper tout l'espace restant */
    margin-left: 10px;  /* Un petit espace entre l'icône et l'input */
}