@import url("./company-info.css");
@import url("./copyrights.css");

/* Footer Base */
footer {
    background-color: var(--oxford-blue);
    background-image: url("../../images/footer-bg-top.png"), url("../../images/footer-bg-bottom.png");
    background-repeat: no-repeat;
    background-size: 100% auto, 100% auto;
    background-position: right top, bottom center;
    /* margin-top: 6rem; */
    padding-bottom: 2rem;
    min-height: 500px;
}

footer.lazy {
    background-image: none;
}

/* Footer Top */
.footer-top {
    padding-top: 1.75rem;
    padding-bottom: 1rem;
}

#footer-logo img {
    width: 72px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--white-a85);
    line-height: 1.6;
    margin: 0.75rem 0 0;
    max-width: 420px;
}

/* Footer Grid */
footer .info {
    display: grid;
    gap: 1rem;
    margin-top: 0;
}

/* Typography */
footer p,
footer h3,
footer h4,
footer a {
    color: var(--white);
}

footer p,
footer a {
    font-size: 0.8125rem;
}

footer h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

footer h4 {
    font-weight: 600;
}

/* Column headings */
.footer-netsuite>h3,
.footer-solutions>h3,
.footer-company>h3 {
    color: var(--celtic-blue);
}

/* Links */
.info .links-section .links-wrapper {
    list-style: none;
    margin: 0;
    padding: 0;
}

.links-wrapper li {
    position: relative;
}

.links-wrapper .quick-link,
.links-wrapper .contact-link {
    display: flex;
    align-items: center;
    color: var(--white-a85);
    padding: 0 0 12px 18px;
    transition: color 0.15s ease-in-out;
}

.links-wrapper .quick-link::before {
    content: "";
    background-color: var(--azure);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    position: absolute;
    left: 0;
}

.links-wrapper .quick-link:hover,
.links-wrapper .quick-link.active-page,
.links-wrapper .contact-link:not(.normal-text):hover {
    color: var(--bleu-de-france);
}

/* Contact icons */
.links-wrapper .contact-links-wrapper {
    display: flex;
    flex-direction: column;
    padding-left: 14px;
}

.links-wrapper .contact-links-wrapper::before {
    content: "";
    background: no-repeat center / cover;
    width: 14px;
    height: 14px;
    position: absolute;
    left: 0;
}

.links-section.contacts .contact-links-wrapper.lazy::before {
    background-image: none;
}

.links-wrapper .contact-links-wrapper.number::before {
    background-image: url("../../images/ui/phone-call.png");
}

.links-wrapper .contact-links-wrapper.mail::before {
    background-image: url("../../images/ui/send-mail.png");
}

.links-wrapper .contact-links-wrapper .contact-link {
    padding-left: 11px;
}

/* Heading links */
.footer-heading-link h4 {
    text-decoration: none;
    transition: text-decoration 0.15s ease-in-out;
}

.footer-heading-link:hover h4 {
    text-decoration: underline;
}

/* Desktop */
@media (min-width: 1081px) {
    footer {
        background-size: 80% auto, 100% auto;
        padding-bottom: 9rem;
    }

    footer .info {
        grid-template-columns: 1.6fr 1.4fr 1fr 0.85fr;
        column-gap: 7rem;
        row-gap: 0;
        margin-top: 0;
        padding-top: 1.25rem;
        align-items: start;
    }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 1080px) {
    footer .info {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 2rem;
        row-gap: 0;
    }

    footer .info #company-info-section {
        grid-column: 1 / 4;
    }

    footer .info .footer-netsuite,
    footer .info .footer-solutions,
    footer .info .footer-company {
        padding-top: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 640px) {

    .links-wrapper .quick-link,
    .links-wrapper .contact-link {
        display: inline-flex;
        padding-right: 10px;
    }
}