/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #fff;
  border-bottom: 2px solid #ddd;
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Barre de recherche */
.header-search-container {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
}

.search-field {
  border: none;
  padding: 8px;
  width: 150px;
  outline: none;
}

.search-btn {
  border: none;
  background: #007bff;
  color: white;
  padding: 8px 12px;
  cursor: pointer;
}

/* Menu */
.nav-container {
  display: flex;
  align-items: center;
  position: relative;
}

/* 3 Lignes Menu */
.menu-toggle {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  margin-left: auto;
}

/* Navigation */
.nav-menu {
  list-style: none;
  display: none;
  flex-direction: column;
  position: absolute;
  right: 0;
  top: 50px;
  background: white;
  padding: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  width: 200px;
}

.nav-menu.show {
  display: flex;
}

.nav-menu li {
  padding: 10px 0;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 12px;
  transition: color 0.3s;
  display: block;
}

.nav-menu a:hover {
  color: #007bff;
}

/* Desktop Styling */
@media (min-width: 768px) {
  .nav-menu {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    box-shadow: none;
    width: auto;
  }
  
  .nav-menu li {
    padding: 0;
  }
  
  .menu-toggle {
    display: block; /* Ensuring it appears on desktop */
  }
}
