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

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    max-width: 1180px;
    margin: 0 auto;
    background-color: #f8f9fa;
}

.container {
    padding: 0 20px;
    max-width: 1140px;
    margin: 0 auto;
}

/* Polish Police Color Scheme */
:root {
    --police-blue: #003f7f;
    --police-navy: #1a2a4a;
    --police-silver: #c0c0c0;
    --police-white: #ffffff;
    --police-yellow: #ffd700;
    --police-light-blue: #4a90e2;
    --police-dark-blue: #002050;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --border-color: #e1e8ed;
    --shadow: 0 4px 15px rgba(0, 63, 127, 0.1);
}

/* Hero Section - Block 1 */
#offer {
    background: #001430;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, transparent 24%, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.03) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.03) 75%, rgba(255, 255, 255, 0.03) 76%, transparent 77%);
    background-size: 100% 100%, 100% 100%, 40px 40px;
    color: var(--text-light);
    min-height: 430px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.02) 10px,
        rgba(255, 255, 255, 0.02) 20px
    );
}

#offer .container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
}

#offer h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--police-yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

#offer h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--police-silver);
}

#offer p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--police-yellow) 0%, #ffed4e 100%);
    color: var(--police-navy);
    padding: 18px 35px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid transparent;
    margin-top: 20px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #ffed4e 0%, var(--police-yellow) 100%);
    border-color: var(--police-white);
}

/* Section Headers */
h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--police-navy);
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--police-blue), var(--police-yellow));
    border-radius: 2px;
}

/* Reviews Section */
.reviews-section {
    background: var(--police-white);
    padding: 80px 0;
    border-top: 5px solid var(--police-blue);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.review-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--police-blue);
    transition: transform 0.3s ease;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 63, 127, 0.15);
}

.review-item h3 {
    color: var(--police-navy);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.review-item p {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.rating {
    color: var(--police-yellow);
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Products Section */
.products-section {
    background: linear-gradient(135deg, var(--police-navy) 0%, var(--police-blue) 100%);
    color: var(--text-light);
    padding: 80px 0;
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 30% 70%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.products-section .container {
    position: relative;
    z-index: 2;
}

.products-section h2 {
    color: var(--text-light);
}

.products-section h2::after {
    background: linear-gradient(90deg, var(--police-yellow), var(--police-silver));
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--police-yellow);
}

.product-item h3 {
    color: var(--police-yellow);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-item p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--police-yellow);
    text-align: center;
    padding: 15px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    border: 2px solid var(--police-yellow);
}

/* Article Section - Highlighted */
.article-section {
    background: linear-gradient(135deg, var(--police-white) 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 20px;
    margin-top: 40px;
    border: 3px solid var(--police-yellow);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
    position: relative;
}

.article-section::before {
    content: '📖';
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--police-yellow);
    padding: 10px;
    border-radius: 50%;
    font-size: 1.5rem;
}

.article-section h3 {
    color: var(--police-navy);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
    margin-top: 10px;
}

.article-section p {
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: justify;
}

/* Specialists Section */
.specialists-section {
    background: var(--police-white);
    padding: 80px 0;
    border-top: 5px solid var(--police-yellow);
}

.specialists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.specialist-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--police-blue);
    transition: all 0.3s ease;
    text-align: center;
}

.specialist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 63, 127, 0.15);
    border-top-color: var(--police-yellow);
}

.specialist-item h3 {
    color: var(--police-navy);
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.specialist-item p:first-of-type {
    color: var(--police-blue);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Subscribe Section */
.subscribe-section {
    background: linear-gradient(135deg, var(--police-blue) 0%, var(--police-light-blue) 100%);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.subscribe-section h2 {
    color: var(--text-light);
}

.subscribe-section h2::after {
    background: linear-gradient(90deg, var(--police-yellow), var(--police-white));
}

.subscribe-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.subscribe-form input[type="email"] {
    flex: 1;
    min-width: 300px;
    padding: 18px 25px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.subscribe-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.subscribe-form input[type="email"]:focus {
    outline: none;
    border-color: var(--police-yellow);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.subscribe-form button {
    background: linear-gradient(135deg, var(--police-yellow) 0%, #ffed4e 100%);
    color: var(--police-navy);
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.subscribe-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #ffed4e 0%, var(--police-yellow) 100%);
}

/* Contact Section */
.contact-section {
    background: var(--police-white);
    padding: 80px 0;
    border-top: 5px solid var(--police-navy);
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 2rem;
}

.address {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--police-blue);
}

.address h3 {
    color: var(--police-navy);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.address p {
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.6;
}

.map iframe {
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 3px solid var(--police-silver);
}

/* Footer */
.footer {
    background: var(--police-navy);
    color: var(--text-light);
    padding: 30px 0;
    text-align: center;
    border-top: 3px solid var(--police-yellow);
}

.footer p {
    font-size: 1rem;
    color: var(--police-silver);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding: 0 10px;
    }

    .container {
        padding: 0 15px;
    }

    #offer h1 {
        font-size: 2.5rem;
    }

    #offer h2 {
        font-size: 1.4rem;
    }

    #offer p {
        font-size: 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .reviews-grid,
    .products-grid,
    .specialists-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .subscribe-form {
        flex-direction: column;
        align-items: center;
    }

    .subscribe-form input[type="email"] {
        min-width: 100%;
        margin-bottom: 15px;
    }

    .subscribe-form button {
        width: 100%;
    }

    .cta-button {
        display: block;
        text-align: center;
        max-width: 300px;
        margin: 20px auto 0;
    }

    .product-item,
    .review-item,
    .specialist-item,
    .address {
        padding: 25px;
    }

    .article-section {
        padding: 30px 20px;
    }

    .price {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    #offer {
        min-height: 350px;
    }

    #offer .container {
        padding: 40px 15px;
    }

    #offer h1 {
        font-size: 2rem;
    }

    #offer h2 {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .reviews-grid,
    .products-grid,
    .specialists-grid {
        gap: 15px;
    }

    .product-item,
    .review-item,
    .specialist-item,
    .address,
    .article-section {
        padding: 20px;
    }

    .subscribe-form input[type="email"],
    .subscribe-form button {
        padding: 15px 20px;
    }

    .cta-button {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
}
