body {
  margin: 0;
  font-family: 'Playfair Display', serif;
  background-color: black;
  color: white;
}

header {
  position: fixed; /* 🔁 Était absolute */
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  z-index: 1000;

}


.background-bar {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.344);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: -1;
}


/* Menu et Langues */
.menu,
.dealer {
  right: 70px;
  color: rgb(255, 255, 255);
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.4s ease;
}

.menu.scrolled,
.dealer.scrolled {
  color: white;
}

/* Logo */
.logo {
  width: 33%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  max-height: 50px;
}

.btn:hover {
  background: #ddd;
}

/* MENU HAMBURGER – VERSION GAUCHE PLEIN ÉCRAN */
#hamburger-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 35%;
  background-color: rgba(0, 0, 0, 0.144);
  backdrop-filter: blur(8px);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 9999;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}


#hamburger-menu.visible {
  transform: translateX(0);
}

#hamburger-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

#hamburger-menu ul li {
  text-align: center;
  margin-bottom: 20px;
}

#hamburger-menu ul li a {
  display: block;
  color: white;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  padding: 15px;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Hover par défaut dans hamburger menu → bleu */
#hamburger-menu ul li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #d4af37;
}

#hamburger-menu.visible ul li {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInLinks 0.4s ease forwards;
}

#hamburger-menu.visible ul li:nth-child(1) { animation-delay: 0.1s; }
#hamburger-menu.visible ul li:nth-child(2) { animation-delay: 0.2s; }
#hamburger-menu.visible ul li:nth-child(3) { animation-delay: 0.3s; }
#hamburger-menu.visible ul li:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInLinks {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.close-icon {
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 28px;
  color: white;
  cursor: pointer;
  z-index: 10001;
}


/* Langues */
.dealer {
  position: relative;
}

/* Style du bouton "Languages" */
.languages {
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.2);
}

.languages:hover {
  background-color: rgba(0, 0, 0, 0.4);
}

/* Style du menu déroulant */
/* Bouton Languages avec plus de transparence */
.languages {
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.1); /* Plus transparent */
}

.languages:hover {
  background-color: rgba(0, 0, 0, 0.2); /* Léger assombrissement au survol */
}

/* Menu déroulant avec plus de transparence */
.language-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 10px 0;
  min-width: 160px;
  display: none;
  z-index: 10;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Éléments du menu */
.language-dropdown li {
  padding: 8px 20px;
  list-style: none;
}

.language-dropdown li a {
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  font-weight: 500;
}

/* Survol : couleur jaune doré et petit décalage */
.language-dropdown li a:hover {
  color: #ffd700;
  transform: translateX(5px);
}

/* Au survol, les langues doivent aussi avoir la bonne couleur */
.dealer .language-dropdown li a {
  color: inherit; /* hérite de .dealer */
}


/* Garder "Langues" en blanc */
.dealer-label {
  color: white;
}

/* Par défaut (section 1), liens en bleu */
.dealer .language-dropdown li a {
  color: #fff;
}

/* En section 2, liens deviennent or */
.dealer.gold .language-dropdown li a {
  color: #fff;
}

/* Hover par défaut (section 1 → bleu) */
.dealer .language-dropdown li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #d4af37;
}
*:not(input):not(textarea):not(select) {
  cursor: none !important;
}


/* CURSEUR PERSONNALISÉ */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: transparent;
  border: 2px solid white;
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.15s ease, background-color 0.15s ease, border 0.15s ease;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.custom-cursor.click {
  transform: translate(-50%, -50%) scale(1.5);
}

.custom-cursor.hover {
  transform: translate(-50%, -50%) scale(1.5);
}

/* Effet hover (facultatif pour des liens) */
a:hover ~ .custom-cursor,
button:hover ~ .custom-cursor {
  transform: translate(-50%, -50%) scale(1.5);
}

.video-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 2rem;
  background: rgba(0, 0, 0, 0.6);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.content p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: white;
}

.highlight {
  color: #FFD700;
  font-weight: bold;
}


.map-section {
  padding: 4rem 2rem 6rem;
  text-align: center;
  background-color: black;
}

.map-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #d4af37;
  font-weight: bold;
  letter-spacing: 1px;
}

#map {
  height: 500px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid rgba(212, 175, 55, 0.5); /* bord or léger */
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #000;
  animation: fadeInMap 1s ease-in-out;
}

#map:hover {
  transform: scale(1.01);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

@keyframes fadeInMap {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.leaflet-control-zoom,
.leaflet-control-attribution {
  display: none !important;
}

.leaflet-popup-content-wrapper {
  background-color: #222;
  color: #fff;
  border-radius: 8px;
}

.leaflet-popup-tip {
  background-color: #222;
}

.flags-section {
  text-align: center;
  padding: 40px 20px;
  background: #111;
  color: #fff;
}

.flags-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #00ffcc;
}

.flags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.flags img {
  width: 80px;
  border: 2px solid #00ffcc;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.flags img:hover {
  transform: scale(1.1);
}




.footer {
    background-color: #111;
    color: #fff;
    padding: 40px 20px;
    font-family: 'Playfair Display', serif;
    font-size: 14px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    margin: 10px 20px;
    min-width: 200px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #fff;
}

.footer-column p {
    margin: 0 0 10px;
    color: #aaa;
}

/* Scrollbar pour WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0e0e0e; /* fond sombre */
}

::-webkit-scrollbar-thumb {
  background-color: #d4af37; /* or */
  border-radius: 10px;
  border: 2px solid #0e0e0e;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #4b4b49 #0e0e0e;
}

.button-container {
  text-align: center;
  margin: 2rem 0 4rem; /* espace au-dessus et en-dessous */
}

.btn-services {
 display: inline-block;
    background-color: transparent;
    color: #e2c675;
    border: 1px solid #e2c675;
    padding: 12px 25px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
    font-weight: bold;
}

.btn-services:hover {
  background-color: #e2c675;
  color: #111;
}

@media (max-width: 768px) {
  .custom-cursor {
    display: none !important;
  }
}

@media (max-width: 768px) {
  #hamburger-menu {
  width: 100%;
  }
}

@media (max-width: 768px) {
  .language-dropdown {
    left: auto;
    right: 0;
   
  }
  
  .language-dropdown {
    min-width: 140px;
    width: auto;
  }
}

@media (max-width: 768px) {
  .menu {
    order: 1;
    font-size: 24px;
  }

  .logo {
    order: 2;
    margin-right: 70px;

    /* Centrer le logo ou laisser normal */
  }

  .dealer {
    order: 3;
    font-size: 18px;
  }

  /* Cacher le mot Languages, garder l’icône 🌐 seulement */
  .dealer-label span[data-i18n="languages"] {
    display: none;
  }

  .menu span {
    display: none;
  }
}


.map-info-top, .map-info-bottom {
  text-align: center;
  color: white;
  font-family: 'Playfair Display', serif;
  margin: 20px auto;
  max-width: 800px;
  padding: 0 15px;
}

.map-info-top h2 {
  font-size: 1.6em;
  color: gold;
}

.map-info-bottom p {
  font-size: 1.2em;
  color: #ccc;
}