/* Современный дизайн футера в стиле сайта */

footer.main {
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    margin-top: 4rem;
}

/* Верхняя секция с иконками */
footer .featured {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    padding: 3rem 0;
    border-bottom: 3px solid rgba(255, 255, 255, 0.1);
}

footer .banner-left-icon {
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Переопределяем стили из main.css для футера */
footer .featured .banner-left-icon {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid rgba(255, 255, 255, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

footer .featured .banner-left-icon:hover {
    background: rgba(255, 255, 255, 1) !important;
    border-color: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(-5px);
}

footer .featured .banner-left-icon .banner-text h3.icon-box-title {
    color: #1a1a1a !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

footer .featured .banner-left-icon .banner-text p {
    color: #495057 !important;
    font-size: 0.9rem !important;
}

footer .banner-left-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

footer .featured .banner-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%) !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 1rem;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

footer .featured .banner-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
}

footer .banner-text h3.icon-box-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

footer .banner-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

/* Средняя секция футера */
footer .footer-mid {
    background: #ffffff;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
}

footer .widget-about {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

footer .widget-about .logo {
    margin-bottom: 1.5rem;
}

footer .widget-about .logo img {
    max-width: 200px;
    height: auto;
    filter: none;
    transition: all 0.3s ease;
}

footer .widget-about .logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.3));
}

footer .widget-about p {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Виджеты футера */
footer .footer-link-widget {
    margin-bottom: 2rem;
}

footer .footer-link-widget .widget-title {
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #ff6b35;
    position: relative;
}

footer .footer-link-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #ff6b35 0%, #f7931e 100%);
}

/* Список ссылок футера */
footer .footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-list li {
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

footer .footer-list li:hover {
    padding-left: 5px;
}

footer .footer-list li a {
    color: #495057;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

footer .footer-list li a::before {
    content: '→';
    color: #ff6b35;
    opacity: 0;
    transition: all 0.2s ease;
    font-weight: 700;
}

footer .footer-list li:hover a {
    color: #ff6b35;
    padding-left: 0;
}

footer .footer-list li:hover a::before {
    opacity: 1;
    margin-right: 0.5rem;
}

/* Виджет установки приложения */
footer .widget-install-app p {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

footer .download-app {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

footer .download-app a {
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

footer .download-app a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 107, 53, 0.4);
}

footer .download-app img {
    max-width: 180px;
    height: auto;
    border-radius: 8px;
}

/* Нижняя секция футера */
footer .container:last-child {
    background: #ffffff;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

footer .footer-bottom {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #ff6b35 50%, transparent 100%);
    margin-bottom: 2rem;
}

footer .font-sm {
    color: #6c757d;
    font-size: 0.9rem;
}

footer .text-brand {
    color: #ff6b35;
    font-weight: 700;
}

/* Стили для контактов в футере */
footer .mobile {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

footer .mobile h6 {
    color: #1a1a1a;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

footer .mobile p {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
}

footer .mobile a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

footer .mobile a:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

footer .mobile a img {
    width: 20px;
    height: 20px;
    filter: none;
    transition: all 0.3s ease;
}

footer .mobile a:hover img {
    filter: brightness(0) invert(1);
}

/* Адаптивность */
@media (max-width: 991px) {
    footer .featured {
        padding: 2rem 0;
    }
    
    footer .banner-left-icon {
        margin-bottom: 1rem;
    }
    
    footer .footer-mid {
        padding: 3rem 0 1.5rem;
    }
    
    footer .footer-link-widget {
        margin-bottom: 2.5rem;
    }
    
    footer .widget-about .logo img {
        max-width: 150px;
    }
}

@media (max-width: 767px) {
    footer .featured {
        padding: 1.5rem 0;
    }
    
    footer .banner-left-icon {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    footer .banner-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    footer .footer-mid {
        padding: 2rem 0 1rem;
    }
    
    footer .widget-about .logo img {
        max-width: 120px;
    }
    
    footer .widget-about {
        padding-left: 1rem;
    }
    
    footer .mobile {
        justify-content: center;
        text-align: center;
    }
}

