/* ================================
   Upper Finance Group – Styl w stylu Amazon
   Autor: ChatGPT
   ================================ */

/* --- Ogólne ustawienia strony --- */
body {
    font-family: Arial, Helvetica, sans-serif;
    max-width: 1090px;
    margin: 0 auto;
    background-color: #f2f3f3;
    color: #111;
    line-height: 1.6;
    padding: 0;
}

/* --- Struktura i kontrastowe bloki --- */
section {
    padding: 60px 40px;
    margin: 0;
}

/* Kolory sekcji dla kontrastu */
#oferta {
    background-color: #232f3e;
    color: #fff;
    min-height: 470px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#produkty { background-color: #fff; color: #111; }
#zespol { background-color: #e7e9ec; color: #111; }
#opinie { background-color: #fff; color: #111; }
#dodaj-opinie { background-color: #f0f2f2; color: #111; }
#formularz { background-color: #fff; color: #111; }
#media { background-color: #e7e9ec; color: #111; }
#kontakt { background-color: #fff; color: #111; }

/* --- Nagłówki --- */
h1, h2, h3 {
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 0.5px;
}
h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}
h2 {
    font-size: 1.6rem;
}
h3 {
    font-size: 1.3rem;
}

/* --- Styl artykułu --- */
article {
    background-color: #fff9e6;
    border-left: 5px solid #ff9900;
    padding: 20px 25px;
    margin-top: 30px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

/* --- Linki i przyciski --- */
a.cta-button, button {
    background-color: #ff9900;
    color: #111;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}
a.cta-button:hover, button:hover {
    background-color: #f0c14b;
    transform: scale(1.03);
}
a.cta-button {
    display: inline-block;
    margin-top: 20px;
}

/* --- Formularze --- */
form {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
}
input[type="email"], textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 1rem;
}
textarea {
    resize: vertical;
}

/* --- Lista produktów i specjalistów --- */
ul {
    list-style-type: none;
    padding: 0;
}
ul li {
    background-color: #fafafa;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin: 10px 0;
    padding: 12px 15px;
    transition: background-color 0.3s;
}
ul li:hover {
    background-color: #f7f7f7;
}

/* --- Opinie --- */
#opinie ul li {
    border-left: 5px solid #ff9900;
    background-color: #fffef5;
}

/* --- Mapa --- */
iframe {
    border-radius: 8px;
    margin-top: 15px;
}

/* --- Stopka --- */
footer {
    background-color: #232f3e;
    color: #fff;
    text-align: center;
    padding: 20px 10px;
    font-size: 0.9rem;
}

/* --- Drobne efekty --- */
button:active, a.cta-button:active {
    transform: scale(0.97);
}

/* --- Responsywność --- */
@media (max-width: 768px) {
    body {
        padding: 0 10px;
    }
    section {
        padding: 40px 20px;
    }
    h1 {
        font-size: 1.7rem;
    }
    h2 {
        font-size: 1.4rem;
    }
    form {
        width: 100%;
    }
    a.cta-button, button {
        width: 100%;
    }
}
