/* Animacje wejścia elementów on-scroll */
[data-animate] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-animate].active {
    opacity: 1;
    transform: translateY(0);
}

[data-animate]:nth-child(1) { transition-delay: 0.1s; }
[data-animate]:nth-child(2) { transition-delay: 0.2s; }
[data-animate]:nth-child(3) { transition-delay: 0.3s; }
[data-animate]:nth-child(4) { transition-delay: 0.4s; }

/* Ogólne style */
body {
    scroll-behavior: smooth;
    font-size: 18px;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fff;
}

/* Styl przycisków CTA */
.button-cta {
    background-color: #facc15;
    color: #000;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease;
}

.button-cta:hover {
    background-color: #eab308;
}

/* Opinie – slider */
.swiper-slide {
    background-color: #f9fafb;
    border: 1px solid #ddd;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.swiper-slide:hover {
    transform: scale(1.02);
}

.swiper-slide p {
    font-size: 1.125rem;
    color: #333;
}

.swiper-slide .font-semibold {
    font-size: 1.1rem;
    color: #111;
}

/* Ikony ocen */
.swiper-slide .text-yellow-400 {
    font-size: 1.5rem;
}

/* Logo Google */
.swiper-slide img {
    height: 1.5rem;
}

/* Mapa – zaokrąglenie */
iframe {
    border-radius: 0.5rem;
}

/* Sticky CTA (mobile) */
.sticky-bottom-bar a {
    display: inline-block;
    background-color: #facc15;
    color: #000;
    padding: 0.8rem 1.2rem;
    font-weight: bold;
    border-radius: 0.4rem;
    text-decoration: none;
}

.sticky-bottom-bar a:hover {
    opacity: 0.85;
}

/* Stopka */
footer {
    font-size: 1.2rem;
    padding-top: 4rem; /* Zwiększ górny padding */
    padding-bottom: 5rem; /* Zwiększ dolny padding */
    background-color: #1a1a1a;
    color: #eee;
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

/* Ikony social w stopce */
footer a {
    color: #facc15;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: transform 0.3s ease;
}

footer a:hover i {
    transform: scale(1.3);
}

footer .flex {
    margin-bottom: 6rem; /* Zwiększ margines dolny dla ikon social media */
}

/* Responsywność */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    footer {
        
        padding:5rem;
        padding-bottom: 6rem; /* Zwiększ dolny padding tylko na urządzeniach mobilnych */
    }

    footer p {
        font-size: 1.2rem;
    }

    .swiper-slide p {
        font-size: 1rem;
    }

    .swiper-slide .font-semibold {
        font-size: 1rem;
    }

    footer .flex {
        margin-bottom: 8rem; /* Jeszcze większy margines dolny na urządzeniach mobilnych */
    }

    footer .flex {
        margin-bottom: 4rem; /* Dodaj margines dolny, aby uniknąć zasłaniania */
    }
}
