/* footer.css */

.site-footer {
    max-width: 1200px;
    margin: 60px auto 10px;
    padding: 20px;
    box-sizing: border-box;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    border-radius: 10px;
    background: #fff;
}

.footer-container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-column {
    flex: 1 1 30%;
    min-width: 200px;
    margin-bottom: 10px;
}

.footer-heading {
    font-size: 16px;
    font-weight: bold;
    color: #1a237e;
    margin-bottom: 8px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 5px;
}

.footer-column ul li a {
    color: #1a237e;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #c62828;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.12);
    font-size: 12px;
}

/* Przycisk powrotu na górę */
#scrollToTop {
    position: fixed;
    right: max(10px, calc((100vw - 1200px) / 2 + 10px));
    bottom: 30px;
    z-index: 1001;
    width: 44px;
    height: 44px;
    background: #3949ab;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: background 0.3s, transform 0.3s;
}

#scrollToTop:hover {
    background: #5c6bc0;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .site-footer {
        margin: 40px 10px 10px;
        padding: 10px;
    }

    .footer-columns {
        flex-direction: column;
        gap: 10px;
    }

    .footer-column {
        min-width: 0;
        margin-bottom: 10px;
    }

    #scrollToTop {
        right: 10px;
        bottom: 20px;
    }
}

.footer-cookie-settings {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #1a237e;
    text-decoration: none;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
}

.footer-cookie-settings:hover {
    color: #c62828;
    text-decoration: underline;
}

.theme-version {
    display: inline-block;
    margin-left: 8px;
    color: #777;
    font-size: 11px;
}
