
/*
Theme Name: UNO
Author: Твоё имя
Version: 1.0
*/
html{
    margin:0!important;
    font-family: 'Montserrat', sans-serif;
}
body{
    font-family: 'Montserrat', sans-serif;
    font-weight: 400; /* Regular по умолчанию */
    /*background-color: bisque;*/
    background-color: #e8d8be;
    margin: 0px;
    padding: 0px;
}
*:not(svg):not(path):not(circle):not(rect):not(line):not(polygon):not(polyline) {
    font-family: 'Montserrat', sans-serif;
}
.top-block {
    justify-content: space-between;
    flex-direction: column;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(img/izb-5.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}

.block2{
    background-image: url(img/IMG_8099.JPG);
    height: 400px
}
.burger-button {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 50px;     /* уменьшает общие размеры */
    font-weight: 100;    /* минимально возможная толщина */
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.top-bar {
    align-items: flex-start;
    display: flex;
    justify-content: center; /* чтобы логотип был по центру */
    padding: 10px 20px;
    position: relative;
}

.burger {
    position: absolute;
    left: 20px;
    /*top: 50%;*/
    /*transform: translateY(-50%);*/
}

.contacts {
    vertical-align: middle;
    color: #ffffff;
    font-size: 14px;
    /*font-family: 'KAIF', Arial, sans-serif;*/
    line-height: 1.55;
    font-weight: 500;
    text-transform: uppercase;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    position: absolute;
    right: 20px;
    /*top: 50%;*/
    /*transform: translateY(-50%);*/
    text-align: right;
}

.logo {
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}
.nav-links a {
    color: #ffffff;
    font-size: 18px;
    /*font-family: 'KAIF', Arial, sans-serif;*/
    line-height: 1.55;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-width: 1px;
    border-radius: 30px;
    background-position: center center;
    border-color: #ffffff;
    border-style: solid;
    padding: 10px 20px;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    margin: 5px;
    display: inline-block;
}
.nav-links a:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.nav-links {
    display: flex;
    justify-content: center; /* Центрирует по горизонтали */
    align-items: center;
    gap: 15px; /* Расстояние между ссылками */
    flex-wrap: wrap; /* Перенос на новую строку при узком экране */
    margin-top: 30px; /* Отступ сверху — по желанию */
}
.schedule {
    display: flex;
    flex-direction: column;
    align-items: center;   /* <-- Центрирует по горизонтали */
    justify-content: center;
    width: 100%;           /* Важно: на всю ширину */
    margin-top: 20px;
    font-size: 16px;
    color: white;
    line-height: 1.5;
}
.container {
    background-color: #ffffff;
    padding: 20px;
    color: #000000;
}

.content {
    display: flex;
    gap: 20px;
    align-items: center; /* по вертикали выравниваем */
}

.text {
    flex: 1;
    font-size: 16px;
    line-height: 1.5;
}

.block2 {
    flex: 1;
    background-size: cover;
    background-position: center;
    height: 600px;
    border-radius: 8px;
}
.footer {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #000000;
    background-color: #ffffff;
    padding: 60px 20px;
}

.footer-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

/* Левая колонка */
.footer-left {
    flex: 1;
    min-width: 260px;
}

.footer-logos {
    flex-direction: column;
    justify-content: space-between;
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logos img {
    width: 40%;
    height: 75%;
    object-fit: contain;
}

.footer-company div {
    margin-bottom: 5px;
}

/* Правая колонка */
.footer-right {
    flex: 2;
    min-width: 300px;
}

/* Меню */
.footer-menu {
    justify-content: space-between;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 30px;
}

.footer-menu a {
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: #d4b86a;
}
.logo-bottom-row {
    display: flex;
    gap: 10px; /* расстояние между логотипами 2 и 3 */
}

/* Информация */
.footer-info {
    justify-content: space-between;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.info-block {
    min-width: 160px;
}

.info-title {
    opacity: 0.5;
    margin-bottom: 5px;
}


/* Каждый блок с информацией */
.info-block {
    min-width: 150px;
}

/* Заголовки */
.info-title {
    margin-bottom: 5px;
}
.footer-wrapper {
    display: flex;
    flex-direction: column; /* Располагаем элементы друг под другом */
    align-items: center;    /* Центрируем по горизонтали */
    text-align: center;     /* Текст внутри блоков тоже по центру */
    gap: 15px;              /* Расстояние между блоками */
    padding: 20px 0;        /* Отступ сверху и снизу при необходимости */
}

.footer-wrapper .schedule-2 div {
    margin: 2px 0; /* Небольшие отступы между строками внутри блока */
}

.footer-wrapper .logo-top img {
    max-width: 150px; /* Можно ограничить размер логотипа при необходимости */
    height: auto;
}


/*.image-row {*/
/*    display: flex;*/
/*    justify-content: center; !* по центру можно убрать если нужно слева *!*/
/*    gap: 10px; !* отступы между картинками *!*/
/*    flex-wrap: wrap; !* если экран маленький — картинки перейдут на следующую строку *!*/
/*}*/

/*.image-row img {*/
/*    width: 350px;*/
/*    height: 250px;*/
/*    object-fit: cover;*/
/*    border-radius: 10px; !* если нужны скругления *!*/
/*}*/

.image-row {
    margin-bottom: 1%;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.image-row img {
    width: calc(25% - 10px); /* 4 изображения в ряд на десктопе */
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

/* Мобильная версия (2 изображения в ряд) */
@media (max-width: 768px) {
    .image-row img {
        width: calc(50% - 5px); /* 2 изображения в ряд с учетом gap */
        height: 180px; /* Можно настроить высоту для мобильных */
    }
}
.custom-gallery-section {
    max-width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-gallery-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.custom-gallery-row img {
    height: 300px;
    object-fit: cover;
    width: 100%;
    display: block;
    border-radius: 8px;
}

.custom-img-large {
    flex: 7;
}

.custom-img-small {
    flex: 3;
}

.custom-gallery-full img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 700px) {
    .custom-gallery-row img {
        gap: 10px;
        height: 150px;
        object-fit: cover;
        width: 100%;
        display: block;
        border-radius: 8px;
    }
}
@media (max-width: 768px) {
    .footer {
        padding: 40px 15px;
        font-size: 14px;
    }

    .footer-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        min-width: unset;
    }

    .footer-logos {
        flex-direction: row;
        gap: 20px;
        align-items: center;
    }

    .footer-logos .logo-bottom-row {
        gap: 15px;
    }

    .footer-menu {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .footer-info {
        flex-direction: column;
        gap: 20px;
    }

    .footer-company {
        margin-top: 10px;
    }

    .footer-menu a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 10px;
    }

    .footer-menu {
        flex-direction: column;
        align-items: flex-start;
        
    }

    .footer-menu a {
        font-size: 13px;
    }

    .footer-logos img {
        width: 100%;
        height: 75%;
    }

    .footer-info .info-title {
        font-size: 14px;
    }

    .footer-info div {
        font-size: 13px;
    }
}

/* Кнопка бургер */
.burger-button {
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
   
    padding: 10px;
}

/* Модальное меню */
#modal-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: flex-start;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0.35s ease;
}

#modal-menu.open {
    pointer-events: auto;
    visibility: visible;
}

#modal-menu .modal-menu__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}

#modal-menu.open .modal-menu__overlay {
    opacity: 1;
}

#modal-menu .modal-content {
    position: relative;
    z-index: 1;
    width: 35%;
    min-width: 280px;
    max-width: 400px;
    background-color: #481c1c;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

#modal-menu.open .modal-content {
    transform: translateX(0);
}

@media (max-width: 768px) {
    #modal-menu .modal-content {
        width: 85%;
        max-width: none;
    }
}

