/*
   Footer / Semantic CSS
   Fully independent of Wix styles — no Wix class selectors.
   Handles all positioning, layout, and visual styling.
*/


/* ===== Master Page — sticky footer via flexbox ===== */

#masterPage {
    display: flex !important;
    flex-direction: column;
    min-height: 100vh;
}


/* Override Wix grid layout for masterPage — we use flexbox for sticky footer */

#masterPage.mesh-layout {
    display: flex !important;
    grid-template-rows: auto !important;
}


/* Page content fills remaining space, pushing footer down */

#PAGES_CONTAINER {
    flex: 1 0 0 auto !important;
}


/* ===== Footer Container ===== */

#site-footer,
#SITE_FOOTER {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    background-color: rgb(23, 23, 23);
    z-index: 51;
    flex-shrink: 0;
}


/* Hide original Wix footer when our include replaces it */

#SITE_FOOTER:empty {
    display: none;
}


/* ===== Footer Layout ===== */

.footer-wrapper {
    position: relative;
    width: 100%;
    min-height: 231px;
}

.footer-content {
    position: relative;
    width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    padding: 47px 0 51px 0;
}


/* Copyright aligned to right margin, 38px from bottom of footer */

.copyright-text {
    text-align: right;
    position: relative;
    width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0px 0 51px 0;
}


/* ===== Social Links ===== */

.social-links {
    position: relative;
    flex-shrink: 0;
}

.social-list {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 12px;
    align-items: center;
}

.social-item {
    display: flex;
    flex-shrink: 0;
}

.social-link {
    display: block;
    width: 57px;
    height: 57px;
}

.social-icon {
    width: 57px;
    height: 57px;
    object-fit: cover;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-link:hover .social-icon {
    opacity: 0.8;
    transform: scale(1.05);
}


/* ===== Copyright ===== */

.copyright-text {
    position: relative;
    display: flex;
    align-items: center;
}

.copyright-text p {
    font: normal normal normal 16px / 1.5 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: rgb(160, 160, 159);
    letter-spacing: normal;
    line-height: 1.5;
    margin: 0;
}


/* ===== Responsive ===== */

@media (max-width: 1024px) {
    .footer-content {
        width: calc(100% - 20px);
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        width: 100%;
        padding: 30px 20px;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    .social-list {
        gap: 8px;
    }
    .social-link,
    .social-icon {
        width: 44px;
        height: 44px;
    }
    .copyright-text {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .copyright-text p {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 20px 10px;
    }
    .social-link,
    .social-icon {
        width: 36px;
        height: 36px;
    }
    .social-list {
        gap: 4px;
    }
    .copyright-text p {
        font-size: 12px !important;
    }
}