/**
 * FOOTER REVEAL STYLES - Piasek Potworów
 * Footer "wysuwa się" spod strony przy scrollowaniu
 * Dodaj na końcu new-header.css lub jako osobny plik
 */

/* ===== WRAPPER - główna treść strony ===== */
.wrapper {
    position: relative;
    z-index: 10;
    background: #fff;
    /* margin-bottom ustawiany dynamicznie przez JS */
}

/* ===== FOOTER REVEAL WRAPPER ===== */
.footer-reveal-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background: #24252f;
}

/* ===== FOOTER SECTIONS - Sponsorzy & Partnerzy ===== */
.footer-sponsors,
.footer-partners {
    background-color: #24252f;
    padding: 50px 0 30px;
}

.footer-partners {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 40px;
}

.footer-section-title {
    color: #53545c;
    text-align: center;
    margin-bottom: 35px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
}

/* Sponsor logos */
.sponsor-col {
    margin-bottom: 25px;
}

.sponsor-logo {
    max-width: 180px;
    opacity: 0.5;
    transition: all 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.sponsor-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Partner clubs (herby) */
.partner-clubs {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.partner-clubs a {
    display: inline-block;
    margin: 10px 15px;
}

.partner-clubs img {
    width: 48px;
    height: 48px;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.partner-clubs img:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* ===== MAIN FOOTER LINKS ===== */
#footer {
    background-color: #1a1b23;
}

.footer-links {
    padding: 50px 0 40px;
}

.footer-widget h3 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 12px;
    border-bottom: 2px solid #fec722;
    display: inline-block;
}

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

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-widget ul li a:hover {
    color: #fec722;
    padding-left: 5px;
}

.footer-widget ul li a i {
    margin-right: 8px;
    color: #fec722;
    width: 16px;
    text-align: center;
}

/* ===== COPYRIGHT ===== */
.footer-copyright {
    background-color: #141519;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.copyright-text {
    color: #666;
    margin: 0;
    font-size: 13px;
}

.made-with-love {
    color: #444;
    margin: 8px 0 0;
    font-size: 12px;
}

.made-with-love i {
    color: #fec722;
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .footer-sponsors,
    .footer-partners {
        padding: 40px 0 20px;
    }
    
    .sponsor-logo {
        max-width: 140px;
        margin-bottom: 15px;
    }
    
    .footer-widget {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer-widget h3 {
        display: block;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .footer-reveal-wrapper {
        position: relative; /* Na mobile wyłączamy fixed */
    }
    
    .wrapper {
        margin-bottom: 0 !important; /* Na mobile nie potrzebujemy marginesu */
    }
    
    .sponsor-col {
        margin-bottom: 20px;
    }
    
    .sponsor-logo {
        max-width: 120px;
    }
    
    .partner-clubs img {
        width: 40px;
        height: 40px;
        margin: 5px 8px;
    }
    
    .footer-links {
        padding: 40px 0 20px;
    }
}

/* ===== SHADOW EFFECT NA GÓRZE FOOTERA ===== */
.footer-reveal-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    pointer-events: none;
}
