
/* ==================================================
   WEBLYD - PREMIUM FOOTER
   File: footer.css
   Website: weblyd.com
================================================== */


/* ==========================================
   MAIN FOOTER BACKGROUND
========================================== */

.site-footer {
    position: relative;

    padding-top: 64px;

    background: linear-gradient(
        180deg,
        #000000 0%,
        #000000 40%,
        #08171D 75%,
        #102B33 100%
    );

    border-top: 1px solid
        rgba(8, 203, 182, 0.25);

    color: var(--color-text-light);
}


/* ==========================================
   FOOTER GRID LAYOUT
========================================== */

.footer-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 0.85fr)
        minmax(0, 1fr)
        minmax(0, 1.15fr);

    align-items: start;

    gap: 48px;

    padding-bottom: 40px;
}


.footer-column {
    min-width: 0;
}


/* ==========================================
   FOOTER LOGO
========================================== */

.footer-logo {
    display: inline-block;

    width: 210px;
    max-width: 100%;

    
}


.footer-logo img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
}


/* ==========================================
   COMPANY DESCRIPTION
========================================== */

.footer-description {
    max-width: 310px;

    margin-bottom: 24px;
    margin-top: 20px;

    color: var(--color-text-light);

    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.8;
}


/* ==========================================
   FOOTER COLUMN HEADINGS
========================================== */

.footer-title {
    margin-bottom: 20px;

    color: var(--color-primary);

    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;

    line-height: 1.4;
    letter-spacing: -0.02em;
}


/* ==========================================
   FOOTER NAVIGATION LINKS
========================================== */

.footer-links {
    display: flex;
    flex-direction: column;

    gap: 10px;

    list-style: none;
}


.footer-links li {
    line-height: 1.7;
}


.footer-links a {
    display: inline-block;

    color: var(--color-text-light);

    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;

    transition:
        color var(--transition-normal),
        transform var(--transition-normal);
}


.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--color-primary);

    transform: translateX(5px);
}


/* ==========================================
   SOCIAL MEDIA ICONS
========================================== */

.footer-socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 24px;
}


.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    flex-shrink: 0;

    color: var(--color-white);

    background-color: rgba(8, 203, 182, 0.20);

    border: 1px solid
        rgba(8, 203, 182, 0.10);

    border-radius: 8px;

    transition:
        color var(--transition-normal),
        background-color var(--transition-normal),
        border-color var(--transition-normal),
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}


.footer-social svg {
    width: 17px;
    height: 17px;
}


.footer-socials a.footer-social:hover,
.footer-socials a.footer-social:focus-visible {
    color: var(--color-text-dark);

    background-color: var(--color-primary);

    border-color: var(--color-primary);

    transform: translateY(-4px);

    box-shadow: 0 0 20px
        rgba(8, 203, 182, 0.25);
}


/* ==========================================
   FOOTER CONTACT INFORMATION
========================================== */

.footer-contact {
    display: flex;
    flex-direction: column;

    gap: 24px;

    font-style: normal;
}


.footer-office {
    display: flex;
    flex-direction: column;

    gap: 10px;
}


/* Office Title */

.footer-office-title {
    margin-bottom: 2px;

    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;

    line-height: 1.6;

    color: var(--color-white);
}


/* Contact Items */

.footer-contact-item {
    display: flex;
    align-items: flex-start;

    gap: 10px;
}


.footer-contact-item svg {
    flex-shrink: 0;

    width: 15px;
    height: 15px;

    margin-top: 4px;

    color: var(--color-primary);

    stroke-linecap: round;
    stroke-linejoin: round;
}


.footer-contact-item p,
.footer-contact-item a {
    min-width: 0;

    margin: 0;

    color: var(--color-text-light);

    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;

    line-height: 1.75;

    overflow-wrap: anywhere;
}


.footer-contact-item strong {
    font-weight: 600;
}


.footer-contact-item a {
    transition:
        color var(--transition-normal);
}


.footer-contact-item a:hover,
.footer-contact-item a:focus-visible {
    color: var(--color-primary);
}


/* ==========================================
   FOOTER COPYRIGHT
========================================== */

.footer-bottom {
    padding-block: 18px 32px;

    border-top: 1px solid
        rgba(255, 255, 255, 0.10);

    text-align: center;
}


.footer-bottom p {
    margin: 0;

    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;

    color: var(--color-text-light);

    line-height: 1.7;
}


/* ==========================================
   LAPTOP RESPONSIVE
========================================== */

@media (max-width: 1200px) {

    .footer-grid {
        gap: 32px;
    }

    .footer-logo {
        width: 190px;
    }

    .footer-title {
        font-size: 1.25rem;
    }

}


/* ==========================================
   TABLET LANDSCAPE
========================================== */

@media (max-width: 1024px) {

    .site-footer {
        padding-top: 56px;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 40px;
    }

    .footer-description {
        max-width: 340px;
    }

}


/* ==========================================
   TABLET PORTRAIT
========================================== */

@media (max-width: 768px) {

    .footer-grid {
        gap: 32px;
    }

    .footer-title {
        margin-bottom: 16px;
    }

    .footer-contact {
        gap: 20px;
    }

}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 576px) {

    .site-footer {
        padding-top: 40px;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 20px;
        row-gap: 32px;

        padding-bottom: 28px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-contact-column {
        grid-column: 1 / -1;
    }

    .footer-logo {
        width: 185px;

        margin-bottom: 16px;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-title {
        font-size: 1.125rem;

        margin-bottom: 16px;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-links a {
        font-size: 0.875rem;
    }

    .footer-social {
        width: 44px;
        height: 44px;
    }

    .footer-socials {
        margin-top: 20px;
    }

    .footer-bottom {
        padding-block: 18px 24px;
    }

    .footer-bottom p {
        font-size: 0.8125rem;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 360px) {

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 28px;
    }

}

