html {
    scroll-padding-top: 90px; /* Zwiekszone lekko, zeby uwzglednic nowy przycisk w menu */
}

/* Reset i podstawowe ustawienia */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #f4f7f9;
    background-image: 
        linear-gradient(to right, #e8eff5 1px, transparent 1px),
        linear-gradient(to bottom, #e8eff5 1px, transparent 1px);
    background-size: 30px 30px;
    color: #1a202c;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* --- ANIMACJE --- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Pasek nawigacji */
.navbar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    color: #3b82f6; 
    letter-spacing: 0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center; /* Srodkowanie pionowe elementow i przycisku */
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: #3b82f6;
}

/* Wywyższony przycisk Kontakt w menu */
.nav-links a.nav-btn {
    background-color: #3b82f6;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
}

.nav-links a.nav-btn:hover {
    background-color: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

/* Hero Section */
.hero {
    padding: 60px 20px 20px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    width: 300px;
    height: auto;
    object-fit: contain;
    animation: float 4s ease-in-out infinite; 
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #cbd5e1;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: #334155;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #3b82f6;
    border-radius: 50%;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
}

.highlight {
    color: #3b82f6;
}

.subtitle {
    font-size: 1.2rem;
    color: #475569;
    font-weight: 400;
}

/* Nowy, duży przycisk akcji w Hero */
.hero-cta-btn {
    display: inline-block;
    background-color: #3b82f6;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    margin-top: 25px;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero-cta-btn:hover {
    background-color: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}

/* Sekcja O mnie */
.about-section {
    padding-top: 20px;
    padding-bottom: 60px;
}

.about-card {
    background: white;
    max-width: 850px;
    margin: 0 auto;
    padding: 50px 60px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border-left: 8px solid #3b82f6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.about-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #0f172a;
}

.about-card p {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 15px;
    line-height: 1.7;
}

/* Karty Oferty */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: #0f172a;
}

.cards {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    text-align: center;
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.card-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.card-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.card:hover .card-icon img {
    transform: scale(1.1);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #0f172a;
    font-weight: 800;
}

.card p {
    color: #64748b;
    font-size: 0.95rem;
}

.pricing {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.pricing p {
    display: inline-block;
    background: white;
    color: #0f172a;
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}

.pricing p:hover {
    transform: scale(1.05);
}

.pricing strong {
    color: #3b82f6;
    font-size: 1.3rem;
}

/* Sekcja Opinie */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 10px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    min-width: 320px;
    max-width: 320px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #f1f5f9;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-text {
    font-style: italic;
    color: #475569;
    margin-bottom: 20px;
}

.review-card h4 {
    color: #3b82f6;
    font-weight: 800;
}

.carousel-btn {
    position: absolute;
    z-index: 10;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    color: #3b82f6;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

.left-btn { left: -20px; }
.right-btn { right: -20px; }

/* Sekcja FAQ */
.faq-section {
    display: flex;
    gap: 50px;
    align-items: center; 
}

.faq-left {
    flex: 1;
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    color: #2563eb;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.q-icon {
    border: 1px solid #2563eb;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.faq-left h2 {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
    color: #0f172a;
}

.faq-left p {
    color: #475569;
    font-size: 1.05rem;
    margin-bottom: 25px;
    max-width: 90%;
}

.contact-link {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05rem;
}

.contact-link:hover {
    text-decoration: underline;
}

.faq-right {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    border: 1px solid #f1f5f9;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transform: translateX(5px); 
}

.faq-item summary {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 0 25px 20px 25px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

.arrow {
    color: #64748b;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item[open] .arrow {
    transform: rotate(180deg);
}

/* Stopka i przyciski */
footer {
    background-color: transparent; 
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
}

footer .container {
    background: white;
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15); 
    border: 1px solid #e2e8f0;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

footer .container:hover {
    transform: translateY(-5px);
}

footer .container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 6px;
    background: #3b82f6;
    border-radius: 10px;
}

footer h2 {
    font-size: 3.2rem; 
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}

footer p {
    color: #475569;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.fb-btn {
    background-color: #1877f2;
}

.ig-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.yt-btn {
    background-color: #ef4444;
}

.copyright {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 20px;
    border-top: 1px solid #f1f5f9;
    padding-top: 30px;
}

/* Responsywność dla telefonów */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero h1 {
        text-align: center;
        font-size: 2.8rem;
    }

    .about-card {
        padding: 40px 30px;
    }

    .carousel-btn {
        display: none; /* Ukrywa strzalki na telefonie, lepiej przesuwac palcem */
    }

    .faq-section {
        flex-direction: column;
    }

    .faq-left h2 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }

    footer .container {
        padding: 40px 20px;
    }

    footer h2 {
        font-size: 2.4rem;
    }
}