/* ThemeGoldenHorizontal.css – Sticky Top Bar + Horizontal Scroll Items + Gold/Green */

@font-face {
    font-family: 'Shangool';
    src: url('https://meniew.storage.c2.liara.space/Fonts/Vazir-Medium.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Shangool', sans-serif;
}

html, body {
    background: #102828;
    color: #F7EFCB;
    direction: rtl;
    line-height: 1.7;
    min-height: 100vh;
}

/* Container */
.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* ====================== STICKY TOP CATEGORY BAR ====================== */
.category-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #102828;
    padding: 20px 30px;
    border-bottom: 6px double #BF9241;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    backdrop-filter: blur(12px);
    margin: 0 -20px;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-nav-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 28px;
    background: rgba(191,146,65,0.15);
    color: #F7EFCB;
    border: 3px solid #BF9241;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: fit-content;
}

.category-nav-btn:hover {
    background: #BF9241;
    color: #102828;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(191,146,65,0.5);
}

.category-icon-nav {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.category-nav-btn:hover .category-icon-nav {
    filter: brightness(0);
}

/* ====================== HEADER ====================== */
.menu-header {
    text-align: center;
    padding: 70px 40px 50px;
    background: #102828;
    margin-bottom: 40px;
}

.shop-name {
    font-size: 4.2rem;
    font-weight: 900;
    color: #BF9241;
    text-shadow: 0 6px 20px rgba(0,0,0,0.6);
    margin-bottom: 16px;
    letter-spacing: 3px;
}

.shop-description {
    font-size: 1.5rem;
    color: #F7EFCB;
    opacity: 0.95;
}

/* ====================== MAIN CONTENT ====================== */
.menu-content {
    padding: 0;
}

/* Category Header */
.category-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 30px;
    background: #102828;
    /* border-top: 4px solid #BF9241; */
    border-bottom: 4px solid #BF9241;
    /* margin: 30px 0; */
    margin-top: 30px;
    cursor: pointer;
}

.category-title {
    font-size: 2.3rem;
    font-weight: 900;
    color: #BF9241;
    text-shadow: 0 3px 10px rgba(0,0,0,0.5);
    margin: 0;
    flex: 1;
}

.category-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.toggle-icon {
    margin-left: auto;
    font-size: 1.9rem;
    color: #F7EFCB;
    transition: transform 0.4s ease;
    display: none;
}

.category-header[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

/* Category Body */
.category-body {
    display: flex;
    overflow: auto;
    padding: 30px 30px;
    margin: 0px -20px;
    /* margin-right: -30px; */
    background: #0c1e1e;
}

.category-body.open {
    /* display: flex; */
    animation: fadeIn 0.6s ease-out;
    overflow: auto;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ====================== HORIZONTAL SCROLL FOR ITEMS ====================== */
.category-items {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #BF9241 #102828;
}

.category-items::-webkit-scrollbar {
    height: 10px;
}

.category-items::-webkit-scrollbar-track {
    background: #102828;
    border-radius: 5px;
}

.category-items::-webkit-scrollbar-thumb {
    background: #BF9241;
    border-radius: 5px;
}

.category-items::-webkit-scrollbar-thumb:hover {
    background: #F7EFCB;
}

/* Menu Item – No Hover, Fixed Width for Scroll */
.menu-item {
    background: rgba(247,239,203,0.06);
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid rgba(191,146,65,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    /* width: 480px; */  /* Fixed width for horizontal scroll */
    transition: none;  /* No hover effect */
    margin-left: 25px;
    /* margin-right: 25; */
    background: #102828;
    width: 400px;
}

.item-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 10px solid #BF9241;
    margin: 20px;
    flex-shrink: 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.item-info {
    padding: 30px;
    flex: 1;
}

.item-title {
    font-size: 1.7rem;
    font-weight: 900;
    color: #BF9241;
    margin-bottom: 14px;
}

.item-desc {
    color: #F7EFCB;
    opacity: 0.92;
    line-height: 1.9;
    margin-bottom: 18px;
}

.item-price {
    font-size: 1.6rem;
    font-weight: 900;
    color: #102828;
    background: #BF9241;
    padding: 12px 28px;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(191,146,65,0.4);
}

/* Admin Bottom Bar */
#admin-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(16,40,40,0.9);
    padding: 16px 0;
    display: flex;
    justify-content: center;
    z-index: 9999;
    border-top: 2px solid #BF9241;
}

#admin-bottom-bar a {
    background: #BF9241;
    color: #102828;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

#admin-bottom-bar a:hover {
    background: #F7EFCB;
    transform: translateY(-3px);
}

/* Footer */
.menu-footer {
    background: #102828;
    padding: 70px 40px;
    border-top: 10px double #BF9241;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 50px;
    font-size: 1rem;
}

.footer-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #BF9241;
    margin-bottom: 20px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    width: 100px;
    height: 5px;
    background: #F7EFCB;
    transform: translateX(-50%);
}

.footer-description-text,
.footer-address-text,
.footer-contact-name,
.footer-contact-value {
    color: #F7EFCB;
    line-height: 1.9;
}

.footer-contact-item {
    justify-content: center;
    gap: 30px;
    padding: 16px 0;
    border-bottom: 1px dashed rgba(247,239,203,0.4);
}

.footer-social-list {
    justify-content: center;
    gap: 24px;
}

.footer-social-item {
    background: rgba(191,146,65,0.2);
    padding: 16px 36px;
    border-radius: 50px;
    border: 4px double #BF9241;
    color: #F7EFCB;
    font-weight: 700;
    margin-top: 30px;
    display: block;
}
.footer-social-item span
{
    font-size: 24px;
    margin-bottom: 20px;
}
.footer-social-item:hover {
    background: #BF9241;
    color: #102828;
}

.social-icon {
    width: 34px;
    height: 34px;
    filter: brightness(0) invert(1);
    margin-top: 5;
    margin-bottom: -10;
    margin-left: 20px;
}

.footer-powered {
    grid-column: 1 / -1;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 6px double #BF9241;
    color: #F7EFCB;
    font-size: 1.1rem;
    text-align: center;
}

.footer-powered strong {
    color: #BF9241;
}
