﻿/* =========================
   FOOTER
========================= */

#footer {
    width: 100%;
    margin-top: auto;
    background: linear-gradient( to bottom, #123f67 0%, #0f3557 45%, #0b2943 100% );
    color: #d7d7d7;
    border-top: 4px solid #d4b878;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
    box-sizing: border-box;
}

/* contenitore interno */

.footer-inner {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 14px 30px 10px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    box-sizing: border-box;
}

/* lato sinistro */

.footer-left {
    flex: 1;
    text-align: left;
}

    .footer-left a {
        color: #f0e5c3;
        text-decoration: none;
    }

        .footer-left a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

/* centro */

.footer-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
}

/* lato destro */

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}

/* facebook */

.fb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fb-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0e5c3;
    transition: all 0.2s ease;
}

    .fb-link:hover {
        background: #ffffff;
        transform: translateY(-1px);
        text-decoration: none;
    }

.fb-icon {
    width: 14px;
    height: 14px;
    fill: #123f67;
}

.fb-text {
    font-size: 11px;
    color: #f0e5c3;
}

    .fb-text:hover {
        color: #ffffff;
        text-decoration: underline;
    }

/* link footer */

#footer a {
    color: #f0e5c3;
    text-decoration: none;
}

    #footer a:hover {
        color: #ffffff;
    }
@media (max-width: 760px) {
    .footer-inner {
        padding: 18px 16px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        flex: none;
        justify-content: center;
        text-align: center;
    }

    .footer-center {
        position: static;
        transform: none;
        white-space: normal;
    }
}
