body {
    font-family: Tahoma, sans-serif;
    direction: rtl;
    margin: 0;
    padding: 0;
    background: #ffffff; /* پس‌زمینه مشکی */
}


/* کل هدر */
header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255,255,255,0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
    font-family: 'Vazir', Tahoma, sans-serif;
}

.logo img {
    height: 60px;
}

header nav ul {
    display:flex;
    list-style:none;
    gap:20px;
    margin:0;
    padding:0;
    align-items:center;
}

header nav ul li a, header nav ul li button {
    text-decoration:none;
    color:#333;
    font-weight: bold;
    padding:8px 18px;
    border-radius:10px;
    transition: all 0.3s;
    font-size:16px;
}

.btn-primary {
    background: linear-gradient(135deg,#ff9800,#ffb74d);
    color:white;
    border:none;
    cursor:pointer;
    padding:10px 20px;
    font-weight:bold;
    border-radius:25px;
    box-shadow:0 4px 12px rgba(0,0,0,0.2);
    transition:0.3s;
}

.btn-primary:hover {
    background: linear-gradient(135deg,#ffb74d,#ff9800);
    transform: translateY(-3px);
    box-shadow:0 6px 16px rgba(0,0,0,0.3);
}

.btn-admin {
    background: linear-gradient(135deg,#e91e63,#f06292);
    color:white;
    border:none;
    padding:10px 20px;
    border-radius:25px;
    font-weight:bold;
    box-shadow:0 4px 12px rgba(0,0,0,0.2);
    transition:0.3s;
}

.btn-admin:hover {
    transform: translateY(-3px);
    box-shadow:0 6px 16px rgba(0,0,0,0.3);
}


/* فاصله از بالای صفحه به دلیل هدر ثابت */

body { padding-top: 60px; }

.banner {
    width: 100%;
    height: 100vh; /* ارتفاع برابر با ارتفاع صفحه */
    background: url('../images/1111.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* عکس تمام بنر را پر می‌کند */
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* وسط دقیق بنر */
    text-align: center;
    z-index: 1;
}

.banner-text h1 {
    color: #ff9800;
    font-size: 60px;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 6px black; /* برای خوانایی روی عکس */
}

.banner-text p {
    color: white;
    font-size: 26px;
    margin-top: 10px;
    text-shadow: 1px 1px 4px black;
}





.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: #ddd;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

.tab-btn.active {
    background: #ff9800;
    color: white;
}



.menu-category.active {
    display: flex;
}

.menu-item {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    width: 200px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding-bottom: 10px;
}

.menu-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.menu-item button {
    background: #ff9800;
    border: none;
    color: white;
    padding: 8px;
    margin-top: 5px;
    cursor: pointer;
    border-radius: 5px;
}

footer {
    text-align: center;
    padding: 10px;
    background: #ffffff; /* مشکی */
}
#cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background: #ffffff; /* مشکی */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-radius: 15px;
    z-index: 1000;
    /* نمایش همیشگی */
    display: block;
}


#cart-header {
    font-weight: bold;
    margin-bottom: 10px;
}

#cart-items {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    max-height: 200px; /* اگر آیتم زیاد بود اسکرول می‌شود */
    overflow-y: auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    padding: 5px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.item-controls button {
    margin: 0 2px;
}

#checkout {
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 5px;
    background-color: #28a745;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

#checkout:hover {
    background-color: #218838;
}


#cart-items div {
    display: flex;
    align-items: center;
    gap: 5px;
}

#cart-items button {
    background: #ff9800;
    border: none;
    color: white;
    padding: 2px 6px;
    cursor: pointer;
    border-radius: 3px;
}

#cart-items span {
    min-width: 20px;
    text-align: center;
}
.hidden {
    display: none;
}
