/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Антрацитовый (темно-серый) */
    --anthracite: #2c3e50;
    --anthracite-dark: #1a252f;
    --anthracite-light: #34495e;
    --anthracite-lighter: #3d4f63;
    
    /* Камень (светло-серый с теплым оттенком) */
    --stone: #d4d4d4;
    --stone-dark: #c0c0c0;
    --stone-light: #e8e8e8;
    --stone-lighter: #f0f0f0;
    
    /* Дерево (коричневые оттенки) */
    --wood: #8b6f47;
    --wood-dark: #6b5435;
    --wood-light: #9d7a5a;
    --wood-accent: #b8956a;
    
    /* Кирпич (красноватые оттенки) */
    --brick: #c0392b;
    --brick-dark: #a93226;
    --brick-light: #e74c3c;
    --brick-accent: #ec7063;
    
    /* Базовые цвета */
    --dark-bg: var(--anthracite-dark);
    --light-bg: var(--stone-lighter);
    --text-dark: var(--anthracite);
    --text-light: #fff;
    --primary-color: var(--brick);
    --secondary-color: var(--wood);
    --accent-color: var(--wood-accent);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.6rem 0; /* чуть ниже по высоте */
    transition: var(--transition);
    border-bottom: 1px solid rgba(139, 111, 71, 0.2);
}

.navbar.scrolled {
    background: rgba(44, 62, 80, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 44px; /* немного уменьшаем высоту логотипа */
    width: auto;
    display: block;
    padding: 4px 8px;
    border-radius: 10px;
    background: rgba(240, 240, 240, 0.9); /* светлый фон для контраста серого логотипа */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    mix-blend-mode: normal;
}

.logo-text {
    margin-left: 0.75rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--wood-accent);
    letter-spacing: 2px;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin-left: 2rem;
    font-size: 0.95rem;
}

.nav-menu a {
    display: flex;          /* центрируем по вертикали */
    align-items: center;
    line-height: 1;
    padding: 0.2rem 0;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brick);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu-booking {
    list-style: none;
    display: flex;
    align-items: center; /* чтобы кнопка брони выровнялась с остальными пунктами */
}

.nav-booking-link {
    padding: 2rem 2rem; /* фон фиксированно шире текста */
    border-radius: 999px;
    background: var(--brick);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: inherit;          /* размер шрифта как у остальных пунктов меню */
    letter-spacing: 0.5px;       /* как было изначально */
    text-transform: uppercase;
    border: 1px solid var(--brick-dark);
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;            /* гарантированная ширина под слово «Забронировать» */
    vertical-align: middle;
}

.nav-booking-link:hover {
    background: var(--brick-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.5);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--anthracite-dark) 0%, var(--anthracite) 50%, var(--anthracite-light) 100%);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

video::-webkit-media-controls {
    display: none !important;
  }
  

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(139, 111, 71, 0.03) 10px,
            rgba(139, 111, 71, 0.03) 20px
        ),
        radial-gradient(circle at 20% 50%, rgba(192, 57, 43, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 111, 71, 0.1) 0%, transparent 50%);
    opacity: 0.4;
    animation: wave 20s linear infinite;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(44, 62, 80, 0.6) 0%, rgba(26, 37, 47, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    padding: 0 2rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 5px;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 8px;
    margin-bottom: 2rem;
    color: var(--wood-accent);
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--stone-light);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 2rem;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.3s backwards;
}

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

.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-primary {
    background: var(--brick);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.4);
    border: 2px solid var(--brick-dark);
}

.btn-primary:hover {
    background: var(--brick-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--wood-accent);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--wood-accent);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { top: 10px; opacity: 1; }
    50% { top: 30px; opacity: 0; }
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Menu Section */
.menu-section {
    background: linear-gradient(to bottom, var(--stone-lighter) 0%, var(--stone-light) 100%);
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(139, 111, 71, 0.02) 50px,
            rgba(139, 111, 71, 0.02) 100px
        );
}

/* Menu Flipbook Container */
.menu-flipbook-container {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    min-height: clamp(320px, 65vw, 500px); /* Минимум 320px, максимум 500px, адаптивно по ширине экрана */
}

