/* HTML Template 2 - Кастомные стили */

/* Основные переменные */
:root {
    --primary-color: #d29a60;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #d29a60;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    
    /* Цвета из первого шаблона */
    --bg-dark: #1c1c1b;
    --bg-darker: #0a0a09;
    --bg-lighter: #2e2e2d;
    --white: #ffffff;
}

/* Общие стили */
body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding-bottom: 80px; /* Отступ для мобильной навигации */
}

/* Заголовки используют Roboto Thin */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.hero-title,
.feature-card h4,
.card-title {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-weight: 100 !important;
    font-style: normal;
}

/* Дополнительные стили для заголовков */
h1, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 100 !important;
}

h2, h3, h4, h5, h6 {
    font-weight: 100 !important;
}

/* Навигация для десктопа */
.desktop-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.desktop-nav.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.desktop-nav .navbar-brand img {
    transition: all 0.3s ease;
}

.desktop-nav .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.desktop-nav .navbar-nav .nav-link:hover,
.desktop-nav .navbar-nav .nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.2);
}

.desktop-nav.navbar-scrolled .navbar-nav .nav-link {
    color: rgba(33, 37, 41, 0.8) !important;
}

.desktop-nav.navbar-scrolled .navbar-nav .nav-link:hover,
.desktop-nav.navbar-scrolled .navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(13, 110, 253, 0.1);
}

.desktop-nav .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.desktop-nav.navbar-scrolled .navbar-toggler {
    border-color: rgba(33, 37, 41, 0.3);
}

/* Навбар на странице меню - темный текст и без фиксации */
.menu-navbar {
    position: relative !important;
    background: #fff !important;
    backdrop-filter: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.menu-navbar .navbar-nav .nav-link {
    color: rgba(33, 37, 41, 0.8) !important;
}

.menu-navbar .navbar-nav .nav-link:hover {
    color: #d29a60 !important;
}

.menu-navbar .navbar-toggler {
    border-color: rgba(33, 37, 41, 0.3);
}

.menu-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Мобильная навигация (снизу) */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(33, 37, 41, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 10px 0;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    padding: 8px 4px;
    border-radius: 8px;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--primary-color);
    background: rgba(13, 110, 253, 0.1);
}

.mobile-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.mobile-nav-item span {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Скрытие навигации на разных устройствах */
@media (min-width: 992px) {
    .mobile-nav {
        display: none;
    }
    body {
        padding-bottom: 0;
    }
}

@media (max-width: 991px) {
    .desktop-nav {
        display: none;
    }
}

/* Hero секция */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 80px; /* Отступ для фиксированной навигации */
    overflow: hidden;
    background: var(--bg-dark);
}

/* Фоновое видео */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Затемнение поверх видео */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

