/* 🎨 Palette Colori */
:root {
  --bg-main: #e6dfd5;
  --bg-alt: #f5f1eb;
  --text-dark: #3c2f2f;
  --text-medium: #5a4634;
  --accent: #d4a373;
  --highlight: #b85c38;
  --gold: #b8860b;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Georgia', serif;
}

/* =========================
   NAVBAR
   ========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Logo premium con gradiente */
.navbar .logo a {
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  transition: transform 0.3s ease;
}

.navbar .logo a:hover {
  transform: scale(1.05);
}

.logo .logo-main {
  font-weight: 400; /* più leggero per “Fili di” */
  margin-right: 6px;
}

.logo .logo-highlight {
  font-weight: 700; /* più marcato per “Creatività” */
}

/* Links navbar */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a,
.nav-links button {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s, transform 0.2s;
}

.nav-links a:hover,
.nav-links button:hover,
.nav-links a.active {
  color: var(--gold);
  transform: translateY(-2px);
}

/* =========================
   HAMBURGER MENU
   ========================= */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1100;
}

.nav-links.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  font-size: 1.5rem;
  z-index: 1000;
  gap: 25px;
}

/* Pulsante chiusura menu */
.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: #fff;
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.close-menu:hover {
  background: var(--gold);
  color: #fff;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: var(--text-dark);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: var(--accent);
}

.footer-section a {
  color: #ddd;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s, transform 0.2s;
}

.footer-section a:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.footer-section img.icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
  }
  .hamburger {
    display: block;
  }
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}
