body {
    color: #000000; /* Colore di base del testo */
    background-color: #ecf0f1; /* Sfondo chiaro */
    font-size: 1rem; /* Aumenta la dimensione del font */
    font-family: 'Arial', sans-serif;
}

.navbar {
    background-color: #2c3e50; /* Blu scuro */
    width: 100%;
}

.nav-link, .navbar-brand {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1.2rem;
    padding-right: 0.5rem;
    font-size: 1.2rem;
    color: #ecf0f1; /* Testo bianco */
    font-weight: bold;
}

.nav-link:hover {
    color: #95a5a6; /* Colore oro per il hover */
}

.navbar-brand img {
    height: 60px;
    width: auto;
}

.contact-icon {
    height: 40px;
    width: auto;
    margin: 0 10px;
}

.sm-icons {
    flex-direction: row;
}


:root {
    --primary-color: #2c3e50;
    --secondary-color: #003366;
    --overlay-color: rgba(48, 124, 206, 0.6);
    --text-light: #ecf0f1;
}

.home_section {
    background: linear-gradient(
            var(--overlay-color),
            var(--overlay-color)
    ),
    url('static/images/sez_0.jpg') no-repeat center center/cover;
    color: #ecf0f1;
    position: relative;
}

.home_section h2,
.home_section h1,
.home_section h3 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.blockquote {
    font-style: italic;
    font-size: 1.2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.blockquote-footer {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: bold;
}

/* Stile per avatar tondi */
.avatar {
    width: 150px;
    height: 150px;
    transition: transform 0.3s ease;
}

/* Ingrandimento al passaggio del mouse */
.avatar:hover {
    transform: scale(1.2);
}

.profile h5 {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #2c3e50;
}

.contact_sections {
    background-color: #2c3e50;
    color: #ecf0f1; /* Testo bianco */
}


h1, h3, h4, h5 {
    font-family: 'Arial', sans-serif;
    color: #2c3e50; /* Blu scuro per titoli */
}

/*.service-item {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    justify-content: center; !* Assicura che il contenuto sia centrato verticalmente *!*/
/*    align-items: center; !* Assicura che il contenuto sia centrato orizzontalmente *!*/
/*    padding: 20px;*/
/*    border: 1px solid #cccccc;*/
/*    border-radius: 5px;*/
/*    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
/*    background-color: #ecf0f1; !* Sfondo bianco per le card *!*/
/*    height: 100%; !* Imposta l'altezza a 100% per tutte le celle *!*/
/*    text-align: center;*/
/*}*/

/*.service-item:hover {*/
/*    box-shadow: 0 4px 10px rgb(225, 245, 254);*/
/*}*/

/*.service-container {*/
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    gap: 20px;*/
/*}*/

/*.service-container .col-md-3 {*/
/*    display: flex;*/
/*    flex: 1 0 21%; !* Le colonne occupano uniformemente lo spazio disponibile *!*/
/*    flex-direction: column;*/
/*}*/


.service-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item img {
    display: block;
    width: 80%;
    height: auto;
    margin: 0 auto;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.service-item:hover img {
    transform: scale(1.05);
}

.overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.service-item:hover .overlay-text {
    opacity: 1;
}

@media (min-width: 768px) {
    .service-item {
        margin: 0 auto;
    }

    .overlay-text {
        font-size: 1.2rem;
    }
}


.container-tariffe {
    width: 100%;
    margin: 50px auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #ecf0f1; /* Sfondo bianco per il contenitore */
    border-radius: 8px; /* Aggiungi un po' di arrotondamento agli angoli */
}

.row-tariffe {
    border-collapse: collapse;
    border: 1px solid #cccccc; /* Bordo simile alla tabella */
}

.col-header {
    background-color: #2c3e50;
    color: #ecf0f1;
    font-size: 1.5rem;
    padding: 12px 20px;
    text-align: center;
    border: 1px solid #cccccc;
}

.col-tariffe {
    padding: 12px 20px;
    text-align: center;
    border: 1px solid #cccccc;
}

.row-tariffe:hover {
    background-color: #e1f5fe; /* Colore di sfondo al passaggio del mouse */
}



@media (max-width: 991.98px) {
    .navbar-nav {
        align-items: center;
    }

    .sm-icons {
        flex-wrap: nowrap;
        justify-content: center;
    }

    .navbar-brand {
        margin: 0 auto;
    }

    .contact-icon {
        margin: 0 1px;
    }
}
