/* ==========================================================================
   Footer Styles
   ========================================================================== */

.site-footer {
    background: var(--secondary-color);
    color: #ffffff;
    padding: 60px 40px 30px;
    margin-top: auto;
    font-size: 14px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Top Section: Contact & Logos */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-contact h3 {
    font-size: 28px;
    font-weight: 400;
    margin: 0 0 15px 0;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-align: left;
}

.footer-contact p {
    margin: 0;
    font-size: 16px;
}

.footer-contact a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    padding-left: 27px;
}

.footer-contact a:hover {
    opacity: 0.8;
}

.footer-logos {
    display: flex;
    gap: 35px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo-item {
    display: flex;
    width: 160px;
    justify-content: center;
    align-items: center;
    transition: 0.2s ease;
}

.footer-logo-item:hover {
    transform: scale(1.2);
}

.footer-logo-item img {
    width: 100%;
    object-fit: cover;
}

/* Divider Line */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 30px 0;
}

/* Bottom Section: Copyright & Social Media */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    flex: 1;
}

.footer-copyright p {
    margin: 0;
    font-size: 13px;
    color: #ffffff;
}

.footer-copyright a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    margin-left: 3px;
}

.footer-copyright a:hover {
    opacity: 0.8;
}

/* Social Media Icons */
.footer-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icon {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-circle {
    width: auto;
    height: auto;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    padding: 8px;
}

.social-icon:hover .social-circle {
    background-color: rgba(255, 255, 255, 0.2);
}

.social-circle svg {
    width: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 20px 20px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-contact {
        text-align: center;
        width: 100%;
    }
    
    .footer-logos {
        justify-content: center;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-copyright {
        order: 2;
    }
    
    .footer-social {
        order: 1;
        margin-bottom: 20px;
    }

    .footer-contact h3 {
        text-align: center;
    }
}

/* Ensure the page layout uses flexbox for sticky footer */
.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--background-color);
}

.site-main {
    flex: 1;
}

.telephone::before {
    content: url("../blinc-assets/icons/phone-white.svg");
    position: absolute;
    transform: translateX(-27px);
}

.email::before {
    content: url("../blinc-assets/icons/email-white.svg");
    position: absolute;
    transform: translateX(-27px);
}