body {
  background-color: #f5f5f4;
  color: #2d2d2d;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background-color: #f97316;
  color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 1rem;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

header h1 {
  font-size: 1.5rem;
  font-weight: bold;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  list-style: none;
}

nav ul a {
  color: white;
  text-decoration: none;
}

nav ul a:hover {
  color: #fde68a;
}

section.hero {
  background-color: #fefce8;
  padding: 4rem 0;
  text-align: center;
}

.hero img {
  max-width: 768px;
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

.hero img:hover {
  transform: scale(1.05);
}

section#galleria {
  background: white;
  padding: 3rem 0;
}

#galleria h2 {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
}

#galleria .scroll {
  overflow-x: auto;
  white-space: nowrap;
  padding: 0 1.5rem;
  scroll-behavior: smooth;
}

#galleria .scroll .gallery-img {
  display: inline-block;
  width: 18rem;
  height: 24rem;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  margin-right: 1rem;
  transition: transform 0.3s;
}

#galleria .scroll .gallery-img:hover {
  transform: scale(1.05);
}

section#prodotti {
  background: #f3f4f6;
  padding: 4rem 0;
  text-align: center;
}

#prodotti h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .products {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: white;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}

.form-section {
  background-color: #fff;
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
}

.contact-form {
  max-width: 600px;
  width: 100%;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
}

.contact-form h2 {
  margin-bottom: 1rem;
  color: #f97316;
  text-align: center;
}

.contact-form label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: #555;
}

.contact-form input,
.contact-form textarea {
  width: 90%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f97316;
  outline: none;
}

.contact-form button {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #f97316;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #ea580c;
}


footer {
  background-color: #f97316;
  color: white;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 2.5rem;
  font-size: 0.875rem;
}
