/* =========================================================================
   Footer Stylesheet - Premium UI
   ========================================================================= */

/* --- Main Footer Container --- */
footer 
{
    width: 100%;
    margin-top: auto;
    /* Pushes the footer to the bottom of the page */
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    /* Subtle glow casting upwards */

    /* Responsive Setup */
    display: flex;
    flex-direction: column  ;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--spacing-xl);
}



/* --- Footer Columns Layout --- */

#footer-heroes
{
    width: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--spacing-sm);
}

.footer-heroes-content 
{
    display: flex;
    flex-direction: column;
    width:auto;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: var(--spacing-xs);
    text-wrap: balance;
}

#footer-links, #footer-adres{
 
    width: 100%;
    display: block;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* --- Footer Typography --- */
footer p 
{
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.8;
}

footer strong 
{
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: var(--spacing-xs);
}

/* --- Interactive Footer Links --- */
footer a 
{
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color var(--transition-fast);
    text-wrap: balance;
}

footer a::after 
{
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background: var(--accent-gradient);
    transition: width var(--transition-normal);
}

footer a:hover 
{
    color: var(--text-main);
}

footer a:hover::after 
{
    width: 100%;
}

/* --- Mobile Breakpoints --- */
@media (max-width: 768px) 
{
    footer 
    {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-lg) var(--spacing-md);
        gap: var(--spacing-lg);
    }

    #footer-heroes, #footer-heroes-content 
    {
        width: auto;
        display: flex;
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: center ;
    }
}