@import url('root.css');

/* Стили для футера */
footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    background-color: #2c3e50;
    text-align: center;
    justify-content: center;
    padding: 2rem;
    margin-top: auto;
    color: #f8f8f8;
}


hr {
    border: 0;
    height: 4px;
    background-image: linear-gradient(to right, #BFE2FF 50%, #337AB7 50%, #337AB7 60%, #ff9100 60%, #ff9100 70%, #05b5e6 70%, #05b5e6 80%, #b448b8 80%, #b448b8 90%, #BFE2FF 90%, #BFE2FF 100%);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Колонки */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #d69f64;
}

.footer-description {
    line-height: 1.6;
    opacity: 0.9;
}

/* Ссылки */
.footer-links,
.footer-contacts {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contacts a {
    color: #f8f8f8;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-contacts a:hover {
    opacity: 1;
    color: #d69f64;
    transform: translateX(5px);
    display: inline-block;
}

/* Соцсети */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: #f8f8f8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #d69f64;
    transform: translateY(-3px);
}


/* Нижняя часть */
.footer-bottom {
    width: 100%;
    margin-top: 2rem;
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.footer-bottom-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}


@media (max-width: 768px) {
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    
}