/* components/Footer.module.css */

.footer {
    position: relative;
    width: 100%;
    min-height: 300px;
    background-color: var(--surface-teal);
    /* A very dark, rich black */
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 80px 80px 40px;
    /* Generous top padding */
    /* Generous top padding */
}

.topSection {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 60px;
}

.footerLeft {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.companyInfoContainer {
    display: flex;
    align-items: center;
    gap: .5rem;
    /* Spacing between logo and name */
}

.companyInfoContainer img {
    width: 60px;
    height: 60px;
}

.companyName {
    margin-left: 20px;
    font-size: 50px;
    font-weight: 700;
    font-family: Open Sans;
}

.logoContainer {
    border-radius: 40%;
    /* min-width: 128px;
    min-height: 128px;    */
}
.logoContainer svg{
    height: 90px;
    width: fit-content;
}

.linksContainer {
    width: 55%;
    display: flex;
    justify-content: flex-end;
    gap: 50px;
    padding-top: 20px;
}

.linkColumn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 50px;
    min-width: 112px;
}

.linksContainer a {
    font-size: 16px;
    font-weight: 700;
}
.linksContainer a:hover {
    text-decoration: underline;
}

.footerSponsers {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding: 32px 0 0 0;
    gap: 48px;
    z-index: 1;
}

.footerSponsers img {
    max-height: 50px;
    width: auto;
    flex-shrink: 0;
}

/* Bottom section with a clean line divider */
.bottomSection {
    border-top: 1px solid rgba(251, 252, 252, 0.16);
    padding-top: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

.bottomRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.copyright {
    margin: 0;
    font-size: 16px;
}

.legalLinks {
    display: flex;
    gap: 40px;
}

.legalLinks a {
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    padding-right: .5rem;
}

.legalLinks a:last-child {
    border: none;
}

.footerSocials {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footerSocials svg {
    width: 24px;
    height: 24px;
}

.bottomMeta {
    display: flex;
    align-items: center;
    gap: 50px;
}

.mobileOnly {
    display: none;
}

.pcOnly {
    display: flex;
}

@media (max-width: 1100px) {
    .topSection {
        flex-direction: column;
        align-items: center;
        margin-bottom: 0px;
    }

    .footerLeft {
        width: 100%;
    }

    .linksContainer {
        width: 100%;
        justify-content: space-between;
    }

    .mobileOnly {
        display: flex;
    }

    .pcOnly {
        display: none;
    }
}

@media (max-width: 800px) {
    .topSection {
        flex-direction: column;
        align-items: center;
    }

    .footerLeft {
        width: 100%;
        align-items: center;
    }

    .footerSponsers {
        justify-content: center;
    }

    .linksContainer {
        width: 100%;
        justify-content: center;
    }

    .linkColumn h4 {
        font-weight: 600;
        margin-bottom: 5px;
    }

    .bottomRow {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .bottomMeta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

@media (max-width: 650px) {
    .footer {
        padding-left: 24px;
        padding-right: 24px;
    }

    .footerLeft {
        align-items: flex-start;
    }

    .linksContainer {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .bottomRow {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .bottomMeta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .legalLinks{
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin: 14px 0;
    }
}



#footerEntrelacs {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    z-index: 0;
}