:root {
    --primary-color: #9A6A3F; /* amber-500 */
    --primary-hover-color: #d90606; /* amber-600 */
    --text-dark: #E0E0E0; /* gray-800 */
    --text-medium: #BDBDBD; /* gray-600 */
    --text-light: #c0c1c3; /* gray-500 */
    --bg-light: #222222; /* gray-50 */
    --bg-white: #383838;
    --border-color: #e5e7eb; /* gray-200 */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --header-height: 80px;
    --color-shadow: rgba(0, 0, 0, 0.4);
}


      @font-face {
            font-family: 'Algerian';
            src: url('font/Algerian.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }
    @font-face {
            font-family: 'Algerian';
            src: url('font/Algerian.otf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
     scrollbar-width: none;
}

a {
    text-decoration: none;
        color: antiquewhite;
}
html {
    scroll-behavior: smooth;
}
i.fas.fa-phone:after {
    content: "";
    position: absolute;
    display: block;
    background: #23d123;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    right: -15px;
    top: -8px;
}
i.fas.fa-phone {
    position: relative;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
}

.hero-h1 {
    font-family: 'Algerian', sans-serif;
    font-size: 6rem;
    line-height: 6rem;
    display: block;
    text-align: center;
    font-weight: 100;
    color: #D8BF8D;
    letter-spacing: 2px;
    position: relative;
    top: 20px;
}
.menu-download {
    background: #0000008a;
    padding: 1.5rem;
        display: flex;
        text-align: center;
    flex-direction: column;
    align-items: center;
}
.dark {
    background-color: var(--primary-color) !important;
    scale: 0.8;
    margin-top: 0.8rem;
}
@media (max-width: 980px) {
    .hero-h1 {
    font-size: 4rem;
}}

@media (max-width: 767px) {
.hero-h1 {
    font-family: 'Algerian', sans-serif;
    font-size: 3rem;
          line-height: 4rem;
    letter-spacing: 2px;
    text-align: center;
    display: block;
     font-weight: 100;
}
}
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hidden {
    display: none !important;
}

/* Header */
/* .header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 30;
    height: 4rem;
} */

      .header {
            position: sticky;
            top: 0;
            z-index: 30;
            background-color: var(--color-header-bg);
            border-bottom-left-radius: 30px;
            border-bottom-right-radius: 30px;
            box-shadow: 0 4px 15px var(--color-shadow);
            padding: 0 20px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

/* .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
} */
 .header-container {

    display: flex;
            justify-content: space-between;
            align-items: center;
            height: var(--header-height);
  }
      .logo {
            font-family: 'Algerian', sans-serif;
            font-size: 2rem;
           
            color: var(--primary-color);
            letter-spacing: 2px;
        }
.header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.phone-link {
      display: flex;
            align-items: center;
            gap: 20px;
        
            font-weight: 600;
}

/* .phone-link {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.2s;
} */

.phone-link:hover {
    color: var(--primary-color);
}
.phone-link span {
    display: none;
}
@media (min-width: 640px) {
    .phone-link span {
        display: inline;
        margin-left: 0.5rem;
    }
}
.cart-button {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-medium);
    padding: 0.5rem;
    border-radius: 9999px;
    transition: background-color 0.2s, color 0.2s;
}
.cart-button:hover {
    background-color: #f3f4f6;
    color: var(--primary-color);
}
.cart-counter {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    background-color: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.1rem 0.5rem;
    border-radius: 9999px;
}
.cart-bounce {
    animation: bounce 0.5s ease-in-out;
}
@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.5); }
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: sticky;
    top: 80px; /* height of header */
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    z-index: 20;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0.5rem;
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}
.mobile-nav::-webkit-scrollbar {
    display: none;
}
.mobile-nav-link {
    display: inline-flex;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    background-color: #222222;
    color: var(--text-dark);
    align-items: center;
}
.mobile-nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

