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

@font-face {
    font-family: 'Gotham Pro';
    src: url('/front/fonts/gothampro.ttf') format('truetype');
    font-style: normal;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрирование только основного контента */
    /* background-color: #f0f0f0; */
    background-image: url("/front/image/фон.png");
    background-repeat: no-repeat;
    background-position: start;
    background-size: cover;
    background-position-y: 1100px;
    font-family: Gotham Pro, sans-serif;
    width: 100%;
}

/* Шапка */
header {
    display: flex;
    width: 100%;
    /*height: 800px;*/
    height: 0;
    background: #333;
    color: white;
    /* padding: 15 px; */
    font-size: 1.5em;
    background-image: url("/front/image/шапка.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

main {
    max-width: 1900px;
    margin: 0 auto;
}

.header-mod-navbar {
    display: none;

}

.header-img-logo {
    height: 40px;
    margin: 20px;
}

.header-size-image {
    width: 40px; /* Ширина */
}

/* .header-img{
    width: 100%;
    height: 600px;
} */
/* Навигация */
.nav-pc {
    width: 80%;
    padding: 10px;
    margin: 0px 00px 0px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: start; /* Выравнивание влево */
    gap: 15px; /* Отступ между ссылками */
}

.nav-pc a {
    color: black;
    text-decoration: none;
    /* font-style: italic; */
    letter-spacing: 4px;
    font-size: 1.7em;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 30px;
}

.navbar-mob {
    display: none;
}

#video-container,
#intro-video {
    position: relative;
    z-index: 0;
}

/* Основной контент */
main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-content {
    padding-top: 30px; /* Вертикальный отступ от nav-pc */
    padding-left: 30px; /* Синхронизация с левым отступом контента nav-pc (20px margin + 10px padding) */
    padding-right: calc(20% - 10px); /* Синхронизация с правой границей контента nav-pc */
    box-sizing: border-box;
    width: 100%; /* Занимает всю ширину main, внутренние отступы формируют контентную зону */
}

.intro {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.intro-logo {
    width: 100%; /* Задаем размеры */
    max-width: 500px;
    height: 400px;
    background-image: url('/front/image/Arimazp.png'); /* Указываем путь к файлу */
    background-size: contain; /* Масштабируем без обрезки */
    background-repeat: no-repeat;
    background-position: center;
    margin: 40px
}

.intro-image {
    width: 100%; /* Растягивается по ширине экрана */
    max-width: 1200px; /* Ограничивает максимальную ширину */
    height: auto;
    aspect-ratio: 16 / 9;
    background-image: url("/front/image/Слой.png");
    border-radius: 30px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin: 0px 20px;
}


.restaurants {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px;
}

.restaurant-text {
    width: 95%;
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.restaurant-title {
    display: flex;
    align-items: center;
    font-size: 35px;
}

.restaurant-line {
    width: 90%;
    height: 4px;
    background-color: #ccc; /* Цвет линии */
    margin-left: 10px;
}

.restaurant-list {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
}

.restaurant {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    padding-bottom: 60px; /* Space for the booking button */
    color: black;
    text-decoration: none;
    width: calc(25% - 20px);
    min-width: 250px;
    min-height: 350px; /* Ensures enough space for button */
    position: relative; /* Added for button positioning */
}

.restaurant-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 30px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    object-fit: cover;
}

.restaurant-text {
    color: black;
    text-decoration: none;
    /* font-style: italic; */
    letter-spacing: 3px;
    font-size: 1.8em;
    font-weight: 400;
    margin: 15px;
}

/* Restaurant Card Book Button */
.restaurant-book-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 30px;
    background: linear-gradient(135deg, #0096B4, #00b8dc);
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Gotham Pro', sans-serif;
    box-shadow: 0 4px 15px rgba(0, 150, 180, 0.3);
}

.restaurant-book-btn:hover {
    background: linear-gradient(135deg, #00b8dc, #0096B4);
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 150, 180, 0.5);
}


.loyalty {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: auto;
    gap: 40px;
    padding: 40px 20px;
}

.loyalty-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    text-align: right;
    z-index: 2;
    padding: 20px;
    letter-spacing: 1px;
    font-size: 1.2em;
    font-weight: 400;
    width: 100%;
    max-width: 600px;
}

.loyalty-text h1 {
    width: 100%;
    padding: 20px;
    letter-spacing: 1px;
    font-weight: 600;
    margin: 10px 0;
}

.loyalty-text p {
    margin: 5px 20px;
}

.loyalty-image-div {
    display: flex;
    width: 100%;
    max-width: 600px;
    height: 600px;
    position: relative;
    align-items: center;
    justify-content: center;
}

.loyalty-image-card {
    width: 100%;
    max-width: 550px; /* Ограничиваем ширину */
    height: auto;
    z-index: 1;
    opacity: 0.9;
    /* position: absolute; */
    animation: move-left-right 4s infinite ease-in-out;
}

@keyframes move-left-right {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(20px);
    }
    100% {
        transform: translateY(0);
    }
}

