/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Navbar Styling */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: black;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Logo */
nav .logo img {
    height: 50px;
}

/* Navigation Links */
nav .nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

nav .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

nav .nav-links a:hover {
    color: gold;
}

/* Title in the center */
nav .nav-title {
    color: gold;
    font-size: 3rem;
    text-align: center;
    flex-grow: 1;
    margin: 0;
	margin-left: 16rem;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
}

/* Burger Menu Button */
.burger-menu {
    display: none; /* Hidden by default for large screens */
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}


/* Sections */
section {
    position: flex;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
    overflow: hidden;
    border: 10px solid; /* Mantiene il bordo della palette */
	flex-wrap: wrap;
}

section:nth-child(even) {
    background: black;
	border-color: black;
    color: white;
}

section:nth-child(even) h1 {
    color: gold;
}

section:nth-child(even) h2 {
    color: gold;
}

section:nth-child(even) h3 {
    color: gold;
}

section:nth-child(odd) {
    background: beige;
    color: black;
}

section:nth-child(odd) h1 {
    color: darkblue;
}

section:nth-child(odd) h2 {
    color: darkblue;
}

section:nth-child(odd) h3 {
    color: darkblue;
}

section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 10px auto;
}


/* Alternating Layout */
section:nth-child(odd) .content {
    flex-direction: row-reverse; /* Testo a sinistra, immagine a destra */
}

section:nth-child(even) .content {
    flex-direction: row; /* Immagine a sinistra, testo a destra */
}

section:nth-child(odd) .content-text h1 {
    color: darkblue;
}

section:nth-child(odd) .content-text h2 {
    color: darkblue;
}

section:nth-child(odd) .content-text h3 {
    color: darkblue;
}

section:nth-child(odd) .content-text p {
    color: black;
}


/* Stile per il layout orizzontale sui dispositivi più grandi 
    .services-page {
        flex-direction: row;
        justify-content: center;
    }
}
*/




/* Content Layout */
.content {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    align-items: center;
    z-index: 2;
}

.content-img {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.content-text {
    width: 50%;
    padding: 20px;
    text-align: center;
}

.content-text h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.content-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.content-text p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Content Layout About */
.content-about {
    position: flex;
    display: flex;
	flex-direction: row-reverse;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    align-items: center;
    z-index: 2;
}

.content-about img {
	display: flex;
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.content-text-about {
	display: flex;
	flex-direction: column;
    width: 50%;
    padding: 20px;
}

.content-text-about h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.content-text-about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.content-text-about h3 {
    font-size: 1rem;
    margin-bottom: 20px;
}

.content-text-about p {
    font-size: 1rem;
    line-height: 1.6;
}


/* Stile per la pagina dei servizi */
.services-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #d3d3d3; /* Grigio chiaro */
    color: #333;
    padding: 40px 20px;
  
  font-family: Arial, sans-serif;
}
.service {
    text-align: center;
    padding: 20px;
    margin: 20px;
    flex: 1;
}

/* Limita la dimensione degli SVG inline */
.service svg {
    max-width: 300px; /* Imposta una dimensione massima */
    max-height: 300px;
    width: auto;
    height: auto;
    margin-bottom: 15px;
}

.service h2 {
    font-size: 24px;
    color: #ffffff;
    margin: 10px 0;
}

.service p {
    font-size: 16px;
    max-width: 500px;
}

.break {
	flex-basis: 100%;
	height: 0;
}


.showcase-slide {
display: none;
}

showcase img {
	vertical-align: middle;
}

/* Slideshow container */
.showcase-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) 
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}
*/
/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}


/* Footer */
footer {
    background: black;
    color: white;
    padding: 20px 40px; /* Spazio interno aumentato */
    display: flex;
    justify-content: flex-start; /* Allinea elementi a sinistra */
    align-items: center;
    flex-wrap: wrap;
    gap: 20px; /* Distanza tra gli elementi del footer */
}

footer .footer-logo img {
    height: 70px;
}

footer .contacts {
    font-size: 1rem;
    line-height: 1.5; /* Migliore leggibilità */
}

footer .contacts p {
    margin: 0; /* Rimuove spazi extra */
}
.google-map {
     padding-bottom: 50%;
     position: relative;
}

.google-map iframe {
     height: 100%;
     width: 100%;
     left: 0;
     top: 0;
     position: absolute;
}

