/* Footer Styles - SportowaLiga.pl - Unified & Optimized */

/* Footer - główny kontener */
.footer {
    background: #0f172a;
    border-top: 1px solid var(--primary-green);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    position: relative;
    z-index: 50;
}

/* Footer content grid */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Footer logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 8px var(--neon-glow));
}

.footer-logo span {
    font-family: 'Saira Condensed', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.45rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1;
}

/* Footer sections */
.footer-section h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Kanit', Arial, sans-serif;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-green);
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Social links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid var(--primary-green);
    border-radius: 50%;
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-green);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

/* Contact info */
.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.contact-info i {
    color: var(--primary-green);
    width: 16px;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid #475569;
    padding-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer {
        background: #0f172a !important;
        border-top: 1px solid #22c55e !important;
        padding: 1.5rem 0 0.8rem !important;
        margin-top: 2rem !important;
        z-index: 999 !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-bottom: 1rem !important;
        text-align: center;
    }
    
    .footer-section {
        padding: 0.4rem 0;
    }
    
    .footer-section h4 {
        color: #22c55e !important;
        margin-bottom: 0.5rem !important;
        font-size: 1rem !important;
    }
    
    .footer-section p {
        color: #e5e7eb !important;
        margin-bottom: 0.3rem !important;
        font-size: 0.85rem !important;
    }
    
    .footer-section i {
        color: #22c55e !important;
    }
    
    .footer-section ul {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.3rem 0.8rem !important;
    }
    
    .footer-section ul li {
        margin: 0 !important;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .footer-bottom {
        padding-top: 1rem !important;
        border-top: 1px solid #475569 !important;
    }

    .footer-bottom-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 0.5rem !important;
    }

    .social-links {
        justify-content: center !important;
    }
}

/* Light Theme Overrides - Footer */
html[data-theme='light'] .footer {
    background: #ffffff !important;
    color: #1e293b !important;
    border-top: 1px solid var(--primary-green) !important;
}

html[data-theme='light'] .footer p,
html[data-theme='light'] .footer a {
    color: #64748b !important;
}

html[data-theme='light'] .footer a:hover {
    color: #22c55e !important;
}

html[data-theme='light'] .footer-section h4 {
    color: #1e293b !important;
}

html[data-theme='light'] .footer-bottom {
    border-top: 1px solid #e2e8f0 !important;
}

html[data-theme='light'] .social-links a {
    background: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid var(--primary-green) !important;
}

html[data-theme='light'] .contact-info i {
    color: var(--primary-green) !important;
}
