/* Базовые стили и переменные - ТЕМНАЯ ТЕМА */
:root {
    --primary-color: #b61745;      /* Барбарисовый */
    --primary-light: #d6204f;      /* Светло-барбарисовый */
    --secondary-color: #1a1a1a;     /* Темно-серый */
    --accent-color: #ff4444;       /* Ярко-красный акцент */
    --text-color: #f0f0f0;         /* Светлый текст */
    --text-muted: #b0b0b0;         /* Приглушенный текст */
    --bg-dark: #0d0d0d;            /* Очень темный фон */
    --bg-card: #1a1a1a;            /* Фон карточек */
    --bg-hover: #2a2a2a;           /* Фон при наведении */
    --border-color: #333333;       /* Цвет границ */
    --shadow: 0 2px 10px rgba(182, 23, 69, 0.3);
    --shadow-hover: 0 4px 20px rgba(182, 23, 69, 0.5);
    --shadow-glow: 0 0 20px rgba(182, 23, 69, 0.4);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Tinos', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-dark);
}

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

/* Header */
.header {
    background-color: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
    transition: transform 0.25s ease, opacity 0.25s ease; /* for hide-on-scroll */
}

/* When hidden on scroll, move header up and fade out */
.header--hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* Keep header visible when mobile menu active */
.header.menu-active {
    transform: none;
    opacity: 1;
    pointer-events: auto;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    min-height: 96px; /* ensure enough vertical space for larger logo */
} 

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(182, 23, 69, 0.5);
    letter-spacing: 1px;
}

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

.logo-img {
    height: 96px; /* увеличенный размер для чёткой видимости */
    display: block;
    object-fit: contain;
    margin-left: 0;
    filter: drop-shadow(0 8px 22px rgba(182, 23, 69, 0.28));
    transition: transform 0.22s ease, filter 0.22s ease;
}

.logo-img:hover {
    transform: translateY(-4px) scale(1.03);
    filter: drop-shadow(0 10px 28px rgba(182, 23, 69, 0.4));
}

@media (max-width: 900px) {
    .logo-img {
        height: 80px;
    }
}

@media (max-width: 600px) {
    .logo-img {
        height: 64px;
    }
}

.nav {
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

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

.burger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--secondary-color) 50%, var(--bg-dark) 100%);
    color: white;
    text-align: center;
    padding: 5rem 1rem 3.5rem; /* уменьшили нижний отступ, чтобы сократить пространство перед следующими секциями */
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(182, 23, 69, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(182, 23, 69, 0.5);
    position: relative;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    position: relative;
    line-height: 1.7;
}

/* Универсальные стили слайдера */
.slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto 2.5rem auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.slider-wrapper {
    position: relative;
    display: flex;
    overflow: hidden;
    height: 100%;
}

.slider {
    display: flex;
    width: 100%;
}

.slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 16 / 9;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==================== VIP СЛАЙДЕР ==================== */
.vip-slider-container,
.vip-slider-wrapper,
.vip-slider,
.vip-slide,
.vip-slide img {
    box-sizing: border-box;
}

.vip-slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: block;
    /* Ensure a consistent aspect ratio so images can cover the area */
    aspect-ratio: 16 / 9;
    min-height: 220px;
} 

.vip-slider-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    display: block;
}

.vip-slider {
    display: flex;
    width: 100%;
    max-width: 100%;
    transition: transform 0.5s ease-in-out;
    display: flex;
}

/* Class to temporarily disable transition when jumping (used by JS) */
.vip-slider.no-transition {
    transition: none !important;
}

.vip-slide {
    min-width: 100%;
    flex-shrink: 0;
    overflow: hidden;
    width: 100%;
}

.vip-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fill the slide area while preserving aspect ratio */
    display: block;
    box-sizing: border-box;
}

.vip-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 13, 13, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vip-slider-btn:hover {
    background: var(--primary-color);
    box-shadow: 0 0 20px rgba(182, 23, 69, 0.6);
}

.vip-prev {
    left: 20px;
}

.vip-next {
    right: 20px;
}

