/* === RESET i GLOBALNE STYLE === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    scroll-behavior: smooth;
    color: #2d2d2d;
}

body {
    max-width: 1090px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 0 15px;
    overflow-x: hidden;
}

/* === KONTENER === */
.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === SEKCJE – KONTRASTOWE TŁO === */
.section {
    padding: 60px 0;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Blok 1: Oferta – wysoki, hero */
#oferta {
    background: linear-gradient(135deg, #1a3a6e 0%, #0f2557 100%);
    color: #ffffff;
    min-height: 470px;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 80px 0;
}

#oferta h1 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

#oferta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

/* Blok 3: Produkty – jasne tło */
#produkty {
    background: #ffffff;
}

/* Blok 5: Opinie – delikatny beż */
#opinie {
    background: #fdf8f0;
}

/* Blok 2: Formularz – akcentowy niebieski */
#formularz {
    background: #e6f0ff;
}

/* Blok 4: Specjaliści – szary błękit */
#specjalisci {
    background: #f0f4f8;
}

/* Blok 4.1: Media – jasna zieleń edukacyjna */
.media {
    background: #f0faf0;
}

/* Blok 5.2: Zostaw opinię – delikatny pomarańcz */
.zostaw-opinie {
    background: #fff5e6;
}

/* Blok 6: Mapa – neutralny szary */
#kontakt {
    background: #f5f5f5;
}

/* === NAGŁÓWKI === */
h1, h2, h3 {
    font-weight: 700;
    color: #1a3a6e;
    margin-bottom: 20px;
}

#oferta h1,
#oferta h2,
#oferta h3 {
    color: #ffffff;
}

h2 {
    font-size: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 12px;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #ff6b35;
    border-radius: 2px;
}

/* === PRZYCISKI === */
.btn-primary,
button,
input[type="submit"] {
    display: inline-block;
    background: #ff6b35;
    color: #ffffff;
    font-weight: 600;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover,
button:hover,
input[type="submit"]:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: #2d6a4f;
}

.btn-secondary:hover {
    background: #1b4332;
}

/* === FORMY === */
form {
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a3a6e;
}

input[type="email"],
input[type="text"],
textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #d0e0ff;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 20px;
    transition: border 0.3s ease;
}

input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* === LISTY PRODUKTÓW I SPECJALISTÓW === */
.produkty-lista,
.specjalisci-lista {
    list-style: none;
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.produkty-lista li,
.specjalisci-lista li {
    background: rgba(255, 107, 53, 0.08);
    padding: 18px;
    border-radius: 12px;
    border-left: 5px solid #ff6b35;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* === ARTYKUŁ TEMATYCZNY – WYRÓŻNIONY === */
.artykul-tematyczny {
    margin-top: 50px;
    padding: 35px;
    background: #ffffff;
    border: 2px solid #ffebcc;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.artykul-tematyczny h3 {
    font-size: 1.8rem;
    color: #d94f1f;
    margin-bottom: 25px;
    text-align: center;
}

.artykul-tematyczny p {
    margin-bottom: 18px;
    text-align: justify;
    font-size: 1.05rem;
}

.artykul-tematyczny p strong {
    color: #1a3a6e;
}

/* === RECENZJE === */
.opinia {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #ff6b35;
}

.opinia p {
    font-style: italic;
    margin-bottom: 10px;
    color: #333;
}

.opinia cite {
    display: block;
    text-align: right;
    font-weight: 600;
    color: #ff6b35;
    font-style: normal;
    font-size: 0.95rem;
}

/* === MAPA === */
iframe {
    border-radius: 12px;
    border: 1px solid #ddd;
    margin-top: 20px;
}

/* === STOPKA === */
.footer {
    background: #1a3a6e;
    color: #ffffff;
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
    margin-top: 40px;
    border-radius: 12px 12px 0 0;
}

.footer p {
    opacity: 0.9;
}

/* === MOBILNA WERSJA === */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 15px;
    }

    #oferta {
        min-height: 400px;
        padding: 60px 0;
    }

    #oferta h1 {
        font-size: 2.1rem;
    }

    #oferta p {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .section {
        padding: 40px 0;
        margin-bottom: 20px;
    }

    form {
        padding: 20px;
    }

    .produkty-lista,
    .specjalisci-lista {
        grid-template-columns: 1fr;
    }

    .opinia {
        padding: 16px;
    }

    .artykul-tematyczny {
        padding: 25px;
    }

    .artykul-tematyczny h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    #oferta h1 {
        font-size: 1.8rem;
    }

    .btn-primary,
    button,
    input[type="submit"] {
        width: 100%;
        padding: 16px;
        font-size: 1rem;
    }

    input[type="email"],
    input[type="text"],
    textarea {
        font-size: 0.95rem;
    }
}
