/* Podstawowe style dla całej strony */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #2E7D32;
    --accent-color: #FF9800;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #757575;
    --white: #ffffff;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--dark-gray);
}

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

.btn-text {
    background-color: transparent;
    color: var(--primary-color);
    padding: 0;
    border: none;
}

.btn-text:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Nagłówek */
.header {
    padding: 20px 0;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: 20px;
}

.nav-list a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 4px;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
    background-color: rgba(76, 175, 80, 0.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero section */
.hero, .blog-hero, .page-hero {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: var(--white);
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-content, .blog-hero-content, .page-hero-content {
    max-width: 600px;
}

.hero h1, .blog-hero h1, .page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.hero p, .blog-hero p, .page-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 15px;
}

/* Sekcje główne */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
}

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

/* Sekcja oferty */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.offer-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.offer-card:hover {
    transform: translateY(-10px);
}

.offer-card.featured {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.offer-card.featured h3 {
    color: var(--white);
}

.offer-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.offer-card.featured .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.offer-card.featured .btn-primary:hover {
    background-color: transparent;
    color: var(--white);
}

.offer-icon {
    margin-bottom: 20px;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 20px 0;
}

/* Jak to działa */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.step {
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 35px;
    right: -15px;
    width: 30px;
    height: 2px;
    background-color: var(--medium-gray);
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* Sekcja korzyści */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.benefit-icon {
    margin-bottom: 20px;
}

/* Opinie klientów */
.testimonials {
    background-color: var(--light-gray);
}

.testimonials-slider {
    max-width: 800px;
    margin: 40px auto 20px;
}

.testimonial {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
}

.author {
    font-weight: bold;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--medium-gray);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

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

.about-text {
    padding-right: 30px;
}

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

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    margin-bottom: 10px;
}

.blog-content h3 a {
    color: var(--text-color);
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 500;
    color: var(--primary-color);
}

.read-more:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.blog-cta {
    text-align: center;
    margin-top: 40px;
}

/* Newsletter */
.newsletter {
    background-color: var(--primary-color);
    color: var(--white);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form {
    margin-top: 30px;
}

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

.form-group input[type="email"] {
    padding: 12px 20px;
    border-radius: 4px;
    border: none;
    flex: 1;
    min-width: 300px;
}

.form-group {
    display: flex;
    gap: 10px;
}

.form-consent {
    text-align: left;
    margin-top: 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-consent input {
    margin-top: 5px;
}

.form-consent a {
    color: var(--white);
    text-decoration: underline;
}

.form-consent a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Stopka */
.footer {
    background-color: #222;
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-about {
    padding-right: 30px;
}

.footer-about p {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul,
.footer-legal ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-legal li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--white);
}

.footer-contact ul {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li {
    margin-bottom: 15px;
}

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

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

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    margin-bottom: 10px;
}

.cookie-options {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.cookie-settings-panel {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--medium-gray);
}

.cookie-settings-panel.hidden {
    display: none;
}

.cookie-option {
    margin-bottom: 15px;
}

.cookie-option p {
    margin-top: 5px;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.cookie-buttons {
    margin-top: 20px;
}

/* Strona blog */
.blog-listing {
    padding: 80px 0;
}

.blog-date {
    display: block;
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Artykuł */
.article {
    padding: 80px 0;
}

.article-header {
    margin-bottom: 40px;
}

.article-meta {
    margin-bottom: 20px;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.article-meta span {
    margin-right: 20px;
}

.article-image {
    margin-bottom: 30px;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

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

.article-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    margin-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-footer {
    margin-top: 60px;
    border-top: 1px solid var(--medium-gray);
    padding-top: 40px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.share-buttons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--text-color);
    transition: var(--transition);
}

.share-buttons a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.related-articles h3 {
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-card {
    display: flex;
    gap: 15px;
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: 8px;
    transition: var(--transition);
}

.related-card:hover {
    background-color: var(--medium-gray);
}

.related-card img {
    border-radius: 4px;
}

.related-card h4 {
    margin: 0;
    font-size: 1rem;
}

/* Kontakt */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-section {
    padding: 80px 0;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--primary-color);
}

.contact-item h3 {
    margin-bottom: 5px;
}

.social-contact {
    margin-top: 40px;
}

.contact-form-container {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 8px;
}

.contact-form {
    margin-top: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
}

.contact-form textarea {
    resize: vertical;
}

.map-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.map-container {
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-section {
    padding: 80px 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--medium-gray);
    padding-bottom: 20px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
}

.faq-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

.icon-minus {
    display: none;
}

.faq-answer {
    margin-top: 15px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .icon-plus {
    display: none;
}

.faq-item.active .icon-minus {
    display: block;
}

/* Newsletter page */
.newsletter-page-section {
    padding: 80px 0;
}

.newsletter-page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.newsletter-benefits {
    margin-top: 30px;
}

.benefit-item {
    margin-bottom: 30px;
}

.benefit-icon svg {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.newsletter-page-form {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 8px;
}

.checkbox-group,
.radio-group {
    margin-top: 10px;
}

.checkbox-item,
.radio-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Thanks page */
.thanks-section {
    padding: 100px 0;
    text-align: center;
}

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

.thanks-icon {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.thanks-icon svg {
    width: 80px;
    height: 80px;
}

.thanks-message {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.thanks-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.related-content {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.related-content h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.related-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-icon {
    margin-bottom: 20px;
}

/* Legal pages */
.page-content {
    padding: 80px 0;
}

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

.legal-date {
    color: var(--dark-gray);
    margin-bottom: 40px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-list {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-list li {
    margin-bottom: 10px;
}

.legal-contact {
    list-style: none;
    margin-left: 0;
}

/* Responsive styles */
@media (max-width: 992px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .step:nth-child(odd)::after {
        display: none;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        padding-right: 0;
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-grid,
    .newsletter-page-content {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container,
    .newsletter-page-form {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .hero, .blog-hero, .page-hero {
        padding: 60px 0;
    }
    
    .hero h1, .blog-hero h1, .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .offer-grid,
    .steps,
    .benefits-grid,
    .blog-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .step::after {
        display: none;
    }
    
    .nav-list {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}