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

/* Base Styles */
:root {
    --primary-color: #dc143c; /* Polish flag red */
    --secondary-color: #ffffff; /* Polish flag white */
    --accent-color: #292e49; /* Deep blue */
    --text-color: #333333;
    --background-light: #f8f9fa;
    --background-dark: #e9ecef;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: var(--background-light);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style-type: none;
}

li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

section {
    padding: 3rem 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Header / Offer Block */
header {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: var(--secondary-color);
    padding: 4rem 2rem;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-radius: 0 0 8px 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    background-size: 100px 100px, 100% 100%;
    position: relative;
    overflow: hidden;
}

header h1 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    max-width: 80%;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 70%;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Form Section */
#form {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

#form h2 {
    color: var(--secondary-color);
}

#form h2::after {
    background-color: var(--secondary-color);
}

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

input[type="email"] {
    padding: 12px 16px;
    border-radius: 30px;
    border: none;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
}

button[type="submit"] {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

button[type="submit"]:hover {
    background-color: darken(var(--primary-color), 10%);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Products Section */
#products {
    background-color: var(--background-dark);
}

#products ul {
    margin-bottom: 2rem;
}

#products li {
    font-weight: 700;
}

article {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
}

article h3 {
    color: var(--primary-color);
}

/* Specialists Section */
#specialists {
    background-color: var(--secondary-color);
}

#specialists li {
    font-weight: 500;
}

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

#reviews h2 {
    color: var(--secondary-color);
}

#reviews h2::after {
    background-color: var(--secondary-color);
}

#reviews li {
    font-style: italic;
}

#reviews li::before {
    color: var(--secondary-color);
}

/* Contacts Section */
#contacts {
    background-color: var(--background-light);
}

iframe {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    border-radius: 8px;
    margin-bottom: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    header {
        padding: 3rem 1.5rem;
    }
    
    header h1, header p {
        max-width: 100%;
    }
    
    section {
        padding: 2rem 1rem;
    }
    
    form {
        width: 100%;
    }
    
    article {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    header {
        padding: 2rem 1rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    section {
        padding: 1.5rem 1rem;
        margin: 1rem 0;
    }
    
    input[type="email"], button[type="submit"] {
        padding: 10px 16px;
    }
    
    article {
        padding: 1rem;
    }
}