/* Сброс стилів і базові налаштування */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #0F1111;
    background-color: #EAEDED;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Блок Hero - стyl Amazon */
#hero {
    background: linear-gradient(135deg, #232F3E 0%, #37475A 100%);
    color: #FFFFFF;
    padding: 60px 20px;
    text-align: center;
}

#hero h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

#hero h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: 400;
    color: #FEBD69;
}

#hero p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
    color: #E3E6E6;
}

.cta-button {
    display: inline-block;
    background-color: #FF9900;
    color: #0F1111;
    padding: 14px 40px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid #FF9900;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background-color: #FFA724;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Блок opinii - jasne tło */
#reviews {
    background-color: #FFFFFF;
    padding: 60px 20px;
}

#reviews h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #0F1111;
    font-weight: 700;
}

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

.review-item {
    background-color: #F7F8F8;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #D5D9D9;
    transition: all 0.3s ease;
}

.review-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.review-item h3 {
    color: #232F3E;
    margin-bottom: 12px;
    font-size: 1.2em;
    font-weight: 700;
}

.review-item p {
    color: #0F1111;
    line-height: 1.7;
    font-size: 0.95em;
}

/* Блок formularz opinii - ciemny akcent */
#leave-review {
    background: linear-gradient(135deg, #131921 0%, #232F3E 100%);
    color: #FFFFFF;
    padding: 60px 20px;
}

#leave-review h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 15px;
    color: #FFFFFF;
    font-weight: 700;
}

#leave-review p {
    text-align: center;
    margin-bottom: 30px;
    color: #E3E6E6;
    font-size: 1.1em;
}

.review-form {
    max-width: 600px;
    margin: 0 auto;
}

.review-form input,
.review-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #4A5568;
    border-radius: 8px;
    font-size: 1em;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #FFFFFF;
    color: #0F1111;
}

.review-form input:focus,
.review-form textarea:focus {
    outline: none;
    border-color: #FF9900;
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.2);
}

.review-form button {
    width: 100%;
    padding: 14px;
    background-color: #FF9900;
    color: #0F1111;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-form button:hover {
    background-color: #FFA724;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Блок specjalistów - jasne tło z akcentem */
#specialists {
    background-color: #F0F2F2;
    padding: 60px 20px;
}

#specialists h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #0F1111;
    font-weight: 700;
}

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

.specialist-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #D5D9D9;
    transition: all 0.3s ease;
}

.specialist-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #FF9900;
}

.specialist-item h3 {
    color: #232F3E;
    margin-bottom: 15px;
    font-size: 1.3em;
    font-weight: 700;
}

.specialist-item p {
    color: #0F1111;
    line-height: 1.7;
    font-size: 0.95em;
}

/* Блок newsletter - pomarańczowy akcent */
#newsletter {
    background: linear-gradient(135deg, #FF9900 0%, #FFB84D 100%);
    padding: 60px 20px;
    color: #0F1111;
}

#newsletter h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 15px;
    font-weight: 700;
    color: #0F1111;
}

#newsletter p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
    color: #0F1111;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 14px 15px;
    border: 2px solid #0F1111;
    border-radius: 8px;
    font-size: 1em;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #FFFFFF;
    color: #0F1111;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #232F3E;
    box-shadow: 0 0 0 3px rgba(35, 47, 62, 0.2);
}

.newsletter-form button {
    padding: 14px 30px;
    background-color: #232F3E;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #37475A;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Блок edukacja i media - białe tło */
#education-media {
    background-color: #FFFFFF;
    padding: 60px 20px;
}

#education-media h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 30px;
    color: #0F1111;
    font-weight: 700;
}

#education-media p {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.05em;
    color: #0F1111;
    text-align: justify;
}

/* Блок usług i artykułu - szare tło */
#services {
    background-color: #EAEDED;
    padding: 60px 20px;
}

#services h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #0F1111;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.service-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #D5D9D9;
    transition: all 0.3s ease;
}

.service-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #FF9900;
    transform: translateY(-3px);
}

.service-item h3 {
    color: #232F3E;
    margin-bottom: 15px;
    font-size: 1.3em;
    font-weight: 700;
}

.service-item p {
    color: #0F1111;
    line-height: 1.7;
    font-size: 0.95em;
}

/* Artykuł tematyczny */
.thematic-article {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #D5D9D9;
    max-width: 900px;
    margin: 0 auto;
}

.thematic-article h2 {
    color: #232F3E;
    margin-bottom: 25px;
    font-size: 1.8em;
    font-weight: 700;
    text-align: left;
}

.thematic-article p {
    color: #0F1111;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05em;
    text-align: justify;
}

/* Блок lokalizacji - ciemne tło */
#location {
    background: linear-gradient(135deg, #232F3E 0%, #37475A 100%);
    color: #FFFFFF;
    padding: 60px 20px;
}

#location h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 25px;
    color: #FFFFFF;
    font-weight: 700;
}

#location p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
    color: #E3E6E6;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.map-container iframe {
    display: block;
}

/* Footer */
footer {
    background-color: #131921;
    color: #FFFFFF;
    padding: 30px 20px;
    text-align: center;
}

footer p {
    font-size: 0.95em;
    color: #DDD;
}

.domainName {
    color: #FF9900;
    font-weight: 700;
}

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

    #hero h2 {
        font-size: 1.4em;
    }

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

    h2 {
        font-size: 1.8em !important;
    }

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

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

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

    .container {
        padding: 15px;
    }

    #hero,
    #reviews,
    #leave-review,
    #specialists,
    #newsletter,
    #education-media,
    #services,
    #location {
        padding: 40px 15px;
    }

    .thematic-article {
        padding: 25px 20px;
    }

    .service-item,
    .specialist-item,
    .review-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 1.6em;
    }

    #hero h2 {
        font-size: 1.2em;
    }

    h2 {
        font-size: 1.5em !important;
    }

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

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

/* Додаткові покращення для читабельності */
::selection {
    background-color: #FF9900;
    color: #0F1111;
}

::-moz-selection {
    background-color: #FF9900;
    color: #0F1111;
}