.mapouter{
	position:flex;
	text-align:center;
	width:100%;
	height:100%;
	flex-wrap: wrap;
    margin: auto;
	}
	
.gmap_canvas {
		overflow:hidden;
		background:none!important;
		width:100%;
		height:400px;
		}
		
		.gmap_iframe {
			height:400px!important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section h1, h2, h3, section p {
    animation: fadeInUp 1s ease-in-out;
}



/* Mobile Styles */
@media screen and (max-width: 768px) and (min-width: 320px) {
	
	/* Navbar Styling */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: black;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Logo */
nav .logo img {
    height: 50px;
}

/* Navigation Links */
nav .nav-links {
    display: none;
    gap: 20px;
    list-style: none;
}

nav .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

nav .nav-links a:hover {
    color: gold;
}

/* Title in the center */
nav .nav-title {
    color: gold;
    font-size: 3rem;
    text-align: center;
    flex-grow: 1;
    margin: 0;
	margin-left: 16rem;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
}
	
    .burger-menu {
        display: block; /* Show burger menu on smaller screens */
	    background: none;
		border: none;
		color: white;
		font-size: 1.5rem;
		cursor: pointer;
    }

    .nav-links {
        display: none; /* Hide the navigation links initially */
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: black;
        width: 100%;
        padding: 10px;
        border-radius: 5px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
		gap: 5px;
		text-align: center;

    }

    .nav-links.active {
        display: flex; /* Show navigation links when active */
    }

    .nav-links a {
        padding: 10px 0;
        text-align: center;
    }
	
	nav .nav-title {
    display: none;
}




/*
section::before {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: url('path-to-your-blurred-image.jpg') no-repeat center center/cover;
    filter: blur(10px);
    opacity: 0.6; /* Regola la visibilità dello sfondo sfocato 
    z-index: 1;
}
*/

/* Content Layout */
.content {
    position: flex;
    display: flex;
	flex-wrap: wrap;
    width: 100%;
	height: auto;
    margin: auto;
}

.content img {
	display: flex;
    width: 100%;
    height: auto
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.content-text {
	display: flex;
	flex-direction: column;
    width: 50%;
    padding: 20px;
    text-align: center;
}

.content-text h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.content-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.content-text p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Content Layout About */
.content-about {
    display: flex;
	flex-direction: column;
    width: 100%;
    margin: auto;
}

.content-about img {
	display: flex;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.content-text-about {
	display: flex;
    width: 50%;
    padding: 20px;
}

.content-text-about h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.content-text-about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.content-text-about h3 {
    font-size: 1rem;
    margin-bottom: 20px;
}

.content-text-about p {
    font-size: 1rem;
    line-height: 1.6;
	justify-content: center;
}

.prev, .next,.text {
	font-size: 11px;
}


.mapouter{
	display:flex;
	position:flex;
	flex-direction:column;
	text-align:right;
	width:50%;
	height:50%;
	}
	
	.gmap_canvas {
		overflow:hidden;
		background:none!important;
		width:50%;
		height:50%;
		}
		
		.gmap_iframe {
			height:50%!important;
}
	
    footer .contacts {
        text-align: center;
    }
	
	/* Footer */
footer .logo img {
    height: 40px; /* Altezza del logo nel footer */
    max-width: 100%;
    object-fit: contain;
	}



/* Footer */
footer {
    background: black;
    color: white;
    padding: 20px 40px; /* Spazio interno aumentato */
    display: flex;
    justify-content: flex-start; /* Allinea elementi a sinistra */
    align-items: center;
    flex-wrap: wrap;
    gap: 20px; /* Distanza tra gli elementi del footer */
	flex-direction: column;
    text-align: center;
}

footer .footer-logo img {
    height: 70px;
}

footer .contacts {
    font-size: 1rem;
    line-height: 1.5; /* Migliore leggibilità */
}

footer .contacts p {
    margin: 0; /* Rimuove spazi extra */
}
.google-map {
     padding-bottom: 50%;
     position: relative;
}

.google-map iframe {
     height: 100%;
     width: 100%;
     left: 0;
     top: 0;
     position: absolute;
}

.mapouter{
	position:flex;
	text-align:center;
	width:100%;
	height:100%;
	flex-wrap: wrap;
    margin: auto;
	}
	
	.gmap_canvas {
		overflow:hidden;
		background:none!important;
		width:100%;
		height:400px;
		}
		
		.gmap_iframe {
			height:400px!important;
}

}