/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    background-color: var(--bg-panel);
    border-top: 1px solid var(--border-color);
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

/* Widget kolone */
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-column .widget {
    margin-bottom: var(--spacing-md);
}

.footer-column .widget:last-child {
    margin-bottom: 0;
}

.footer-column .widget-title {
    font-size: var(--font-h4);
    line-height: var(--line-h4);
    margin-bottom: var(--spacing-sm);
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.footer-column .widget li {
    margin-bottom: var(--spacing-xs);
}

.footer-column .widget a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.footer-column .widget a:hover {
    color: var(--accent);
}

/* Donja traka */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    font-size: var(--font-tertiary);
    color: var(--text-muted);
}

.footer-copyright a {
    color: var(--accent);
    font-weight: 700;
}

.footer-copyright a:hover {
    color: var(--accent-hover);
}

/* Footer meni */
.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu a {
    color: var(--text-secondary);
    font-size: var(--font-tertiary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.footer-menu a:hover {
    color: var(--accent);
}

/* Back to top */
.back-to-top {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Mobilni */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}