
/*
 * AIMX – Custom Footer
 *
 * Χρειάζεται: aimx-base.css
 * Footer markup: footer.php του theme
 */


/* =========================================
   MAIN FOOTER
========================================= */

.aimx-footer {
    background-color: #f7a8bd;
    color: #ffffff;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, sans-serif;
    width: 100%;
    box-sizing: border-box;
}

.aimx-footer *,
.aimx-footer *::before,
.aimx-footer *::after {
    box-sizing: border-box;
}


/* =========================================
   4 COLUMNS LAYOUT
========================================= */

.aimx-footer__inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 65px 20px 55px;

    display: grid;
    grid-template-columns: 1.3fr 1fr 0.85fr 0.7fr;
    gap: 45px;

    align-items: start;
    text-align: left;
}


/* =========================================
   COLUMNS
========================================= */

.aimx-footer__column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}


/* =========================================
   UNIFIED COLUMN HEADINGS
   Υπεύθυνος / Προϊόντα / Σελίδες
========================================= */

#aimx-footer .aimx-footer__heading,
#aimx-footer .aimx-footer__title {
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.5px;

    margin: 0;
    padding: 0;
}


/* =========================================
   HEADING UNDERLINES
========================================= */

#aimx-footer .aimx-footer__heading-line,
#aimx-footer .aimx-footer__title-line {
    width: 38px;
    height: 2px;
    background-color: #ffffff;
    margin: 16px 0 24px;
    flex-shrink: 0;
}


/* =========================================
   COLUMN 1 – COMPANY
========================================= */

.aimx-footer__company-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 26px;
    letter-spacing: 0.3px;
}

.aimx-footer__address {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    color: #ffffff;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.aimx-footer__address svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: #ffffff;
}


/* =========================================
   PRODUCT & PAGE LINKS
========================================= */

.aimx-footer__list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.aimx-footer__list li {
    list-style: none !important;
    margin: 0 0 13px !important;
    padding: 0 !important;
}

.aimx-footer__list li::before {
    display: none !important;
    content: none !important;
}

.aimx-footer__list a {
    color: #ffffff;
    text-decoration: none !important;

    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.4px;
    line-height: 1.7;

    transition: opacity 0.3s ease,
                transform 0.3s ease;
}

.aimx-footer__list a:hover {
    color: #ffffff;
    opacity: 0.75;
    text-decoration: underline !important;
    text-underline-offset: 4px;
}


/* =========================================
   COLUMN 4 – BRAND & INSTAGRAM
========================================= */

.aimx-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.aimx-footer__logo {
    display: inline-block;
    max-width: 145px;
    margin-bottom: 25px;
}

.aimx-footer__logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 65px;
    object-fit: contain;
    object-position: left center;
    margin: 0;
}

.aimx-footer__instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 50%;

    transition: transform 0.25s ease,
                background 0.25s ease,
                color 0.25s ease;
}

.aimx-footer__instagram:hover {
    transform: scale(1.12);
    background: #ffffff;
    color: #f7a8bd;
}

.aimx-footer__instagram svg {
    display: block;
}


/* =========================================
   BOTTOM BAR
========================================= */

.aimx-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.3);
    width: 100%;
    margin-top: 0;
}

.aimx-footer__bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 12px;
    letter-spacing: 0.6px;
    color: rgba(255,255,255,0.9);

    flex-wrap: wrap;
    gap: 10px;
}

.aimx-footer__signature {
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0.85;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .aimx-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 45px 35px;
        padding: 55px 30px 45px;
    }

}


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

@media (max-width: 600px) {

    .aimx-footer__inner {
        grid-template-columns: 1fr;
        gap: 38px;
        padding: 45px 25px 40px;
    }

    #aimx-footer .aimx-footer__heading,
    #aimx-footer .aimx-footer__title {
        font-size: 18px;
        line-height: 1.4;
    }

    #aimx-footer .aimx-footer__heading-line,
    #aimx-footer .aimx-footer__title-line {
        margin: 16px 0 24px;
    }

    .aimx-footer__company-name {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .aimx-footer__address {
        font-size: 14px;
    }

    .aimx-footer__list li {
        margin-bottom: 11px !important;
    }

    .aimx-footer__list a {
        font-size: 14px;
    }

    .aimx-footer__logo {
        max-width: 130px;
    }

    .aimx-footer__bottom-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 9px;
        padding: 20px 15px;
        font-size: 11px;
    }

}