/* === ABOUT PAGE STYLE === */

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #F4ECDE;
    color: #641730;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Navbar gi� gestita altrove, ma manteniamo allineamento coerente */
.navbar, .navbar-mobile {
    z-index: 10;
}

/* Contenitore principale */
.about-container {
    width: 80%;
    max-width: 1100px;
    margin: 160px auto 60px auto; /* spazio per navbar fissa */
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(100, 23, 48, 0.15);
    padding: 40px 60px;
    position: relative;
    background-image: url('img/Loghi/LogoFiligrana.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
}

.about-container h1 {
    text-align: center;
    font-weight: 800;
    margin-bottom: 20px;
    color: #641730;
}

.about-container p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

/* Effetto decorativo */
.about-container strong {
    color: #641730;
}

footer {
    margin-top: -180px;
    z-index: 1;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, #1A1A1A, transparent);
    color: #ffffff;
    box-sizing: border-box;
}

.gradient {
    width: 100%;
    margin: 10% 0 0 0;
    height: 366px; 
    background: linear-gradient(0deg, #000000 0%, #1A1A1A 52.38%, rgba(51, 51, 51, 0) 80.42%, rgba(102, 102, 102, 0) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.footer-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    padding-bottom: 30px;
}

.footer-content div{
    margin: 40px;
}

.footer-content div h3{
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-content div p{
    margin-top: 5px;
    font-weight: lighter;
    display: flex;
    align-items: center;
}

.footer-content div p img{
    margin-right: 5px;
    margin-top:5px;
}

.loghi-istituzioni {
    display: flex;
    flex-direction: column;
    margin: 5px;
    position: absolute;
    right: 0px;
}

.loghi-istituzioni img {
    width: 80px;
    height: 80px;
    margin: -5px;
}

/* Responsive */
@media screen and (max-width: 800px) {

    .about-container {
        width: 90%;
        padding: 25px;
        background-size: contain;
        margin-top: 10%;
    }

    .about-container h1 {
        font-size: 1.6rem;
    }

    .about-container p {
        font-size: 1rem;
    }

    footer{
        margin-top: 16vh;
        position: static;
    }
    .footer-content{
        width: 100%;
        display: flex;
        flex-direction: column;
        background: black;
    }
}