.close-button {
    position: absolute;
    top: 10px; right: 10px;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.modal-logo {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}

.modal-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-nav a {
    color: white;
    text-decoration: none;
    /*font-weight: 600;*/
    font-size: 16px;
    text-transform: uppercase;
}

.modal-nav a:hover {
    color: #800000;
}

.modal-socials {
    margin: 20px 0;
    display: flex;
    gap: 10px;
}

.modal-socials a {
    display: inline-block;
}

.modal-socials img {
    width: 30px;
    height: 30px;
}
.phone {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}
.phone:hover {
    color: #666;
}

.book-table-btn {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    color: white;
    border-color: white;
    background-color: #d4b86a00;
    border: solid;
    border-radius: 30px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 40px;
    transition: background-color 0.3s;
}
.book-table-btn:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}


.modal-contact-info {
    font-size: 12px;
    line-height: 1.5;
    margin-top: auto; /* прижать вниз */

}
.bottom-block {
    margin-top: auto; /* прижать к низу */
    display: flex;
    flex-direction: column;

}


.modal-contact-info > div {
    display: flex;
}
/*конец модального окна*/
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column; /* Выстраиваем элементы в колонку */
        padding-top: 15px;
    }
    /*.burger-button{*/
    /*    padding: 0;*/
    /*}*/

    .logo {
        order: 1; /* Логотип - первый */
        margin-bottom: 5px;
    }

    .contacts {
        order: 2; /* Контакты - сразу после лого */
        position: static; /* Убираем абсолютное позиционирование */
        transform: none; /* Отменяем transform */
        text-align: center;
        margin-bottom: 15px;
        width: 100%; /* На всю ширину */
    }

    .burger {
        position: absolute;
        left: 0px;
        top: 0px;
    }
}
.map-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;

    /* Фильтры — делают карту чёрно-белой и тёмной */
    filter: grayscale(100%) brightness(100%) contrast(100%) invert(1);
}
.logo-img{
    width: 500px;
}

