body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  background-color: #fff;
  color: #222;  
}
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
}
header, footer {
  background: #000;
  color: #fff;
  padding: 1rem;
  text-align: center;
}

.site-header {
  background-color: #fff;
  text-align: center;
  padding: 1rem;
  transition: all 0.3s ease;
  z-index: 1000;
}
main {
  min-height: calc(100vh - 3rem); /* altezza viewport - header */
}
nav ul {
  list-style: none;
  padding: 0;
}
nav ul li {
  display: inline;
  margin: 0 1rem;
}
nav ul li a {
  color: #fff;
  text-decoration: none;
}
nav a.active {
  text-decoration: underline;
  font-weight: bold;
  color: #000;
}
.logo-img {
	width: 80px;
	height: auto;
}
/* === MENU === */
#mainMenu ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

#mainMenu li {
  margin: 0.5rem 0;
}

#mainMenu a {
  text-decoration: none;
  font-weight: bold;
  color: #000;
}

#mainMenu a.active {
  color: #a00;
  text-decoration: underline;
}
/* === Desktop === */
.site-header {
    position: fixed;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    top: 0;
    bottom: auto;
    border-top: none;
    box-shadow: none;
    box-shadow: 0px 1px 5px lightgray;
}

#mainMenu ul {
	display: flex;
	gap: 2rem;
	margin: 0;
}

#mainMenu li {
	margin: 0;
}

/* === Hamburger button hidden by default === */
.hamburger {
	display: none;
	font-size: 2rem;
	background: none;
	border: none;
	cursor: pointer;
	margin-top: 0.5rem;
}
.site-footer {
  background-color: #000;
  color: #fff;
  padding: 2rem 1rem;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.5rem;
  display: block;  
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: border;
  transition: color 0.2s ease;  
}

.footer-nav a.active {
  text-decoration: underline;
  color: #ff5e5e; /*#a00; variato colore per accessibilità*/ 
}

.footer-contact a,
.footer-social a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
}

.footer-social svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  transition: transform 0.2s ease;
}
.footer-contact svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}
.footer-social a:hover svg {
  transform: scale(1.1);
  fill: #a00;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  font-size: 0.85rem;
  border-top: 1px solid #444;
  margin-top: 2rem;
}


/* === Mobile === */
@media screen and (max-width: 767px) {
    .site-header {
        position: fixed;
        display: block;
        top: auto;
        bottom: 0;
        padding: 5px 0px 0px 0px;
        left: 0;
        width: 100%;
        border-top: 1px solid #ccc;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    }

	.hamburger {
		display: block;
		margin: 0 auto;
	}

	#mainMenu {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.4s ease, padding 0.3s ease, border-color 0.4s ease, box-shadow 0.3s ease;
		background: white;
		position: absolute;
		bottom: 3.0rem;
		left: 0;
		width: 100%;
		padding: 0;
		border-top: 1px solid transparent;
		box-shadow: none;
	}

	#mainMenu.show {
		max-height: 500px; /* o quanto basta per farlo vedere tutto */
		border-color: #ccc;
		box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
		padding: 1rem 0;
	}

	#mainMenu ul {
		display: block;
	}

	#mainMenu li {
		margin: 1rem 0;
		display: block;
	}
	footer {
        margin-bottom: 6rem;
	}	
	.footer-container {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.footer-social ul {
		justify-content: center;
	}	
}

/* fine mobile */

.btn {
  background: #000;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #a00;
}
.btn.disabled {
  background: #ccc;
  cursor: not-allowed;
}
.center{
	text-align:center;
}