/* style.css */

        body {
		
            font-family: "Georgia", serif;
            line-height: 1.8;
            margin: 0;
            padding: 0;
            background-color: #f7f3f0; <!-- sfondo principale/bordi -->
        }

        header {
            background-color:  #8e9fbf; <!-- colore sfondo titolo --> 
            color: white;
            padding: 1.5rem 2rem;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
        }
		
		header img {
            width: 200px;
            height: 200px;
            border-radius: 150%;
        }

        nav {
            background-color: #8e9fbf; <!-- colore menu di navigazione -->
            padding: 0.5rem 2rem;
            text-align: center;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        nav a {
            color: white;
            text-decoration: none;
            margin: 0 1rem;
            font-weight: bold;
            font-size: 1.1rem;
        }

        nav a:hover {
            text-decoration: underline;
        }
		
		nav a.active {
            border-bottom: 2px solid white;
        }

        .container {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 1.5rem;
            background: white;
            border-radius: 12px;
            box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
        }

        .section {
            margin-bottom: 2.5rem;
            padding: 1.5rem;
            background-color: #fafafa; /* colore sfondo sezioni/container */
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }
		
		.section-title {
            font-size: 1.8rem;
            color: #324a5f; /* colore titoli sezioni */
            margin-bottom: 1rem;
            border-bottom: 2px solid #ffcc66; /* colore linea sotto i titoli */
            display: inline-block;
        }

        .section img {
            margin: 1.5rem;
            max-width: 40%;
            border-radius: 12px;
            float: right;
        }

        .services {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
        }

        .service-item {
            text-align: center;
			align-items: center;
			justify-content: center;
			line-height: 1.2;
            background-color: #ffffff;   /* colore sfondo singoli servizi offerti  */
            padding: 1rem;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .service-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
        }

        .service-item img {
            width: 100%;
            max-width: 150px;
            height: auto;
            border-radius: 8px;
        }

        footer {
            text-align: center;
            padding: 1.5rem;
            background: #8e9fbf;  /* colore sfondo pie di pagina  */
            color: white;
        }
		
		footer a {
            color: #ffcc66;
            text-decoration: none;
        }

        footer a:hover {
            text-decoration: underline;
        }

        .map {
            width: 100%;
            height: 400px;
            border: none;
            border-radius: 12px;
            margin-top: 1.5rem;
        }

        .decorative {
            border-top: 2px solid #d3d3d3;
            margin-top: 2rem;
            padding-top: 1rem;
        }

        .fade-in {
            animation: fadeIn 2s;
            h1 {
                margin-bottom: 10px; /* Spazio sotto il titolo (es. 10px) */
               }
            h3, p {
                margin-bottom: 0px;
                margin-top: 0px; /* Spazio sopra il sottotitolo (es. 5px) */
                  }
        }		
		
	.chi-sono-container {
            display: flex;
            flex-direction: row-reverse; /* Sposta la foto a destra */
            gap: 1rem;
            align-items: center;
        }

        .chi-sono-img {
            flex: 2;
            max-width: 300px; /* Dimensione massima per la foto */
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .chi-sono-text {
            flex: 1; /* Riduce lo spazio per il testo */
            text-align: justify;
        }
		
		
		
		

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
		
		/* Stile per il pulsante WhatsApp */
        .whatsapp-button {
            position: fixed; /* Rende il pulsante fisso rispetto alla finestra */
            bottom: 20px; /* Distanza dal bordo inferiore */
            right: 20px; /* Distanza dal bordo destro */
            background-color: #25D366; /* Colore di sfondo WhatsApp */
            color: white; /* Colore del testo */
            border-radius: 50%; /* Rende il pulsante circolare */
            width: 80px; /* Larghezza */
            height: 80px; /* Altezza */
            display: flex; /* Centra l'icona */
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombra */
            text-decoration: none; /* Rimuove la sottolineatura */
            z-index: 1000; /* Garantisce che il pulsante sia sopra gli altri elementi */
        }

        .whatsapp-button:hover {
            background-color: #1EBE55; /* Cambia colore al passaggio del mouse */
        }

        .whatsapp-icon {
            font-size: 24px; /* Dimensione dell'icona */
        }
		
          @media (max-width: 768px) {
            header {
                flex-direction: column;
                text-align: center;
            }

            nav a {
                display: inline-block;
                margin: 0.5rem;
                font-size: 0.9rem;
            }

            .container {
                margin: 0.5rem;
                padding: 0.5rem;
            }

            .section {
                padding: 0.5rem;
            }

            .services {
                grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            }

            .service-item img {
                max-width: 100px;
            }

            .map {
                height: 200px;
            }
	    .chi-sono-container {
                flex-direction: column;
            }

            .chi-sono-img {
                max-width: 100% !important; /* Aumenta la larghezza massima della foto */
               
                margin: 0 auto ; /* Centra l'immagine */
            }

            .chi-sono-text {
                text-align: center;
            }
		}
