/* Warsaw Style CSS for WW Finance Website */

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

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

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

h1 {
    font-size: 2.5rem;
}

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

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #d4213d; /* Polish flag red */
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style-position: inside;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

section {
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

/* Header - Offer Block */
header {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: #fff;
    background: linear-gradient(135deg, #1e3a8a 0%, #2a4494 50%, #d4213d 100%);
    background-size: cover;
    border-radius: 10px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48cGF0aCBkPSJNNTkuOSAwSDYwdjYwSDBWNTkuOWg2MHYtNjAuMWg1OS45VjBIOTkuOXY2MEgwVjU5LjloNjB2LTYwLjFoNTkuOVYwSDk5Ljl2NjBIMFY1OS45aDYwdi02MC4xaDU5LjlWMEg5OS45djYwSDBWNTkuOWg2MHYtNjAiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
    opacity: 0.1;
}

header h1 {
    color: #fff;
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

/* CTA Button in header */
.cta-button {
    display: inline-block;
    background-color: #d4213d; /* Polish flag red */
    color: white;
    padding: 12px 30px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: #fff;
    color: #d4213d;
    border: 2px solid #d4213d;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Form Styling */
#form {
    background-color: #1e3a8a; /* Polish flag navy */
    color: white;
    text-align: center;
}

#form h2 {
    color: white;
}

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

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

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

button[type="submit"] {
    background-color: #d4213d; /* Polish flag red */
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button[type="submit"]:hover {
    background-color: #b51b32;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Article Styling */
#products article {
    margin-top: 2rem;
    padding: 2rem;
    background-color: #f5f7ff;
    border-left: 5px solid #1e3a8a;
    border-radius: 0 5px 5px 0;
}

#products article h3 {
    color: #1e3a8a;
}

/* Specialists Section */
#specialists {
    background-color: #f1f5fe;
}

#specialists ul {
    list-style-type: none;
}

#specialists li {
    padding: 10px 0;
    border-bottom: 1px solid #e1e5f1;
    position: relative;
    padding-left: 30px;
}

#specialists li:before {
    content: "✓";
    color: #1e3a8a;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Products Section */
#products ul {
    list-style-type: none;
}

#products li {
    padding: 15px;
    border-left: 3px solid #d4213d;
    background-color: #f9f9f9;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

#products li:hover {
    transform: translateX(5px);
    border-left-width: 5px;
}

/* Reviews Section */
#reviews {
    background-color: #fff5f5;
}

#reviews ul {
    list-style-type: none;
}

#reviews li {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 35px;
}

#reviews li:before {
    content: """;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #d4213d;
    position: absolute;
    left: 10px;
    top: 0;
    line-height: 1;
}

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

#contacts p {
    margin-bottom: 1rem;
}

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

/* Footer Styling */
footer {
    text-align: center;
    padding: 2rem 0;
    color: #666;
    margin-top: 2rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    
    header {
        min-height: 350px;
        padding: 1.5rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    section {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 10px 20px;
    }
    
    form {
        width: 100%;
    }
}

@media (max-width: 480px) {
    header {
        min-height: 300px;
    }
    
    header h1 {
        font-size: 1.75rem;
    }
    
    header p {
        font-size: 0.9rem;
    }
    
    section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    button[type="submit"] {
        padding: 12px 20px;
    }
}

/* Additional styling for cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
    font-size: 14px;
}

.cookie-banner button {
    background-color: #1e3a8a;
    color: white;
    border: none;
    padding: 8px 20px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-banner button:hover {
    background-color: #152b6a;
}