/* Контент поверх видео */
.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.hero-section .lead {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Блоки преимуществ в Hero секции */
.hero-advantages {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.advantage-card {
    position: absolute;
    top: 0;
    left: 100%; /* Изначально справа за экраном */
    width: 25%; /* 4 блока на десктопе (1200px+) */
    height: 100%;
    cursor: pointer;
    transition: all 0.6s ease-out;
    overflow: hidden;
    opacity: 0;
}

.advantage-card:hover {
    transform: scale(1.02);
    z-index: 5;
}

.advantage-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.advantage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.advantage-content {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    min-width: 300px;
}

.advantage-button {
    position: absolute;
    bottom: 33%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    padding: 0 1rem;
    width: 100%;
}

.advantage-button .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* Стрелки навигации для преимуществ */
.hero-nav-prev,
.hero-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-nav-prev {
    left: 20px;
}

.hero-nav-next {
    right: 20px;
}

.hero-nav-prev:hover,
.hero-nav-next:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.hero-nav-prev:disabled,
.hero-nav-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.hero-nav-prev:disabled:hover,
.hero-nav-next:disabled:hover {
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.advantage-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 100 !important;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin: 0;
    line-height: 1.3;
}

/* Мобильные устройства - увеличенные заголовки */
@media (max-width: 767px) {
    .advantage-title {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .advantage-content {
        min-width: 280px;
        padding: 0 1rem;
    }
    
    .advantage-button {
        bottom: 55% !important;
        width: 90%;
    }
    
    .advantage-button .btn {
        font-size: 1rem !important;
        padding: 0.75rem 1.5rem !important;
        width: 100%;
    }
}

/* Адаптивность для блоков преимуществ */
@media (max-width: 1199px) {
    .advantage-card {
        width: 33.333%; /* 3 блока на планшете горизонтальном (992px-1199px) */
    }
}

@media (max-width: 991px) {
    .advantage-card {
        width: 50%; /* 2 блока на планшете вертикальном (768px-991px) */
    }
}

@media (max-width: 767px) {
    .advantage-card {
        width: 100%; /* 1 блок на мобильных (до 767px) */
    }
}


@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    20%, 80% { opacity: 1; }
}

/* Анимация заголовка Hero секции */
.hero-title {
    animation: fadeInUp 1s ease-out 0.5s both;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 100 !important;
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    line-height: 1.2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность для Hero */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
        padding: 0 0.5rem;
    }
}

/* About секция */
.about-section {
    background: var(--light-color);
    padding: 80px 0;
}

.about-content {
    padding-right: 2rem;
}

.about-content h2 {
    color: var(--primary-color);
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
}

.about-content .lead {
    color: var(--text-dark);
    font-size: 1.25rem;
    line-height: 1.6;
}

.about-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

.about-stats {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--primary-color);
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-description {
    background: var(--light-color);
}

.about-description p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Адаптивность для секции About */
@media (max-width: 991px) {
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .about-stats {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .about-section {
        padding: 3rem 0;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .about-content .lead {
        font-size: 1.1rem;
    }
    
    .stat-item h3 {
        font-size: 1.8rem;
    }
}

/* Menu секция */
.menu-section {
    background: var(--light-color);
    padding: 80px 0;
}

.menu-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}


.menu-card h4 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
}

.menu-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.menu-card .btn {
    margin-top: auto;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.menu-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Переопределяем Bootstrap кнопки для золотисто-коричневого цвета */
.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

/* Блюда секция */
.dishes-section {
    background: var(--light-color);
    padding: 80px 0;
}

.dishes-swiper {
    padding: 2rem 0;
}

/* Настройка ширины слайдов для Swiper в режиме Centered */
.dishes-swiper .swiper-slide {
    width: 300px;
    flex-shrink: 0;
}

.dish-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.dish-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.dish-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2/3;
}

.dish-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dish-card:hover .dish-image img {
    transform: scale(1.05);
}

/* Убираем контент - только фото */
.dish-content {
    display: none;
}

/* Видео слайд */
.dish-video {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dish-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dish-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.dish-video-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
}

.dish-video-overlay p {
    margin: 0;
    opacity: 0.9;
}

/* Навигация Swiper */
.dishes-nav-next,
.dishes-nav-prev {
    color: var(--primary-color) !important;
    background: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dishes-nav-next:hover,
.dishes-nav-prev:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dishes-nav-next::after,
.dishes-nav-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* События секция */
.events-section {
    background: #f8f9fa;
}

.media-swiper {
    padding: 2rem 0;
}

/* Настройка ширины слайдов для карусели событий */
.media-swiper .swiper-slide {
    flex-shrink: 0;
}

.media-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.media-card:hover {
    transform: translateY(-5px);
}

.media-image,
.media-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 177.78%; /* 9:16 aspect ratio */
    overflow: hidden;
}

.media-image img,
.media-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    z-index: 2;
}

