/* Plik: styles.css */

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

body {
    max-width: 1090px;
    margin: 0 auto;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; /* Bezpieczne czcionki systemowe */
    line-height: 1.6;
    color: #4a3728; /* Ciemna czekolada */
    background-color: #fcf8f2;
}

/* Typografia */
h1, h2, h3 {
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-align: center;
}

/* Blok 1: Offer (Hero) */
header.hero-section {
    min-height: 470px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #ffb7c5; /* Truskawkowy pastel */
    padding: 40px;
    border-bottom: 8px solid #ff9aa2;
}

header.hero-section h1 {
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.cta-button {
    display: inline-block;
    background-color: #60d394; /* Miętowy */
    color: white;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: #4eb97d;
    transform: scale(1.05);
}

/* Kontrastowe sekcje */
section {
    padding: 60px 20px;
}

/* Blok 4: Specjaliści (Kremowy) */
#zespol {
    background-color: #fff1e6;
}

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

.specialists-grid article {
    background: white;
    padding: 20px;
    border-radius: 15px;
    border-bottom: 4px solid #f08080;
    text-align: center;
}

/* Blok 5: Opinie (Lawendowy/Błękitny) */
#rekomendacje {
    background-color: #e2f0cb; /* Jasna limonka */
}

blockquote {
    background: white;
    margin: 15px auto;
    padding: 20px;
    border-radius: 10px;
    font-style: italic;
    max-width: 800px;
    position: relative;
    border-left: 5px solid #60d394;
}

/* Blok 2: Formularz subskrypcji (Czekoladowy/Złoty) */
#zapis-newsletter {
    background-color: #a0e7e5; /* Pastelowy turkus */
    text-align: center;
}

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

input[type="email"], textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 2px solid #ffffff;
    border-radius: 10px;
    font-size: 1rem;
}

button {
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: background 0.3s;
}

button:hover {
    background-color: #ee5253;
}

/* Blok 3: Produkty i Artykuł */
#oferta {
    background-color: #ffffff;
}

.products ul {
    list-style: none;
    margin-bottom: 40px;
}

.products li {
    background: #fdf2f2;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
}

/* WYRÓŻNIENIE ARTYKUŁU */
.educational-content {
    background-color: #fff9db; /* Waniliowy */
    padding: 40px;
    border-radius: 20px;
    border: 3px dashed #fab005;
    margin-top: 30px;
}

.educational-content h3 {
    color: #e67e22;
}

/* Blok 4.1 i 5.2 */
#edukacja-media {
    background-color: #f8f9fa;
}

#dodaj-opinie {
    background-color: #ffecd2;
}

/* Blok 6: Kontakt i Mapa */
#kontakt {
    background-color: #ffffff;
}

.map-container {
    border: 5px solid #ffb7c5;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 20px;
}

/* Blok 7: Footer */
footer {
    background-color: #4a3728;
    color: #ffffff;
    text-align: center;
    padding: 30px;
}

/* MEDIA QUERIES - Mobilna wersja */
@media (max-width: 768px) {
    header.hero-section {
        min-height: 350px;
    }

    header.hero-section h1 {
        font-size: 2rem;
    }

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

    section {
        padding: 40px 15px;
    }

    .educational-content {
        padding: 20px;
    }
}
