/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Montserrat:wght@600;700;800&display=swap');

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

/* Base Styles */
body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    max-width: 1180px;
    margin: 0 auto;
    background-color: #f0f2f5;
}

/* Polish Police Color Scheme */
:root {
    --polish-blue: #0E3385;
    --polish-red: #DC143C;
    --polish-dark-blue: #001F5B;
    --polish-light-blue: #4475CC;
    --polish-white: #FFFFFF;
    --polish-gray: #E5E5E5;
    --polish-yellow: #FFD700;
    --polish-dark-gray: #333333;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--polish-white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

h2 {
    font-size: 2rem;
    color: var(--polish-dark-blue);
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--polish-red);
    display: inline-block;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--polish-dark-blue);
}

p {
    margin-bottom: 1rem;
}

/* Container */
.container {
    padding: 3rem;
    width: 100%;
}

/* Block Styling */
.block {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Main Offer Block (Block 1) */
#glowna-oferta {
    background-color: var(--polish-red);
    background: var(--polish-red);
    color: var(--polish-white);
    min-height: 430px;
    position: relative;
}

#glowna-oferta h2 {
    color: var(--polish-white);
    border-bottom-color: var(--polish-yellow);
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: var(--polish-red);
    color: var(--polish-white);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.btn:hover {
    background-color: #b01030;
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Offer Button Specific */
#glowna-oferta .btn {
    background-color: var(--polish-yellow);
    color: var(--polish-dark-blue);
    font-size: 1.1rem;
    padding: 14px 28px;
    margin-top: 2rem;
}

#glowna-oferta .btn:hover {
    background-color: #e6c200;
}

/* Products & Services Block */
#produkty {
    background-color: var(--polish-white);
}

.produkty-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.produkt {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    background-color: var(--polish-gray);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.produkt:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.produkt .cena {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--polish-red);
    margin: 1rem 0;
}

/* Article Styling */
.artykul {
    background-color: #f8f9fa;
    border-left: 5px solid var(--polish-blue);
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.artykul h3 {
    color: var(--polish-blue);
    margin-bottom: 1.5rem;
}

/* Form Styling */
#formularz-kontaktowy {
    background: linear-gradient(135deg, var(--polish-light-blue) 0%, var(--polish-blue) 100%);
    color: var(--polish-white);
}

#formularz-kontaktowy h2 {
    color: var(--polish-white);
    border-bottom-color: var(--polish-yellow);
}

form {
    background-color: var(--polish-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--polish-dark-gray);
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

input:focus {
    border-color: var(--polish-blue);
    outline: none;
}

form .btn {
    margin-top: 1rem;
    width: 100%;
    font-size: 1.1rem;
}

/* Specialists Block */
#specjalisci {
    background-color: var(--polish-white);
}

.specjalisci-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.specjalista {
    flex: 1;
    min-width: 300px;
    padding: 1.5rem;
    background-color: var(--polish-gray);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stanowisko {
    color: var(--polish-red);
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Reviews Block */
#opinie {
    background: linear-gradient(135deg, var(--polish-dark-blue) 0%, var(--polish-blue) 100%);
    color: var(--polish-white);
}

#opinie h2 {
    color: var(--polish-white);
    border-bottom-color: var(--polish-yellow);
}

.opinie-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.opinia {
    flex: 1;
    min-width: 300px;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--polish-dark-gray);
}

.ocena {
    color: var(--polish-yellow);
    font-size: 1.5rem;
    margin-top: 1rem;
}

/* Contact & Map Block */
#kontakt {
    background-color: var(--polish-white);
}

address {
    font-style: normal;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.mapa {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Footer Block */
#stopka {
    background-color: var(--polish-dark-blue);
    color: var(--polish-white);
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .produkty-container,
    .specjalisci-container,
    .opinie-container {
        flex-direction: column;
    }

    .produkt,
    .specjalista,
    .opinia {
        min-width: 100%;
    }

    #glowna-oferta {
        min-height: auto;
        padding: 3rem 0;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    input {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem 1rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    #glowna-oferta .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .produkt .cena {
        font-size: 1.5rem;
    }
}
