body {
  margin: 0;
  font-family: 'Fredoka', sans-serif;
  background-color: #E7A702;
  color: #fff;
}

/* HEADER */
header {
  background: #ffffff;
  color: #000;
  text-align: center;
  padding: 1.5rem 1rem;
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
}

header img#logo {
  width: 350px;
  height: auto;
  border-radius: 1rem;
  display: block;
  margin: 0 auto 0.3rem auto;
}

header h1 { display: none; }

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

nav a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

nav a:hover { color: #E7A702; }

/* SEZIONI GENERALI */
section {
  margin: 2rem auto;
  background: black;
  padding: 2rem;
  border-radius: 2rem;
  max-width: 900px;
}

section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #E7A702;
}

/* GALLERY */
.scroll-gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 1rem;
  padding: 0.5rem;
}

.scroll-gallery img {
  flex: 0 0 auto;
  width: 300px;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  scroll-snap-align: center;
}

.scroll-gallery::-webkit-scrollbar { height: 8px; }
.scroll-gallery::-webkit-scrollbar-thumb {
  background: #E7A702;
  border-radius: 4px;
}

/* FRECCE GALLERY */
.gallery-arrows {
  display: flex;
  justify-content: space-between;
  position: relative;
  top: -1rem;
  padding: 0 1rem;
}

.gallery-arrows .arrow {
  font-size: 1.5rem;
  color: #E7A702;
  cursor: pointer;
  user-select: none;
  opacity: 0.7;
}

.gallery-arrows .arrow:hover {
  opacity: 1;
}

/* MENU */
.dish {
  background: #222;
  padding: 1rem;
  border-radius: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.dish h3 {
  margin: 0 0 0.3rem 0;
  line-height: 1.1;
  font-size: 1.3rem;
  color: #E7A702;
}

.dish p {
  margin: 0;
  line-height: 1.3;
  font-size: 1rem;
  color: #ddd;
}

/* EVENTI */
.event {
  background: #222;
  padding: 1rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

/* CONTATTI */
#contatti p, #contatti a {
  text-align: center;
  margin: 0.3rem 0;
  color: white;
  text-decoration: none;
}

/* AGGIUNTA EMOJI 👨‍💻 PER INSTAGRAM */
#contatti a.instagram::after {
  content: " 👨‍💻";
}

/* FOOTER – rimpicciolito */
footer {
  background: white;
  color: black;
  text-align: center;
  padding: 0.7rem; /* ridotto */
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  font-size: 0.9rem; /* più piccolo */
}

/* CURIOSITÀ */
#curiosita {
  margin: 2rem auto;
  background: black;
  padding: 2rem;
  border-radius: 2rem;
  max-width: 900px;
}

#curiosita h2 {
  text-align: center;
  color: #E7A702;
  font-size: 1.5rem;
  margin-bottom: 1.8rem;
  line-height: 1.4;
  font-weight: 600;
}

.curiosity {
  background: #222;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.curiosity img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 1rem auto;
  border: 3px solid #E7A702;
}

.curiosity h3 {
  color: #E7A702;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.curiosity p {
  color: #ddd;
  line-height: 1.4;
  font-size: 1rem;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 500px) {
  header img#logo {
    width: 250px;
  }

  nav a {
    font-size: 1rem;
  }

  section {
    padding: 1.2rem;
    border-radius: 1rem;
  }

  #curiosita h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .curiosity h3 {
    font-size: 1rem;
  }

  .curiosity p {
    font-size: 0.9rem;
  }

  /* migliore riallineamento frecce gallery su mobile */
  .gallery-arrows {
    top: -0.2rem;
  }

  .gallery-arrows .arrow {
    font-size: 1.3rem;
  }
}
