*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    min-height: 100vh;
}
.body-container{
    width: 100%;
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F3F1EF;
    height: 100vh;
    background-image: url('../background/2148749089.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.container{
    /* background-image :url('../background/background1.jpg'); */
    -webkit-box-shadow: 0px 0px 16px 0px rgb(141 141 141);
    -moz-box-shadow: 0px 0px 16px 0px rgb(141 141 141);
    box-shadow: 0px 0px 16px 0px rgb(141 141 141);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    max-width: 550px;
    min-height: 100%;
    display: flex;
    position: relative;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-width: none;
     -ms-overflow-style: none;
}
.top-section{
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px) brightness(90%);
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    width: 100%;
    min-height: 60px;
    max-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 9999;
    direction: rtl;
}
.logo-top {
    max-height: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    max-width: 35%;
    overflow: hidden;
    justify-content: flex-start;
}
.logo-top img {
    max-height: 100%;
    height: 100%;
    object-fit: contain;
}
.bottom-container{
    height: 100%;
    gap: 10px;
    display: flex;
    align-items: center;
}
.top-bar-botton {
    background: rgb(145 135 65);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    padding: 10px;
    font-size: 12px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.top-bar-botton:hover {
    transform: scale(1.05);
    background: #ed3237;
}

.top-bar-botton i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
}
.banner-section{
    width: 100%;
    height: 30vh;
    max-height: 30vh;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.slider-container {
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    padding: 0;
    max-height: 100%;
}
.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    max-height: 100%;
}
.slider-item {
    min-width: 100%;
    box-sizing: border-box;
    max-height: 100%;
}
.image_banner{
    width: 100%;
    height: 30vh;
    object-fit: cover;
    max-height: 100%;
}
.controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 100;
}
.arrow {
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border: none;
    font-size: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin: 5px;
}
.arrow i {
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-section{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 2px
}
.line-category-section{
    height: 3px;
    width: 40%;
    background-color: gold;
    margin-bottom: 10px;
}
.category-scroll{
    width: 100%;
    overflow-x: scroll;
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    align-items: center;
    scrollbar-width: none; /* For Firefox */
     -ms-overflow-style: none;
}
.category-scroll::-webkit-scrollbar {
    display: none;
}
.category-item{
    min-width: 170px;
    overflow: hidden;
    position: relative;
    display: inline-block;
    border-radius: 5px;
    cursor: pointer;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1;
}
.category-item-image{
    width: 100%;
    position: relative;
    z-index: 0;
    /* height: 100%; */
    height: 16vh;
    min-height: 16vh;
    max-height: 16vh;
}
.product-section{
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-bottom: 0px
}
.product-item {
    width: 100%;
    display: none;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}
.product-item:not(:first-child) {
}
.product-item.active{
    display: block;
    opacity: 1;
}
.product-item.in-view {
    display: block;
    transform: translateX(0);
    opacity: 1;
    padding-bottom: 20px;
    border-bottom: 1px solid #d2d2d2;
}
.product-item.old {
    transform: translateX(100%);
    opacity: 0;
    transition: transform 1s ease-out, opacity 1s ease-out;
}
.product-image{
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 50px 5px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.add-to-cart{
    background: rgb(237 50 55);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    padding: 10px 20px;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.add-to-cart:hover{
    background: rgb(206, 43, 49);
}
#call-waiter-form {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}
#call-waiter-form.show {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}
.call-waiter-form-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    position: relative;
    animation: slideDown 0.3s ease-in-out;
}
.close-call-waiter-form {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
    }
    to {
        transform: translateY(0);
    }
}
img{
    opacity: 0; /* Initially hidden */
    transition: opacity 0.5s ease-in-out;
}
img.loaded {
    opacity: 1; /* Fully visible */
}
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Style the placeholder with shimmer effect */
.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: shimmer 1.5s infinite;
}

/* Cart Drawer Styles */
#cart-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
}

#cart-drawer.open {
    left: 0;
}

.cart-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.close-button {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #333;
    position: absolute;
    top: 10px;
    right: 20px;
}

#cart-items-container {
    margin-top: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.send-order-button {
    background: rgba(125, 18, 224, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: block;
    width: 100%;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    font-size: 16px;
    background-color: #ed3237;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.send-order-button:hover {
    background-color: #c62b30;
}

.product-content {
    margin: 10px 0;
    /* padding: 0 0px; */
}
.product-content h3{
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}
.product-content h3 p{
    font-size: 14px;
    color: rgb(103, 103, 103);
}
.product-content h4{
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
}
.product-content h4 p{
    font-size: 13px;
    color: rgb(103, 103, 103);
}
.product-price {
    display: flex;
    align-items: center;
    gap: 20px;
    /* padding: 0 20px; */
}
.product-price h3{
    color: #918741;
}
.category-name {
    font-size: 12px;
    color: white;
    padding: 8px 2px;
    text-align: center;
    margin-top: -2px;
    font-weight: bold;
    background: #918741;
    transition: all .3s;
}

.category-item.active p{
    background: #ed3237;
}
