@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");
@font-face {
  font-family: myFont;
  src: url(nordique.ttf);
}
@media (max-width: 768px) {
    .home {
        position: relative;
    }

    .home::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.05);
        z-index: 1;
    }

    .home > * {
        position: relative;
        z-index: 2;
    }
}

@media (max-width: 768px) {
    .rent-page input[type="time"]::-webkit-datetime-edit-hour-field,
    .rent-page input[type="time"]::-webkit-datetime-edit-minute-field,
    .rent-page input[type="time"] {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important; /* Safari iOS */
        background-color: transparent !important;
    }
}


/* Correction uniquement mobile */
@media (max-width: 768px) {
    input[type="time"] ,input[type="date"] {
        width: 100%;
        height: 50px;
        padding: 12px;
        font-size: 16px;
        box-sizing: border-box;
        text-align: center;
        -webkit-appearance: none;
        appearance: none;
    }
}
@media (max-width: 768px) {
  .form-container form {
    background-color: rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(8px) !important;
  }
}



:root {
  --primary-color: rgba(14, 14, 94, 0.91);
  --accent-color: #ffcc00;
  --text-color: #333333;
  --background-color: #f5f7fa;
  --card-background: #ffffff;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}
/* Fix Hero under Navbar */
.home,
.hero-page {
  padding-top: 120px;
}

@media (max-width: 768px) {
  .home,
  .hero-page {
    padding-top: 130px;
  }
}

/* Navbar styles */

nav.hidden {
  transform: translateY(-100%);
}

nav .brand {
  display: flex;
  align-items: center;
}
.logo {
  width: 80px; /* Ajustez la taille souhaitée */
  height: auto; /* Conserve les proportions de l'image */
}

.brand {
  display: inline-block; /* Pour s'assurer que le lien reste de taille adaptée */
}

nav {
  height: 100px; /* Définir une hauteur fixe pour la barre de navigation */
  display: flex;
  align-items: center; /* Centrer verticalement les éléments */
  justify-content: space-between; /* Espace entre le logo et le menu */

  padding: 0 20px; /* Ajouter un peu de padding si nécessaire */
}

nav .brand img.logo {
  height: 200px; /* Taille ajustée du logo */
  width: auto;
  transition: all 0.3s ease;
}

nav .brand:hover img.logo {
  transform: scale(1.05); /* Agrandissement du logo au survol */
}

nav .brand:hover img.logo {
  transform: scale(1.05);
}

nav .menu {
  flex: 1;
  display: flex;
  justify-content: center; /* ✅ Centre horizontalement */
  gap: 2rem;
  align-items: center;
}

nav .menu a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

nav .menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ffcc00d1;
  transition: width 0.3s ease;
}

nav .menu a:hover::after {
  width: 100%;
}

nav .menu a:hover {
  color: var(--accent-color);
}
.Ktba {
  font-weight: 700;
  text-transform: lowercase;
  font-size: 3rem;
  line-height: 1;
}

.accent {
  color: #ffd700;
  font-family: myFont;
  src: url(nordique.ttf);
}

.ktba-bida {
  font-weight: 600;
}

.rayane {
  font-family: myFont;
  src: url(nordique.ttf);
  color: #ffd700;
}

.auto {
  font-family: myFont;
  src: url(nordique.ttf);
  color: #0c00f3;
}

/* Adjust spacing between words */
.Ktba b {
  margin-right: 0.2em;
}

/* Make "rayaneauto" appear as one word */
.rayane,
.auto {
  display: inline-block;
} /*
.btn-2 {
  background-color: var(--accent-color);
  color: var(--primary-color);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;

  gap: 0.5rem;
}*/

/*.btn-2:hover {
  background-color: var(--primary-color);
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}*/

form .btn-2 {
  padding: 0.5rem 1rem !important; /* ✅ Reduce padding */
  font-size: 0.85rem !important; /* ✅ Reduce text size */
  max-width: 150px !important; /* ✅ Ensure it doesn’t stretch */
  height: auto !important; /* ✅ Maintain proper height */
  justify-content: center !important;
  align-items: center !important;
}
.btn-2 i {
  font-size: 1.2rem;
}
/* ✅ Sur grand écran : cacher burger menu, montrer menu classique */
.menu-btn,
.close-btn {
  display: none;
}
/* ✅ Couleur accent uniquement sur rent.php en mobile */
@media (max-width: 768px) {
  .rent-page nav .menu a {
    color: var(--accent-color) !important;
  }
}

