/* =========================================
   STOPKA (FOOTER)
========================================= */

.site-footer {
    background-color: #f8fafc;
    position: relative;
    font-family: 'Nunito', sans-serif;
    color: #4a5568;
    margin-top: 0 !important; /* Zmieniamy na 0 */
    padding-top: 60px; /* Przenosimy przestrzeń do wewnątrz, by zachować oddech */
}


/* Ozdobna fala u góry stopki */
.footer-wave {
    position: absolute;
    top: -115px; /* Podciągamy nad samą stopkę */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.footer-main {
    padding: 60px 20px 40px;
    max-width: 1300px; /* Zwiększone z 1200px na 1300px */
    margin: 0 auto;
}


.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr; /* Trochę więcej miejsca na Kontakt */
    gap: 60px; /* Zwiększone z 50px na 60px */
    align-items: start; /* Wyrównanie do góry */
}


/* Nagłówki w stopce */
.footer-title {
    font-size: 1.25rem;
    color: #1a202c;
    font-weight: 800;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

/* Mała różowo-niebieska kreseczka pod tytułami z gradientem z Topbaru */
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #4a9eff 0%, #f48fb1 100%);
    border-radius: 4px;
}

/* =========================================
   KOLUMNA 1: O NAS
========================================= */
.footer-about p {
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 500;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.footer-logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a202c;
    letter-spacing: -0.5px;
}

/* Ikony Social Media */
.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #ffffff;
    color: #1877F2;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.footer-socials a svg {
    width: 20px;
    height: 20px;
}

.footer-socials a:hover {
    background: #1877F2;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.25);
}

/* =========================================
   KOLUMNA 2: LINKI
========================================= */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #4a9eff;
    transform: translateX(5px);
}

/* =========================================
   KOLUMNA 3: KONTAKT
========================================= */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 600;
}

.contact-list svg {
    width: 20px;
    height: 20px;
    color: #4a9eff; /* Akcent niebieski na ikonkach */
}

.contact-list a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: #4a9eff;
}

/* =========================================
   DOLNY PASEK (COPYRIGHTS)
========================================= */
.footer-bottom {
    background-color: #edf2f7;
    padding: 20px 20px;
    border-top: 1px solid #e2e8f0;
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #718096;
}

.creator-link {
    color: #4a9eff; /* Jasny niebieski z Twojego motywu */
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.creator-link:hover {
    color: #2272d4; /* Głębszy, nieco ciemniejszy niebieski, który używaliśmy w topbarze */
}

/* =========================================
   RWD - RESPONSYWNOŚĆ
========================================= */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* Na średnich ekranach 2 kolumny */
    }
    .footer-about {
        grid-column: span 2; /* Główny opis na całą szerokość góry */
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Na telefonach 1 kolumna */
        gap: 40px;
    }
    .footer-about {
        grid-column: span 1;
    }
    .footer-title::after {
        left: 0; /* Dla telefonów zachowujemy do lewej */
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}
