/* Reset di base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* HEADER: logo piccolo + menu blu su sfondo bianco */
header {
  background-color: #ffffff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-container img {
  width: 80px;
  margin-right: 1rem;
}

.logo-container h1 {
  font-size: 1.6rem;
  color: #002f6c;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav a {
  text-decoration: none;
  color: #002f6c;
  font-weight: bold;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
}

.nav a:hover {
  background-color: rgba(0, 47, 108, 0.1);
}

/* HERO: SOLO FOTO DI PALAZZO CHIGI, NIENTE LOGO */
.hero-palazzo {
  position: relative;
  width: 100%;
  height: 400px;
  background-image: url('palazzo_chigi.jpeg'); /* <-- nome file immagine */
  background-size: cover;      /* riempie lo spazio */
  background-position: center; /* palazzo centrato */
  background-repeat: no-repeat;
}

.hero-palazzo::after {
  /* leggera velatura per rendere leggibile eventuale testo sopra */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

/* eventuale testo sopra la foto (facoltativo) */
.hero-palazzo-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

.hero-palazzo-content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-palazzo-content p {
  font-size: 1.1rem;
}

/* NASCONDI QUALSIASI IMMAGINE GRANDE DEL LOGO
   SE DOVESSE ANCORA ESSERE NELLA PAGINA */
.hero-logo,
.hero img,
main img.hero-logo {
  display: none !important;
}

/* CONTENUTO PRINCIPALE */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem 2rem;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.section {
  margin-bottom: 2rem;
}

.section h2 {
  margin-bottom: 0.5rem;
  color: #0656b3;
}

.section ul,
.section ol {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

/* FOOTER */
footer {
  background-color: #002f6c;
  text-align: center;
  padding: 1rem;
  color: #ffffff;
  margin-top: 2rem;
}