/* Main Layout */
.main-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    display: none;
    width: 16rem;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    flex-shrink: 0;
    overflow-y: auto;
    padding: 1rem;
}
.sidebar-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}
.sidebar-nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 30px;
    text-decoration: none;
    margin-bottom: 0.5rem;
    color: var(--text-medium);
    transition: all 0.2s ease-in-out;
}
.sidebar-nav-link:hover {
    background-color: #9a6a3f7d;
    color: var(--text-dark);
}
.sidebar-nav-link.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}
.sidebar-nav-img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 30px;
    object-fit: cover;
    margin-right: 0.75rem;
}
.sidebar-nav-text {
    font-weight: 500;
}

/* Main Content */
.main-content {
    flex: 1;
    overflow-y: auto;
    scroll-behavior: smooth;
    padding: 1rem;
}
@media (min-width: 768px) {
    .main-content {
        padding: 2rem;
    }
}

.menu-section {
    margin-bottom: 3rem;
    scroll-margin-top: 5rem;
}

.category-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.subcategory-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #eaeaea;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Menu Item */
.menu-item {
    background-color: var(--bg-white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.menu-item:hover {
    box-shadow: var(--shadow-lg);
}
.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}
.menu-item-name {
    font-size: 1.125rem;
    font-weight: 600;
    padding-right: 0.5rem;
}
.menu-item-description, .menu-item-weight {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}
.menu-item-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    white-space: nowrap;
}
.menu-item-options {
    margin: 0.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.option-button {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 9999px;
    border: 2px solid #d1d5db;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s;
}
.option-button:hover {
    border-color: var(--primary-hover-color);
}
.option-button.selected {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.menu-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}
.menu-item-price {
    font-size: 1.25rem;
    font-weight: 700;
}
.add-to-cart-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}
.add-to-cart-btn:hover {
    background-color: var(--primary-hover-color);
}

/* Tag Colors */
.tag-Хит { background-color: #ef4444; color: white; }
.tag-Нравится-детям { background-color: #3b82f6; color: white; }
.tag-Рекомендуем { background-color: #22c55e; color: white; }
.tag-Острое { background-color: #f97316; color: white; }
.tag-Попробуйте { background-color: #a855f7; color: white; }
.tag-Блюдо-от-шефа { background-color: #eab308; color: black; }

/* Promo Section */
.promo-section {
    margin: 3rem 0;
    padding: 1.5rem;
    background-color: #00000066;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-xl);
    color: white;
    overflow: hidden;
    position: relative;
}
.promo-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}
.promo-content {
    position: relative;
    z-index: 10;
}
.promo-tag {
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    display: inline-block;
}
.promo-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.promo-description {
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}
.promo-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}
@media (min-width: 768px) {
    .promo-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
.promo-price {
    font-size: 1.875rem;
    font-weight: 700;
}
.promo-button {
    background-color: var(--primary-hover-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.promo-button:hover {
    background-color: var(--primary-hover-color);
    transform: scale(1.05);
}

/* Cart */
.cart-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 40;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}
.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 28rem;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-xl);
    z-index: 50;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}
.cart-sidebar.open {
    transform: translateX(0);
}
.cart-header {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}
.cart-title {
    font-size: 1.5rem;
    font-weight: 700;
}
.cart-close-button {
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
}
.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}
.cart-empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    color: var(--text-light);
}
.cart-empty i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}
.cart-item-details {
    flex: 1;
    padding-right: 1rem;
}
.cart-item-name { font-weight: 600; }
.cart-item-size { font-size: 0.875rem; color: var(--text-light); }
.cart-item-price { font-size: 0.875rem;     color: #d1a986;; font-weight: 700; }

.quantity-controls {
    display: flex;
    align-items: center;
}
.quantity-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    background-color: white;
}
.quantity-btn:hover { background-color: #f3f4f6; }
.quantity-display {
    width: 2.5rem;
    text-align: center;
    font-weight: 600;
}
.cart-footer {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-light);
}
.order-type-selector {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
    background-color: #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.25rem;
}
.order-type-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.375rem;
    flex: 1;
    border: none;
    background: none;
    cursor: pointer;
}
.order-type-btn.active {
    background-color: #9a6a3f;
    box-shadow: var(--shadow-sm);
    color: white;
}
.delivery-form { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
.delivery-form input, .delivery-form select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
}
.delivery-form-grid {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
}
.payment-selector { display: flex; gap: 0.5rem; }
.payment-btn {
    flex: 1;
    padding: 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
    background: white;
    cursor: pointer;
}
.payment-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.delivery-error {
    color: #ef4444;
    font-size: 0.875rem;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}
