/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
}

/* Kontener główny */
.container {
    max-width: 1090px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Blok 1: Hero - Oferta */
#hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

#hero h1 {
    font-size: 2.8em;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

#hero .lead {
    font-size: 1.3em;
    margin-bottom: 20px;
    font-weight: 300;
    line-height: 1.8;
}

#hero p {
    font-size: 1.1em;
    margin-bottom: 35px;
    opacity: 0.95;
}

/* Przycisk CTA w hero */
.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background-color: #ffffff;
    color: #667eea;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: 3px solid #ffffff;
}

.cta-button:hover {
    background-color: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Blok specjalistów */
#team {
    background-color: #ffffff;
    padding: 80px 20px;
}

#team h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #2c3e50;
    font-weight: 700;
}

.specialists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.specialist-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 35px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid #e1e8ed;
}

.specialist-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.specialist-card h3 {
    color: #667eea;
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 600;
}

.specialist-card .role {
    color: #7f8c8d;
    font-size: 1em;
    margin-bottom: 15px;
    font-weight: 500;
}

.specialist-card p {
    color: #34495e;
    line-height: 1.7;
}

/* Blok opinii */
#reviews {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 80px 20px;
    color: #ffffff;
}

#reviews h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #ffffff;
    font-weight: 700;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.review-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
    color: #ecf0f1;
    font-size: 1.05em;
}

.review-author {
    font-weight: 600;
    color: #ffffff;
    text-align: right;
}

/* Blok zostaw opinię */
#leave-review {
    background-color: #f8f9fa;
    padding: 60px 20px;
    text-align: center;
}

#leave-review h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 700;
}

#leave-review p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #5a6c7d;
}

.review-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #667eea;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid #667eea;
}

.review-button:hover {
    background-color: #764ba2;
    border-color: #764ba2;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Blok produktów i artykuł */
#products {
    background-color: #ffffff;
    padding: 80px 20px;
}

#products h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #2c3e50;
    font-weight: 700;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.product-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 35px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    border-color: #ffffff;
}

.product-card h3 {
    font-size: 1.6em;
    margin-bottom: 20px;
    font-weight: 600;
}

.product-card p {
    line-height: 1.8;
    opacity: 0.95;
}

/* Artykuł */
.blog-article {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 50px;
    border-radius: 20px;
    margin-top: 60px;
    border-left: 6px solid #667eea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-article h2 {
    color: #2c3e50;
    font-size: 2em;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: left;
}

.blog-article p {
    color: #34495e;
    font-size: 1.1em;
    line-height: 1.9;
    margin-bottom: 20px;
    text-align: justify;
}

/* Formularz newsletter */
#newsletter {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
}

#newsletter h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

#newsletter p {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.95;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 18px 25px;
    font-size: 1.1em;
    border: 3px solid #ffffff;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
}

.newsletter-form input[type="email"]:focus {
    background-color: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.submit-button {
    padding: 18px 45px;
    background-color: #ffffff;
    color: #11998e;
    border: 3px solid #ffffff;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Blok działalność edukacyjna */
#education-media {
    background-color: #ecf0f1;
    padding: 80px 20px;
}

#education-media h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #2c3e50;
    font-weight: 700;
}

#education-media p {
    font-size: 1.15em;
    line-height: 1.9;
    color: #34495e;
    text-align: justify;
    max-width: 900px;
    margin: 0 auto;
}

/* Blok kontakt i mapa */
#contact {
    background-color: #ffffff;
    padding: 80px 20px;
}

#contact h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #2c3e50;
    font-weight: 700;
}

.address {
    text-align: center;
    font-size: 1.3em;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 40px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    display: block;
}

/* Stopka */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
}

footer p {
    font-size: 1em;
    opacity: 0.9;
}

/* Responsywność - wersja mobilna */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2em;
    }

    #hero .lead {
        font-size: 1.1em;
    }

    #hero p {
        font-size: 1em;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 1.1em;
    }

    #team h2,
    #reviews h2,
    #products h2,
    #newsletter h2,
    #education-media h2,
    #contact h2 {
        font-size: 1.8em;
    }

    .specialists-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .blog-article {
        padding: 30px 20px;
    }

    .blog-article h2 {
        font-size: 1.5em;
    }

    .blog-article p {
        font-size: 1em;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input[type="email"] {
        width: 100%;
        min-width: 100%;
    }

    .submit-button {
        width: 100%;
    }

    #education-media p {
        text-align: left;
    }

    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    #hero {
        min-height: 400px;
        padding: 40px 15px;
    }

    #hero h1 {
        font-size: 1.6em;
    }

    #hero .lead {
        font-size: 1em;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }

    .specialist-card,
    .product-card,
    .review-card {
        padding: 25px;
    }

    #team,
    #reviews,
    #products,
    #newsletter,
    #education-media,
    #contact {
        padding: 50px 15px;
    }

    .blog-article {
        padding: 25px 15px;
    }
}
