/* 🎨 Variables de couleur */
:root {
  --accent: #f0b65a;
  --bg: #0d0d0d;
  --text: #f5f5f5;
  --muted: #a5a5a5;
  --border: #2a2a2a;
  --surface: #151515;
  --shadow: rgba(0, 0, 0, 0.4);
}

body.light {
  --bg: #ffffff;
  --text: #111111;
  --muted: #555555;
  --border: #e0e0e0;
  --surface: #f9f9f9;
  --shadow: rgba(0, 0, 0, 0.1);
}

/* 🌍 Base */
/*Logo*/
.brand img {
  height: 65px;   /* taille du logo */
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

/* Petit effet au survol */
.brand img:hover {
  transform: scale(1.05) rotate(-2deg);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.4s, color 0.4s;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}

/* 🔝 Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s;
}
body.light header {
  background: rgba(255, 255, 255, 0.85);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5%;
  max-width: 1300px;
  margin: 0 auto;
}

/* 🔹 Logo */
.brand {
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 🔹 Menu */
/* Lien du menu par défaut */
.menu a {
  position: relative;
  color: inherit;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

/* 🎯 Lien actif (page en cours) */
.menu a.active {
  color: #fff;
  background: linear-gradient(135deg, #f0b65a, #e67e22);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(240, 182, 90, 0.6);
  transform: scale(1.05);
  animation: glow 1.5s infinite alternate;
}

/* ✨ Glow doux autour du bouton actif */
@keyframes glow {
  from { box-shadow: 0 0 10px rgba(240, 182, 90, 0.6); }
  to   { box-shadow: 0 0 20px rgba(230, 126, 34, 0.8); }
}

/* 🖱️ Hover sur les autres liens */
.menu a:not(.active):hover {
  color: #f0b65a;
  transform: translateY(-2px);
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.menu a {
  font-weight: 500;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s;
}
.menu a:hover {
  color: #871e13;;
}
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #871e13;
  transition: width 0.3s ease;
}
.menu a:hover::after {
  width: 100%;
}

/* 🔹 Boutons spéciaux */
.menu .cta {
  padding: 5px 20px;
  border-radius: 30px;
  background: #871e13;
  color: #111;
  font-weight: 700;
  transition: all 0.3s ease;
}
.menu .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--shadow);
}

.menu .admin-btn {
  padding: 5px 20px;
  border-radius: 40px;
  border: 2px solid #871e13;;
  color: #871e13;;
  font-weight: 700;
  transition: all 0.3s ease;
}
.menu .admin-btn:hover {
  background: #871e13;;
  border: 2px solid #871e13;;
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(240, 182, 90, 0.3);
}

/* 🔹 Actions (droite) */
.actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.theme-toggle {
  padding: 8px 14px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: white;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}
.theme-toggle:hover {
  transform: rotate(20deg);
  background: #871e13;;
  color: #111;
}
.hamburger {
  display: none;
  font-size: 26px;
  color: var(--text);
}

/* 📱 Responsive */
@media (max-width: 950px) {
  .menu {
    position: absolute;
    top: 70px;
    right: 5%;
    flex-direction: column;
    background: var(--surface);
    width: 220px;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 20px var(--shadow);
    display: none;
  }
  body.light .menu {
    background: #fff;
  }
  .menu.active {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }
  .hamburger {
    display: block;
  }
  .menu .cta,
  .menu .admin-btn {
    width: 100%;
    text-align: center;
  }
}

/* 🔽 Animation menu mobile */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*Section numero 1 de la boite de recherche */
/* 🏠 Section Hero */
.hero {
  position: relative;
  height: 100vh; /* Hero prend toute la hauteur de l’écran */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* 🎥 Vidéo */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* La vidéo remplit tout */
  z-index: 0;
}

/* Overlay sombre pour lisibilité */
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Contenu Hero */
.hero-grid {
  position: relative;
  z-index: 2; /* passe au-dessus de la vidéo */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 900px;
  padding: 20px;
}

/* Titre */
.headline {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
}   
.headline .highlight {
  color: var(--accent);
  text-shadow: 0 0 15px rgba(240,182,90,.4);
}

/* Sous-titre */
.sub {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 20px;
}
/* 🔍 Barre de recherche responsive */ 
.searchbar-wrapper { width: 90%; } 
.searchbar {
   display: flex;
    flex-wrap: wrap; 
    gap: 12px;
     padding: 16px;
      border-radius: 30px;
       border: 1px solid var(--border); 
       background: var(--surface); 
       box-shadow: 0 8px 24px rgba(0,0,0,.3);
         } 
         .searchbar select, .searchbar input 
         { 
          flex: 1 1 150px; 
          min-width: 120px;
           padding: 12px; 
           border: 1px solid var(--border);
            border-radius: 8px;
             background: #111; color: var(--text); transition: 0.3s;
             } body.light .searchbar input, body.light .searchbar select
              { background: #fff; color: #111; } 
              .searchbar button
               { padding: 12px 22px; border-radius: 40px; background: #871e13; color: #ffffff;
                 font-weight: 700; cursor: pointer; flex: 1 1 120px; min-width: 120px; transition: .1s; }
                  .searchbar button:hover
                   {
                     transform: translateY(-2px);
                      box-shadow: 0 6px 16px rgba(0,0,0,.25); 
                    } /* 📱 Responsive */ @media (max-width: 950px) 
                    { .menu { display: none; flex-direction: column;
                       background: var(--surface); padding: 20px; 
                       border-radius: 10px; } body.light .menu { background: #fff; }
                        .menu.active { display: flex; margin-top: 15px; } 
                        .hamburger { display: block; } 
                        .headline { font-size: 32px; } .hero-subimg img { max-width: 100%; } } @media (max-width: 600px) { .headline { font-size: 26px; } .sub { font-size: 16px; } .searchbar select, .searchbar input, .searchbar button { flex: 1 1 100%; } }

/* 🌟 About Section */
.about {
  padding: 100px 5%;
  background: var(--bg);
  color: var(--text);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Image */
.about-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  object-fit: cover;
  transition: transform 0.4s ease;
}
.about-img img:hover {
  transform: scale(1.05);
}

/* Texte */
.section-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 20px;
}
.section-title .highlight {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(240,182,90,0.4);
}
.about-text p {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.7;
}

/* Liste avec icônes */
.about-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text);
}
.about-list i {
  color: var(--accent);
  font-size: 20px;
}

/* Bouton */
.btn-primary {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 40px;
  background: linear-gradient(135deg, #871e13, #f0b65a);
  color: #fff;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(240,182,90,0.4);
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-text {
    order: 2;
  }
  .about-img {
    order: 1;
  }
}

/* 🚗 Services Section */
.services {
  padding: 100px 5%;
  background: var(--surface);
  text-align: center;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
}
.section-title .highlight {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(240,182,90,0.4);
}
.section-subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

/* Card */
.service-card {
  background: var(--bg);
  padding: 40px 30px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform 0.4s, box-shadow 0.4s;
}
.service-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 18px 40px rgba(240,182,90,0.4);
}

/* Icon */
.service-card .icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--accent);
  display: inline-block;
  transition: transform 0.3s;
}
.service-card:hover .icon {
  transform: rotate(8deg) scale(1.1);
}

