/* ==========================================================
Project : Compro Doodle
Module  : Layout
File    : footer.css
Version : 1.0.0
Author  : Doodle Engineering
========================================================== */

/* ======================
   FOOTER CLEAN FINAL
====================== */

.footer {

    position: relative;

    padding: 80px 20px 30px;

    margin-top: 0;

    overflow: hidden;

}

/* background awan */

.footer::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        url('/static/img/footer/awan_website.png')
        no-repeat
        center
        bottom;

    background-size: cover;

    z-index: 0;

}

/* content layer */

.footer-container,
.footer-bottom {

    position: relative;

    z-index: 2;

}

/* layout utama */

.footer-container {

    max-width: 1200px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

}

/* kiri */

.footer-left {

    display: flex;

    align-items: center;

    gap: 40px;

}

/* logo */

.footer-brand-block {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 6px;

}

.footer-logo-sub {

    width: 55px;

}

.footer-logo {

    width: 210px;

    display: block;

    margin: 0 auto;

}

/* ======================
   MENU
====================== */

.footer-menu {

    display: flex;

    gap: 28px;

    list-style: none;

}

.footer-menu a {

    text-decoration: none;

    color: #666;

    font-size: 14px;

    font-weight: 500;

}

.footer-menu a:hover {

    color: #FF3874;

}

/* kanan */

.footer-right {

    display: flex;

    align-items: center;

}

/* social */

.social {

    display: flex;

    gap: 14px;

}

.social img {

    width: 22px;

}

/* divider */

.footer-divider {

    position: relative;

    z-index: 10;

    width: 100%;

    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            #ddd,
            transparent
        );

    margin: 30px 0 20px;

}

/* ======================
   FOOTER BOTTOM
====================== */

.footer-bottom {

    max-width: 1200px;

    margin: 25px auto 0;

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.footer-bottom-left {

    font-size: 12px;

    color: #999;

}

.footer-bottom-right {

    font-size: 12px;

}

.footer-top {

    position: relative;

    z-index: 1;

}

.powered-text {

    font-weight: 700;

    color: #000;

}

.brand-text {

    font-weight: 700;

    color: var(--doodle-pink);

    text-decoration: none;

    transition: .3s;

    cursor: pointer;

}

.brand-text:hover {

    opacity: .7;

}

/* ======================
   MOBILE
====================== */

@media (max-width:768px){

    .footer-container{

        flex-direction:column;

        text-align:center;

        align-items:center;

        gap:25px;

    }

    .footer-left{

        flex-direction:column;

        align-items:center;

        text-align:center;

        gap:15px;

    }

    .footer-right{

        justify-content:center;

    }

    .footer-menu{

        flex-direction:column;

        align-items:center;

        gap:10px;

    }

    .footer-bottom{

        flex-direction:column;

        text-align:center;

        align-items:center;

        gap:10px;

    }

    .footer-bottom-left,

    .footer-bottom-right{

        text-align:center;

    }

}
