body {
  background-color: #ffffff;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #F4EBD0;
  color: #333;
}

nav {
  background-color: #00AEEF;
  color: white;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

nav h1 {
  margin: 0;
  font-size: 1.8rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0.5rem 0 0 0;
  flex-wrap: wrap;
  justify-content: center;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #FFD700;
  color: #222;
}

.date-filter {
  text-align: center;
  margin: 2rem 1rem;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem 1rem;
  justify-content: center;
}

.card {
  background-color: white;
  padding: 1rem;
  border-radius: 10px;
  width: 100%;
  max-width: 250px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  text-align: center;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #00AEEF;
  color: white;
  margin-top: 2rem;
}

@media (min-width: 600px) {
  nav {
    flex-direction: row;
    justify-content: space-between;
  }

  nav ul {
    margin: 0;
  }
}


section.cards li {
  text-align: left;
  margin-left: 1rem;
}


section.cards img {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 1rem;
}


section.cards .card {
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
}
section.cards .card:hover {
  transform: scale(1.02);
}
section.cards .card h3 {
  color: #e76f51;
  font-size: 1.3rem;
  margin-top: 0.5rem;
}




.contatti {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contatti h2 {
  text-align: center;
  color: #e76f51;
  margin-bottom: 1rem;
}

.contatti form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contatti input,
.contatti textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.contatti button {
  background-color: #00AEEF;
  color: white;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contatti button:hover {
  background-color: #008bb5;
}