.loyalty-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.t1 {
    max-width: 173px;
    left: 45px;
    z-index: 4;
    animation: moveCoin1 9s infinite ease-in-out;
}

@keyframes moveCoin1 {
    0% {
        transform: translate(-50%, -50%) translate(-50px, -50px);
    }
    25% {
        transform: translate(-50%, -50%) translate(50px, -50px);
    }
    50% {
        transform: translate(-50%, -50%) translate(50px, 50px);
    }
    75% {
        transform: translate(-50%, -50%) translate(-50px, 50px);
    }
    100% {
        transform: translate(-50%, -50%) translate(-50px, -50px);
    }
}

.t2 {
    max-width: 150px;
    top: 169px;
    left: 561px;
    z-index: 3;
    animation: moveCoin2 9s infinite ease-in-out;
}

@keyframes moveCoin2 {
    0% {
        transform: translate(-50%, -50%) translate(30px, -70px);
    }
    25% {
        transform: translate(-50%, -50%) translate(-30px, -90px);
    }
    50% {
        transform: translate(-50%, -50%) translate(-50px, -30px);
    }
    75% {
        transform: translate(-50%, -50%) translate(50px, -10px);
    }
    100% {
        transform: translate(-50%, -50%) translate(30px, -70px);
    }
}

.t3 {
    max-width: 105px;
    top: 119px;
    left: 475px;
    z-index: 4;
    animation: moveCoin3 9s infinite ease-in-out;
}

@keyframes moveCoin3 {
    0% {
        transform: translate(-50%, -50%) translate(0px, -60px);
    }
    25% {
        transform: translate(-50%, -50%) translate(50px, 0px);
    }
    50% {
        transform: translate(-50%, -50%) translate(0px, 60px);
    }
    75% {
        transform: translate(-50%, -50%) translate(-50px, 0px);
    }
    100% {
        transform: translate(-50%, -50%) translate(0px, -60px);
    }
}

.t4 {
    max-width: 151px;
    top: 405px;
    left: 160px;
    z-index: 2;
    animation: moveCoin4 9s infinite ease-in-out;
}

@keyframes moveCoin4 {
    0% {
        transform: translate(-50%, -50%) translate(-20px, -40px);
    }
    30% {
        transform: translate(-50%, -50%) translate(60px, -10px);
    }
    60% {
        transform: translate(-50%, -50%) translate(-40px, 40px);
    }
    100% {
        transform: translate(-50%, -50%) translate(-20px, -40px);
    }
}

.cuisine {
    width: 100%;
    min-height: 800px;
    margin-top: 50px;
    display: flex;
    position: relative;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
}

.cuisine-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    padding: 20px;
    margin-right: 50px;
    letter-spacing: 3px;
    font-size: 1.4em;
    font-weight: 400;
    line-height: 30px;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
    z-index: 2;
}

.hidden {
    opacity: 0; /* Полностью скрываем текст */
}

.cuisine-text h1 {
    padding-bottom: 20px;
    letter-spacing: 1px;
    font-weight: 600;
    margin: 10px 0;
}

.cuisine-image {
    position: absolute;
    z-index: 1;
    left: -300px;
    width: 100%;
    max-width: 1100px;
    aspect-ratio: 6 / 6;
    background-position: center;
    background-size: cover;
    transition: left 2s ease-in-out;
    animation: rotateImage 10s linear infinite;
}

.cuisine-image.pizza {
    background-image: url("/front/image/пица.png");
}

.cuisine-image.pasta {
    background-image: url("/front/image/паста.png");
}

