/* assets/css/footer.css */

/* Подвал */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 50px 0 20px;
    margin-top: auto;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.footer-section h3,
.footer-section h4 {
    color: #3498db;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.footer-section a {
    display: block;
    color: #ddd;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
    padding-left: 5px;
}

.footer-section p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section p i {
    width: 20px;
    margin-right: 8px;
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(255,255,255,0.1) !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
}

.social-links a:hover {
    background: #3498db !important;
    transform: translateY(-3px) !important;
    padding-left: 0 !important;
}

.social-links a i {
    margin: 0 !important;
    width: auto !important;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #bbb;
    font-size: 14px;
}

.footer-bottom p {
    margin: 5px 0;
}

/* Иконка на портал */
.in-the-portal.icon-item i {
    font-size: 22px !important;
    margin-bottom: 2px !important;
    transition: all 0.3s ease !important;
    color: rgba(255, 255, 255, 0.9) !important;
    
}



/* Адаптивность для подвала */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3,
    .footer-section h4 {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-bottom {
        font-size: 12px;
    }
}