/* styles.css - Piękne stylizowanie w stylu Amazon dla strony MAF CONSULTING */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #0F1111;
    line-height: 1.5;
    max-width: 1090px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Kontener centrujący */
.container {
    max-width: 1090px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Nagłówki w stylu Amazon */
h1, h2, h3 {
    font-weight: 400;
    color: #0F1111;
}

h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

h2 {
    font-size: 28px;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e7e7e7;
}

h3 {
    font-size: 21px;
    margin-bottom: 12px;
    color: #B12704;
}

/* Blok 1 - Oferta sprzedażowa (hero) */
.section.oferta {
    min-height: 470px;
    background: linear-gradient(to bottom, #232F3E 0%, #37475A 100%);
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.section.oferta h1 {
    font-size: 42px;
    color: #ffffff;
    margin-bottom: 24px;
}

.section.oferta p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 32px;
}

.section.oferta .btn {
    display: inline-block;
    background-color: #FF9900;
    color: #0F1111;
    font-size: 16px;
    font-weight: bold;
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.section.oferta .btn:hover {
    background-color: #f08804;
}

/* Kontrastowe rozdzielenie bloków */
.section {
    background-color: #ffffff;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.section:nth-child(even) {
    background-color: #f8f8f8;
}

/* Wyjątek - artykuł wyróżniony */
.section.artykul {
    background-color: #fffbf0;
    border-left: 5px solid #FF9900;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.section.artykul h2 {
    color: #B12704;
    border-bottom: 2px solid #FF9900;
}

/* Lista produktów */
.product-list {
    list-style: none;
}

.product-list li {
    padding: 16px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 17px;
}

.product-list li:last-child {
    border-bottom: none;
}

.product-list strong {
    color: #B12704;
}

/* Specjaliści */
.specialist {
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 16px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* Opinie */
.review {
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-style: italic;
}

.review strong {
    display: block;
    margin-top: 12px;
    font-style: normal;
    color: #B12704;
}

/* Formularz zapisu */
.section.formularz {
    background-color: #232F3E;
    color: #ffffff;
    text-align: center;
}

.section.formularz h2 {
    color: #ffffff;
    border-bottom: 1px solid #37475A;
}

.section.formularz form {
    max-width: 500px;
    margin: 0 auto;
}

.section.formularz label {
    display: block;
    margin-bottom: 12px;
    font-size: 18px;
}

.section.formularz input[type="email"] {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    border: 1px solid #aaa;
    border-radius: 6px;
    margin-bottom: 24px;
}

.section.formularz .btn {
    background-color: #FF9900;
    color: #0F1111;
    font-weight: bold;
    padding: 14px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.section.formularz .btn:hover {
    background-color: #f08804;
}

/* Zostaw opinię */
.section.zostaw-opinie {
    text-align: center;
    background-color: #fffbf0;
}

/* Mapa */
.section.kontakt iframe {
    border-radius: 8px;
    overflow: hidden;
}

/* Stopka */
.footer {
    background-color: #232F3E;
    color: #dddddd;
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
    margin-top: 60px;
}

.footer p {
    max-width: 1090px;
    margin: 0 auto;
}

/* Responsywność - mobilna wersja */
@media (max-width: 768px) {
    body {
        padding: 0 10px;
    }

    .container {
        padding: 30px 15px;
    }

    .section.oferta {
        min-height: 400px;
        padding: 40px 20px;
    }

    .section.oferta h1 {
        font-size: 32px;
    }

    .section.oferta p {
        font-size: 16px;
    }

    h2 {
        font-size: 24px;
    }

    .product-list li {
        font-size: 16px;
    }

    .section.formularz input[type="email"] {
        padding: 12px 16px;
    }

    .section.formularz .btn,
    .section.oferta .btn {
        padding: 12px 30px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .section.oferta h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    .section.oferta {
        min-height: 380px;
    }
}
