:root {
    --nav-h: 80px;
    --bg-dark: #000000;
    --bg-anthracite: #1a1a1a;
    --white: #ffffff;
    --pt-serif: "PT Serif", serif;
    --satoshi: 'Satoshi', sans-serif;
    --cubic: cubic-bezier(0.23, 1, 0.32, 1);
    --container-w: 1200px;
    --side-gutter: 25px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

body,
html {
    width: 100%;
    background-color: var(--bg-dark);
    color: var(--white);
    font-family: var(--satoshi);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 10000;
    display: flex;
    align-items: center;
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 var(--side-gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 35px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0.6;
    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}


/* Состояние активной ссылки */
.nav-links a.active {
    opacity: 1;
    position: relative;
}

/* Линия под текстом */
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    /* Расстояние от текста до линии */
    left: 0;
    width: 100%;
    height: 2px;
    /* Толщина линии */
    background-color: var(--white);
}

/* Burger Button */
.burger-btn {
    display: none;
    /* По умолчанию скрыт на десктопе */
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10001;
    padding: 10px;
}

.burger-btn span {
    width: 28px;
    height: 2px;
    background-color: var(--white);
    transition: 0.4s var(--cubic);
}

/* Состояние крестика */
.burger-btn.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-btn.is-active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: right 0.6s var(--cubic);
}

.mobile-menu.is-active {
    right: 0;
}

.mobile-menu a {
    font-family: var(--pt-serif);
    font-size: 32px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s var(--cubic);
}

/* Анимация появления ссылок в меню */
.mobile-menu.is-active a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 991px) {
    .nav-links {
        display: none;
        /* Прячем обычные ссылки */
    }

    .burger-btn {
        display: flex;
        /* Показываем бургер */
    }
}

/* ===== COMPACT LUXURY FOOTER ===== */
.footer {
    background-color: var(--bg-anthracite);
    color: var(--white);
    padding: 60px 0 30px;
    /* Уменьшенные вертикальные отступы */
    font-family: var(--satoshi);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 var(--side-gutter);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

/* Левый блок */
.footer-logo {
    display: block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-address {
    font-style: normal;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 20px;
}

.footer-contacts-links {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.05em;
    opacity: 0.8;
    transition: opacity 0.3s var(--cubic);
}

.footer-link:hover {
    opacity: 1;
}

/* Правый блок (Навигация) */
.footer-nav-wrapper ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.footer-nav-wrapper a {
    color: var(--white);
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.6;
    transition: 0.3s var(--cubic);
}

.footer-nav-wrapper a:hover {
    opacity: 1;
}

/* Разделитель и Копирайт */
.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Социальные иконки */
.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-socials img {
    width: 16px;
    height: 16px;
    opacity: 0.5;
    transition: opacity 0.3s var(--cubic), transform 0.3s var(--cubic);
}

.footer-socials a:hover img {
    opacity: 1;
    transform: translateY(-2px);
}

/* Адаптив для мобилок */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-nav-wrapper ul {
        flex-direction: column;
        gap: 12px;
    }

    .footer-contacts-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}



/* ОБЩАЯ СЕКЦИЯ */
/* Базовые стили секции */
.our-restaurants {
    position: relative;
    padding: 75px 0;
    background-color: #262626;
    color: #fff;
    overflow: hidden;
    /* Обрезает всё, что вылетает за границы секции */
    padding-bottom: 0 !important;
    /* Убираем лишний нижний отступ секции */
}

.restaurants-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
    /* Базовый слой для контента */
}

.section-title {
    font-size: clamp(40px, 6vw, 72px);
    margin-bottom: 80px;
    text-align: center;
    font-weight: 400;
}

/* ЭКРАННЫЙ ДЫМ */
.screen-smoke {
    position: absolute;
    width: 45vw;
    height: 45vw;
    background-image: url('../smoke_2.svg');
    /* Путь к картинке дыма */
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    /* Дым не мешает кликам! */
    z-index: 90;
    /* Ниже кнопок, но выше фона */
    opacity: 0.3;
    filter: blur(16px);
}

.smoke-1 {
    top: 0;
    left: -10vw;
    --rot: 10deg;
}

.smoke-2 {
    top: 25%;
    right: -15vw;
    --rot: -15deg;
    transform: scaleX(-1);
}

.smoke-3 {
    bottom: 15%;
    left: -5vw;
    --rot: -45deg;
}

.smoke-4 {
    bottom: -5%;
    right: -10vw;
    --rot: 20deg;
}

/* Если дым привязан к низу, убедитесь, что он не выталкивает футер */
.smoke-3,
.smoke-4 {
    bottom: 0 !important;
    transform-origin: bottom;
}

@keyframes smokeFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(var(--rot));
    }

    50% {
        transform: translate(30px, -20px) rotate(calc(var(--rot) + 5deg));
    }
}

.screen-smoke {
    animation: smokeFloat 15s ease-in-out infinite;
}

/* КАРТОЧКИ */
.restaurant-card {
    display: flex;
    margin-bottom: 60px;
    min-height: 450px;
    position: relative;
}

.restaurant-card.is-reverse {
    flex-direction: row-reverse;
}



/* Фото (Лево) */
.card-left {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 1.5s cubic-bezier(0.2, 0, 0.2, 1);
}


.restaurant-card:hover .card-bg {
    transform: scale(1.08);
}

/* Контент поверх фото */
.card-content {
    position: relative;
    z-index: 110;
    /* ВЫШЕ ДЫМА (90) */
    text-align: center;
    width: 100%;
    padding: 40px;
}

.card-name {
    font-size: clamp(30px, 4vw, 48px);
    text-transform: uppercase;
    /* Капсом */
    letter-spacing: 0.15em;
    margin-bottom: 25px;
    line-height: 1.2;
}

.visit-btn {
    margin-top:200px;
    display: inline-block;
    padding: 14px 50px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.2em;
    font-weight: 600;
    background: transparent;
    transition: all 0.4s ease;
    pointer-events: all;
    /* Кнопка точно нажимается */
}

.visit-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}

/* Текст (Право) */
.card-right {
    flex: 0 0 50%;
    padding: 60px;
    display: flex;
    align-items: center;
    background-color: #262626;
}

.card-right p {
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
}

/* Адаптив */
@media (max-width: 768px) {

    .restaurant-card,
    .restaurant-card.is-reverse {
        flex-direction: column;
        min-height: auto;
    }

    .card-left {
        height: 350px;
        width: 100%;
    }

    .card-right {
        padding: 40px 20px;
        text-align: center;
        width: 100%;
    }
}