.media-content {
    text-align: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.media-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.media-subtitle {
    font-size: 1rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Навигация для медиа-карусели (как у блюд) */
.media-nav-next,
.media-nav-prev {
    color: var(--primary-color) !important;
    background: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.media-nav-next:hover,
.media-nav-prev:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.media-nav-next::after,
.media-nav-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* Адаптивность для медиа */
@media (max-width: 991px) {
    .media-nav-next,
    .media-nav-prev {
        display: none !important;
    }
    
    .events-section {
        padding-bottom: 6rem !important; /* Отступ для таббара на планшетах */
    }
}

@media (max-width: 767px) {
    .media-swiper {
        padding: 1rem 0;
    }
    
    .events-section {
        padding-bottom: 6rem !important; /* Отступ для таббара на мобильных */
    }
}


/* Адаптивность для блюд */
@media (max-width: 991px) {
    .dishes-nav-next,
    .dishes-nav-prev {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .dishes-section {
        padding: 3rem 0;
    }
    
    
    .dish-content {
        padding: 1rem;
    }
    
    .dish-content h4 {
        font-size: 1.25rem;
    }
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-card h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Swiper кастомизация */
.hero-swiper {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-swiper .card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-swiper .card:hover {
    transform: translateY(-5px);
}

/* Навигация */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Карточки */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, var(--light-color) 0%, #e9ecef 100%);
    border-bottom: 2px solid var(--primary-color);
    font-weight: 600;
}

/* Формы */
.form-control {
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.btn {
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Футер */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #343a40 100%);
}

footer h5 {
    color: var(--primary-color);
    font-weight: 600;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-swiper {
        height: 250px;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-swiper {
        height: 200px;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* Утилиты */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(45deg, var(--primary-color), var(--info-color)) 1;
}

/* Swiper пагинация и навигация */
.swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--dark-color);
}

/* Дополнительные стили для контента */
.lead {
    font-size: 1.1rem;
    font-weight: 400;
}

.list-unstyled li {
    padding: 0.25rem 0;
}

/* Стили для структуры проекта */
.list-unstyled strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Hover эффекты для ссылок */
a {
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Стили для кнопок в карточках */
.card .btn {
    margin-top: auto;
}

/* Дополнительные утилиты Bootstrap */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b8824a 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, var(--dark-color) 0%, #343a40 100%);
}

/* Стили для секции шеф-повара */
.chef-photo-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.chef-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.chef-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 30%,
        rgba(0, 0, 0, 0.3) 60%,
        rgba(0, 0, 0, 0) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    min-height: fit-content;
}

.chef-quote-overlay {
    color: white;
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
    max-width: 100%;
    font-style: italic;
    opacity: 0.95;
}

.chef-quote-overlay p {
    margin: 0;
}


/* Адаптивность для секции шеф-повара */
@media (max-width: 768px) {
    .chef-overlay {
        padding: 1rem;
    }
    
    .chef-quote-overlay {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .chef-overlay {
        padding: 0.75rem;
    }
    
    .chef-quote-overlay {
        font-size: 0.8rem;
    }
}

/* Плавающие кнопки действий (только для десктопа) */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.floating-button-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
}

.floating-button {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.floating-button:hover {
    transform: scale(1.1);
}

.floating-button-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(210, 154, 96, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
}

.floating-button:hover .floating-button-icon {
    background: #b8824a;
    box-shadow: 0 6px 20px rgba(210, 154, 96, 0.5);
}

.floating-button-icon i {
    font-size: 28px;
    color: white;
}

.circular-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: rotate-text 20s linear infinite;
}

.floating-button:hover .circular-text {
    animation-duration: 10s;
}

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

/* Скрыть на мобильных устройствах */
@media (max-width: 991px) {
    .floating-buttons {
        display: none;
    }
}

/* Стили для канвасов преимуществ */
.offcanvas-advantage,
.offcanvas-booking {
    background: var(--light-color) !important;
}

.offcanvas-advantage .offcanvas-header,
.offcanvas-booking .offcanvas-header {
    background: var(--light-color);
    border-bottom: 1px solid #e0e0e0;
    padding: 1.5rem;
}

.offcanvas-advantage .offcanvas-title,
.offcanvas-booking .offcanvas-title {
    color: var(--text-dark);
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    font-size: 1.75rem;
    margin: 0;
}

.offcanvas-advantage .offcanvas-body,
.offcanvas-booking .offcanvas-body {
    padding: 2rem;
}

.advantage-description {
    color: var(--text-muted);
    line-height: 1.8;
}

.advantage-description p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Стили формы в канвасе бронирования */
.offcanvas-booking .form-control {
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.offcanvas-booking .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(210, 154, 96, 0.15);
    outline: none;
}

.offcanvas-booking .form-control::placeholder {
    color: #999;
}

.offcanvas-booking .form-check {
    margin-top: 1rem;
}

.offcanvas-booking .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #ddd;
    border-radius: 0.25rem;
    cursor: pointer;
}

.offcanvas-booking .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.offcanvas-booking .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(210, 154, 96, 0.25);
}

.offcanvas-booking .form-check-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-left: 0.5rem;
}

.offcanvas-booking .form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.offcanvas-booking .form-check-label a:hover {
    color: #b8824a;
    text-decoration: underline;
}

/* Кнопка в фирменном цвете */
.offcanvas-booking .btn-primary {
    background: var(--primary-color);
    border: none;
    border-radius: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    width: 100%;
}

.offcanvas-booking .btn-primary:hover {
    background: #b8824a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(210, 154, 96, 0.3);
}

.offcanvas-booking .btn-primary:active {
    transform: translateY(0);
}

.booking-form {
    max-width: 100%;
}

/* Мобильная адаптация */
@media (max-width: 767px) {
    .offcanvas-advantage .offcanvas-body,
    .offcanvas-booking .offcanvas-body {
        padding: 1.5rem;
    }
    
    .offcanvas-advantage .offcanvas-title,
    .offcanvas-booking .offcanvas-title {
        font-size: 1.5rem;
    }
}

/* Стили для карточек меню */
.dish-card-wrapper {
    transition: transform 0.2s ease-in-out;
}

.dish-card-wrapper:hover {
    transform: translateY(-5px);
}

/* Для десктопов: 5 карточек в ряд (col-xl = 20% ширины) */
@media (min-width: 1200px) {
    .col-xl {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* Адаптивность карточек - изображения всегда квадратные через aspect-ratio */
.dish-card-wrapper .card-img-top {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 575.98px) {
    .dish-card-wrapper .card-title {
        font-size: 0.9rem !important;
        min-height: 2rem !important;
    }
    
    .dish-card-wrapper .card-body {
        padding: 0.75rem !important;
    }
}

/* Стили для заголовков разделов меню */
.sect__title {
    font-size: 4rem; /* вдвое крупнее */
    font-weight: 400; /* Roboto 400 */
    font-family: Roboto, Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 3rem;
    color: var(--primary-color, #d29a60);
}

.sect__title:first-of-type {
    margin-top: 1rem;
}

/* Стили для карты бара */
.drink-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(210, 154, 96, 0.1);
}

.drink-item:last-child {
    border-bottom: none;
}

.drink-item span:first-child {
    flex: 1;
    padding-right: 1rem;
}

@media (max-width: 768px) {
    .drink-item {
        font-size: 0.9rem;
    }
    
    .drink-item .d-flex {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .drink-item span.fw-bold {
        margin-left: 0 !important;
        margin-top: 0.25rem;
    }
}

/* Стили для кнопки скачивания меню */
a.btn[download] {
    transition: all 0.3s ease;
}

a.btn[download]:hover {
    background-color: #d29a60;
    color: #fff !important;
    border-color: #d29a60;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(210, 154, 96, 0.3);
}

a.btn[download]:active {
    transform: translateY(0);
}

/* TabBar (мобильная версия) */
.tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.tabbar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666;
    font-size: 0.75rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
    flex: 1;
    border: none;
    background: none;
    cursor: pointer;
}

.tabbar-btn i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.tabbar-btn img.icon-svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-bottom: 0.25rem;
}

.tabbar-btn:hover,
.tabbar-btn:active {
    color: #d29a60;
}

.tabbar-btn:not(#menuToggleBtn):hover {
    transform: translateY(-2px);
}

.tabbar-btn > span {
    font-size: 0.7rem;
    font-weight: 500;
}

/* Гамбургер для таббара */
.burger-checkbox {
    display: none;
}

.burger-label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 24px;
    height: 18px;
    justify-content: space-between;
}

.burger-label span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #666;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-label span:first-child,
.burger-label span:nth-child(2),
.burger-label span:nth-child(3) {
    display: block;
}

.burger-checkbox:checked + .burger-label span:first-child {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-checkbox:checked + .burger-label span:nth-child(2) {
    opacity: 0;
}

.burger-checkbox:checked + .burger-label span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.burger-checkbox:checked + .burger-label span {
    background-color: #d29a60;
}

/* Скрываем TabBar на десктопе */
@media (min-width: 992px) {
    .tabbar {
        display: none;
    }
    
    /* Отступ снизу не нужен на десктопе */
    body {
        padding-bottom: 0 !important;
    }
}

/* Отступ снизу для контента на мобильных (чтобы не перекрывался таббаром) */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 70px;
    }
}

/* Стили для футера */
.footer-section {
    background-color: #212529 !important;
}

.footer-section a {
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #d29a60 !important;
}

.footer-section i {
    color: #d29a60;
}

/* Стили для канваса меню в стиле сайта */
.offcanvas-custom {
    background: #212529;
    color: #fff;
    border-left: 1px solid rgba(210, 154, 96, 0.2);
}

.offcanvas-custom .offcanvas-header {
    border-bottom: 1px solid rgba(210, 154, 96, 0.2);
    padding: 1.5rem;
}

.offcanvas-custom .offcanvas-title {
    color: #d29a60;
    font-weight: 600;
    font-size: 1.5rem;
}

.offcanvas-custom .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.offcanvas-custom .btn-close:hover {
    opacity: 1;
}

.offcanvas-custom .offcanvas-body {
    padding: 2rem 1.5rem;
}

.menu-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-nav li {
    margin-bottom: 0.5rem;
}

.menu-nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 400;
    border-radius: 0.5rem;
}

