/* Footer Styles - Ważność: 5 (najwyższa) */
.site-footer {
    background-color: var(--color-main);
    color: #a2a2bf;
    font-family: var(--font-face);
}

.footer-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.2) 80%, rgba(0, 0, 0, 0) 100%);
}

#footer-line {
    border-top: 1px solid #F8F8F885;
    width: 100%;
    max-width: var(--max-width);
    text-align: center;
    padding: 1em 0px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max-width);
    padding: 3em 20px;
    gap: 2em;
}

.footer-content .footer-widget-area {
    flex: 1;
    min-width: 320px;
}

.footer-content .footer-widget-area .logo {
    margin-bottom: 1em;
}

#social-media {
    text-align: center;
}

footer a {
    color: var(--color-white);
    transition: color 0.5s ease;
}

footer a:hover {
    color: var(--color-orange);
}

#social-media svg g {
    fill: var(--color-white);
    transition: 0.5s ease;
}

#social-media svg:hover g {
    fill: var(--color-orange);
}

#scrollToTopBtn {
    position: fixed;
    z-index: 99;
    bottom: 2em;
    right: 10px;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    cursor: pointer;
    transform: scale(100%);
    opacity: 1;
    transition: opacity 0.5s;
}

#scrollToTopBtn #scrollProgress, #scrollToTopBtn #scrollIcon {
    fill: transparent;
    stroke: var(--color-main);
}

#scrollToTopBtn #scrollcircleBg {
    fill: #ffffff;
    stroke: #c1c1c1;
}

#scrollToTopBtn.hideScroll {
    opacity: 0;
    pointer-events: none;
}

#scrollToTopBtn svg {
    transform: rotate(-90deg);
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content .footer-widget-area {
        min-width: auto;
    }
}
