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

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

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    border-bottom: 3px solid #e71d36;
    padding-bottom: 10px;
    display: inline-block;
}

h3 {
    font-size: 1.5rem;
    color: #2a4d69;
}

p {
    margin-bottom: 15px;
}

ul {
    list-style-type: none;
    margin: 20px 0;
}

li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

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

/* Header Styles - Warsaw-inspired */
header {
    min-height: 430px;
    background: linear-gradient(135deg, rgba(227, 30, 54, 0.9), rgba(30, 61, 89, 0.9)), 
                url('https://source.unsplash.com/random/1200x800/?warsaw') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    color: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

header h1 {
    color: white;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

header p {
    font-size: 1.25rem;
    max-width: 800px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: #e71d36;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

/* Section Styles with Alternating Colors */
section {
    padding: 60px 30px;
    margin: 40px 0;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

section:nth-of-type(odd) {
    background-color: white;
}

section:nth-of-type(even) {
    background-color: #f0f7ff;
}

/* Products Section */
#products ul li {
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
}

/* Article Styling */
article {
    background-color: white;
    padding: 30px;
    margin-top: 40px;
    border-radius: 10px;
    border-left: 5px solid #e71d36;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

article h3 {
    color: #e71d36;
}

article p {
    text-align: justify;
}

/* Form Styling */
#form {
    background: linear-gradient(to right, #1e3d59, #2a4d69);
    color: white;
    text-align: center;
}

#form h2 {
    color: white;
    border-bottom-color: white;
}

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

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

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

button[type="submit"]:hover {
    background-color: #c4162e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Specialists Section */
#specialists ul li {
    padding: 15px;
    background-color: white;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

#specialists ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Reviews Section */
#reviews ul li {
    font-style: italic;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

#reviews ul li:before {
    content: """;
    font-size: 2rem;
    color: #e71d36;
    position: absolute;
    left: 5px;
    top: -10px;
}

/* Contacts Section */
#contacts {
    background-color: white;
}

iframe {
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background-color: #1e3d59;
    color: white;
    border-radius: 15px 15px 0 0;
    margin-top: 40px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    header {
        padding: 30px 15px;
    }
    
    section {
        padding: 40px 20px;
        margin: 20px 0;
    }
    
    .cta-button {
        padding: 10px 20px;
    }
    
    #products ul li {
        flex-direction: column;
        text-align: left;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.7rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    header {
        min-height: 380px;
    }
    
    .cta-button {
        padding: 8px 18px;
        font-size: 1rem;
    }
    
    input[type="email"], button[type="submit"] {
        padding: 12px;
    }
    
    article {
        padding: 20px;
    }
    
    #specialists ul li, #reviews ul li {
        padding: 15px 10px;
    }
}