/* Скрытие клонов слайдов */
.slide.clone {
    pointer-events: none;
}

/* Универсальные кнопки слайдера */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 13, 13, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.slider-btn-prev {
    left: 20px;
}

.slider-btn-next {
    right: 20px;
}


.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: var(--shadow-glow);
}

/* Hero: более заметная кнопка */
.hero .btn-primary {
    padding: 1.3rem 3.5rem; /* немного увеличили padding */
    font-size: 1.35rem; /* увеличили размер текста */
    border-radius: 40px;
    box-shadow: 0 10px 40px rgba(182, 23, 69, 0.45);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    animation: heroPulse 1.6s ease-out 1;
    margin-top: 2rem; /* опускаем кнопку вниз, ближе к разделению правил */
}

.hero .btn-primary:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 18px 60px rgba(182, 23, 69, 0.55);
    filter: brightness(1.03);
}

@keyframes heroPulse {
    0% { transform: translateY(0); box-shadow: 0 8px 28px rgba(182, 23, 69, 0.35); }
    50% { transform: translateY(-3px) scale(1.01); box-shadow: 0 14px 46px rgba(182, 23, 69, 0.47); }
    100% { transform: translateY(0); box-shadow: 0 10px 40px rgba(182, 23, 69, 0.45); }
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(182, 23, 69, 0.6);
}

/* кнопка-обводка */
.btn-outline {
    background: transparent;
    color: var(--text-color);
    border: 2px solid rgba(255,255,255,0.06);
    padding: 0.6rem 1rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.18s ease;
}

.btn-outline:hover {
    background: linear-gradient(135deg, rgba(182,23,69,0.12), rgba(182,23,69,0.08));
    border-color: var(--primary-color);
}

/* маленькая версия кнопки */
.btn-sm {
    padding: 0.38rem 0.8rem;
    font-size: 0.92rem;
    border-radius: 20px;
    font-weight: 700;
}


/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(182, 23, 69, 0.4);
}

/* Menu Section */
.menu-section {
    padding: 4rem 0;
}