/* Menu Preview - показывается до загрузки PDF */
.menu-preview {
    position: relative;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 7 / 5; /* Фиксируем соотношение сторон чтобы избежать обрезания/наложения */
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--stone-light);
    transition: opacity 0.3s ease;
}

.menu-cover-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Menu Flipbook Wrapper */
.menu-flipbook-wrapper {
    width: 100%;
    max-width: 700px;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    min-height: clamp(320px, 65vw, 500px);
    position: relative;
}

.menu-flipbook {
    width: 100%;
    max-width: 700px;
    aspect-ratio: 7 / 5; /* Фиксируем соотношение сторон для предотвращения overflow */
    height: auto;
    margin: 0 auto;
    position: relative;
    cursor: pointer;
    transform-origin: center center;
    box-sizing: border-box;
    overflow: hidden; /* предотвращаем наложение страниц за пределами блока */
}

.menu-flipbook .hard {
    background: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.menu-flipbook .menu-page-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

/* Кнопки навигации */
.menu-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    width: 100%;
    flex-shrink: 0;
}

.menu-nav-btn {
    padding: 12px 24px;
    background: var(--brick);
    color: var(--text-light);
    border: 2px solid var(--brick-dark);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.4);
    min-width: 180px;
}

.menu-nav-btn:hover:not(:disabled) {
    background: var(--brick-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.6);
}

.menu-nav-btn:disabled {
    background: var(--stone-dark);
    border-color: var(--stone-dark);
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: none;
}

.menu-nav-btn:active:not(:disabled) {
    transform: translateY(0);
}

/* Menu Loading */
.menu-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem;
    color: var(--anthracite);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 10;
}

.menu-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--stone-dark);
    border-top-color: var(--brick);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.menu-loading p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--anthracite);
}

.menu-error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(320px, 65vw, 500px);
    padding: 2rem;
    font-size: 1.2rem;
    color: var(--brick);
    font-weight: 600;
    text-align: center;
}

/* Promotions Section */
.promotions-section {
    background: var(--dark-bg);
    color: var(--text-light);
}

.promotions-section .section-title {
    color: var(--text-light);
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.promotion-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(139, 111, 71, 0.2);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.promotion-card:hover {
    transform: translateY(-5px);
    border-color: var(--brick);
    background: rgba(255, 255, 255, 0.08);
}

.promotion-card.highlight {
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.2) 0%, rgba(192, 57, 43, 0.05) 100%);
    border-color: var(--brick);
}

.promotion-day {
    font-weight: 600;
    color: var(--wood-accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.promotion-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.promotion-price {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brick);
}

/* Gallery Section */
.gallery-section {
    background: var(--stone-dark);
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(44, 62, 80, 0.05) 2px,
            rgba(44, 62, 80, 0.05) 4px
        );
}

.gallery-section .section-title {
    color: var(--text-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--brick) 0%, var(--brick-dark) 100%);
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(169, 50, 38, 0.3) 10px,
            rgba(169, 50, 38, 0.3) 20px
        );
    transition: var(--transition);
    border: 2px solid rgba(139, 111, 71, 0.3);
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.1);
}

/* Banquets Section */
.banquets-section {
    background: linear-gradient(to bottom, #ffffff 0%, var(--stone-lighter) 100%);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(139, 111, 71, 0.05) 0%, transparent 50%);
}

.banquets-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.banquets-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #666;
}

.banquets-capacity {
    font-size: 1.2rem;
    margin-top: 2rem;
}

.banquets-capacity strong {
    color: var(--brick);
    font-size: 1.4rem;
}

.banquets-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.banquets-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--anthracite) 0%, var(--anthracite-light) 100%);
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 15px,
            rgba(192, 57, 43, 0.03) 15px,
            rgba(192, 57, 43, 0.03) 30px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 15px,
            rgba(139, 111, 71, 0.03) 15px,
            rgba(139, 111, 71, 0.03) 30px
        );
    border: 2px solid rgba(139, 111, 71, 0.2);
}

/* About Section */
.about-section {
    background: var(--stone-light);
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(44, 62, 80, 0.02) 100px,
            rgba(44, 62, 80, 0.02) 200px
        );
}

.chef-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.chef-image {
    position: relative;
}

