/* CSS Document */

.toggle,
[id^=drop] {
	display: none;
}

/* Giving a background-color to the nav container. */
nav { 
	margin:0;
	padding: 0;
	background-color: #fff;
	width:100%;
	font-family:arial;
	text-transform:uppercase;
	z-index:5;
	position:sticky;
	top:0px;
	box-shadow: 0 3px 5px -1px rgba(0,0,0,0.1),0 2px 1px -1px rgba(0,0,0,0.05);}

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav:after {
	content:"";
	display:table;
	clear:both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:relative" */
nav ul {
    display: flex;            /* active Flexbox */
    justify-content: center;  /* centre horizontalement tous les li */
    align-items: center;      /* centre verticalement si besoin */
    padding: 0;
    margin: 0;
    list-style: none;         /* corrige ton "list-style" incomplet */
    position: relative;
}

	
/* Positioning the navigation items inline */
nav ul li {
	margin: 0px;
	background-color: #fff;
	}

/* Styling the links */
nav a {
	display:block;
	padding:14px 40px;	
	color:#393939;
	font-size:14px;
	text-decoration:none;
}

nav a:visited, nav a:active, nav a:focus {
	color:#393939;
	text-decoration:none;
}



nav ul li ul li:hover { background: #000000; }

/* Background color change on Hover */
nav a:hover { 
	background-color: #f5f5f5;
	text-decoration:none;
	color:#ff9900;
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
	display: none;
	position: absolute; 
	/* has to be the same number as the "line-height" of "nav a" */
	z-index:6;
	box-shadow:0 5px 24px rgba(0,0,0,0.2);

}
	
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
}
	
/* Fisrt Tier Dropdown */
nav ul ul li {
	width:100%;
	float:none;
	display:list-item;
	position: relative;
}

nav ul ul li a:hover {
	background-color:#f5f5f5;
}

/* Second, Third and more Tiers	
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul li {
	position: relative;
	top:-45px;
	/* has to be the same number as the "width" of "nav ul ul li" */ 
	left:320px; 
}




/* Masquer le logo par défaut (desktop) */
.nav-logo {
  display: none;
}




/* Media Queries
--------------------------------------------- */

@media all and (max-width : 1200px) {


nav a {	font-size:16px;padding:14px}
	/* Hide the navigation menu by default */
	/* Also hide the  */
	

	/* Stylinf the toggle lable */
	.toggle {
		display: block;
		background-color: #ffffff;
		padding:14px 14px;	
		color:#393939;
		font-size:16px;
		text-decoration:none;
		border:none;
	}

	.toggle:hover {
		background-color: #f5f5f5;
	}

	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul {
		display: block;
	}

	/* Change menu item's width to 100% */
	nav ul li {
		display: block;
		width: 100%;
		background-color:#ffffff;}
		
	nav ul ul {box-shadow:none;}

	nav ul ul .toggle,
	nav ul ul a {
		padding: 0 40px;
		color:#393939;
	}

	nav ul ul ul a {
		padding: 0 80px;
	}

	nav a:hover,
 	nav ul ul ul a {
		background-color: #f5f5f5;
		text-decoration:none;
	}

nav a:visited {
	color:#393939;
	text-decoration:none;
}

	nav ul li ul li .toggle,
	nav ul ul a,
  nav ul ul ul a{
		padding:14px 40px;	
		color:#393939;
		font-size:15px; 
	}
  
  
	nav ul li ul li .toggle,
	nav ul ul a {
		background-color: #fff;
	}

	/* Hide Dropdowns by Default */
	nav ul ul {
		float: none;
		position:static;
		color: #ffffff;
		/* has to be the same number as the "line-height" of "nav a" */
	}
		
	/* Hide menus on hover */
	nav ul ul li:hover > ul,
	nav ul li:hover > ul {
		display: none;
	}
		
	/* Fisrt Tier Dropdown */
	nav ul ul li {
		display: block;
		width: 100%;
	}

	nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */ 

	}



.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* hamburger à gauche */
  position: relative;           /* conteneur pour le logo */
  height: 50px;                 /* fixe la hauteur du nav */
  padding: 0 15px;
}

.nav-logo {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

/* Empêcher le hover sur le logo */
.nav-logo:hover {
    background-color: transparent; /* pas de couleur de fond */
}

.nav-logo img {
    height: 40px; /* ajuste la taille du logo ici */
    width: auto;  /* conserve les proportions */
}

  /* Menu mobile caché par défaut */
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }

nav ul.menu {

    flex-direction: column;
    width: 100%;
  }
  
/* Menu visible au clic sur hamburger */
  #drop:checked + ul.menu {
    display: flex;
	gap:10px;
	margin-top:10px;
  }


/* Taille de l'icône hamburger */
.toggle .fa-bars {
    font-size: 21px; /* valeur plus grande, ex: 28px ou 30px selon ton goût */
    line-height: 1;  /* ajuste si nécessaire pour centrer verticalement */
}

.no-mobile {display:none;}


.logo-sunset {display:none;}

}

@media all and (max-width : 330px) {

	nav ul li {
		display:block;
		width: 94%;
	}

}

