@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn.woff2') format('woff2'),
    url('../fonts/Vazirmatn.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html, body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
}

.container, .menu-list, .menu-items-grid, .menu-item-card, .menu-item-content {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    min-width: 120px;
}

button, input, select, textarea {
    font-family: inherit !important;
}

body {
    background: linear-gradient(135deg, #0a1c24 0%, #051014 100%);
    color: #fff;
    font-family: Vazirmatn, Tahoma, sans-serif;
    margin: 0;
    direction: rtl;
}

.header {
    width: 100vw;
    padding: 10px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid #aaa;
}

.logo {
    width: 80px;
    margin-bottom: 30px;
}

.container {
    width: 90vw;
    margin: 0 auto;
    padding: 0 40px;
}

.title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 8px;
    margin-top: 24px;
    text-align: right;
}

.info-row {
    display: flex;
    align-items: center;
    color: #086a8d;
    font-size: 0.875rem;
    margin-bottom: 38px;
    gap: 7px;
}

.info-row i {
    font-size: 0.875rem;
}

.info-row a {
    color: #086a8d;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.menu-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.menu-tab {
    border: 1px solid #086a8d;
    background: transparent;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.875rem;
    line-height: 1.25rem;
    cursor: pointer;
    transition: background .15s, color .15s;
    align-items: center;
    height: 40px;
    display: flex;
    justify-content: center;
    white-space: nowrap;
}

.menu-tab.active,
.menu-tab:hover {
    background: #086a8d;
    border: 1px solid #086a8d;
}

.menu-tab .category-content {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.menu-tab .category-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.menu-tab .category-text {
    margin-top: 8px;
    font-size: 0.75rem;
}

.menu-tab span {
    max-width: 85px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
    direction: rtl;
    text-align: center;
}

.search-container {
    margin-right: auto;
    min-width: 230px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.search-box {
    background: #231313;
    border-radius: 25px;
    border: none;
    color: #fff;
    font-size: 1.05rem;
    outline: none;
    width: 210px;
    padding: 7px 42px 7px 20px;
    box-sizing: border-box;
    height: 40px;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 1.1rem;
    pointer-events: none;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .title {
        text-align: center;
        margin-bottom: 20px;
    }

    .info-row {
        justify-content: center;
        margin-bottom: 20px;
    }

    .menu-toolbar {
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
    }

    .search-container {
        margin-top: 0;
        margin-bottom: 20px;
        width: 100%;
        justify-content: center;
        margin-right: 0;
    }

    .search-box {
        width: 100%;
    }

    .menu-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 15px;
        justify-content: flex-start;
        width: 100%;
        gap: 0;
    }

    .menu-tabs::-webkit-scrollbar {
        display: none;
    }

    .menu-tab {
        border: none;
        background: transparent;
        color: #fff;
        padding: 0;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100px;
        flex-shrink: 0;
        margin-left: 10px;
    }

    .menu-tab:first-child {
        margin-right: 0;
    }

    .menu-tab:last-child {
        margin-left: 0;
    }

    .menu-tab.active {
        background: transparent;
        color: #086a8d;
    }

    .menu-tab:hover {
        background: transparent;
        color: #086a8d;
    }

    .menu-tab .category-content {
        display: flex;
    }

    .menu-tab span:not(.category-text) {
        display: none;
    }

    .section-image {
        max-width: 100%;
        height: auto;
    }

    .menu-section-title {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .menu-tab {
        width: 80px;
    }

    .menu-tab .category-image {
        height: 80px;
    }

    .search-box {
        padding: 7px 35px 7px 15px;
    }
}

.menu-list {
    margin-top: 10px;
    border-radius: 0 0 14px 14px;
}

.menu-section-title {
    color: #fff;
    font-size: 1.35rem;
    font-weight: bold;
    margin: 0 0 28px 0;
    padding-top: 36px;
    padding-right: 12px;
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
}

.menu-item-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.menu-item-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(8, 106, 141, 0.35);
    border-color: rgba(8, 106, 141, 0.55);
}

.menu-item-content {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 24px;
    gap: 24px;
    height: 100%;
}

.menu-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
}

