/**
 * GenPA Footer Styles
 * Multi-column layout with GSP branding
 * Green and white color scheme
 */

/* ===================================
   Main Footer Container
   =================================== */
.site-footer {
    background-color: var(--gsp-evergreen);
    color: #fff;
    margin-top: auto;
}

.site-footer .footer-main {
    padding: 3rem 0;
}

/* ===================================
   Footer Brand Section
   =================================== */
.site-footer .footer-brand {
    margin-bottom: 1.5rem;
}

.site-footer .footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.site-footer .footer-title {
    font-family: var(--gsp-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.site-footer .footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 300px;
}

/* ===================================
   Footer Column Headings - White
   =================================== */
.site-footer .footer-heading {
    font-family: var(--gsp-font-body);
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.site-footer .footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #fff;
}

/* ===================================
   Footer Links - White
   =================================== */
.site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-links li {
    margin-bottom: 0.625rem;
}

.site-footer .footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--gsp-transition-fast);
    display: inline-flex;
    align-items: center;
}

.site-footer .footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.site-footer .footer-links a i {
    margin-right: 0.5rem;
    font-size: 0.75rem;
    color: #fff;
    opacity: 0;
    transition: var(--gsp-transition-fast);
}

.site-footer .footer-links a:hover i {
    opacity: 1;
}

/* ===================================
   Contact Info Section - White
   =================================== */
.site-footer .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-contact li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

.site-footer .footer-contact li i {
    color: #fff;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    width: 1rem;
    flex-shrink: 0;
}

.site-footer .footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--gsp-transition-fast);
}

.site-footer .footer-contact a:hover {
    color: #fff;
}

/* ===================================
   Social Links - White
   =================================== */
.site-footer .social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.site-footer .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--gsp-transition-base);
}

.site-footer .social-link:hover {
    background-color: #fff;
    color: var(--gsp-evergreen);
    transform: translateY(-3px);
}

/* ===================================
   Stats Section - White
   =================================== */
.site-footer .footer-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.site-footer .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.site-footer .stat-item i {
    color: #fff;
}

/* ===================================
   Copyright Bar - White accents
   =================================== */
.site-footer .footer-copyright {
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1.25rem 0;
}

.site-footer .footer-copyright .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.site-footer .copyright-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
}

.site-footer .copyright-text a {
    color: #fff;
    text-decoration: none;
}

.site-footer .copyright-text a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer .footer-legal {
    display: flex;
    gap: 1.5rem;
}

.site-footer .footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8125rem;
    text-decoration: none;
    transition: var(--gsp-transition-fast);
}

.site-footer .footer-legal a:hover {
    color: #fff;
}

/* ===================================
   Back to Top Button - Green/White
   =================================== */
#btn-back-to-top {
    background-color: var(--gsp-evergreen);
    border: 2px solid #fff;
    color: #fff;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--gsp-transition-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#btn-back-to-top:hover {
    background-color: #fff;
    color: var(--gsp-evergreen);
    transform: translateY(-3px);
}

/* ===================================
   Mobile Responsive
   =================================== */
@media (max-width: 991.98px) {
    .site-footer .footer-main {
        padding: 2.5rem 0;
    }

    .site-footer .footer-column {
        margin-bottom: 2rem;
    }

    .site-footer .footer-heading::after {
        width: 40px;
    }
}

@media (max-width: 767.98px) {
    .site-footer .footer-copyright .container {
        flex-direction: column;
        text-align: center;
    }

    .site-footer .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .site-footer .footer-brand {
        text-align: center;
    }

    .site-footer .footer-description {
        max-width: 100%;
    }

    .site-footer .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .site-footer .social-links {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .site-footer .footer-stats {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