/* Texte */
.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 700;
}
.service-card p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 30px;
  }
  .section-subtitle {
    font-size: 16px;
  }
  .service-card {
    padding: 28px 20px;
  }
}
/* ⭐ Reviews Section */
.reviews {
  padding: 100px 5%;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.reviews .section-title {
  font-size: 36px;
  margin-bottom: 16px;
}
.reviews .section-subtitle {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 50px;
}

/* Carrousel */
.reviews-slider {
  position: relative;
  width: 100%;
}
.slider-track {
  display: flex;
  gap: 30px;
  animation: scrollReviews 25s linear infinite;
  width: max-content;
}
.review-card {
  min-width: 320px;
  max-width: 360px;
  background: var(--surface);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}
.review-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(240,182,90,0.35);
}

/* Animation défilement */
@keyframes scrollReviews {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Header avis */
.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 15px;
}
.review-header .avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--accent);
}
.review-header h3 {
  font-size: 18px;
  font-weight: 700;
}
.stars {
  display: block;
  font-size: 16px;
  color: var(--accent);
  margin-top: 4px;
}

/* Texte */
.review-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Formulaire d’ajout */
.add-review {
  margin-top: 60px;
  background: var(--surface);
  padding: 30px;
  border-radius: 18px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.add-review h3 {
  margin-bottom: 20px;
  font-size: 22px;
}
.add-review form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.add-review input,
.add-review select,
.add-review textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  resize: none;
}
.add-review button {
  padding: 12px 22px;
  border-radius: 40px;
  background: #871e13;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}
.add-review button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

/* Responsive */
@media (max-width: 768px) {
  .slider-track {
    animation: scrollReviews 40s linear infinite;
  }
  .review-card {
    min-width: 280px;
    padding: 20px;
  }
}

/* Bouton WhatsApp flottant */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: white;
  font-size: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 1.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

/* Animation pulsante */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* 🌍 Footer moderne */
.footer-modern {
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  color: #f5f5f5;
  padding: 60px 8% 20px;
  margin-top: 80px;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
}

/* Effet déco */
.footer-modern::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(240,182,90,0.25), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.footer-modern::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(135,30,19,0.25), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}
/* 🌍 FOOTER GLOBAL */
.footer-modern {
  background: #111; /* mode sombre */
  color: #fff;
  padding: 50px 8% 20px;
}

