/* --- RESET E TEMA GENERALE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #121212;
  color: #f4ebd0;
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.6;
}

h1, h2, h3, .logo {
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
}

/* --- HEADER & NAVIGAZIONE --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  background-color: #000;
  border-bottom: 2px solid #d4af37;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  border-radius: 4px;
}

nav a {
  color: #f4ebd0;
  text-decoration: none;
  margin-left: 1.8rem;
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  transition: color 0.3s;
}

nav a:hover {
  color: #d4af37;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #d4af37;
  font-size: 1.8rem;
  cursor: pointer;
}

/* --- HERO SECTION (SFONDO CINEMA MUTO / CHAPLIN) --- */
.hero {
  height: 85vh;
  /* Immagine d'epoca vintage silent cinema */
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(18, 18, 18, 1)), 
              url('https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
}

.hero-content {
  border: 2px solid #d4af37;
  padding: 3rem 2rem;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
  max-width: 700px;
}

.chaplin-title {
  font-size: 3.2rem;
  color: #d4af37;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px #000;
}

.subtitle {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #f4ebd0;
}

.btn {
  display: inline-block;
  background-color: #d4af37;
  color: #000;
  padding: 0.8rem 2rem;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #f4ebd0;
  box-shadow: 0 0 10px #d4af37;
}

/* Stile dedicato al tasto WhatsApp */
.btn-whatsapp {
  background-color: #d4af37;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: #d4af37;
  color: #ffffff;
  box-shadow: 0 0 12px rgb(212, 175, 55);
}

/* --- SEZIONI --- */
.container {
  padding: 4rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

h2 {
  font-size: 2.2rem;
  color: #d4af37;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  position: relative;
}

h2::after {
  content: '◆';
  display: block;
  font-size: 1rem;
  color: #d4af37;
  margin-top: 0.3rem;
}

.section-badge {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: #d4af37;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.about-text {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  color: #e0d8c3;
}

/* --- FILTRI E CARTE MENU (STILE CARTELLO CINEMA MUTO) --- */
.filter-buttons {
  margin: 2.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border: 1px solid #d4af37;
  background: transparent;
  color: #f4ebd0;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
  background-color: #d4af37;
  color: #000;
  font-weight: bold;
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Scheda Piatto */
.card {
  background: #1a1a1a;
  padding: 1.5rem;
  border: 1px solid #333;
  border-left: 4px solid #d4af37;
  text-align: left;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #d4af37;
}

.card h3 {
  color: #f4ebd0;
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.card p {
  color: #b3b3b3;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.price {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-weight: bold;
  color: #d4af37;
  font-size: 1.1rem;
}

/* --- FOOTER E CONTATTI --- */
.dark {
  background-color: #0a0a0a;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

footer {
  text-align: center;
  padding: 1.5rem;
  background-color: #000;
  color: #777;
  font-size: 0.85rem;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
  .chaplin-title {
    font-size: 2.2rem;
  }
  
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #000;
    width: 100%;
    padding: 1.5rem 0;
    border-bottom: 2px solid #d4af37;
  }

  nav.active {
    display: flex;
  }

  nav a {
    margin: 0.8rem 0;
    text-align: center;
  }

  .hamburger {
    display: block;
  }
}

/* --- SOCIAL LINKS FOOTER --- */
.social-links {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem; /* Spazio tra Facebook e Instagram */
}

.social-links a {
  color: #d4af37;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.social-links a:hover {
  color: #f4ebd0;
  transform: scale(1.2);
}