.summary-total {
    font-weight: 700;
    font-size: 1.125rem;
}
.submit-order-btn {
    width: 100%;
    margin-top: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}
.submit-order-btn:hover {
    background-color: var(--primary-hover-color);
}
.submit-order-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.6);
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}
.modal-content {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-xl);
    padding: 1.5rem;
    width: 100%;
    max-width: 28rem;
    position: relative;
    max-height: 99vh;
    overflow-y: scroll;
}
.modal-close-button {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    font-size: 1.5rem;
    color: #9ca3af;
    background: none;
    border: none;
    cursor: pointer;
}
.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #9a6a3f;
}
.modal-subtitle {
    text-align: center;
    color: #383838;
    margin-bottom: 1rem;
}


section.hero-section {
     margin-bottom: 4rem;
    background-image: url(/img/corp.webp);
 
    background-position: center;
    border-radius: 30px;
    overflow: hidden;
}
.modal-order-text-wrapper {
    background-color: #f3f4f6;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    max-height: 15rem;
    overflow-y: auto;
}
.modal-order-text {
    white-space: pre-wrap;
    font-size: 0.875rem;
    color: var(--bg-white);
    font-family: inherit;
}
.copy-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    background-color: #e42121;
    color: #ffffff;
    height: 3rem;
}
.copy-button:hover { background-color: #9e2222; }
.copy-button.copied {
    background-color: #22c55e;
    color: white;
}
.modal-contact-buttons {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.contact-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem;
    border-radius: 0.375rem;
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}
.contact-button:hover { opacity: 0.9; }
.contact-button i { font-size: 1.5rem; }
.contact-button span { font-size: 0.75rem; font-weight: 600; }
.contact-button.telegram { background-color: #38bdf8; }
.contact-button.whatsapp { background-color: #22c55e; }
.contact-button.phone { background-color: #4b5563; }

/* Notification */
.notification {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translate(-50%, 10rem);
    padding: 0.75rem 1.5rem;
    background-color: #9a6a3f;
    color: white;
    border-radius: 9999px;
    box-shadow: var(--shadow-lg);
    z-index: 50;
    transition: transform 0.3s ease-in-out;
    width: 80%;
    max-width: max-content;
    height: max-content;
}
.notification.show {
    transform: translate(-50%, 0);
}
.notification i {
    margin-right: 0.5rem;
    color: #4ade80;
}

/* Responsive Design */
@media (max-width: 767px) {
    .mobile-nav {
        display: block;
    }
    .sidebar {
        display: none;
    }
    .main-content {
        height: calc(100vh - 152px); /* Full height minus header and mobile nav */
    }
}
@media (min-width: 768px) {
    .mobile-nav {
        display: none;
    }
    .sidebar {
        display: block;
        height: calc(100vh - 4rem); /* Full height minus header */
    }
    .main-content {
        height: calc(100vh - 4rem);
    }
    .menu-section {
      scroll-margin-top: 1rem;
    }
}
/* Футер */
        .footer {
            background-color: var(--color-header-bg);
            padding: 40px 0 20px;
            text-align: center;
        }

        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }

        .footer-logo {
            font-family: 'Algerian', sans-serif;
            font-size: 2.5rem;
            font-weight: 100;
            color: var(--color-accent);
        }

        .footer-nav {
            display: flex;
            gap: 30px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .footer-socials a {
            font-size: 1.5rem;
            margin: 0 10px;
            color: var(--color-secondary-text);
        }

        .copyright {
            margin-top: 20px;
            font-size: 0.9rem;
            color: var(--color-secondary-text);
        }