/* --- GRK SERVICES CUSTOM HEADER --- */
.grk-header-container {
  margin-top: 50px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 25px;
  z-index: 1000;
}

.grk-navbar {
  width: 95%;
  max-width: 1943px;
  background-color: rgba(245, 245, 245, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 40px;
}

.grk-logo img {
  height: 100px;
  width: 100%;
  display: block;
}

.grk-menu-list {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.grk-menu-list li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 15px;
  transition: 0.3s;
  border-bottom: 2px solid transparent;
}

.grk-menu-list > li > a:hover{
  border-bottom: 2px solid #e3343d;
}

.grk-menu-list li a:hover {
  color: #e3343d;
}

.grk-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.grk-lang {
  font-family: "Montserrat", sans-serif; /* Ou votre police actuelle */
  font-size: 16px;
  font-weight: 700;
  color: black;
  display: flex;
  align-items: center;
  gap: 5px;
}

.grk-lang a {
  text-decoration: none;
  color: #888;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* État au survol */
.grk-lang a:hover {
  color: #e3343d;
  background: rgba(227, 52, 61, 0.05);
  border-bottom: 2px solid #e3343d;
}

/* La langue active (Style fond rose/rouge clair) */
.grk-lang a.active {
  color: #e3343d;
  background: #ffebee; /* Le rose très clair de l'image */
}

/* On stylise le séparateur s'il y en a un */
.grk-lang span.sep {
  color: #ddd;
  font-weight: 300;
}

.grk-btn-devis {
  background: #e3343d;
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  transition: transform 0.2s;
}

.grk-btn-devis:hover {
  transform: scale(1.05);
}

/***************************************************** CHEVRON *********************************************************************/
/* Positionnement pour permettre le menu déroulant */
.grk-menu-list li {
  position: relative;
  padding: 15px 0; /* Zone de confort pour le survol */
}

/* Le chevron */
/*.grk-arrow {*/
/*  font-size: 20px;*/
/*  vertical-align: top;*/
/*  margin-left: 5px;*/
/*  display: inline-block;*/
/*  transition: transform 0.3s;*/
/*}*/

/* On fait tourner le chevron quand on survole le parent */
/*.grk-menu-list li:hover > a .grk-arrow {*/
/*  transform: rotate(180deg);*/
/*}*/

/* Style du sous-menu (Caché) */
.grk-menu-list .sub-menu {
  display: none;
  position: absolute;
  top: 100%; /* Juste en dessous du lien */
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  min-width: 200px;
  padding: 10px 0;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  list-style: none;
  margin: 0;
  z-index: 1000;
}

/* Ciblage de l'élément parent (Services) */
.grk-menu-list .menu-item-218 {
  position: relative; /* Indispensable pour positionner le sous-menu */
}

/* Création du chevron en CSS pur */
.grk-menu-list .menu-item-218 > a::after {
  content: "";
  margin-top: -7px;
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-left: 10px;
  vertical-align: middle;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  /*transform: rotate(45deg) translateY(-2px);*/
}

.grk-menu-list .menu-item-218:hover > a::after {
  transform: rotate(-135deg); /* Oriente vers le haut */
  margin-top: 4px;
  border-color: #e3343d;
  /*transform: rotate(-135deg) translateY(-2px);*/
}

/* --- LOGIQUE DU SOUS-MENU --- */

/* On cache le sous-menu par défaut */
.grk-menu-list .menu-item-218 .sub-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: #ffffff;
  min-width: 200px;
  padding: 10px 0;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

/* Affichage fluide au survol */
.grk-menu-list .menu-item-218:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Style des liens du sous-menu */
.grk-menu-list .menu-item-218 .sub-menu li a {
  padding: 10px 20px;
  display: block;
  font-size: 14px;
  color: #333;
  transition: background 0.2s;
}

.grk-menu-list .menu-item-218 .sub-menu li a:hover {
  background-color: #ffebee;
  color: #e3343d;
}
