/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:wght@400;700&display=swap');

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

body {
    font-family: 'Lato', sans-serif;
    color: #333;
    line-height: 1.6;
    max-width: 1180px;
    margin: 0 auto;
    background-color: #f5f5f5;
}

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

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    color: #1e3a8a;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #d4213d;
}

p {
    margin-bottom: 20px;
}

section {
    padding: 80px 0;
}

/* Polish-themed color scheme */
:root {
    --polish-red: #d4213d;
    --polish-white: #f5f5f5;
    --polish-dark-blue: #1e3a8a;
    --polish-light-blue: #4b72b0;
    --polish-gold: #d4af37;
}

/* Header - Offer Block */
header {
    min-height: 430px;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95), rgba(212, 33, 61, 0.8)),
                url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 0;
    text-align: center;
}

header h1 {
    color: var(--polish-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 3.5rem;
}

header h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 30px;
}

header h2::after {
    background-color: var(--polish-gold);
    left: 50%;
    transform: translateX(-50%);
}

header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.button {
    display: inline-block;
    background-color: var(--polish-gold);
    color: var(--polish-dark-blue);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--polish-gold);
    font-size: 1.1rem;
}

.button:hover {
    background-color: transparent;
    color: var(--polish-gold);
}

/* Products Section */
#products {
    background-color: white;
}

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

.product {
    background-color: var(--polish-white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product:hover {
    transform: translateY(-10px);
}

.product h3 {
    color: var(--polish-dark-blue);
}

.price {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--polish-red);
    margin-top: 15px;
}

/* Article Styling */
.article {
    background-color: #f0f7ff;
    padding: 40px;
    border-radius: 10px;
    border-left: 5px solid var(--polish-dark-blue);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article h2 {
    color: var(--polish-dark-blue);
}

.article p {
    text-align: justify;
}

/* Specialists Section */
#specialists {
    background-color: var(--polish-light-blue);
    color: white;
}

#specialists h2 {
    color: white;
}

#specialists h2::after {
    background-color: var(--polish-white);
}

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

.specialist {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
}

.specialist:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.specialist h3 {
    color: white;
}

/* Reviews Section */
#reviews {
    background-color: var(--polish-white);
}

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

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

.review::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 60px;
    color: rgba(0, 0, 0, 0.1);
    font-family: Georgia, serif;
}

.rating {
    color: var(--polish-gold);
    font-size: 1.2rem;
    margin-top: 15px;
}

/* Form Section */
#form {
    background-color: var(--polish-dark-blue);
    color: white;
    text-align: center;
}

#form h2 {
    color: white;
}

#form h2::after {
    background-color: var(--polish-gold);
    left: 50%;
    transform: translateX(-50%);
}

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

input[type="email"] {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
}

form .button {
    cursor: pointer;
    width: 100%;
}

/* Contact Section */
#contact {
    background-color: white;
}

.map {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    header {
        padding: 40px 0;
        text-align: center;
    }

    section {
        padding: 50px 0;
    }

    .product-grid, .specialist-grid, .review-grid {
        grid-template-columns: 1fr;
    }

    .article {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    header p {
        font-size: 1rem;
    }

    .button {
        padding: 10px 20px;
        font-size: 1rem;
    }
}
