@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

/*barre de nav*/
::-webkit-scrollbar{
    width: 8px;
}


::-webkit-scrollbar-thumb{
    width: 5px;
    background-color: antiquewhite;
    border-radius: 6px;
}

body{
    background-color:#262626;
}

.header_menu a{
    text-decoration: none;
    color: #000;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.header_bouton a{
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-right: 15px;
}

ul{
    list-style: none;
}

.header_1{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 23px 0;
    border-bottom: 3px solid #000;
}

.header_2{
    display: flex;
    align-items: center;
    margin: 0 0%;
    padding: 10px 0;
    justify-content: space-between;
    border-bottom: 3px solid #000;
    background-color: aliceblue;
}

.header_logo-contenu{
    display: flex;
    align-items: center;
}
.header_logo img{
    display: flex;
    height: 50px;
    margin-left: 15px;
}


.separation {
    width: 3px;
    height: 30px;
    background-color: #ffa927;
    margin-left: 10px; 
    margin-right: 10px; 
}

.bande-text {
color: #ffa927; 
font-size: 18px;
font-weight: bold;
text-transform: uppercase;
text-decoration: none;
}

.header_bouton{
    display: flex;
    align-items: center;
    gap: 20px; 
}

.recherche-contenu {
    display: flex;
    align-items: center;
    gap: 0; 
    border: 1px solid #ccc;
    border-radius: 25px; 
    overflow: hidden;
    background-color: #fff;
}

.barre-recherche {
    height: 40px; 
    padding: 0 10px;
    border: none;
    outline: none;
    flex-grow: 1;
    font-size: 14px;
    border-radius: 25px 0 0 25px; 
}

.recherche-bouton {
    height: 40px;
    width: 40px;
    border: none;
    background-color: #ffa927; 
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.recherche-bouton:hover {
    background-color: #e58d1f; 
}

.recherche-icon {
    width: 20px; 
    height: 20px;
}

.recherche-bouton:focus {
    outline: none; 
}

.header_menu{
    display: flex;
    align-items: center;
    margin-left: 30%;
    gap: 60px; 
}

.header_menu li{
    margin: 5px;
    padding-bottom: 3px;
    position: relative;
}

.header_menu li a::after {
    position: absolute;
    left: 0;
    bottom: -2px;
    content: "";
    height: 2px;
    width: 0%;
    background-color: #000;
    transition: 0.5s ease-out;
}


.header_menu li a:hover::after {
    width: 100%;
}


.header_bouton a{
    border: 1px solid #fff; 
    padding: 10px 30px;
    transition: 0.5s;
    margin-right: 15px;
}
.header_bouton a:hover{
    background-color: #fff;
    color: #000;
}



/* Bouton hamburger */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 25px;
  height: 20px;
  cursor: pointer;
  margin-right: 15px;
}

.hamburger span {
  display: block;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
}

.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

/* Responsive menu */

@media screen and (max-width: 768px) {
    .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: list-item;
  }
  .hamburger {
    display: flex;
  }

  .header_menu {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 100px; 
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 10;
  }

  .header_menu.active {
    display: flex;
  }

  .bande-text {
    display: none;
  }

  .header_bouton {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-right: 10px;
  }

  .recherche-contenu {
    width: 100%;
    max-width: 250px;
  }

  .header_bouton a {
    padding: 8px 20px;
    text-align: center;
  }

  
  .header_1 {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .header_logo-contenu {
    flex-direction: row;
    align-items: center;
  }
}

/* Footer */
.footer {
    background-color: #000;
    color: #fff;
    padding: 20px 0;
    margin-top: 50px;
}

.footer-contenu {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap; 
}

.footer-section {
    flex: 1;
    margin: 10px;
    min-width: 200px; 
}

.footer-section h2 {
    margin-bottom: 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: #ffa927; 
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 10px 0;
}

.footer-section ul li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffa927; 
}

.footer-boutton {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    border-top: 1px solid #444;
    padding-top: 10px;
}

.social-lien{
    display: flex;
    gap: 15px;
}

.social-lien li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-lien li a:hover {
    color: #ffa927; 
}