/* Importowanie fontów z Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Open+Sans:wght@400;600;700&display=swap');

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

/* Podstawowe style */
body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    max-width: 1180px;
    margin: 0 auto;
}

.container {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 20px;
    color: #0a2240;
}

p {
    margin-bottom: 15px;
}

a {
    color: #1560bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0a2240;
}

section {
    padding: 60px 0;
}

/* Przyciski */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin: 10px 0;
    border: none;
}

.btn-primary {
    background-color: #e30613;
    color: white;
    box-shadow: 0 4px 6px rgba(227, 6, 19, 0.2);
}

.btn-primary:hover {
    background-color: #c00510;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(227, 6, 19, 0.3);
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #0a2240;
    border: 1px solid #0a2240;
}

.btn-secondary:hover {
    background-color: #0a2240;
    color: white;
}

/* Block 1: Offer Section */
.offer-section {
    min-height: 430px;
    background: linear-gradient(135deg, rgba(10, 34, 64, 0.9) 0%, rgba(21, 96, 189, 0.9) 100%), url('https://subtlepatterns.com/patterns/geometry2.png');
    background-size: cover;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 80px 0;
}

.offer-section h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white;
}

.offer-section h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #f0f0f0;
}

.offer-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 25px;
    color: #f0f0f0;
}

.offer-section .btn-primary {
    padding: 15px 30px;
    font-size: 1.1rem;
    margin-top: 20px;
}

/* Specialists Section */
.specialists-section {
    background-color: white;
    padding: 70px 0;
}

.specialists-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

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

.specialist-card {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.specialist-card h3 {
    font-size: 1.4rem;
    color: #0a2240;
    margin-bottom: 5px;
}

.specialist-card .position {
    color: #e30613;
    font-weight: 500;
    margin-bottom: 15px;
}

/* Reviews Section */
.reviews-section {
    background-color: #f0f5fc;
    padding: 70px 0;
}

.reviews-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

blockquote {
    position: relative;
    padding-left: 20px;
    border-left: 3px solid #e30613;
}

blockquote p {
    font-style: italic;
    margin-bottom: 15px;
}

blockquote footer {
    font-weight: 600;
    color: #0a2240;
}

/* Form Section */
.form-section {
    background-color: #0a2240;
    color: white;
    padding: 70px 0;
    text-align: center;
}

.form-section h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.form-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #f0f0f0;
}

.form-group {
    max-width: 500px;
    margin: 0 auto 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

/* Products Section */
.products-section {
    background-color: white;
    padding: 70px 0;
}

.products-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.product-card .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e30613;
    margin-bottom: 15px;
}

.product-card p {
    margin-bottom: 20px;
}

/* Article Styling */
.investment-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f0f5fc;
    border-radius: 8px;
    border-left: 5px solid #1560bd;
}

.investment-article h3 {
    font-size: 1.6rem;
    color: #0a2240;
    margin-bottom: 20px;
}

.investment-article p {
    text-align: justify;
}

/* Contact Section */
.contact-section {
    background-color: #f5f7fa;
    padding: 70px 0;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

address {
    text-align: center;
    font-style: normal;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer Section */
.footer-section {
    background-color: #0a2240;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-section p {
    margin-bottom: 10px;
}

/* Responsywność */
@media (max-width: 768px) {
    .offer-section {
        min-height: 350px;
        padding: 60px 0;
    }

    .offer-section h1 {
        font-size: 2.2rem;
    }

    .offer-section h2 {
        font-size: 1.4rem;
    }

    .offer-section p {
        font-size: 1rem;
    }

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

    section {
        padding: 40px 0;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    .investment-article {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .offer-section h1 {
        font-size: 1.8rem;
    }

    .offer-section h2 {
        font-size: 1.2rem;
    }

    .container {
        padding: 0 15px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }

    .product-card, .specialist-card, .review-card {
        padding: 20px 15px;
    }
}
