/* Основные стили */
.site-footer {
    background-color: white;
    color: #696969;
    padding: 20px 0 10px;
    font-family: Arial, sans-serif;
    border-top: 1px solid #e0e0e0;

}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 15px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
    padding: 0 15px;
}

.footer-title {
    border-bottom: 2px solid #b00000;
    padding-bottom: 10px;
    display: inline-block;
    color: #696969;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-text {
    margin-top: 15px;
    line-height: 1.6;
    font-size: 14px;
}

/* Стили для ссылок */

.footer-links-columns {
    display: flex;
    flex-wrap: wrap; /* Добавлено для переноса на маленьких экранах */
    gap: 30px;
    margin-top: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 2;
    min-width: 120px;
    flex: 1; /* Добавлено для гибкого распределения пространства */
}


.footer-links a,
.footer-address a,
.social-icon {
    color: #696969;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-links a:hover,
.footer-address a:hover,
.social-icon:hover {
    color: #b00000;
}

/* Стили для контактов */
.footer-address {
    margin-top: 15px;
    line-height: 1.6;
    font-style: normal;
    font-size: 14px;
}

/* Нижняя часть подвала */
.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    padding: 0 15px;
}

.copyright {
    margin: 0;
    font-size: 14px;
}

.social-icons {
    margin-top: 15px;
}

.social-icon {
    margin: 0 10px;
    font-size: 20px;
    display: inline-block;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {

.site-footer {
    padding: 20px 0 55px;
}
    .footer-container {
        flex-direction: column;
    }
    .footer-section {
        flex: 100%;
        margin-bottom: 30px;
        text-align: left;
    }
    .footer-title {
        display: block;
        text-align: left;
    }
 .footer-links-columns {
         gap: 15px; /* Уменьшаем отступ между колонками */
             }
                 
  .footer-links {
       min-width: calc(50% - 15px); /* Две колонки с учетом gap */
     box-sizing: border-box;
         }

    .footer-bottom {
        padding-top: 10px;
    }
}

