/*

Theme Name: ABS_Poznan (Libelta)

Author: ABS

Description: ABS_Poznan (Libelta)

Version: 1.0

License: GNU General Public License v2 or later

License URI: http://www.gnu.org/licenses/gpl-2.0.html

Text Domain:ABS_Poznan (Libelta)

*/

.footer {
    background: linear-gradient(180deg, #1a1f2c 0%, #131722 100%);
    color: #fff;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(15, 117, 187, 0.3) 50%, 
        transparent 100%
    );
}

.footer__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #0F75BB;
    transition: width 0.3s ease;
}

.footer__column:hover .footer__title::after {
    width: 50px;
}

.footer__text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer__link {
    color: #0F75BB;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #0F75BB;
    transition: width 0.3s ease;
}

.footer__link:hover {
    color: #4169E1;
}

.footer__link:hover::after {
    width: 100%;
}

.footer__contact-item, 
.footer__branch-name,
.footer__branch-address,
.footer__branch-postal {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer__branch {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer__branch:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.footer__bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer__social {
    display: flex;
    gap: 20px;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer__social-icon {
    fill: #fff;
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    background: #0F75BB;
    transform: translateY(-2px);
}

.footer__social-link:hover .footer__social-icon {
    fill: #fff;
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }

    .footer__grid {
        gap: 40px;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer__social {
        justify-content: center;
    }
}