.menu-item-title {
    font-size: 1.05rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 6px;
}

.menu-item-desc {
    color: #fff;
    opacity: 0.85;
    font-size: 0.98rem;
    margin-bottom: 8px;
    line-height: 1.7;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: normal;
    max-width: 360px;
}

.menu-item-price {
    color: #086a8d;
    font-weight: bold;
    font-size: 1.08rem;
    margin-bottom: 6px;
}

.menu-item-image-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    min-width: 120px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 1200px) {
    .menu-items-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .menu-item-content {
        flex-direction: row;
        align-items: center;
        gap: 24px;
        padding: 24px;
    }

    .menu-item-image-wrap {
        width: 100px;
        height: 100px;
        min-width: 100px;
    }

    .menu-item-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 10px;
    }

    .menu-item-desc {
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .menu-items-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .menu-section-title {
        font-size: 1.13rem;
        padding-top: 24px;
    }
}

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 32px;
    left: 32px;
    z-index: 9999;
    background: #086a8d;
    color: #fff;
    border: none;
    outline: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    font-size: 1.7rem;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
    transition: background 0.2s, color 0.2s, opacity 0.3s;
    opacity: 0.93;
}

#scrollToTopBtn:hover {
    opacity: 1;
}

@media (max-width: 700px) {
    #scrollToTopBtn {
        bottom: 18px;
        left: 18px;
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

.custom-footer {
    width: 100vw;
    background: #170909;
    color: #b8b6b6;
    text-align: center;
    padding: 26px 0 20px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.custom-footer .footer-link {
    color: #086a8d;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.custom-footer .footer-logo {
    height: 20px;
    width: auto;
    vertical-align: middle;
}

.sticky-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: calc(100vw - 32px);
    background: linear-gradient(135deg, #0a1c24 0%, #051014 100%);
    box-shadow: 0 6px 18px 0 rgba(0, 0, 0, 0.13);
    z-index: 999;
    padding: 10px 20px;
    transition: box-shadow 0.25s, top 0.25s, background 0.25s;
}

.sticky-menu .menu-tabs {
    margin-top: 0 !important;
}

.sticky-placeholder {
    display: none;
    height: 0;
}

.sticky-active + .sticky-placeholder {
    display: block;
}

.section-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.section-image {
    width: 100%;
    max-width: 400px;
    border-radius: 14px;
    display: block;
    object-fit: cover;
}

.menu-section-title {
    text-align: center;
    margin-top: 0;
}

@media (min-width: 769px) {
    .section-image-wrap {
        display: none;
    }

    .menu-section-title {
        text-align: right;
    }
}

.mobile-landing {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
}

.mobile-landing .bg {
    width: 165vw;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    filter: blur(2.5px) brightness(0.93) saturate(1.10);
    transition: filter .4s;
}

.mobile-landing .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(20, 6, 20, 0.24) 0%, rgba(170, 40, 62, 0.10) 45%, rgba(6, 20, 23, 0.25) 100%);
    z-index: 1;
    pointer-events: none;
}

.mobile-landing .buttons-bottom {
    position: absolute;
    bottom: 140px;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    z-index: 3;
}

.mobile-landing .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.21);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.24);
    border-radius: 30px;
    padding: 13px 44px;
    font-size: 1.18rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.22s, color 0.22s, border 0.2s;
    text-decoration: none;
    margin-bottom: 5px;
}

.mobile-landing .menu-btn:hover {
    background: rgba(200, 46, 46, 0.13);
    color: #fff;
    border: 1.5px solid #fff;
}

.mobile-landing .socials {
    display: flex;
    gap: 16px;
}

.mobile-landing .socials a {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(7px);
    border: 1.5px solid rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.27rem;
    transition: background 0.15s, border 0.15s, color 0.15s;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

.mobile-landing .socials a:hover {
    background: rgba(200, 46, 46, 0.18);
    border: 2px solid #fff;
    color: #fff;
}