.chef-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, var(--anthracite) 0%, var(--anthracite-light) 100%);
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(192, 57, 43, 0.05) 20px,
            rgba(192, 57, 43, 0.05) 40px
        );
    border-radius: 15px;
    border: 2px solid rgba(139, 111, 71, 0.2);
}

.chef-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.chef-title {
    font-size: 1.1rem;
    color: var(--brick);
    margin-bottom: 1rem;
    font-weight: 600;
}

.chef-specialty {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background: var(--dark-bg);
    color: var(--text-light);
}

.contact-section .section-title {
    color: var(--text-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-item {
    margin-bottom: 2.5rem;
}

.contact-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--wood-accent);
}

.contact-item p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--brick-accent);
}

.social-links {
    margin-top: 2rem;
}

.social-links p {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--brick);
    transform: translateY(-5px);
}

.social-icon i {
    font-size: 1.4rem;
}

.map-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--anthracite);
    position: relative;
    color: var(--text-light);
    font-size: 1.2rem;
    border: 2px solid rgba(139, 111, 71, 0.2);
}

.map-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-caption {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    text-align: center;
}

.map-caption p {
    margin: 0.3rem 0;
}

.map-link {
    margin-top: 1rem;
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: var(--brick);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
}

.map-link:hover {
    background: var(--brick-dark);
    transform: translateY(-2px);
}

.map-click-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
}

/* Footer */
.footer {
    background: var(--anthracite-dark);
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(192, 57, 43, 0.03) 10px,
            rgba(192, 57, 43, 0.03) 20px
        );
    color: var(--text-light);
    padding: 3rem 0 1rem;
    border-top: 2px solid var(--brick-dark);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--wood-accent);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--brick-accent);
}

.footer-contact a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--brick-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(44, 62, 80, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        padding: 2rem;
        gap: 1.2rem;
        margin-left: 0;
        transition: var(--transition);
        border-top: 1px solid rgba(139, 111, 71, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 4px;
    }

    .section-title {
        font-size: 2rem;
    }

    .banquets-content,
    .contact-grid,
    .chef-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }

    /* Flipbook адаптация для планшета/мелких десктопов */
    .menu-flipbook,
    .menu-preview {
        max-width: 100%;
        aspect-ratio: 7/5;
        height: auto;
    }
    .menu-flipbook-wrapper {
        max-width: 100%;
        min-height: 350px;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 3px;
        margin-bottom: 1.2rem;
    }

    .hero-text {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero .btn {
        display: block;
        max-width: 260px;
        margin: 0 auto 0.8rem;
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }

    .scroll-indicator {
        display: none;
    }

    .promotions-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.5rem;
    }

    .gallery-item {
        min-width: 80%;
        scroll-snap-align: start;
    }

    .section {
        padding: 60px 0;
    }

    /* Flipbook адаптация для мобильных устройств */
    .menu-flipbook,
    .menu-preview {
        max-width: 100%;
        aspect-ratio: 7/10;
        height: auto;
        min-width: 0;
    }
    .menu-flipbook-wrapper {
        max-width: 100%;
        min-height: 220px;
    }
}

/* Turn.js customizations */
.menu-flipbook .turn-page {
    background: white;
    overflow: hidden !important; /* Скрываем все что вылезает за пределы страницы */
}

/* Responsive для Menu Flipbook */
@media (max-width: 968px) {
    .menu-flipbook {
        max-width: 100%;
        aspect-ratio: 7 / 5;
        height: auto;
    }
    .menu-preview {
        max-width: 100%;
        aspect-ratio: 7 / 5;
        height: auto;
    }
    .menu-flipbook-wrapper {
        max-width: 100%;
        min-height: 350px;
    }
    .menu-navigation {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .menu-nav-btn {
        min-width: 150px;
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

@media (max-width: 600px) {
    .menu-flipbook {
        max-width: 100%;
        aspect-ratio: 7 / 10;
        height: auto;
        min-width: 0;
    }
    .menu-preview {
        max-width: 100%;
        aspect-ratio: 7 / 10;
        height: auto;
        min-width: 0;
    }
    .menu-flipbook-wrapper {
        max-width: 100%;
        min-height: 220px;
    }
    .menu-navigation {
        flex-direction: column;
        gap: 0.8rem;
    }
    .menu-nav-btn {
        width: 100%;
        min-width: auto;
    }
}