.footer-box {
  margin-bottom: 25px;
}

/* ☀️ Mode clair */
body.light .footer-modern {
  background: #fdfdfd; /* fond blanc cassé */
  color: #333; /* texte foncé */
}

body.light .footer-modern a {
  color: #871e13; /* liens bordeaux */
}

body.light .footer-box h3 {
  color: #871e13; /* titres en bordeaux */
}

body.light .footer-box p {
  color: #444; /* texte plus lisible */
}

body.light .footer-bottom {
  background: #f7f7f7; /* gris très clair */
  color: #555;
  border-top: 1px solid #ddd;
}

/* 🔹 Logo & Brand */
.footer-box .brand {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent, #fff);
  margin-bottom: 12px;
}

.footer-box p {
  color: #ccc;
  font-size: 15px;
  margin-bottom: 10px;
}

/* 🌐 Lien site web */
.footer-link {
  display: inline-block;
  margin-top: 5px;
  color: #f0b65a;
  font-weight: 600;
  transition: 0.3s;
}
.footer-link:hover {
  color: #fff;
  text-decoration: underline;
}
body.light .footer-link {
  color: #871e13;
}
body.light .footer-link:hover {
  color: #333;
}

/* 📑 Liens de navigation */
.footer-box h3 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #f0b65a;
  font-weight: 600;
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 8px;
}

.footer-box ul li a {
  color: #bbb;
  font-size: 15px;
  transition: 0.3s;
}
.footer-box ul li a:hover {
  color: #f0b65a;
  padding-left: 4px;
}

body.light .footer-box ul li a {
  color: #444;
}
body.light .footer-box ul li a:hover {
  color: #871e13;
}

/* 📱 Réseaux sociaux */
.socials {
  display: flex;
  gap: 15px;
  margin: 12px 0;
}

.socials a {
  font-size: 26px;
  color: #f5f5f5;
  transition: 0.3s ease;
}
.socials a:hover {
  color: #f0b65a;
  transform: translateY(-3px) scale(1.2);
}

body.light .socials a {
  color: #871e13;
}
body.light .socials a:hover {
  color: #333;
}

/* 🗺️ Map */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(0,0,0,0.4);
}

/* ⬇️ Bas du footer */
.footer-bottom {
  margin-top: 35px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 15px;
  font-size: 14px;
  color: #aaa;
}

.footer-bottom span {
  color: #f0b65a;
  font-weight: 600;
}
body.light .footer-bottom span {
  color: #871e13;
}
/*La page de contact*/
.contact-modern {
  padding: 90px 8%;
  background: linear-gradient(135deg, #0d0d0d, #1b1b1b);
  color: #fff;
  margin-bottom: 0;      /* supprime l'espace en dessous */
}

body.light .contact-modern {
  background: #f9f9f9;
  color: #111;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header h2 {
  font-size: 34px;
  color: var(--accent);
  margin-bottom: 12px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}

.contact-box {
  background: rgba(255,255,255,0.05);
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: transform 0.3s;
}

body.light .contact-box {
  background: #fff;
  border: 1px solid #ddd;
}

.contact-box:hover {
  transform: translateY(-5px);
}

/* 📝 Formulaire */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
  transition: 0.3s;
}

body.light .contact-form input,
body.light .contact-form textarea {
  background: #fdfdfd;
  color: #111;
  border: 1px solid #ddd;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 2px var(--accent);
}

/* ✨ Bouton animé */
.btn-animated {
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
  animation: pulse 1.5s infinite;
}

.btn-animated:hover {
  background: #a22a1d;
  transform: translateY(-3px);
}

/* Effet pulsation */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(240,182,90,0.6); }
  70% { box-shadow: 0 0 0 15px rgba(240,182,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(240,182,90,0); }
}

/* 📍 Infos */
.contact-info h3 {
  margin-bottom: 12px;
  color: var(--accent);
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 15px 0 25px;
}

.contact-info ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-info i {
  color: var(--accent);
  font-size: 18px;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
}

/* 📱 Responsive */
@media (max-width: 950px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
}
.footer-modern {
  margin-top: 0;         /* colle le footer directement */
}


/*La page de Explore*/

.explore {
  padding: 90px 8%;
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  color: #fff;
}

body.light .explore {
  background: #f9f9f9;
  color: #111;
}

