/* ==========================================================================
   General
   ========================================================================== */
html, body {
	height: 100%;
}

html {
	background: #ECEFF1;
}

body {
	font-family: 'Lato', 'sans-serif';
	color: #263238;
}

/* ==========================================================================
   Header
   ========================================================================== */

.nav-container {
	width: 80%;
	margin: 0 auto;
}

header {
	background: #cfd8dc;
}

header .logo-block {
	float: left;
	width: 40%;
	height: 120px;
}

#logo {
	display: block;
	width: 75%;
	margin: 0 auto;
}

.show-menu {
	width: 100%;
	float: left;
	font-weight: 400;
	font-size: 20px;
	text-decoration: none;
	text-align: center;
	display: none;
	height: 40px;
	line-height: 40px;
}

.show-menu i {
	color: #263238;
}

/*Hide checkbox*/
input[type=checkbox]{
    display: none;
}

/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ #menu{
    display: block;
}

header nav {
	float: left;
	width: 60%;
}

header nav ul li {
	height: 120px;
	display: inline;
	padding: 2%;
}

header nav ul li a {
	text-decoration: none;
	line-height: 120px;
	font-family: 'Quicksand', 'sans-serif';
	font-size: 15px;
	text-transform: uppercase;
	font-weight: 600;
	color: #263238;
	transition: color 0.5s;
}

header nav ul li a:hover {
	color: #FF8F00;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	float: left;
	background: #cfd8dc;
	height: 50px;
	margin-top: 20px;
}

.footer-message {
	width: 80%;
	margin: 0 auto;
	text-align: center;
	line-height: 16px;
	font-size: 13px;
	/*text-transform: uppercase;*/
}

/* ==========================================================================
   Home
   ========================================================================== */

.main {
	width: 100%;
	float: left;
	padding-bottom: 80px;
	background: #ECEFF1;
}

.home-focus-container {
	width: 80%;
	margin: 0 auto;
}

.home-focus-item {
	display: block;
	text-decoration: none;
	color: #263238;
	width: 33%;
	float: left;
	padding: 0 2%;
}

.home-focus-image {
	-webkit-border-radius: 3px;
   	-moz-border-radius: 3px;
   	border-radius: 3px;
	max-width: 100%;
	max-height: 100%;
	margin: 10px 0;
}

.home-focus-title {
	font-weight: 700;
	font-size: 19px;
}

.home-focus-description {
	width: 95%;
	font-size: 17px;
	line-height: 21px;
	margin: 0 auto;
	text-align: left;
}




/* ==========================================================================
   Tariffe
   ========================================================================== */

.tariffe-container {
	width: 70%;
	margin: 10px auto 0 auto;
}

.tariffe-item {
	width: 100%;
	float: left;
	margin-top: 20px;
}

.tariffe-title {
	text-align: left;
	font-size: 26px;
}

.tariffe-subtitle {
	text-align: left;
	font-size: 20px;
}

.tariffe-note {
	margin-top: 10px;
	font-size: 18px;
	line-height: 26px;
	text-align: justify;
}

.tariffe-details {
	margin-top: 8px;
	font-size: 16px;
	line-height: 20px;
	text-align: justify;
}

.tariffe-table {
	width: 100%;
	float: left;
	font-size: 17px;
	margin-bottom: -20px;
}

tr th:nth-child(2), tr td:nth-child(2)  {
	text-align: center;
}

tr th:nth-child(3), tr td:nth-child(3)  {
	text-align: right;
}

.bold {
	font-weight: 700;
}


/* ==========================================================================
   Dove Siamo
   ========================================================================== */

.dovesiamo-container {
	width: 100%;
	float: left;
}

iframe {
	display: block;
	border-radius: 5px;
	width: 60%;
	height: 500px;
	margin: 0 auto;
	margin-top: 50px,
}

/* ==========================================================================
   Contatti
   ========================================================================== */

.contacts-container {
	width: 400px;
	margin: 40px auto 0 auto;
}

.contacts-item {
	margin-top: 60px;
}

.contacts-item-title {
	font-weight: 700;
	text-align: center;
	font-size: 26px;
}

.contacts-item-description {
	margin-top: 5px;
	text-align: center;
	font-size: 20px;
}

.contact-link {
	margin-top: 5px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: #2e7d32;
	font-size: 20px;
}
  
/* ==========================================================================
Camere
========================================================================== */

.camere-container {
	width: 70%;
	margin: 10px auto 0 auto;
	display: flex;
	align-items: center;     /* vertical alignment */
	justify-content: center; /* optional: for horizontal centering */
}

.camere-item-description,
.camere-item-gallery {
	width: 50%;
	float: left;
	margin-top: 20px;
}

.camere-title {
	text-align: left;
	font-size: 26px;
}

.camere-note {
	margin-top: 10px;
	font-size: 18px;
	line-height: 26px;
	text-align: justify;
}

.camere-galleria {
	display: flex;
	flex-wrap: wrap;
	width: 80%;
	margin: 2rem auto;
	max-width: 1000px;
	gap: 16px;
  }
  
.camere-galleria a {
	position: relative;
	width: calc(50% - 8px); /* two items per row, minus gap */
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	transition: transform 0.3s ease;
  }
  
.camere-galleria img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.camere-galleria a:hover img {
	transform: scale(1.05);
	transition: transform 0.3s ease;
}

.camere-galleria a:nth-child(n+3) {
	display: none;
}
  
.has-overlay {
	position: relative;
}
  
.has-overlay::before {
	content: '';
	position: absolute;
	inset: 0; 
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 1;
	border-radius: 8px;
}
  
.has-overlay .overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: rgb(236, 239, 241);
	padding: 8px 16px;
	font-size: 40px;
	font-weight: bold;
	z-index: 2;
}
  