/* Фиксим черную полосу */
html, body {
    overflow-x: hidden;
}

.Header_header__MwWvM {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    background-color: #333;
    transition: transform 0.3s ease-in-out;
}

.Wrapper_wrapper__YXa9O {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.Header_logo__V9h3K {
    max-width: 150px;
    height: auto;
}

/* Десктопное меню */
.desktop-menu {
    display: flex;
    gap: 30px;
}

.desktop-menu a {
    color: #fff;
    text-decoration: none;
}

/* Скрываем мобильные элементы на десктопе */
.hamburger,
.MobileMenu_mobileMenu__DjIxs {
    display: none;
}

.list_1 {
    list-style: revert; 
    margin: revert;
    margin-left: -50%;
}

.gallery {
    column-count: 4; /* Четыре колонки */
    column-gap: 10px;
}

.gallery-item {
    break-inside: avoid; /* Предотвращает разрыв элемента между колонками */
    margin-bottom: 10px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
}

#loadMore {
    background-color: #333; /* Цвет фона */
    border: none; /* Без границ */
    color: #fc0; /* Цвет текста */
    padding: 1% 2%; /* Отступы */
    text-align: center; /* Выравнивание текста */
    text-decoration: none; /* Без подчеркивания */
    display: inline-block; /* Отображение */
    font-size: 16px; /* Размер шрифта */
    margin: 4px 2px; /* Внешние отступы */
    cursor: pointer; /* Курсор при наведении */
    border-radius: 4px; /* Закругленные углы */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Тень */
    transition: background-color 0.3s ease; /* Плавный переход */
    position: relative; 
    left: 45%
}

@media (min-width: 768px){
    .ContactContent_flexContainer__XkwC0 {
        margin-top: -45%;
    }

    #formularz {
        margin-top: -10%;
    }

    .swiper-slide {
        flex-shrink: 0;
        margin-top: -5%;
        margin-left: 2%;
        width: 30%;
        height: 30%;
        padding: 1%;
        position: relative;
        transition-property: transform;
        display: block
    }

    .CateogryContact_area__JEh8U_1 {
        margin-top: -25%;
    }
}
.button:hover {  
    background-color: #fc0; /* Цвет фона при наведении */
}

/* Мобильные стили */
@media (max-width: 768px) {
    #loadMore {
        padding: 0.5% 1%;
    }
    .gallery {
        column-count: 2; /* Две колонки */
        column-gap: 10px;
    }

    .desktop-menu {
        display: none;
    }

    /* Стили для гамбургера */
    .hamburger {
        display: block;
        position: relative;
        z-index: 200;
        border: none;
        background: none;
        cursor: pointer;
        padding: 10px;
    }

    .hamburger-box {
        width: 30px;
        height: 24px;
        display: inline-block;
        position: relative;
    }

    .hamburger-inner {
        width: 100%;
        height: 2px;
        background-color: #fc0;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .hamburger-inner::before,
    .hamburger-inner::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #fff;
        left: 0;
    }

    .hamburger-inner::before {
        top: -8px;
    }

    .hamburger-inner::after {
        bottom: -8px;
    }

    /* Стили для мобильного меню */
    .MobileMenu_mobileMenu__DjIxs {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #333;
        padding-top: 80px;
        z-index: 150;
    }

    .MobileMenu_mobileMenu__DjIxs.visible {
        display: block;
    }

    .MobileMenu_menuContainer__7IAtc {
        padding: 5px;
    }

    .MobileMenu_menuContainer__7IAtc ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .MobileMenu_menuContainer__7IAtc li {
        margin: 15px 0;
    }

    .MobileMenu_menuContainer__7IAtc a {
        color: #fff;
        text-decoration: none;
        display: block;
        font-size: 18px;
        padding: 10px 0;
    }

    .list_1 {
        list-style: revert; 
        margin: revert;
        margin-left: 5%;
    }

    .swiper-slide {
        flex-shrink: 0;
        width: 99%;
        height: 100%;
        position: relative;
        transition-property: transform;
        display: block
    }

    .swiper-wrapper {
        display: flex;
        flex-direction: column; /* Устанавливает вертикальное направление */
        height: auto; /* Устанавливаем авто высоту для правильного расчета */
    }

    .CateogryContact_area__JEh8U_1 {
        margin-top: -55%;
    }
}

.CtaFrame_ctaSection__1Idas1 a {
    position: relative;
    padding: .8em 1.5em;
    border-radius: 5px;
    font-weight: 700;
    background-color: #fc0;
    color: #2e2e2e;
    margin: 2em auto 0;
    transition: box-shadow .3s
}

.CtaFrame_ctaSection__1Idas1 a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1
}

.CtaFrame_ctaSection__1Idas1 a:hover {
    box-shadow: 0 0 15px #fc0
}

.CtaFrame_ctaSection__1Idas1 a:hover:before {
    animation: CtaFrame_pulse__SgqOH 1s linear forwards
}