.explore-header {
  text-align: center;
  margin-bottom: 50px;
}
.explore-header h2 {
  font-size: 34px;
  color: var(--accent, #f0b65a);
  margin-bottom: 10px;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.explore-card {
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

body.light .explore-card {
  background: #fff;
  border: 1px solid #ddd;
}

.explore-card:hover {
  transform: translateY(-5px);
}

/* Slider */
.car-slider {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.car-slider img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.car-slider img.active {
  opacity: 1;
}

/* Infos */
.explore-info {
  padding: 15px;
}
.explore-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.explore-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.explore-info ul li {
  margin-bottom: 6px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Bouton */
.btn-explore {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--accent, #871e13);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}
.btn-explore:hover {
  background: #f0b65a;
  color: #111;
}
/*Pour new voiture*/
/* Badge NEW */
.badge-new{
  position:absolute;
  top:12px;
  left:12px;
  z-index:2;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.5px;
  text-transform:uppercase;
  color:#111;
  background: linear-gradient(135deg, #f0b65a, #ffdf8a);
  box-shadow: 0 6px 18px rgba(240,182,90,.45), 0 0 0 2px rgba(17,17,17,.25) inset;
  animation: glowPulse 2s ease-in-out infinite;
}

/* Petit halo animé */
@keyframes glowPulse{
  0%   { box-shadow: 0 6px 18px rgba(240,182,90,.45), 0 0 0 0 rgba(240,182,90,.45);}
  60%  { box-shadow: 0 10px 26px rgba(240,182,90,.6), 0 0 0 10px rgba(240,182,90,0);}
  100% { box-shadow: 0 6px 18px rgba(240,182,90,.45), 0 0 0 0 rgba(240,182,90,0);}
}

/* Option : souligner visuellement la carte nouvelle */
.explore-card.is-new{
  outline: 2px solid rgba(240,182,90,.35);
  outline-offset: 0;
  transition: outline-color .3s, transform .3s;
}
.explore-card.is-new:hover{
  transform: translateY(-6px);
  outline-color: rgba(240,182,90,.6);
}

/* Mode clair : garder le badge lisible */
body.light .badge-new{
  color:#111;
  background: linear-gradient(135deg, #ffd884, #ffe7b3);
}

/*La page de Reservation*/
/* Section Réservation */
.reservation-section {
  padding: 80px 8%;
  background: linear-gradient(135deg, #0d0d0d, #1c1c1c);
  color: #fff;
}

body.light .reservation-section {
  background: #f9f9f9;
  color: #111;
}

.reservation-header {
  text-align: center;
  margin-bottom: 40px;
}

.reservation-header h2 {
  font-size: 34px;
  margin-bottom: 10px;
  color: var(--accent, #f0b65a);
}

.reservation-form {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 6px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group input,
.form-group select {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  outline: none;
  transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  box-shadow: 0 0 0 2px var(--accent, #f0b65a);
}

body.light .form-group input,
body.light .form-group select {
  background: #fff;
  border: 1px solid #ddd;
  color: #111;
}

.form-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-options {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}

.btn-reserve {
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  background: var(--accent, #f0b65a);
  color: #111;
  cursor: pointer;
  transition: 0.3s;
  animation: pulse 2s infinite;
}

.btn-reserve:hover {
  background: #a22a1d;
  color: #fff;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  .form-inline {
    grid-template-columns: 1fr;
  }
}


/*La page Admin*/
/* 🌙 Fond */
.admin-body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #0d0d0d, #1b1b1b);
  color: #fff;
}

body.light.admin-body {
  background: #f9f9f9;
  color: #111;
}

/* 📦 Box de login */
.login-container {
  max-width: 380px;
  width: 100%;
}

.login-box {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.4);
  text-align: center;
}

body.light .login-box {
  background: #fff;
  border: 1px solid #ddd;
}

/* 🔹 Header */
.login-header img.logo {
  max-width: 90px;
  margin-bottom: 15px;
}

.login-header h2 {
  margin: 5px 0;
  color: var(--accent, #f0b65a);
}

.login-header p {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 20px;
}

/* 📝 Inputs */
.login-form .form-group {
  text-align: left;
  margin-bottom: 18px;
}

.login-form label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.login-form input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

body.light .login-form input {
  background: #fdfdfd;
  border: 1px solid #ddd;
  color: #111;
}

/* 🔘 Bouton */
.btn-login {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  background: #a22a1d;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.btn-login:hover {
  background: #871e13;
  transform: translateY(-3px);
}

/*Dans la partie de car status*/
/* Dates réservées en rouge */
.reserved-date {
  background: #ff4d6d !important;
  color: #fff !important;
  border-radius: 50% !important;
  pointer-events: none;
}

/*Pour le caledrei rouge si la voiture n'est pas disponible*/
.reserved-date {
  background: red !important;
  color: white !important;
  pointer-events: none; /* empêche de cliquer */
}

/* Dates réservées en rouge */
.flatpickr-day.reserved-date {
  background: #e74c3c !important;
  color: white !important;
  border-radius: 50%;
}
/*Stylish Menu part 
