/* =========================
   1. IMPORT FONTS
========================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* =========================
   2. HEADER CONTAINER
========================= */
.header {
  background: rgba(255, 255, 255, 0.98); /* Quasi solido, più pulito */
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  height: 50px; /* Altezza fissa fondamentale per il layout */
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.05); /* Riga sottilissima elegante */
  transition: all 0.3s ease;
}

.nav-container {
  width: 100%;
  max-width: 1400px; /* Più largo per dare respiro */
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* =========================
   3. LOGO (Stile Alta Moda)
========================= */
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #111; /* Nero profondo */
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px; /* Spaziatura lusso */
}

/* Logo Mobile (Icona) */
.gd-alternato {
  display: none; /* Nascosto su desktop */
  align-items: center;
  height: 100%;
}

.gd-alternato img {
  height: 35px; /* Dimensione controllata */
  width: auto;
}

/* =========================
   4. MENU (Link)
========================= */
#lista-header-home {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.voce-menu a {
  text-decoration: none;
  color: #1a1a1a;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.85rem; /* Testo piccolo e raffinato */
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  transition: color 0.3s ease;
}

/* Effetto Hover: Colore Oro */
.voce-menu a:hover {
  color: #D4A017; 
}

/* Linea sottile che appare sotto al passaggio */
.voce-menu a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 1px;
  left: 0;
  bottom: -4px;
  background-color: #D4A017;
  transition: width 0.3s ease;
}

.voce-menu a:hover::after {
  width: 100%;
}

/* =========================
   5. RESPONSIVE MOBILE
========================= */
@media (max-width: 900px) {
  .header {
      height: 70px; /* Un po' più compatto su mobile */
      padding: 0;
  }

  .nav-container {
      padding: 0 20px;
  }

  .logo {
    display: none; /* Nascondi scritta estesa */
  }

  .gd-alternato {
    display: flex; /* Mostra icona */
  }
  
  /* Link menu su mobile */
  .voce-menu a {
      font-size: 0.75rem;
      letter-spacing: 1px;
  }
  
  #lista-header-home {
      gap: 20px;
  }
}