/*=======================================
            Footer General
========================================*/

footer {
    background-color: #262E36;
    color: #CFC7AB;
    padding: 0 45px;

    @media (max-width: 1200px) {
        padding: 0;
    }

    a {
        text-decoration: none;
        color: #CFC7AB;
    }

}





/*=======================================
            Newsletter
========================================*/

footer .newsletter {
    padding: 100px 0;

    @media (max-width: 1000px) {
        padding: 70px 0;
    }

    h2 {
        font-style: normal;
        font-weight: 500;
        font-size: 50px;
        line-height: 56px;
        color: #CFC7AB;

        @media (max-width: 600px) {
            font-size: 35px;
            line-height: 1.2;
        }

    }

    .text-container {
        max-width: 700px;
        margin: 15px auto;
        font-style: normal;
        font-weight: normal;
        font-size: 18px;
        line-height: 30px;

        @media (max-width: 600px) {
            line-height: 1.3;
        }

    }

    .link {
        text-align: center;
        margin-top: 50px;
    }

}







/*=======================================
                Boxes
========================================*/

footer .boxes {
    margin-bottom: 130px;

    @media (max-width: 800px) {
        margin-bottom: 70px;
    }

    .contents {
        justify-content: flex-start;
        align-items: unset;
        margin: 0 -22px;

        .box {
            width: calc(100% / 3 - 44px);
            margin: 0 22px;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            position: relative;
            color: white;
            border-bottom: 1px solid var(--beige);
            display: flex;
            flex-direction: column;

            @media (max-width: 1000px) {
                width: calc(50% - 44px);

                &:last-of-type {
                    margin-top: 44px;
                }

            }

            @media (max-width: 600px) {
                width: calc(100% - 44px);
                margin-bottom: 40px;

                &:last-of-type {
                    margin-top: 0;
                }

            }

            .image {
                margin-bottom: 15px;
                overflow: hidden;

                img {
                    transition: transform 1s ease;
                    transform-origin: 100% 50%;
                }

            }

            &:hover {

                .image img {
                    transform: scale(1.05);
                }

            }


            .main {
                display: flex;
                flex-direction: column;
                flex-grow: 1;
                justify-content: space-between;
            }

            h3 {
                font-size: 24px;
                line-height: 1;
                color: var(--beige);
                margin-bottom: 7px;
            }

            p {
                font-size: 20px;
                font-weight: 400;
                line-height: 1.2;
                color: var(--beige);
                margin-bottom: 30px;

                @media (max-width: 1300px) {
                    font-size: 18px;
                }

            }

        }

    }

}






/*=======================================
            Columns
========================================*/

footer .columns {
    margin-bottom: 100px;

    @media (max-width: 800px) {
        margin-bottom: 30px;
    }

    .column.logo {
        width: 400px;
        position: relative;

        img {
            width: 220px;
        }

        @media (max-width: 1300px) {
            width: 300px;
        }

        @media (max-width: 1100px) {
            width: 100%;
            margin-bottom: 30px;
        }

        @media (max-width: 800px) {
            text-align: center;
        }

    }

    .other-cols {
        width: calc(100% - 400px);
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;

        @media (max-width: 1300px) {
            width: calc(100% - 300px);
        }

        @media (max-width: 1100px) {
            width: 100%;
        }

        .column {
            width: calc(100% / 3);

            @media (max-width: 800px) {
                width: 100%;
                text-align: center;
                margin-bottom: 30px;
            }

        }

    }

    .contact p {
        font-size: 16px;
        line-height: 24px;
        font-weight: normal;
        color: #CFC7AB;
        margin-bottom: 5px;

        a {
            position: relative;
            text-decoration: none !important;

            &:before {
                content: "";
                width: 0px;
                height: 1px;
                background-color: #CFC7AB;
                position: absolute;
                bottom: -2px;
                left: 0;
                transition: all 0.3s ease-in-out;
            }

            &:hover {

                &:before {
                    width: 100%;
                }

            }

        }

        &.insta-link {
            margin-top: 20px;
        }

    }

    .menu-column li {
        line-height: 1;
        padding-bottom: 10px;
    }

    .menu-column a {
        font-size: 16px;
        font-weight: normal;
        color: #CFC7AB;
        position: relative;
        text-decoration: none !important;

        &:before {
            content: "";
            width: 0px;
            height: 1px;
            background-color: #CFC7AB;
            position: absolute;
            bottom: -2px;
            left: 0;
            transition: all 0.3s ease-in-out;
        }

        &:hover {

            &:before {
                width: 100%;
            }

        }

    }

}






/*=======================================
                Bottom
========================================*/

footer .bottom {

    .contents {
        padding: 30px 0 70px;
        border-top: 1px solid var(--beige);
    }

    p {
        font-size: 16px;
        line-height: 24px;
        text-align: center;
        font-weight: normal;
        color: #CFC7AB;

        a {
            text-decoration: underline;
        }

    }

}