/* Główny arkusz stylów: Canadian Financial - Motyw Górski
   Wszystkie kolory i kształty są generowane lokalnie.
*/

:root {
    --primary-mountain: #1e3a34; /* Ciemna zieleń leśna */
    --slate-rock: #2d3436;      /* Skalisty szary */
    --snow-white: #f1f2f6;      /* Śnieżny biały */
    --peak-blue: #0984e3;       /* Błękit lodowca */
    --accent-gold: #d4af37;     /* Złoto - akcent finansowy */
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
}

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

body {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 1090px;
    margin: 0 auto;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--snow-white);
}

/* --- Sekcja Hero (Blok 1) --- */
.hero-section {
    min-height: 470px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    /* Efekt szczytów górskich za pomocą gradientu */
    background: linear-gradient(135deg, var(--primary-mountain) 0%, var(--slate-rock) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

/* Dekoracyjny element "szczytu" */
.hero-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--snow-white);
    clip-path: polygon(0% 100%, 25% 40%, 45% 85%, 65% 20%, 85% 70%, 100% 40%, 100% 100%);
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--accent-gold);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 30px;
    z-index: 2;
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

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

/* --- Sekcje - Kontrastowe dzielenie --- */
section {
    padding: 80px 40px;
}

/* Ciemne bloki */
.specialists-section, .subscription-section {
    background-color: var(--slate-rock);
    color: var(--text-light);
}

/* Jasne bloki */
.reviews-section, .media-teaching-section, .products-article-section {
    background-color: var(--snow-white);
    color: var(--text-dark);
}

/* --- Produkty i Artykuł (Wyróżnienie) --- */
.products-article-section {
    border-left: 8px solid var(--primary-mountain);
}

.products-list {
    list-style: none;
    margin: 20px 0;
}

.products-list li {
    padding: 15px;
    margin-bottom: 10px;
    background: #e1e4e8;
    border-radius: 4px;
}

.tips-article {
    margin-top: 50px;
    padding: 40px;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 10px 10px 0px var(--primary-mountain);
}

.tips-article h3 {
    color: var(--primary-mountain);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-gold);
    display: inline-block;
}

/* --- Formularz --- */
form {
    max-width: 500px;
    margin: 20px 0;
}

input[type="email"], textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background: #f9f9f9;
}

button[type="submit"] {
    padding: 12px 25px;
    background-color: var(--peak-blue);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}

button[type="submit"]:hover {
    background-color: #076ad2;
}

/* --- Specjaliści i Opinie --- */
.specialist-list, .reviews-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.specialist-item, .review-item {
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.review-item {
    background: white;
    color: var(--text-dark);
    border: 1px solid #ddd;
    font-style: italic;
}

/* --- Stopka i Mapa --- */
.location-section {
    background: #111;
    color: white;
    padding: 0;
}

.address-container {
    padding: 40px;
}

.copyright-bar {
    text-align: center;
    padding: 20px;
    background: #000;
    color: #777;
    font-size: 0.9rem;
}

/* --- RWD (Mobilna wersja) --- */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    section {
        padding: 40px 20px;
    }

    .tips-article {
        padding: 20px;
        box-shadow: 5px 5px 0px var(--primary-mountain);
    }

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