body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f4f4f4;
  color: #333;
}

header {
  text-align: center;
  background: #575656;
  color: white;
  padding: 1em 0;
}

.logo {
  height: 100px;
}

footer {
  text-align: center;
  background: #575656;
  color: white;
  padding: 1em 0;
  margin-top: 2em;
}
.contatti {
  background: white;
  padding: 2em 1em;
  max-width: 500px;
  margin: 0 auto 2em auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

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

.contatti label {
  font-weight: bold;
}

.contatti input,
.contatti textarea {
  padding: 0.8em;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
}

.contatti button {
  background-color: #363636;
  color: white;
  padding: 0.8em;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.3s;
}

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

.main-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Testo introduttivo sotto */
.intro-text {
  text-align: center;
  margin: 2rem auto;
  max-width: 500px;
  padding: 0 1rem;
}

/* Responsive per mobile */
@media (max-width: 768px) {
  .home-content {
    flex-direction: column;
    padding: 1rem;
  }

  .left-column, .right-column {
    width: 100%;
  }

  .main-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
  }
}

/* Sezione principale orizzontale sempre */
.home-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  gap: 1rem;
  flex-wrap: nowrap;
  overflow-x: auto;
}

/* Colonna pulsanti */
.left-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 0 0 140px;
}

/* Pulsanti */
.link-box {
  display: block;
  text-align: center;
  padding: 0.6rem;
  font-size: 0.9rem;
  border-radius: 6px;
  text-decoration: none;
  color: white;
  background-color: #2a5d8f;
  transition: 0.3s;
}

.link-box:hover {
  background-color: #1f4a74;
}

.link-box.summer {
  background-color: #d35400;
}

.link-box.winter {
  background-color: #2980b9;
}

.link-box.primary {
  background-color: #c0392b;
  font-weight: bold;
}

.home-row {
  display: flex;
  align-items: stretch; /* fondamentale per allineare le altezze */
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  flex-wrap: nowrap;
}

.left-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 0 0 140px;
  justify-content: space-between;
}

.link-box {
  display: block;
  text-align: center;
  padding: 0.6rem;
  font-size: 0.9rem;
  border-radius: 6px;
  text-decoration: none;
  color: white;
  background-color: #2a5d8f;
  transition: 0.3s;
}

.link-box:hover {
  background-color: #1f4a74;
}

.link-box.summer {
  background-color: #d35400;
}

.link-box.winter {
  background-color: #2980b9;
}

.link-box.primary {
  background-color: #c0392b;
  font-weight: bold;
}

.main-image {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}
