body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f7f7f7;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #004080;
  padding: 12px 20px;
  color: white;
}

.site-header .logo a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 26px;
  cursor: pointer;
}

.content {
  padding: 20px;
}


/* cover */
.hero {
  width: 100%;
  max-width: 1600px;
  margin: 20px auto;
  border-radius: 10px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  display: block;
}

/* cards */

.localita-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.localita-wrapper h1 {
  margin-bottom: 10px;
  color: #003060;
}

.localita-wrapper .intro {
  font-size: 17px;
  margin-bottom: 25px;
}

.localita-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.localita-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  width: calc(33.333% - 20px);
  text-decoration: none;
  color: #222;
  border: 1px solid #ddd;
  transition: all 0.2s ease;
}

.localita-card:hover {
  transform: translateY(-4px);
  border-color: #0050a0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.localita-card h3 {
  margin-top: 10px;
  margin-bottom: 8px;
  color: #003870;
}

.localita-card p {
  font-size: 15px;
  line-height: 1.3;
}

.localita-icon {
  font-size: 30px;
  margin-bottom: 8px;
}

/* MOBILE */
@media (max-width: 900px) {
  .localita-card {
    width: calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .localita-card {
    width: 100%;
  }
}


/* Footer */
.site-footer {
  text-align: center;
  padding: 20px;
  background: #003060;
  color: white;
  margin-top: 40px;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
}

.credits {
  margin-top: 10px;
  font-size: 14px;
}

/* --- MOBILE MENU --- */
@media (max-width: 768px) {

  .main-nav {
    display: none;
    width: 100%;
    background: #003060;
    padding: 10px 0;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .nav-toggle {
    display: block;
  }
}