@keyframes rotateImage {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Подвал */
footer {
    display: flex;
    flex-flow: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 700px;
    height: 100%;
    background: #222;
    color: white;
    padding: 20px;
    text-align: center;
    opacity: 0.8;
}

.footer-logo {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-top: 0px;
    margin-bottom: 80px;
}

.contacts {
    display: flex;
    width: 100%;
    height: auto;
    display: flex;
    flex-flow: wrap;
    flex-direction: row;
    justify-content: space-around;
    align-items: start;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

.contact-info {
    padding: 10px;
    text-align: left;
}

.contact-info > a{
    color: white;
    text-decoration: none;
}

.contact-info-conect {
    display: flex;
    flex-direction: column;
    width: 50px;
}

/* Адаптация для мобильных устройств */
@media (max-width: 950px) {
    header {
        /*height: 500px;*/
        height: 75px;
    }

    .header-mod-navbar {
        display: flex;
        align-items: center;
        justify-content: space-around;
        width: 100%;
        height: 80px;
        background: white;
    }

    .nav-pc {
        display: none;
    }

    .intro-logo {
        background-image: url('/front/image/МобАгр.png');
        height: 100px;
    }

    .loyalty {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .loyalty-text {
        align-items: flex-start;
        text-align: start;
        font-size: 1.4em;
    }

    .loyalty-image-div {
        width: 100%; /* Уменьшаем картинку на мобильных */
        max-width: 700px;
    }

    .t2 {
        top: 169px;
        left: 280px;
    }

    /* Монета 3 - движение по кругу */
    .t3 {
        top: 50px;
        left: 121px;
    }

    .cuisine {
        flex-direction: column-reverse;
    }
    .cuisine-text {
        position: relative;
    }

    .contacts {
        justify-content: flex-start;
    }

    .menu-btn {
        position: fixed;
        top: 15px;
        left: 15px;
        width: 40px;
        height: 40px;
        border: none;
        cursor: pointer;
        border-radius: 5px;
        z-index: 1000;
    }

    /* Навигационное меню */
    .navbar-mob {
        display: flex;
        position: fixed;
        z-index: 9999;
        flex-direction: column;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        background-image: url("/front/image/фон.png");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
        transform: translateX(-100%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
        padding-top: 60px;
        padding-left: 20px;
    }

    body.menu-open {
        overflow: hidden;
    }

    .navbar-mob .menu-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #111;
        background: transparent;
        font-size: 38px;
        line-height: 1;
    }

    .navbar-mob a {
        display: block;
        color: black;
        text-decoration: none;
        padding: 15px;
        font-size: 24px;
        transition: 0.3s;
    }

    /* Открытие меню */
    .navbar-mob.active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

}

@media (max-width: 1800px) {
    .cuisine {
        align-items: center;
        text-align: center;
        min-height: 600px;
    }

    .cuisine-text {
        margin-right: 0;
        align-items: center;
        text-align: center;
        font-size: 1.2em;
    }

    .cuisine-image {
        left: 0;
        max-width: 600px;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .cuisine {
        min-height: 500px;
        flex-direction: column-reverse;
    }

    .cuisine-text {
        font-size: 1em;
        padding: 10px;
    }

    .cuisine-image {
        position: relative;
    }
}

@media (max-width: 1200px) {
    .restaurant {
        width: calc(33.33% - 20px);
    }

    .loyalty {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .loyalty-text {
        align-items: center;
        text-align: center;
        font-size: 1.1em;
    }

    .loyalty-image-div {
        height: 500px;
    }
}

@media (max-width: 900px) {
    .restaurant {
        width: calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .restaurant {
        width: 100%;
        max-width: 400px;
    }
}

.page-title {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-us-text-content {
    margin-left: auto;
    margin-right: auto;
    /* Дополнительные стили, если нужны, например, отступы: */
    padding-top: 20px;
    padding-bottom: 20px;
}

.about-us-text-content p {
    line-height: 1.6; /* Для лучшей читаемости */
    margin-bottom: 1em; /* Отступ между абзацами */
}

@media (min-width: 1200px) {
    .about-us-text-content {
        width: 70%;
        max-width: 1400px; /* Ограничение для очень широких экранов */
    }
}

/* Стили для иконок социальных сетей */
.social-icon-link img.contact-info {
    width: 50px; /* Увеличенная ширина для иконок */
    height: 50px; /* Увеличенная высота для иконок */
    object-fit: contain; /* Чтобы изображение не искажалось, если пропорции не совпадают */
    margin-bottom: 10px; /* Отступ снизу, если они идут в столбик */
}

.social-icon-link:last-child img.contact-info {
    margin-bottom: 0; /* Убираем нижний отступ у последней иконки в столбике */
}
