/* ======================================================
   HEADER GLOBAL – NETEJA I ALINEACIÓ
   ====================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px; /* Alçada estàndard per a totes les pàgines */
  z-index: 10000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);
  border: none !important;
  box-shadow: none !important; 
  font-family: 'Merriweather', serif;
}

.navbar {
  display: flex;
  justify-content: center; 
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  height: 100%;
  padding: 0 2rem;
  position: relative;
}

.menu-left {
  position: relative;
  display: flex;
  justify-content: center;
}

/* === BOTÓ HAMBURGUESA === */
.dropdown-btn {
  background: none;
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px 10px;
  display: flex;
  align-items: center;
}

/* === MENÚ DESPLEGABLE === */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; 
  left: 50%;
  transform: translateX(-50%); 
  min-width: 220px;
  background: #111;
  list-style: none !important;
  margin: 0 !important;
  padding: 5px 0 !important; 
  border: none !important; 
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
  z-index: 10000;
}

/* Forcem que els elements de la llista no heretin marges de style.css */
.dropdown-content li {
  margin: 0 !important; 
  padding: 0 !important;
  line-height: 1 !important;
  list-style-type: none !important;
}

.dropdown-content.show {
  display: block;
}

/* Unificació de la font i l'espaiat del text */
.dropdown-content a {
  display: block;
  padding: 10px 20px !important; 
  color: white !important;
  text-decoration: none !important;
  font-size: 1rem !important; /* Mida de font fixa */
  font-family: 'Merriweather', serif !important;
  text-align: center;
  transition: background 0.2s ease;
  line-height: 1.2 !important;
}

.dropdown-content a:hover {
  background: var(--gold);
  color: black !important;
}

/* Ocultar selector d'idiomes si no s'utilitza */
.menu-right {
  display: none !important;
}