/* Мобильная версия (2 колонки) */
@media (max-width: 700px) {
    .block2{
        display: none;
    }
    .footer-left {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 равные колонки */
        width: 100%;
    }
    .footer-right{
        display: flex;
        justify-content: space-around;
    }

    .footer-logos {
        grid-column: 1; /* Первая колонка */
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 0;
    }

    .logo-top {
        margin-bottom: 10px;
    }

    .logo-bottom-row {
        display: flex;
        gap: 10px;
    }

    .footer-company {
        grid-column: 2; /* Вторая колонка */
        align-self: center; /* Выравнивание по вертикали */
        text-align: left;
    }

    .footer-company div {
        margin-bottom: 5px;
        font-size: 14px;
    }
}
@media (max-width: 768px) {
    .custom-img-large,
    .custom-img-small {
        width: 50% !important;
    }
    .custom-gallery-row {
        display: flex;
        gap: 4px;
        width: 99%;
    }

    .custom-gallery-section{
        gap: 5px;
        padding: 0 3px;
    }
    .top-bar{
        display: block;
    }
    .image-row{
        gap: 5px;
    }
}
/* от 360px до 743px */
@media (min-width: 360px) and (max-width: 743px) {
    .content {
        text-align: center;
    }
    .logo-img{
        /*width: 125px;*/
        /*margin-top: 100px;*/
        width: 220px;
        margin-top: 48px
    }
    .block2{
        display: none;
    }
    .nav-links {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
        margin-top: 30px;
        flex-direction: column;
    }
    .nav-links a {
        width: 320px;
        text-align: center;
        color: #ffffff;
        font-size: 18px;
        /*font-family: 'KAIF', Arial, sans-serif;*/
        line-height: 1.55;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        border-width: 1px;
        border-radius: 30px;
        background-position: center center;
        border-color: #ffffff;
        border-style: solid;
        padding: 10px 20px;
        text-decoration: none;
        transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
        margin: 5px;
        display: inline-block;
    }
    .top-block {
        justify-content: space-between;
        flex-direction: column;
        z-index: 1;
        width: 100%;
        min-height: 100vh;
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(img/izb-5.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 54% center;
        display: flex;
        flex-direction: column;
        padding: 20px;
        box-sizing: border-box;
    }
}


/* от 744px до 1199px */
@media (min-width: 744px) and (max-width: 1199px) {

}

/* от 1200px до 1899px */
@media (min-width: 1200px) and (max-width: 1899px) {
}

/* от 1900px и выше */
@media (min-width: 1900px) {

}


