/* 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 styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

h1 {
    font-size: 2.5rem;
}

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

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

section {
    padding: 60px 20px;
}

ul {
    list-style-type: none;
}

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

li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #dc4c46;
    font-weight: bold;
}

/* Header/Offer block styling */
header {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #e03131 0%, #dc4c46 50%, #c92a54 100%);
    color: white;
    border-radius: 0 0 50px 50px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

header h1, header p {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: white;
    color: #dc4c46;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2rem;
}

.cta-button:hover {
    background-color: #f8f8f8;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Form styling */
#form {
    background-color: #1e2c3a;
    color: white;
    padding: 60px 20px;
    border-radius: 20px;
    margin: 40px 0;
}

#form h2 {
    color: white;
}

#form h2::after {
    background-color: white;
}

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

input[type="email"] {
    padding: 15px;
    border: none;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 16px;
}

button[type="submit"] {
    padding: 15px;
    background-color: #dc4c46;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #c92a54;
    transform: translateY(-2px);
}

/* Products section styling */
#products {
    background-color: white;
    padding: 60px 20px;
    border-radius: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

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

/* Article styling */
article {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #dc4c46;
    margin-top: 40px;
}

article h3 {
    color: #dc4c46;
    margin-bottom: 20px;
}

article p {
    margin-bottom: 20px;
}

/* Reviews section styling */
#reviews {
    background-color: #f0f0f0;
    padding: 60px 20px;
    border-radius: 20px;
}

#reviews li {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    font-style: italic;
}

#reviews li::before {
    content: none;
}

/* Specialists section styling */
#specialists {
    background-color: white;
    padding: 60px 20px;
    border-radius: 20px;
}

#specialists li {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Contacts section styling */
#contacts {
    background-color: #1e2c3a;
    color: white;
    padding: 60px 20px;
    border-radius: 20px 20px 0 0;
    margin-top: 40px;
}

#contacts h2 {
    color: white;
}

#contacts h2::after {
    background-color: white;
}

#contacts p {
    margin-bottom: 20px;
}

iframe {
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Footer styling */
footer {
    background-color: #141c24;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* Polish-inspired accent elements */
section:not(#contacts):not(#form) {
    position: relative;
}

section:not(#contacts):not(#form)::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 40px;
    height: 5px;
    background: linear-gradient(90deg, #dc4c46, #c92a54);
}

section:not(#contacts):not(#form)::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 20px;
    height: 5px;
    background: linear-gradient(90deg, #dc4c46, #c92a54);
}

/* Mobile responsive design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    header {
        padding: 40px 15px;
    }
    
    section {
        padding: 40px 15px;
    }
    
    form {
        width: 100%;
    }
    
    iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    header {
        min-height: 380px;
        padding: 30px 10px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    section {
        padding: 30px 10px;
    }
    
    article {
        padding: 20px 15px;
    }
    
    iframe {
        height: 250px;
    }
}