﻿/* Bootstrap 5 - Responsive font-size utilities */

@media (min-width: 576px) {
    .fs-sm-1 {
        font-size: 2.5rem !important;
    }

    .fs-sm-2 {
        font-size: 2rem !important;
    }

    .fs-sm-3 {
        font-size: 1.75rem !important;
    }

    .fs-sm-4 {
        font-size: 1.5rem !important;
    }

    .fs-sm-5 {
        font-size: 1.25rem !important;
    }

    .fs-sm-6 {
        font-size: 1rem !important;
    }
}

@media (min-width: 768px) {
    .fs-md-1 {
        font-size: 2.5rem !important;
    }

    .fs-md-2 {
        font-size: 2rem !important;
    }

    .fs-md-3 {
        font-size: 1.75rem !important;
    }

    .fs-md-4 {
        font-size: 1.5rem !important;
    }

    .fs-md-5 {
        font-size: 1.25rem !important;
    }

    .fs-md-6 {
        font-size: 1rem !important;
    }
}

@media (min-width: 992px) {
    .fs-lg-1 {
        font-size: 2.5rem !important;
    }

    .fs-lg-2 {
        font-size: 2rem !important;
    }

    .fs-lg-3 {
        font-size: 1.75rem !important;
    }

    .fs-lg-4 {
        font-size: 1.5rem !important;
    }

    .fs-lg-5 {
        font-size: 1.25rem !important;
    }

    .fs-lg-6 {
        font-size: 1rem !important;
    }
}

@media (min-width: 1200px) {
    .fs-xl-1 {
        font-size: 2.5rem !important;
    }

    .fs-xl-2 {
        font-size: 2rem !important;
    }

    .fs-xl-3 {
        font-size: 1.75rem !important;
    }

    .fs-xl-4 {
        font-size: 1.5rem !important;
    }

    .fs-xl-5 {
        font-size: 1.25rem !important;
    }

    .fs-xl-6 {
        font-size: 1rem !important;
    }
}



body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: lighter;
}
@media (max-width: 767.98px) {
    body {
        font-weight: 400;
    }
}


.container {
    max-width: 1140px;
}

.logo
{
    max-width: 200px;
    
}

/*
.site-nav .logo {
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.site-nav.scrolled .logo {
    opacity: 1;
    pointer-events: auto;
}
*/


.untree_co-section .subheading {
    margin-top: 50px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h2.subheading
{
    font-weight: lighter;
    letter-spacing: 3px;
}
@media (max-width: 767.98px) {
    h2.subheading {
        font-weight: 400;
    }
}


.text-primary {
    color: #c3bbbb !important;
}

.text-overlay {
    background-color: rgb(151 143 143 / 86%);
}

.info-box P {
    font-size: 18px !important;
    font-weight: lighter !important;
    letter-spacing: 3px !important;
}

.portfolio-item-content h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}


.portfolio-item:hover .img-hover-wrapper {
    transform: scale(1.09);
}

.img-hover-wrapper {
    transition: transform 0.3s ease;
}



.project-box H3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    color: #9f9393;
    //font-size: 36px !important;
    letter-spacing: normal;
    margin: 30px 0px 30px 0px;
}

.project-box .h4 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-size: 13px !important;
    color: #808080;
    font-weight: bold !important;
    letter-spacing: normal;
}
.project-box p {
    font-size: 16px !important;
    letter-spacing: normal;
}

.project-box .btn {
    border-radius: 10px;
    border-color: #808080;
    color: #808080;
    margin-top: 30px;
    font-weight: bold;
}
.project-box .btn:hover {
    background-color: #c3bbbb;
    color: #ffffff;
}

.separator img{
    height: 40px;
}

#container-before-after img {
    width: 100%;
    height: auto;
    display: block;
}


.hero-header {
    position: relative;
    width: 100vw;
    height: 60vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.hero-background {
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    background-size: cover;
    background-position: center 60%; /* regola qui l'inquadratura */
    background-repeat: no-repeat;
    opacity: 0.3; /* effetto di trasparenza solo sullo sfondo */
    z-index: 0;
    transition: opacity 3s ease;
}

.hero-content {
    position: relative;
    z-index: 1; /* sopra al background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}
    /* Esempio di testo */
    .hero-content h1 {
        color: #9f9393;
        font-size: 2.6rem;
        font-family: unset;
        margin: 0;
    }
.hero-subtitle {
    color: #736c6cb5;
    letter-spacing: .1rem;
    text-transform: uppercase;
    font-weight: 700;
    font-family: revert;
    font-size: 1.2rem;
}


/* Banda full-bleed */
.bio-band {
    background: #645b5f; /* #3d484e; /* cambia colore a piacere */
    padding: 4rem 0; /* spazio verticale */
    border-top: 1px solid #e5e7eb; /* opzionale: separatore sottile */
    border-bottom: 1px solid #e5e7eb;
}

/* Foto profilo rotonda */
.bio-photo {
    width: 160px; /* dimensione foto */
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    border: 4px solid #ffffff; /* stacco su fondo colorato */
}

    .bio-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* Tipografia */
.bio-eyebrow {
    display: block; /* evita il comportamento precedente */
    margin-inline: auto; /* centra tramite margini automatici */
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .8rem;
    font-weight: 600;
    color: #ccc;
    margin-bottom: .5rem;
}

.bio-title {
    margin: 0 0 .75rem 0;
    font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem);
    line-height: 1.2;
    color: #fff;
}

.bio-text {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #eee;
}

/* Allineamenti responsive */
@media (max-width: 991.98px) {
    .bio-photo {
        width: 140px;
    }
}
@media (max-width: 767.98px) {
    .bio-title, .bio-text, .bio-eyebrow, .bio-content {
        text-align: center;
    }

    .bio-photo {
        width: 100px;
    }
}
.bio-photo-wrapper {
    justify-content: center !important;
}
/* Variante: foto quadrata con angoli arrotondati (se preferisci)
.bio-photo { border-radius: 16px; }
*/


.custom-accordion .accordion-item {
    border-left: 0;
    border-right: 0;
}
    .custom-accordion .accordion-item .btn-link {
        background: #fff;
        color: #505050;
        font-family: revert;
        text-transform: uppercase;
        font-weight: 400;
        font-size: small;
    }

        .custom-accordion .accordion-item .btn-link:hover {
            background: #fbfbfb;
        }

        .custom-accordion .accordion-item .btn-link[aria-expanded="true"] {
            color: #505050 !important;
            background: #e1dddd;
        }

            .custom-accordion .accordion-item .btn-link[aria-expanded="true"]:before {
                color: #505050;
            }



/* Riga contatto */
.contact-line {
    display: flex;
    align-items: center; /* 👈 mantiene icona e testo allineati verticalmente */
    margin-bottom: .5rem;
}

/* Icona PNG */
.contact-icon {
    width: 18px; /* adatta alla tua grafica */
    height: 18px;
    margin-right: .5rem;
    display: inline-block;
}

/* Collegamenti */
.contact-value {
    text-decoration: none;
    color: #222;
    font-weight: 500;
}

    .contact-value:hover {
        text-decoration: underline;
    }

#form-status {
    background-color: #f8f9fa;
    padding: 20px;
    font-weight: normal !important;
    display: none;
}

.untree_co-section[id] {
    scroll-margin-top: 70px;
}