@media (max-width: 992px) {
    .choose-us-image-column {display: none;}
    .hero-content h1 { font-size: 3.2em; }
    .hero-content p { font-size: 1.6em; }
    .section-title { font-size: 2.2em; }

    .content-wrapper {
        margin: 30px auto;
        padding: 0 25px;
        gap: 40px;
    }
    .boxed-section { padding: 35px; }

    .omnie-content,
    .choose-us-content-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .omnie-text { text-align: center; }
    
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    .hero-header {
        background-attachment: scroll !important;
    }

    .top-menu-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 26px;
        cursor: pointer;
        padding: 5px;
    }

    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100%;
        background-color: #1e1e1e;
        z-index: 1002;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }
    
    .mobile-menu.is-open {
        transform: translateX(0);
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-logo {
        font-size: 1.5em;
        font-weight: bold;
        color: var(--color-light);
    }

    .menu-close-btn {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
    }
    
    .mobile-menu-nav {
        list-style: none;
        padding: 20px;
        margin: 0;
    }

    .mobile-menu-nav li a {
        display: block;
        color: var(--color-light);
        text-decoration: none;
        padding: 15px 10px;
        border-radius: 6px;
        font-size: 1.1em;
        transition: background-color 0.2s;
    }

    .mobile-menu-nav li a:hover,
    .mobile-menu-nav li a:active {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }
    
    .menu-overlay.is-visible {
        opacity: 1;
        visibility: visible;
    }
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@media (max-width: 768px) {

    .top-menu-desktop { display: none; }
    .menu-toggle { display: block; }
    .mobile-menu { display: block; }

    body {
        font-size: 16px;
        line-height: 1.6;
    }
    .hero-content h1 { font-size: 2.5em; }
    .hero-content p { font-size: 1.3em; }
    .section-title { font-size: 1.9em; }
    .section-description { font-size: 1em; }

    .content-wrapper {
        padding: 0 15px;
        gap: 30px;
    }
    .boxed-section { padding: 25px; }
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

        .photos,
    .gallery {
        grid-template-columns: 1fr !important;
    }

    .photos img,
    .gallery img,
    .gallery-item img {
        height: auto !important;
        object-fit: unset !important;
    }

    .hero-header {
        background-attachment: scroll !important;
        padding: 80px 15px;
        height: auto;
        min-height: 350px;
    }
    .btn {
        padding: 12px 24px;
        font-size: 1em;
    }

    .slider-container { border-radius: 0; }
    .omnie-photo { max-width: 250px; }
    .find-me-links { flex-direction: column; gap: 15px; align-items: stretch; }
    .find-me-links a { margin: 0; }

    .gallery-grid, .photos { grid-template-columns: 1fr; }
    
/* Ta reguła wymusza jedną kolumnę na wszystkich galeriach */
.photos,
.gallery {
    grid-template-columns: 1fr !important;
}

/* Ta reguła usuwa przycinanie ze wszystkich zdjęć w galeriach */
.photos img,
.gallery img,
.gallery-item img {
    height: auto !important;
    object-fit: unset !important;
}
    
    .contact-details { flex-direction: column; gap: 30px; }
    .contact-form .form-group { flex-direction: column; align-items: flex-start; }
    .contact-form input, .contact-form textarea { width: 100%; }
}

@media (max-width: 576px) {

    .hero-content h1 { font-size: 2.1em; }
    .hero-content p { font-size: 1.1em; }
    .section-title { font-size: 1.7em; }
    
    .content-wrapper { padding: 0 10px; }
    .boxed-section { padding: 20px 15px; }

    .top-menu { padding: 10px 15px; }
    .hero-header { min-height: 300px; }

}