/* ----------------------------- */
/* HEADER STYLES FOR FANBRUSH    */
/* ----------------------------- */

.top-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  padding: 10px 20px;
  font-family: Arial, sans-serif;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 10px;
}

/* Logo */
.logo img {
  height: 40px;
}

/* Drapeaux langue */
.lang-flags {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lang-flags a img {
  height: 18px;
  width: auto;
  transition: opacity 0.2s;
}

/* Menu principal (desktop) */
.menu-items {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #f0f0f0;
}

/* Langue */
.lang-select {
  padding: 6px 8px;
  border: 1px solid #fff;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* ----------------------------- */
/* RESPONSIVE - MOBILE           */
/* ----------------------------- */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
  }

  .logo {
    order: 1;
  }

  .logo img {
    height: 36px;
  }

  .hamburger {
    display: block;
    order: 2;
    font-size: 28px;
	transform: translateY(-2px);
  }

  .lang-select {
    order: 3;
    font-size: 14px;
    padding: 4px 6px;
    border-color: #fff;
    color: #fff;
    background: transparent;
  }
  
  .lang-flags a img {
  height: 12px;
  width: auto;
  transition: opacity 0.2s;
}

  .menu-items {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    padding: 10px 0;
    border-top: 1px solid #444;
    margin-top: 10px;
  }

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

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 20px;
  }

  .nav-links a {
    color: white;
  }
}
