/* Стили футера */
.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    margin-top: 60px;
}

.footer-main {
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    position: relative;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #00bcd4, #03a9f4);
}

/* Контактная информация */
.contact-info p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #bdc3c7;
}

.contact-info strong {
    color: white;
    font-weight: 600;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #00bcd4;
    text-decoration: underline;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
    display: block;
}

.footer-links a:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #3498db;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 20px;
}

.footer-links a:hover:before {
    transform: translateX(3px);
    color: #00bcd4;
}

/* Внешние ссылки */
.footer-links a[target="_blank"]:after {
    content: " ↗";
    font-size: 12px;
    opacity: 0.7;
}

/* Нижняя часть футера */
.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #bdc3c7;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #3498db;
}

/* Адаптивность футера */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-main {
        padding: 40px 0 20px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-main {
        padding: 30px 0 15px;
    }
    
    .contact-info p {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .footer-links a {
        font-size: 14px;
        padding-left: 12px;
    }
    
    .footer-links a:hover {
        padding-left: 16px;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Анимация появления футера */
.site-footer {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Эффекты при наведении на секции */
.footer-section {
    transition: transform 0.3s ease;
    padding: 20px;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
}

.footer-section:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.05);
}

/* Улучшенная читаемость */
.footer-section p,
.footer-section li {
    line-height: 1.6;
}

/* Стили для скрытия noscript блока метрики */
noscript {
    position: absolute;
    left: -9999px;
    top: -9999px;
}