.loading {
    text-align: center;
    padding: 3rem;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.category-description {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.category-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.category-btn:hover {
    background: rgba(182, 23, 69, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.category-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: var(--shadow-glow);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.menu-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.menu-item-image {
    background: linear-gradient(135deg, var(--bg-dark), var(--secondary-color));
    /* Container proportions are driven by aspect-ratio only. Do NOT set height/min-height
       when you expect aspect-ratio to be stable across breakpoints. */
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto; /* allow browser to compute height from width & aspect-ratio */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    /* subtle inner stroke for visual depth */
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

/* Responsive adjustments: slightly wider aspect on tablets and phones for better composition */
@media (max-width: 900px) {
    .menu-item-image {
        min-height: 160px; /* tablet — allow aspect-ratio to scale the height */
    }
}

@media (max-width: 480px) {
    .menu-item-image { height: auto; }
}

/* Fix for single-column (mobile/narrow) layout: give more vertical space to image container */
@media (max-width: 700px) {
    /* Keep aspect-ratio consistent on narrow layouts; do not force a fixed min-height. */
    .menu-item-image { height: auto; }

    .menu-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        margin: 0;
        padding: 0;
    }
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* по умолчанию заполняем контейнер */
}



/* Unified images: category-specific styles removed to ensure consistent appearance */
/* (previous per-category rules removed) */









/* Removed mango-specific zoom effect to keep all menu items visually consistent */

.placeholder-image {
    font-size: 5rem;
    filter: drop-shadow(0 0 10px rgba(182, 23, 69, 0.5));
}

/* Empty placeholder when product has no image or emoji — preserves container size */
.placeholder-empty {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    border-radius: 6px;
}

.menu-item-content {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-item-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

/* Выделение юмористических названий лимонадов */
.lemonade-title {
    font-weight: 800;
    color: var(--primary-color);
    display: inline-block;
    margin-bottom: 0.25rem;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.variants {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.variant {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-color);
    background: rgba(255, 68, 68, 0.06);
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.btn-add {
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-add:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: var(--bg-card);
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Общие стили модальных окон */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10050;
}

.modal--open {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    width: min(920px, 92%);
    max-height: 80vh;
    overflow: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    z-index: 1;
}

.modal-close {
    position: absolute;
    right: 12px;
    top: 12px;
    background: transparent;
    color: var(--text-muted);
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
}

.modal-sub {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Модальное окно для ассортимента кальянов */
.hookah-lists {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.hookah-col h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.hookah-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hookah-col li {
    padding: 0.45rem 0;
    color: var(--text-color);
    border-bottom: 1px dashed rgba(255,255,255,0.03);
}

.hookah-assortment-center {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 1.6rem;
}

.hookah-assortment-center .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 0.34rem 0.9rem;
    font-size: 0.92rem;
    min-width: 120px;
}

@media (max-width: 900px) {
    .hookah-lists {
        grid-template-columns: 1fr;
    }
    .hookah-assortment-center {
        margin-bottom: 1rem;
    }
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.contact-item .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.contact-item .icon svg {
    display: block;
    width: 48px;
    height: 48px;
    color: var(--text-muted);
}

.contact-item p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.contact-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.contact-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(182, 23, 69, 0.5);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--text-color);
    padding: 3rem 0;
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    text-align: center;
}

.footer-section h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.footer-section p {
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(182, 23, 69, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.age-restriction {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Age Popup */
.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    /* Скрываем по умолчанию, чтобы избежать мерцания до выполнения JS */
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Modifier: открытый попап */
.age-popup.age-popup--open {
    display: flex;
    opacity: 1;
}

/* Modifier: состояние закрытия (анимация) */
.age-popup.age-popup--closing {
    opacity: 0;
}

.age-popup-content {
    background: var(--bg-card);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 50px rgba(182, 23, 69, 0.5);
    animation: fadeIn 0.3s ease;
} 

.age-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(182, 23, 69, 0.5);
}

.age-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-age {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Tinos', sans-serif;
}

.btn-age-yes {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-age-yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(182, 23, 69, 0.7);
}

.btn-age-no {
    border-color: var(--text-muted);
    background: transparent;
    color: var(--text-muted);
}

.btn-age-no:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(255, 68, 68, 0.1);
}

.age-warning {
    color: var(--accent-color);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Rules Section */
.rules-section {
    padding: 4rem 0;
    background: var(--bg-card);
    border-top: 2px solid var(--primary-color);
}

.rules-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Social page helpers: grid of cards where each button is a separate block */
.social-grid {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: stretch; /* keep cards equal height when possible */
}

.social-card {
    flex: 0 1 320px;
    min-width: 260px;
    max-width: 420px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.social-card .btn {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    border-radius: 14px;
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

/* Social page buttons (uniform, pill-shaped, site colors) */
.social-section .section-title {
    margin-bottom: 0.25rem;
    font-size: 1.6rem;
}

.social-buttons { display:flex; gap:0.875rem; justify-content:center; align-items:center; flex-wrap:wrap; }

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    min-width: 220px;
    max-width: 420px;
    width: auto;
    border-radius: 999px; /* pill */
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 8px 30px rgba(182,23,69,0.12);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1;
    transition: transform .18s ease, box-shadow .18s ease, opacity .14s ease;
}

.social-btn .icon {
    /* increased by ~15% so all logos are visually larger and consistent */
    width: 46px; /* 40px * 1.15 */
    height: 46px; /* 40px * 1.15 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0; /* no circular background */
    background: transparent;
    flex-shrink: 0;
}

.social-btn .icon svg, .social-btn .icon img { width: auto; height: 23px; /* 20px * 1.15 */ color: #fff; display:block; object-fit:contain; }
.social-btn .label { display:inline-block; color: #fff; }


.social-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    opacity: 0.98;
}

.social-btn:active { transform: translateY(-1px); }

.social-btn:focus-visible { outline: none; box-shadow: 0 0 0 6px rgba(182,23,69,0.12); }

/* outline variant (kept for consistency) */
.social-card .btn.btn-outline {
    background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    color: var(--text-color) !important;
    border: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 880px) {
    .social-btn { min-width: 220px; max-width: 360px; }
}

@media (max-width: 720px) {
    .social-btn { width: 100%; max-width: none; min-width: 0; padding: 0.75rem 1rem; }
    .social-btn .icon { width: 42px; height: 42px; /* 36px * 1.15 ≈ 41.4 */ }
    .social-section .section-title { font-size: 1.35rem; }
}

.rule-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.8rem;
    transition: var(--transition);
}

.rule-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.rule-card.important {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(182, 23, 69, 0.1), var(--bg-dark));
}

.rule-card.important:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(255, 68, 68, 0.4);
}

.rule-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.rule-card.important h3 {
    color: var(--accent-color);
}

.rule-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.rule-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.rule-list li {
    color: var(--text-muted);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.rule-list li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: 700;
    position: absolute;
    left: 0;
}

.rule-note {
    color: var(--accent-color);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Secondary button */
.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(182, 23, 69, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 13, 13, 0.98);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-top: 1px solid var(--primary-color);
    }

    .nav.active {
        max-height: 300px;
    }

    .nav-list {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.2rem;
    }

    .nav-link {
        display: block;
        padding: 0.8rem 0;
        font-size: 1.1rem;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

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

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

    .menu-categories {
        gap: 0.8rem;
    }

    .category-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
    
    /* Age popup mobile */
    .age-popup-content {
        padding: 2rem;
        margin: 1rem;
        max-width: none;
    }
    
    .age-title {
        font-size: 2rem;
    }
    
    .age-description {
        font-size: 1rem;
    }
    
    /* Rules mobile */
    .rules-container {
        grid-template-columns: 1fr;
    }
    
    /* Slider mobile */
    .slider-container {
        margin: 0 auto 2rem auto;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slider-btn-prev {
        left: 10px;
    }
    
    .slider-btn-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.4rem;
    }

    .hero {
        padding: 4rem 1rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .menu-section,
    .about-section,
    .contact-section {
        padding: 3rem 0;
    }

    .menu-item-content {
        padding: 1.5rem;
    }

    .menu-item-content h3 {
        font-size: 1.3rem;
    }

    .price {
        font-size: 1.4rem;
    }

    .btn-add {
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: var(--shadow);
    }
    50% {
        box-shadow: var(--shadow-glow);
    }
}

.menu-item {
    animation: fadeIn 0.6s ease forwards;
}

.menu-item:nth-child(1) { animation-delay: 0.1s; }
.menu-item:nth-child(2) { animation-delay: 0.2s; }
.menu-item:nth-child(3) { animation-delay: 0.3s; }
.menu-item:nth-child(4) { animation-delay: 0.4s; }
.menu-item:nth-child(5) { animation-delay: 0.5s; }
.menu-item:nth-child(6) { animation-delay: 0.6s; }
.menu-item:nth-child(7) { animation-delay: 0.7s; }
.menu-item:nth-child(8) { animation-delay: 0.8s; }
.menu-item:nth-child(9) { animation-delay: 0.9s; }
.menu-item:nth-child(10) { animation-delay: 1s; }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Happy Hours Section */
.happy-hours-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-dark));
}

.happy-hours-content {
    max-width: 1000px;
    margin: 0 auto;
}

.happy-hours-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.happy-hours-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.time-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.time-info:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.time-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.time-details h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.time-details p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 600;
}

.special-offers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.offer-card {
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.offer-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.offer-emoji {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(182, 23, 69, 0.5));
}

.offer-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.offer-price {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
}

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

/* Booking Section */
.booking-section {
    padding: 4rem 0;
    background: var(--bg-card);
    border-top: 2px solid var(--primary-color);
}

.booking-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.booking-zones {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.zone-item {
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: 100%;
    box-sizing: border-box;
}

.zone-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
}

.zone-item.zone-item-vip {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(182, 23, 69, 0.1), var(--bg-dark));
    box-sizing: border-box;
}

.zone-header {
    padding: 2rem 2rem 1.5rem 2rem;
}

.zone-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.zone-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.vip-notice {
    background: rgba(182, 23, 69, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.vip-notice strong {
    color: var(--primary-color);
    font-size: 1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.vip-notice p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.zone-image-large {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

/* Ensure slider fills the .zone-image-large area */
.zone-image-large .vip-slider-container {
    height: 100%;
    aspect-ratio: auto; /* let it adapt to parent height */
}

.zone-image-large .vip-slider-wrapper,
.zone-image-large .vip-slider,
.zone-image-large .vip-slide {
    height: 100%;
}

.zone-item-vip .zone-image-large {
    height: auto;
}

.zone-image-large > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.btn-on-image {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.btn-on-image:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
}


/* Booking Popup */
.booking-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.booking-popup.active {
    display: flex;
}

.booking-popup-content {
    background: var(--bg-card);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 50px rgba(182, 23, 69, 0.5);
    position: relative;
    animation: fadeIn 0.3s ease;
}

.close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-popup:hover {
    color: var(--accent-color);
    background: rgba(255, 68, 68, 0.1);
}

.booking-popup-header {
    margin-bottom: 2rem;
}

.booking-popup-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.booking-popup-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.booking-popup-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.booking-option {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.booking-option:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.booking-option-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.booking-option-info {
    text-align: left;
    flex: 1;
}

.booking-option-info h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.booking-option-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.booking-phone,
.booking-telegram {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}

.booking-phone:hover,
.booking-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(182, 23, 69, 0.6);
}

.booking-telegram {
    background: #0088cc;
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.5);
}

.booking-telegram:hover {
    box-shadow: 0 0 30px rgba(0, 136, 204, 0.8);
}

/* Responsive styles for new sections */
@media (max-width: 768px) {
    .happy-hours-info {
        grid-template-columns: 1fr;
    }
    
    .special-offers {
        grid-template-columns: 1fr;
    }
    
    .booking-zones {
        grid-template-columns: 1fr;
    }
    
    .booking-popup-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .booking-option {
        flex-direction: column;
        text-align: center;
    }
    
    .booking-option-info {
        text-align: center;
    }

    /* Mobile-friendly scaling for zone images and sliders */
    .zone-image-large {
        height: 40vh; /* use viewport height for responsive sizing */
        min-height: 220px;
    }

    .zone-image-large .vip-slider-container {
        height: 100%;
    }

    .zone-image-large .vip-slider-wrapper,
    .zone-image-large .vip-slider,
    .zone-image-large .vip-slide {
        height: 100%;
    }

    .vip-slider-btn {
        width: 44px;
        height: 44px;
    }

    .btn-on-image {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        bottom: 1.5rem;
    }

    .zone-header h3 {
        font-size: 1.6rem;
    }

    /* Responsive menu image sizes — keep aspect-ratio as source of truth; use min-height for small screens */
    .menu-item-image {
        min-height: 200px;
        height: auto; /* allow aspect-ratio to control final height */
    }


}
 


@media (max-width: 480px) {
    .happy-hours-section,
    .booking-section {
        padding: 3rem 0;
    }
    
    .offer-card {
        padding: 1.5rem;
    }
    
    .offer-price {
        font-size: 2rem;
    }

    /* Fine-tune for small phones */
    .zone-image-large {
        height: 35vh;
        min-height: 180px;
    }

    .vip-slider-btn {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .btn-on-image {
        padding: 0.6rem 1.4rem;
        font-size: 0.95rem;
        bottom: 1rem;
    }

    .zone-header h3 {
        font-size: 1.4rem;
    }

    /* Small phone menu image sizing — keep aspect-ratio, use smaller min-height */
    .menu-item-image {
        min-height: 160px;
        height: auto;
    }


}

/* --- Override: unify image behavior for all categories in narrow / single-column layouts --- */
@media (max-width: 700px) {
    /* Keep aspect-ratio authoritative on narrow layouts — do not force height. */
    .menu-item-image {
        height: auto; /* allow aspect-ratio to compute height from width */
        min-height: 0;
        max-height: none;
    }

    /* Ensure images still fill their container without using !important */
    .menu-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* fill the area and remove empty space */
        object-position: center;
        display: block;
        margin: 0;
        padding: 0;
    }

}