.menu-nav a:hover {
    color: #d29a60;
    background-color: rgba(210, 154, 96, 0.1);
    padding-left: 2rem;
}

.menu-nav a.active {
    color: #d29a60;
    font-weight: 600;
    background-color: rgba(210, 154, 96, 0.15);
}

.menu-nav-address {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(210, 154, 96, 0.2);
}

.menu-nav-address .address-link {
    display: block;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.menu-nav-address .address-link:hover {
    color: #d29a60;
    background-color: rgba(210, 154, 96, 0.1);
}

@media (max-width: 767px) {
    .menu-nav a {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
    }
    
    .menu-nav a:hover {
        padding-left: 1.5rem;
    }
}

/* Модификатор: слайд самовывоза — крупнее в 2 раза, без тонкого начертания */
.slide-pickup .media-title {
    font-size: calc(2 * var(--media-title-size, 2rem));
    font-weight: 400; /* без thin */
    font-family: Roboto, Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}
.slide-pickup .media-subtitle {
    font-size: calc(2 * var(--media-subtitle-size, 1rem));
    font-weight: 400;
    font-family: Roboto, Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}

/* Если используются фиксированные размеры без CSS-переменных */
@supports not (font-size: var(--test)) {
    .slide-pickup .media-title { font-size: 3.5rem; }
    .slide-pickup .media-subtitle { font-size: 1.75rem; }
}

/* Меню: логотип всегда темный */
.menu-navbar .navbar-brand img {
    filter: none !important;
    opacity: 1;
}

/* Контейнер для блюд на странице меню */
.container.sect__dishes {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 1200px) {
    .container.sect__dishes {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Контент модалки событий (дублирует вид слайда) */
.events-modal-content .media-card { max-width: 1200px; margin: 0 auto; }
.events-modal-content .media-image img { width: 100%; height: auto; display: block; border-radius: 1rem; }
.events-modal-content .media-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

/* Секция скачивания меню */
.download-menu-section {
    position: relative;
    overflow: hidden;
}

.download-menu-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(210, 154, 96, 0.3) !important;
    border-color: rgba(210, 154, 96, 0.5) !important;
}

.download-menu-section .btn {
    position: relative;
    overflow: hidden;
}

.download-menu-section .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.download-menu-section .btn:hover::before {
    width: 300px;
    height: 300px;
}

.download-menu-section .btn:hover {
    background: #b8824a !important;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(210, 154, 96, 0.4) !important;
}

.download-menu-section .btn:active {
    transform: scale(0.98);
}

/* Адаптивность для секции скачивания */
@media (max-width: 768px) {
    .download-menu-card {
        padding: 2rem !important;
    }
    
    .download-menu-section .btn {
        padding: 0.75rem 2rem !important;
        font-size: 1rem;
    }
}
