body {
    scroll-behavior: smooth;
    background-color: #f0f8ff;
}

.navbar {
    background-color: #034f84;
}

.navbar-brand, .nav-link {
    color: white !important;
}

.navbar-brand:hover, .nav-link:hover {
    color: #ffcc80 !important;
}

header {
    position: relative;
    background: url('https://dreamtrails.it/wp-content/uploads/2022/04/20200827-D6C_8707-scaled.jpg.webp') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 150px 0;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 79, 132, 0.5); /* Colore azzurrino/blu con opacità */
    z-index: 1;
}

header h1 {
    position: relative;
    z-index: 2;
    color: #0ff; /* Colore personalizzato per il titolo */
}

header p {
    position: relative;
    z-index: 2;
    color: white; /* Mantenere il colore bianco per il testo secondario */
}

section {
    padding: 60px 20px;
    text-align: center;
}

#home {
    margin-bottom: 0;
}

#chi-sono {
    padding: 60px 0;
    background-color: #ffe5b4;
}

#chi-sono h2 {
    margin-bottom: 20px;
}

#chi-sono blockquote {
    font-style: italic;
    color: #333;
    margin: 20px 0 40px;
}

.personal-image {
    margin-top: 30px;
}

.personal-image img {
    width: 100%;
    max-width: 1024px;
    height: auto;
    border-radius: 15px; /* Angoli arrotondati per un effetto più morbido */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Leggera ombra per dare profondità */
}

#servizi {
    background-color: #d4e157;
}

#progetti {
    background-color: #ffcc80;
}

#contatti {
    background-color: #3cfff6;
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    margin: 0 10px;
    display: inline-block;
    width: 32px;
    height: 32px;
}

.social-icons img {
    width: 100%;
    height: auto;
    filter: invert(0%);
    transition: filter 0.3s ease;
}

.social-icons a:hover img {
    filter: invert(10%) sepia(100%) saturate(300%) hue-rotate(150deg);
}

h1, h2 {
    color: #034f84;
    margin-bottom: 40px;
}

.gallery-item {
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: auto; /* Altezza automatica per mantenere le proporzioni */
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.gallery-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.gallery-item a:hover img {
    transform: scale(1.05); /* Effetto zoom al passaggio del mouse */
}

.caption {
    margin-top: 10px;
    font-size: 1em;
    color: #034f84;
    text-align: center;
}

footer {
    background-color: #034f84;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.profile-img {
    border-radius: 50%;
    width: 150px; /* Dimensione della tua foto */
    height: 150px; /* Dimensione della tua foto */
    object-fit: cover;
    margin-bottom: 20px;
}

.profile-content {
    max-width: 600px;
    margin: 0 auto;
}

.motto {
    font-size: 1.5em;
    color: #034f84;
    font-style: italic;
    margin-top: 20px;
}

#attivita-tracce {
    padding: 60px 0;
    text-align: center;
}

#attivita-tracce h2 {
    margin-bottom: 40px;
}

.profile-item {
    margin-bottom: 30px;
}

.profile-logo {
    max-width: 150px;
    margin-bottom: 15px;
}

.profile-item p {
    font-size: 16px;
    color: #333;
}

#fornitori {
    padding: 60px 0;
    text-align: center;
}

#fornitori h2 {
    margin-bottom: 40px;
}

.supplier-item {
    margin-bottom: 30px;
}

.supplier-logo {
    max-width: 150px;
    margin-bottom: 15px;
}

.supplier-item p {
    font-size: 16px;
    color: #333;
}

#recensioni {
    background-color: #f9f9f9;
    padding: 60px 0;
    text-align: center;
}

#recensioni h2 {
    margin-bottom: 30px;
}

#trustpilot-widget {
    margin-top: 20px;
    background-color: #f8f9fa; /* Sfondo chiaro */
    border: 2px solid #007a33; /* Bordo verde scuro */
    border-radius: 8px; /* Angoli arrotondati */
    padding: 10px; /* Spaziatura interna */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Ombra leggera */
    text-align: center; /* Allineamento del testo */
    margin: 20px 0; /* Margine superiore e inferiore */
    transition: transform 0.3s, box-shadow 0.3s; /* Transizione per l'effetto hover */
}

/* Effetto hover sul contenitore */
#trustpilot-widget:hover {
    transform: translateY(-2px); /* Leggera elevazione al passaggio del mouse */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Ombra più forte */
}

/* Stile per l'iframe del widget */
#trustpilot-widget iframe {
    border-radius: 8px; /* Angoli arrotondati per l'iframe */
}

/* Stile per il testo del widget se presente */
#trustpilot-widget p {
    color: #333333; /* Colore del testo */
    margin: 10px 0; /* Margini attorno al testo */
    font-size: 16px; /* Dimensione del font */
}

#video-shorts {
    padding: 60px 0;
    background-color: #ff7979;
    text-align: center;
}

#video-shorts h2 {
    margin-bottom: 40px;
}

#video-shorts .row {
    display: flex;
    justify-content: center;
}

#video-shorts .col-md-4 {
    margin-bottom: 20px;
}

#video-shorts img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#video-shorts img:hover {
    transform: scale(1.05);
}

#pilastri {
    padding: 60px 0;
    background-color: #f7f7f7;
    text-align: center;
}

#pilastri h2 {
    margin-bottom: 40px;
}

.pilastro {
    margin-bottom: 30px;
}

.pilastro h3 {
    color: #333; /* Colore del sottotitolo */
    font-size: 24px;
    margin-bottom: 15px;
}

.pilastro p {
    color: #555; /* Colore del testo */
    font-size: 16px;
    line-height: 1.6;
}

.pilastro ul {
    list-style: none;
    padding: 0;
}

.pilastro ul li {
    color: #555; /* Colore del testo */
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: left;
    display: inline-block;
    width: 45%;
}