/* ===== FOOTER ===== */
.main-footer {
    background-color: #e7685d;
    color: #ffffff;
    padding: 60px 0 0;
    margin-top: 80px;
}

.footer-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    padding: 0 15px;
}

.footer-heading {
    font-family: 'Manrope', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-text {
    font-family: 'Onest', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-family: 'Onest', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff !important;
    transform: translateX(5px);
}

.footer-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contacts li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-family: 'Onest', sans-serif;
    font-size: 0.95rem;
}

.footer-contacts i {
    font-size: 1rem;
    margin-right: 12px;
    width: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contacts a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contacts a:hover {
    color: #ffffff !important;
}

.footer-contacts span {
    color: rgba(255, 255, 255, 0.85);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff !important;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: #ffffff !important;
}

.social-link i {
    color: #ffffff !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    font-family: 'Onest', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Footer адаптивність */
@media (max-width: 992px) {
    .footer-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .main-footer {
        padding: 40px 0 0;
        margin-top: 60px;
    }

    .footer-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col {
        padding: 0;
    }

    .footer-heading {
        font-size: 1.1rem;
    }

    .footer-text,
    .footer-links a,
    .footer-contacts li {
        font-size: 0.9rem;
    }
}

/* ===== SCROLL TO TOP BUTTON ===== */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #e7685d !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(231, 104, 93, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}

#scrollToTopBtn:hover {
    background-color: #d45648 !important;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(231, 104, 93, 0.5);
}

#scrollToTopBtn i {
    font-size: 1.2rem;
    color: #ffffff !important;
}

/* Mobile */
@media (max-width: 768px) {
    #scrollToTopBtn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }

    #scrollToTopBtn i {
        font-size: 1rem;
    }
}
