:root {
    --primary-red: #DC143C;
    --primary-white: #FFFFFF;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E5E5E5;
    --hover-red: #B81030;
    --success-green: #28a745;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-dark);
}

.logo img {
    height: 45px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-red);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-red);
}

.hero {
    background: linear-gradient(135deg, var(--primary-red) 0%, #B81030 100%);
    color: var(--primary-white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--bg-white);
    color: var(--primary-red);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--bg-white);
}

.btn:hover {
    background-color: transparent;
    color: var(--bg-white);
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--bg-white);
    border: 2px solid var(--primary-red);
}

.btn-primary:hover {
    background-color: var(--hover-red);
    border-color: var(--hover-red);
}

section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

section .section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 18px;
    margin-bottom: 50px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
    line-height: 1.8;
}

.about-image {
    text-align: center;
}

.about-image svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-red);
}

.service-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

#uslugi {
    background-color: var(--bg-light);
}

.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.testimonial p {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-red);
}

#blog {
    background-color: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    display: block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.blog-image {
    width: 100%;
    height: 200px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.blog-image svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.blog-excerpt {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-red);
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-card:hover .read-more {
    color: var(--hover-red);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

#kontakt {
    background-color: var(--bg-light);
}

footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--primary-red);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-red);
}

.social-links img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    padding: 25px;
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept-all {
    background-color: var(--primary-red);
    color: var(--bg-white);
}

.btn-accept-all:hover {
    background-color: var(--hover-red);
}

.btn-necessary {
    background-color: var(--text-gray);
    color: var(--bg-white);
}

.btn-necessary:hover {
    background-color: #555;
}

.btn-customize {
    background-color: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-customize:hover {
    background-color: var(--primary-red);
    color: var(--bg-white);
}

.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.cookie-option {
    margin-bottom: 20px;
    padding: 15px;
    background-color: var(--bg-light);
    border-radius: 5px;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
}

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.cookie-option p {
    margin-top: 10px;
    color: var(--text-gray);
    font-size: 14px;
}

.cookie-modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.cookie-modal-buttons button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-article {
    padding: 60px 0;
}

.blog-article-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-article-header h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.blog-article-meta {
    color: var(--text-gray);
    font-size: 16px;
}

.blog-article-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.blog-article-image svg {
    width: 100%;
    height: auto;
    max-height: 400px;
}

.blog-article-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-article-content p {
    margin-bottom: 20px;
    color: var(--text-gray);
    line-height: 1.9;
    font-size: 17px;
}

.blog-article-content h2 {
    margin: 40px 0 20px;
    font-size: 28px;
    color: var(--text-dark);
}

.blog-article-content h3 {
    margin: 30px 0 15px;
    font-size: 22px;
    color: var(--text-dark);
}

.blog-article-content ul,
.blog-article-content ol {
    margin: 20px 0 20px 30px;
    color: var(--text-gray);
}

.blog-article-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.legal-content h1 {
    font-size: 38px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.legal-content h2 {
    font-size: 26px;
    margin: 40px 0 20px;
    color: var(--text-dark);
    text-align: left;
}

.legal-content h3 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: var(--text-dark);
}

.legal-content p {
    margin-bottom: 20px;
    color: var(--text-gray);
    line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
    margin: 20px 0 20px 30px;
    color: var(--text-gray);
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.thanks-container {
    text-align: center;
    padding: 100px 20px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-content {
    max-width: 600px;
}

.thanks-content svg {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
}

.thanks-content h1 {
    font-size: 38px;
    margin-bottom: 20px;
    color: var(--primary-red);
}

.thanks-content p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    nav ul {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    section h2 {
        font-size: 30px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 15px;
        font-size: 14px;
    }
    
    header .container {
        flex-direction: column;
        gap: 15px;
    }
}
