/* Plik: styles.css */

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

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #f4f4f4;
    max-width: 1090px;
    margin: 0 auto;
    position: relative;
}

/* Blok 1: Offer - Styl Hero */
.hero-section {
    background: linear-gradient(135deg, #0057b7 0%, #004494 100%);
    color: #ffffff;
    min-height: 470px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    border-bottom: 8px solid #ffd700;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 30px;
}

/* Link-przycisk w pierwszym bloku */
.cta-button {
    display: inline-block;
    background-color: #ffd700;
    color: #000;
    padding: 18px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background-color: #ffcc00;
    transform: translateY(-3px);
}

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

/* Blok 2: Formularz */
#formularz-subskrypcji {
    background-color: #0057b7;
    color: white;
    text-align: center;
}

#formularz-subskrypcji h2 { margin-bottom: 20px; }

form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    gap: 15px;
}

input[type="email"] {
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

button[type="submit"], .add-review button {
    background-color: #ffd700;
    color: #000;
    border: none;
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
}

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

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

#produkty ul {
    list-style: none;
    margin-bottom: 40px;
}

#produkty li {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
}

#produkty li span {
    font-weight: bold;
    color: #0057b7;
}

/* Wyróżnienie artykułu */
.blog-post {
    background-color: #fff9db;
    padding: 30px;
    border-left: 10px solid #ffd700;
    margin-top: 40px;
    border-radius: 0 8px 8px 0;
}

.blog-post h2 { color: #0057b7; margin-bottom: 15px; }

/* Blok 4 i 4.1: Eksperci i Media */
#zespol { background-color: #e9ecef; }
.specialist {
    background: white;
    margin-bottom: 10px;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
}

#media-i-edukacja {
    background-color: #002e61;
    color: #ffd700;
}

/* Blok 5: Opinie */
#opinie { background-color: #ffffff; }
.review {
    font-style: italic;
    padding: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

/* Blok 6 i 7: Kontakt i Footer */
#kontakt { background-color: #f8f9fa; }
footer {
    text-align: center;
}
.copyright {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 20px;
}

/* RWD - Wersja Mobilna */
@media (max-width: 768px) {
    section {
        padding: 40px 20px;
    }

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

    #produkty li {
        flex-direction: column;
        text-align: center;
    }

    form {
        width: 100%;
    }

    .hero-section {
        min-height: 400px;
    }
}

/* Dekoracyjne elementy mapy */
iframe {
    filter: grayscale(0.2) contrast(1.1);
    border: 5px solid #fff !important;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