/* Responsive design for navbar */
@media (max-width: 992px) {
  nav {
    padding: 0.5rem 3%;
  }

  nav .brand img.logo {
    height: 90px; /* Slightly reduced for medium screens */
  }

  nav .menu {
    gap: 1rem;
  }

  nav .menu a {
    font-size: 0.9rem;
  }
}
/* ✅ Style spécial pour la page about.php en version mobile seulement */
@media (max-width: 768px) {
  .about-page nav .menu a {
    color: var(--accent-color) !important; /* Jaune */
  }

  .about-page nav .menu a:hover {
    color: var(--accent-color) !important; /* Même au survol reste jaune */
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0.5rem 5%;
  }

  nav .brand img.logo {
    height: 90px; /* Further reduced for mobile screens */
  }

  nav .menu {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: var(--primary-color);
    width: 80%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }

  nav .menu.active {
    right: 0;
  }

  nav .menu a {
    margin: 1rem 0;
    font-size: 1.2rem;
  }
  .btn-form-submit {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    height: 50px;
    width: 100%;
    margin-top: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .btn-form-submit:hover {
    background-color: var(--primary-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .form-container form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
  }

  .input-box.submit-box {
    flex-basis: 100%;
    text-align: center;
  }

  .btn-2 {
    margin-top: 1rem;
  }

  .menu-btn,
  .close-btn {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
  }

  .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
}

/* Button styles */
.btn-rent,
.btn-1,
.btn-sub {
  background-color: var(--accent-color);
  color: var(--primary-color);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;

  letter-spacing: 1px;
  text-decoration: none;
  font-weight: bold;
}

.btn-2 {
  background-color: #087d33ec; /* Couleur officielle de WhatsApp */
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: 500;
  font-size: 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-2:hover {
  background-color: #087d33ec; /* Effet au survol */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.btn-rent:hover,
.btn-1:hover,
.btn-sub:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hero section styles */
.home {
  background: url("img/bk.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--background-color);
  padding: 2rem;
}

.hero-headlines {
  max-width: 800px;
  margin: 0 auto 2rem;
}

.hero-headlines h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-headlines h1 .accent,
.hero-headlines h1 .rayane {
  color: var(--accent-color);
  margin: 0; /* Pas d'espace autour */
  padding: 0;
  display: inline;
}

.hero-headlines h1 .auto {
  color: rgb(14, 14, 95);
}
/* Form styles */
.form-container {
  width: 100%;
  max-width: 1400px;
  margin: 2rem auto;
}

.form-container form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
}

.input-box {
  flex: 1 1 200px;
  min-width: 200px;
  cursor: pointer;
}

.input-box span {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.5rem;
  display: block;
}

.input-box input,
.input-box select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  min-height: 50px;
  box-sizing: border-box;
}

.input-box input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.input-box input:focus {
  border-color: var(--accent-color);
  outline: none;
  background: transparent;
}

.input-box button.btn-form-submit {
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  height: 50px;
  width: 100%;
  padding: 0.8rem;
  margin-top: 35px;
  margin-top: 35px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
}

.input-box button.btn-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 🎨 Flatpickr - général */
.flatpickr-calendar {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

/* 🎨 Flatpickr - header */
.flatpickr-months {
  background: transparent;
  color: #fff;
}

/* 🎨 Flatpickr - temps (heure) */
.flatpickr-time {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* ✅ Seulement pour la page index */
.index-page .flatpickr-date,
.index-page .flatpickr-time {
  color: white !important;
}

/* 🎨 Boutons + / - */
.flatpickr-time .flatpickr-time-separator,
.flatpickr-time input {
  color: #ffffff;
  font-size: 1.2rem;
}
input.flatpickr-date:focus,
input.flatpickr-time:focus {
  outline: none !important;
  box-shadow: none !important;
}

.flatpickr-time input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  text-align: center;
  border-color: var(--accent-color);
}

.flatpickr-am-pm {
  color: #ffffff;
  font-size: 1rem;
}

/* Cars section styles */
.cars {
  padding: 6rem 5%;
  background-color: var(--background-color);
}

.heading h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.heading h1::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 1rem auto 0;
}
.text-center {
  color: var(--primary-color);
  font-size: 2.8rem;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

.car-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.car-container .box {
  flex: 1 1 300px;
  background-color: var(--card-background);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all 0.3s ease;
}

.car-container .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.car-container .box i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.car-container .box h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.car-container .box p {
  color: var(--text-color);
  font-size: 1rem;
}

/* Services section styles */

.services {
  padding: 6rem 5%;
  background-color: var(--background-color);
}

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

.service-container .box {
  background-color: var(--card-background);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.service-container .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-container .box-img {
  height: 200px;
  overflow: hidden;
}

.service-container .box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-container .box:hover .box-img img {
  transform: scale(1.1);
}

.service-container .box-content {
  padding: 1.5rem;
}

.service-container .box h3 {
  color: var(--primary-color);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-family: myFont;
  src: url(nordique.ttf);
}

.service-container .features {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.service-container .features span {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

.service-container .features span i {
  margin-right: 5px;
  color: var(--accent-color);
}

.service-container .price {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  font-family: myFont;
  src: url(nordique.ttf);
}

.service-container .price .currency {
  color: var(--primary-color);
}

.service-container .price .period {
  color: var(--accent-color);
}

/* Responsive design */
@media (max-width: 992px) {
  .form-container form {
    flex-wrap: wrap;
  }

  .input-box {
    flex-basis: calc(50% - 0.5rem);
  }

  .btn-sub {
    flex-basis: 100%;
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-headlines h1 {
    font-size: 3rem;
  }

  .input-box {
    flex-basis: 100%;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.car-container .box,
.service-container .box {
  animation: fadeInUp 0.5s ease-out;
}
.map-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}
.map-section h2 {
  color: #333;
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 700;
}
.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
#map {
  height: 400px;
  width: 100%;
}
footer {
  background-color: #000709c4; /* Couleur de fond du footer */
  color: var(--background-color);
  padding: 3rem 5%;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-section {
  flex: 1;
  min-width: 280px; /* ✅ Ajoute cette ligne */
  margin-right: 2rem;
  margin-bottom: 2rem;
}
.footer-logo {
  width: 140px;
  margin-bottom: 20px;
  position: relative; /* Définit une position relative pour permettre le décalage */
  top: -10px; /* Décale le logo vers le haut de 10px */
}
.footer-section h3 {
  margin-bottom: 1rem;
}
.footer-section ul {
  list-style: none;
  padding: 0;
}
.footer-section ul li {
  margin-bottom: 0.5rem;
}
.footer-section ul li a {
  color: var(--background-color);
  text-decoration: none;
}
.contact-form input,
.contact-form textarea {
  border-radius: 5px;

  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
}
.contact-btn {
  background-color: var(--accent-color);
  color: var(--primary-color);
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-btn {
  background-color: #4a90e2; /* Couleur normale du bouton */
  color: #ffffff;
  border: none;
  padding: 15px 30px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease; /* Transition pour les effets */
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 16px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2); /* Ombre initiale */
}

.contact-btn:hover {
  background-color: #3498db; /* Couleur lors du survol */
  transform: translateY(-3px); /* Élève le bouton lors du survol */
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.3); /* Augmente l'ombre lors du survol */
}

.contact-btn:active {
  background-color: #2c6ba0; /* Couleur lors du clic */
  transform: scale(0.98); /* Légère réduction de taille lors du clic */
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1); /* Réduit l'ombre lors du clic */
}
.btn-big.contact-btn {
  background-color: #ffcc00; /* ✅ Couleur de fond (Bleu Foncé) */
  color: #003366; /* ✅ Texte en blanc */
  font-size: 18px;
  font-weight: bold;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* ✅ Effet au survol */
.btn-big.contact-btn:hover {
  background-color: #ffcc00; /* ✅ Change en Jaune au survol */
  color: #003366; /* ✅ Texte devient Bleu */
}
.links ul li a {
  color: #ffffff; /* Couleur normale des liens */
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease; /* Transition pour la couleur et le padding */
  font-size: 18px;
}

.links ul li a:hover {
  color: #4a90e2; /* Changement de couleur au survol */
  padding-left: 5px; /* Décalage léger du lien vers la droite au survol */
}

.calendar-wrapper {
  width: 300px; /* Ajustez la largeur selon vos besoins */
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.calendar-header {
  background-color: #003366; /* Couleur de fond du header */
  color: #ffcc00; /* Couleur du texte */
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendar-nav .nav-button {
  background: none;
  border: none;
  color: #ffcc00; /* Couleur des icônes */
  cursor: pointer;
}

.calendar-nav .nav-button:hover {
  opacity: 0.7; /* Effet de survol */
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  padding: 10px 0;
}

.weekday {
  font-weight: bold;
  color: darkblue; /* Couleur des jours de la semaine */
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.day {
  padding: 15px;
  border: 1px solid #e9ecef;
  transition: background-color 0.3s;
}

.day:hover {
  background-color: #f0f0f0; /* Couleur de survol des jours */
}

.day.selected {
  background-color: #ffcc00; /* Couleur du jour sélectionné */
  color: darkblue; /* Couleur du texte du jour sélectionné */
}

.day.other-month {
  color: #ccc; /* Couleur des jours des mois précédents/suivants */
}
.about-section {
  background-color: var(--background-color);
  padding: 6rem 5%;
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}

.about-content.reveal {
  opacity: 1;
  transform: translateY(0);
}

.about-icon-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.about-icon-container i {
  font-size: 4rem;
  color: var(--accent-color);
}

.about-text h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--card-background);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-10px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent-color);
}
html {
  scroll-behavior: smooth;
}

.stat-label {
  color: var(--primary-color);
  font-size: 0.9rem;
  text-transform: uppercase;
}
.index-page nav .menu a {
  color: var(
    --background-color
  ) !important; /* ✅ Couleur différente pour index.php */
}

/* ✅ Navbar spécifique pour rent.php */
.rent-navbar {
  background-color: #003366; /* ✅ Bleu foncé */
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ✅ Ajustement du logo */
.rent-navbar .brand img {
  height: 60px; /* ✅ Taille du logo */
  width: auto;
}

/* ✅ Ajustement du menu */
.rent-navbar .menu {
  display: flex;
  gap: 20px;
}

/* ✅ Style des liens dans rent.php */
.rent-navbar .menu a {
  color: #ffcc00 !important; /* ✅ Texte jaune */
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

/* ✅ Effet au survol */
.rent-navbar .menu a:hover {
  color: #ffcc00 !important;
}

/* ✅ Bouton Retour */

body {
  padding-top: 10; /* ✅ Ajuste selon la hauteur du navbar */
}
nav {
  position: fixed; /* ✅ Fixe le navbar en haut */
  top: 0;
  left: 0;
  width: 100%;

  padding: 0.5rem 5%;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.car-title {
  color: rgb(1, 1, 59) !important;
}
.datepicker {
  background-color: #ffffff; /* ✅ Fond blanc */
  border: 2px solid #ffcc00; /* ✅ Bordure jaune */
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
  color: #003366; /* ✅ Texte en bleu */
}

/* ✅ Personnalisation des icônes du calendrier */
.datepicker table {
  width: 100%;
}

.datepicker td,
.datepicker th {
  text-align: center;
  padding: 5px;
}

.datepicker td.today {
  background-color: #ffcc00 !important; /* ✅ Mettre en avant la date d'aujourd'hui */
  color: #003366;
  font-weight: bold;
}

.datepicker td.active {
  background-color: #003366 !important; /* ✅ Couleur de sélection */
  color: #ffffff;
}
.btn-rent.unavailable {
  background-color: #aaa; /* Gris pour indiquer l'indisponibilité */
  cursor: not-allowed; /* Curseur interdit */
  opacity: 0.7;
}
.language-switcher {
  position: relative;
  display: inline-block;
  margin-right: 20px; /* Espace avec les autres éléments */
}

.dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.dropdown-btn img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: transform 0.2s ease-in-out;
}

.dropdown-btn:hover img {
  transform: scale(1.1);
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 5px 0;
  z-index: 1000;
  min-width: 130px;
}

.dropdown-content a {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  text-decoration: none;
  color: black;
  transition: background 0.2s ease-in-out;
}

.dropdown-content a img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.dropdown-content a:hover {
  background: rgba(0, 0, 0, 0.1);
}

.language-switcher:hover .dropdown-content {
  display: block;
}
.input-box select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  appearance: none;
  backdrop-filter: blur(5px);
}

.input-box select:focus {
  border-color: var(--accent-color);
  outline: none;
}

.input-box select option {
  color: black;
  background-color: white;
}
.custom-select-box {
  position: relative;
}

.custom-select {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  padding: 0.8rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.3s ease;
}

.custom-select:hover {
  border-color: var(--accent-color);
}

.custom-select .selected::after {
  content: "▾";
  float: right;
  margin-right: 10px;
  color: var(--accent-color);
}

.custom-select .options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(6, 58, 72, 0.727);
  border: 1px solid rgba(6, 58, 72, 0.814);
  border-top: none;
  border-radius: 0 0 5px 5px;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.custom-select .options div {
  padding: 0.8rem;
  cursor: pointer;
  color: #fff;
}

.custom-select .options div:hover {
  background: rgba(7, 7, 7, 0.1);
}
.input-box input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  letter-spacing: 1px;
}
.transparent-input {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.input-group-text {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff;
  border: none;
}
.input-box input[type="date"],
.input-box input[type="time"] {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  cursor: pointer;
}

/* Placeholder style */
.input-box input[type="date"]::placeholder,
.input-box input[type="time"]::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* Focus effect */
.input-box input[type="date"]:focus,
.input-box input[type="time"]:focus {
  border-color: var(--accent-color);
  outline: none;
}

/* Icône calendrier et horloge (Chrome / Edge) */
.input-box input[type="date"]::-webkit-calendar-picker-indicator,
.input-box input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.8;
  cursor: pointer;
}

input[type="time"] {
  font-family: monospace;
  letter-spacing: 1px;
  text-align: center;
}

@media (max-width: 768px) {
  .flatpickr-date,
  .flatpickr-time {
    font-size: 1rem;
    padding: 0.75rem;
  }
}
