.food-gallery {
    text-align: center;
    margin-top: 20px;
    position: relative;
}

.food-gallery h2 {
    font-family: Arial, sans-serif;
    font-size: 24px;
    margin-bottom: 20px;
}

.owl-carousel .item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.owl-carousel .owl-item {
    opacity: 0.6;
    transform: scale(0.9);
    z-index: 0;
}

.owl-carousel .owl-item.active.center {
    opacity: 1;
    transform: scale(1.3);
    z-index: 2;
}

.owl-carousel .owl-item:not(.center) img {
    opacity: 0.6;
}

.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: black;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.owl-nav button.owl-prev {
    left: -40px;
}

.owl-nav button.owl-next {
    right: -40px;
}

.owl-nav button:hover {
    background: #333;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

.owl-dots {
    display: none;
}

/* دکمه‌های ناوبری */
.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: black !important; /* پس‌زمینه مشکی */
    color: white !important; /* متن سفید */
    border: none;
    width: 50px; /* عرض دکمه */
    height: 50px; /* ارتفاع دکمه */
    border-radius: 50% !important; /* دایره‌ای کردن */
    font-size: 30px !important; /* اندازه بزرگ‌تر آیکون یا فلش */
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important; /* سایه جذاب */
}

/* موقعیت دکمه‌ها */
.owl-nav button.owl-prev {
    left: -40px; /* فاصله از سمت چپ */
}

.owl-nav button.owl-next {
    right: -40px; /* فاصله از سمت راست */
}

/* تغییر حالت هنگام هاور */
.owl-nav button:hover {
    background: #333; /* تغییر رنگ پس‌زمینه هنگام هاور */
    transform: translateY(-50%) scale(1.1); /* کمی بزرگ‌تر شدن */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7); /* سایه بیشتر */
}

@media (max-width: 768px) {

    .owl-nav button{
        width: 30px;
        height: 30px;
    }
}
