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

:root {
    --primary-color: #c3570f;
    --secondary-color: #3e2516;
    --accent-color: #d67a2a;
    --gold-color: #ff8c42;
    --text-light: #ffffff;
    --text-gray: #f5e6d3;
    --gradient-1: linear-gradient(135deg, #c3570f 0%, #ff8c42 100%);
    --gradient-2: linear-gradient(135deg, #ff8c42 0%, #ffa366 100%);
    --gradient-3: linear-gradient(135deg, #d67a2a 0%, #ffb380 100%);
}

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

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

/* Header */
.header {
    background: rgba(195, 87, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(195, 87, 15, 0.5);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-image {
    height: 124px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
}

/* Скрываем название и слоган — в шапке только логотип */
.logo h1,
.logo .tagline {
    display: none !important;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #ffd9b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.tagline {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-style: italic;
}

.nav {
    display: flex;
    gap: 30px;
}

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

.nav-link:hover {
    color: var(--gold-color);
}

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

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

/* Menu Section */
.menu-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #ffd9b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reviews-section {
    padding: 80px 0;
    background: var(--secondary-color);
}

.reviews-intro {
    max-width: 700px;
    margin: 0 auto 30px;
    text-align: center;
    color: var(--text-gray);
    font-size: 1rem;
}

.reviews-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.review-card {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 18px;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 600;
    font-size: 1rem;
}

.review-rating {
    color: #ffd86b;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.review-text {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.reviews-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.btn-review {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    border: none;
    background: var(--gradient-2);
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.6);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(255, 140, 66, 0.8);
}

.reviews-hint {
    color: var(--text-gray);
    font-size: 0.9rem;
    text-align: center;
    max-width: 520px;
}

/* Блок заказа: выбор блюд и корзина */
.order-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-gray);
    text-align: center;
    margin: 40px 0 24px;
}

.order-menu-grid {
    max-width: 1000px;
    margin: 0 auto 40px;
}

.order-category {
    margin-bottom: 32px;
}

.order-category-title {
    font-size: 1.25rem;
    color: var(--gold-color);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.order-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.order-item-card {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-item-image-wrap {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

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

.order-item-name {
    font-weight: 600;
    color: var(--text-light);
}

.order-item-price {
    color: var(--gold-color);
    font-weight: 600;
}

.btn-add-cart {
    margin-top: auto;
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    background: var(--gradient-2);
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-add-cart:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 140, 66, 0.5);
}

/* Кнопка корзины (FAB) */
.cart-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-2);
    color: var(--text-light);
    box-shadow: 0 6px 24px rgba(255, 140, 66, 0.6);
    cursor: pointer;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-fab:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 28px rgba(255, 140, 66, 0.7);
}

.cart-fab-icon {
    font-size: 1.5rem;
}

.cart-fab-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    background: var(--secondary-color);
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

/* Оверлей и панель корзины */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    max-width: 100%;
    height: 100%;
    background: var(--secondary-color);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.cart-drawer-header h3 {
    font-size: 1.25rem;
    margin: 0;
}

.cart-drawer-close {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.cart-drawer-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

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

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-item-name {
    font-weight: 600;
    color: var(--text-light);
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    font-size: 1rem;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s ease;
}

.cart-qty-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.cart-item-qty {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
}

.cart-remove {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.cart-remove:hover {
    background: rgba(200, 80, 80, 0.4);
    color: var(--text-light);
}

.cart-empty {
    color: var(--text-gray);
    text-align: center;
    padding: 24px 0;
    margin: 0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin-top: 16px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
}

.cart-drawer-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-order-whatsapp {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    background: #25d366;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-order-whatsapp:hover:not(:disabled) {
    background: #20bd5a;
    transform: translateY(-1px);
}

.btn-order-whatsapp:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-order-telegram {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    background: #229ED9;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(34, 158, 217, 0.4);
}

.btn-order-telegram:hover:not(:disabled) {
    background: #1A8BC7;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(34, 158, 217, 0.5);
}

.btn-order-telegram:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #666;
}

.menu-gallery {
    max-width: 1000px;
    margin: 0 auto 30px;
}

.menu-image-container {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.menu-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.btn-nav {
    background: var(--gradient-2);
    color: var(--text-light);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.6);
}

.btn-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.menu-counter {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    min-width: 80px;
    text-align: center;
}

.menu-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.menu-loading {
    display: none;
    text-align: center;
    padding: 40px;
    color: var(--text-gray);
}

.menu-loading.active {
    display: block;
}

.menu-image.loading {
    display: none;
}

.menu-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-download,
.btn-zoom {
    background: var(--gradient-1);
    color: var(--text-light);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(195, 87, 15, 0.4);
}

.btn-download:hover,
.btn-zoom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(195, 87, 15, 0.6);
}

.btn-download:active,
.btn-zoom:active {
    transform: translateY(0);
}

/* Modal for zoom */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    animation: zoomIn 0.3s ease;
}

.modal-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 20px;
}

.btn-nav-modal {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-nav-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.menu-image-zoom {
    width: 100%;
    height: auto;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--text-light);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--gold-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--secondary-color);
}

.about-text {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--primary-color);
}

.contact-info {
    text-align: center;
    font-size: 1.1rem;
}

.contact-info p {
    margin: 15px 0;
    color: var(--text-light);
}

/* Map Embed */
.map-embed-container {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
}

.map-embed {
    max-width: 900px;
    margin: 0 auto;
}

.map-embed iframe {
    display: block;
    margin: 0 auto;
}

/* QR Code Styles */
.qr-code-container {
    margin-top: 50px;
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.qr-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

#qrcode {
    display: inline-block;
    padding: 20px;
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    margin: 20px 0;
}

.qr-description {
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--text-gray);
    font-style: italic;
}

.menu-qr {
    margin-top: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: rgba(62, 37, 22, 0.95);
    padding: 30px 0;
    text-align: center;
    color: var(--text-gray);
    border-top: 1px solid rgba(255, 140, 66, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .cart-drawer {
        width: 100%;
    }

    .order-items {
        grid-template-columns: 1fr;
    }

    .cart-fab {
        bottom: 16px;
        right: 16px;
    }

    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        gap: 20px;
    }

    .logo h1 {
        font-size: 2rem;
    }

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

    .menu-image-container {
        padding: 10px;
    }

    .menu-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-download,
    .btn-zoom {
        width: 100%;
        max-width: 300px;
    }

    .modal-content {
        max-width: 95%;
    }

    .close {
        top: -30px;
        font-size: 30px;
    }
}
