/*
* Majster Plus - Style responsywne
* Autor: Majster Plus
* Wersja: 1.0
*/

/* Duże ekrany (desktop) */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .blog-posts-grid,
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* Średnie ekrany (tablet) */
@media (max-width: 992px) {
    :root {
        --section-padding: 60px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .banner {
        padding: 150px 0 80px;
    }
    
    .banner-content {
        max-width: 550px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .newsletter-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-form-container {
        width: 100%;
        margin-top: 30px;
    }
    
    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 30px;
    }
    
    .footer-links-column {
        flex: 1 1 calc(50% - 20px);
    }
}

/* Małe ekrany (mobile) */
@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
        --header-height: 70px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 250px;
        height: calc(100vh - var(--header-height));
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right var(--transition-speed) ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0 0 20px 0;
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 10px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .banner {
        padding: 120px 0 60px;
        text-align: center;
    }
    
    .banner-content {
        margin: 0 auto;
    }
    
    .banner-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .banner-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .testimonial-card {
        flex: 0 0 100%;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .newsletter-form input[type="email"] {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
        width: 100%;
    }
    
    .cookie-banner {
        width: 95%;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .thank-you-buttons {
        flex-direction: column;
    }
    
    .blog-post-title {
        font-size: 1.8rem;
    }
}

/* Bardzo małe ekrany */
@media (max-width: 480px) {
    :root {
        --section-padding: 40px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .banner {
        padding: 100px 0 50px;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .footer-links-column {
        flex: 1 1 100%;
    }
}
