/* Свойства всего футера на всю страницу*/
.footer__container {
    background-color: #f8f9fa;
    padding: 48px 24px 24px 24px;
}

/* Класс для регулирования ширины белых колонок по бокам футера. Пропадает в мобильной версии.*/
.footer__side-width {
    width: 10%;
}

/* Класс для регулирования ширины центральной колонки футера.*/
.footer__central-width {
    width: 80%;
}

@media (max-width: 1000px) {
    .footer__side-width {
        width: 0;
    }

    .footer__central-width {
        width: 100%;
    }
}

/* Свойства четырёх колонок */
.footer__columns {
    display: flex;
    align-items: center;
    min-height: 200px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 20px;
}

/* Свойства одной колонки */
.footer__column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    padding: 15px;
}

.footer__column--social {
    background-color: white; /*#f0f0f0;*/
    border-radius: 10px;
}

.footer__column--content {
    text-align: center;
}

/* Класс эля описания внутренних свойств контента */
.footer__block {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Элемент разделитель между блоками футера */
.footer__divider {
    width: 1px;
    height: 200px;
    background-color: #ddd;
    margin: 0 15px;
}

.footer__image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.footer__image,
.footer__main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.footer__text-content {
    text-align: center;
    line-height: 1.6;
    color: #555;
    max-width: 90%;
}

.footer__text-content h1,
.footer__text-content h2,
.footer__text-content h3 {
    color: #333;
    margin-bottom: 10px;
}

.footer__text-content p {
    margin-bottom: 10px;
}

/* 🔗 ЭЛЕМЕНТ: LINKS */
.footer__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__link {
    /*color: #666;*/
    text-decoration: none;
    /*padding: 4px ;*/
    /*border-radius: 20px;*/
    transition: all 0.3s ease;
    text-align: left;
}

.footer__link:hover {
    color: cornflowerblue;
    transform: translateX(5px);
}

.footer__link-divider {
    height: 1px;
    min-width: 200px;
    max-width: 300px;
    background-color: #ddd;
    margin: 0 0px 4px 0;
}



/* 🎴 ЭЛЕМЕНТ: COMPOSITE (картинка + соцсети) */
.footer__composite {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.footer__composite-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer__composite-social {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
}

.footer__social-small {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: #f0f0f0;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #666;
    font-size: 12px;
}

.footer__social-small:hover {
    color: white;
    transform: scale(1.1);
}

/* МОБИЛЬНАЯ ВЕРСИЯ */
@media (max-width: 768px) {
    .footer__columns {
        flex-direction: column;
        min-height: auto;
    }

    .footer__column {
        width: 100%;
        height: auto;
        min-height: 150px;
        margin-bottom: 20px;
    }

    .footer__divider {
        display: none;
    }
}

/* Классы для блока с иконками социальных сетей */
.footer__social {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer__social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #666;
    font-size: 14px;
}

.footer__social-icon:hover {
    color: white;
    transform: scale(1.1);
}
