/* تصميم موقع المينيو المبسط والمحدث */

/* شريط اللغة */
.language-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(168, 212, 154, 0.1);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(168, 212, 154, 0.1);
}

.language-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.language-selector {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.6rem 1.2rem;
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.lang-btn.active,
.lang-btn:hover {
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 212, 154, 0.3);
}

.lang-btn.active::before,
.lang-btn:hover::before {
    left: 0;
}

/* عنوان الصفحة الرئيسية */
.header-title {
    padding: 100px 0 50px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.header-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.header-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="circles" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="200" height="200" fill="url(%23circles)"/></svg>');
    opacity: 0.2;
}



/* إخفاء زر العودة للأعلى */
.scroll-to-top {
    display: none;
}

/* تحسين عرض القائمة */
.menu-section {
    padding: 3rem 0;
    background: var(--light-bg);
    position: relative;
}

.menu-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, var(--white), transparent);
}

.menu-categories {
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.category-tab {
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--text-color);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.category-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.category-tab.active,
.category-tab:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.category-tab.active::before,
.category-tab:hover::before {
    left: 0;
}

/* تصميم محسن لبطاقات المنتجات بحجم أصغر */
.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

.menu-item {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 15px 30px rgba(168, 212, 154, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid rgba(168, 212, 154, 0.1);
    position: relative;
    cursor: pointer;
    backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform, box-shadow;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(168, 212, 154, 0.06) 0%,
        rgba(255, 255, 255, 0.12) 30%,
        rgba(244, 162, 97, 0.04) 70%,
        rgba(231, 111, 81, 0.06) 100%);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
    border-radius: 25px;
}

.menu-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(168, 212, 154, 0.15),
        transparent,
        rgba(244, 162, 97, 0.1),
        transparent,
        rgba(231, 111, 81, 0.12),
        transparent
    );
    transition: all 1s ease;
    z-index: 1;
    opacity: 0;
    transform: rotate(0deg);
    border-radius: 50%;
}

.menu-item:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(2deg) scale(1.01);
    box-shadow: 
        0 25px 50px rgba(168, 212, 154, 0.2),
        0 10px 25px rgba(0, 0, 0, 0.1),
        0 0 40px rgba(168, 212, 154, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border-color: rgba(168, 212, 154, 0.3);
    border-width: 2px;
}

.menu-item:hover::before {
    opacity: 1;
}

.menu-item:hover::after {
    opacity: 1;
    transform: rotate(360deg);
}

.menu-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
    position: relative;
    z-index: 2;
    filter: brightness(0.95) contrast(1.05) saturate(1.1);
    border-radius: 25px 25px 0 0;
}

.menu-item:hover img {
    transform: scale(1.08) rotate(2deg);
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
}

.menu-item-content {
    padding: 1.5rem;
    transition: all 0.5s ease;
    position: relative;
    z-index: 3;
    background: linear-gradient(
        180deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.95) 10%, 
        #ffffff 100%
    );
    border-radius: 0 0 25px 25px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-item:hover .menu-item-content {
    transform: translateY(-8px);
    background: linear-gradient(
        180deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.98) 10%, 
        #ffffff 100%
    );
    padding: 2rem 1.5rem;
}

.menu-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 700;
    transition: all 0.4s ease;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.menu-item:hover h3 {
    color: var(--accent-color);
    transform: scale(1.05) translateY(-2px);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.menu-item h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 4px rgba(168, 212, 154, 0.3);
}

.menu-item:hover h3::after {
    width: 100%;
}

.menu-item h3::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 1px;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.1s;
}

.menu-item:hover h3::before {
    width: 100%;
}

.menu-item p {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1rem;
    transition: all 0.4s ease;
    opacity: 0.9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    text-align: justify;
    flex-grow: 1;
}

.menu-item:hover p {
    color: var(--text-color);
    opacity: 1;
    transform: translateY(-2px);
    line-height: 1.7;
}

/* تصميم محسن للسعر مع تأثيرات حديثة */
.price {
    color: #2c3e50;
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 12px;
    border: 2px solid #e8f4fd;
    margin-top: 0.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.price::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 212, 154, 0.08), transparent);
    transition: left 0.5s ease;
}

.menu-item:hover .price {
    transform: scale(1.03) translateY(-3px);
    background: linear-gradient(135deg, #ffffff, #f0f8ff);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(168, 212, 154, 0.15);
    color: var(--primary-color);
}

.menu-item:hover .price::before {
    left: 100%;
}

/* إزالة الأيقونة تماماً */
.price-icon {
    display: none;
}

/* إزالة جميع التأثيرات الإضافية */
.price::after {
    display: none;
}

/* تصميم السعر مع العملة */
.price .currency {
    font-size: 0.8em;
    opacity: 0.8;
    margin-right: 0.5rem;
}

/* تصميم السعر مع الخصم */
.price .discount {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #e74c3c;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    transform: scale(0);
    transition: all 0.3s ease;
    z-index: 5;
}

.menu-item:hover .price .discount {
    transform: scale(1);
}

/* تصميم السعر للطباعة */
@media print {
    .price {
        color: #000;
        background: none;
        -webkit-background-clip: unset;
        -webkit-text-fill-color: unset;
        text-shadow: none;
        border: 1px solid #000;
    }
    
    .price::before {
        display: none;
    }
}

/* تم إزالة الوضع المظلم */

/* تصميم السعر للأجهزة المحمولة */
@media (max-width: 768px) {
    .price {
        font-size: 1.6rem;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .menu-items {
        gap: 1.2rem;
        padding: 0;
    }
    
    .menu-item-content {
        padding: 1rem;
        min-height: 80px;
    }
    
    .menu-item:hover .menu-item-content {
        padding: 1.2rem 1rem;
    }
    
    .menu-item h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .menu-item p {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
        line-height: 1.5;
    }
    
    .price {
        font-size: 1.3rem;
        padding: 0.5rem 0.8rem;
        margin-top: 0.2rem;
    }
    
    .menu-item img {
        height: 180px;
    }
    
    .category-tab {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}

@keyframes sparkle {
    0%, 100% {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)) brightness(1);
    }
    50% {
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)) brightness(1.2);
    }
}

/* تأثيرات إضافية للبطاقات */
.menu-item .badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 4;
    transform: translateY(-15px) scale(0.8);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-item:hover .badge {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* تأثيرات للصور */
.menu-item .image-container {
    position: relative;
    overflow: hidden;
    border-radius: 35px 35px 0 0;
}

.menu-item .image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(168, 212, 154, 0.15) 30%,
        rgba(244, 162, 97, 0.1) 70%,
        transparent 100%
    );
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 2;
}

.menu-item:hover .image-container::before {
    opacity: 1;
}

/* تأثيرات للتفاعل */
.menu-item:active {
    transform: translateY(-20px) scale(0.98);
    transition: all 0.1s ease;
}

.menu-item:focus {
    outline: 4px solid var(--accent-color);
    outline-offset: 4px;
}

.menu-item:focus-visible {
    outline: 4px solid var(--accent-color);
    outline-offset: 4px;
}

/* تحسينات إضافية للتصميم */
.menu-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.menu-item:hover::after {
    opacity: 0.08;
}

/* تحسين أزرار التصنيف */
.category-tab {
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* تحسين عرض السعر */
.menu-item .price {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Image Modal Styles */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-modal.active {
    display: flex;
    opacity: 1;
    animation: modalFadeIn 0.5s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    animation: backdropFadeIn 0.4s ease-out;
}

@keyframes backdropFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 90%;
    max-height: 600px;
    margin: auto;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(168, 212, 154, 0.3);
    animation: modalSlideIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 3px solid rgba(168, 212, 154, 0.2);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1) rotate(90deg);
    color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.modal-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
    filter: brightness(0.95) contrast(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        transparent 0%,
        rgba(0, 0, 0, 0.3) 30%,
        rgba(0, 0, 0, 0.8) 100%
    );
    padding: 2rem;
    color: white;
    transform: translateY(100%);
    transition: all 0.5s ease;
}

.image-modal.active .image-overlay {
    transform: translateY(0);
}

.image-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.image-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.modal-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.5rem;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-shadow: none;
    animation: pricePulse 2s ease-in-out infinite;
}

@keyframes pricePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(168, 212, 154, 0.4);
    }
}

/* تحسين تأثيرات الحركة */
.menu-item {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.menu-item:nth-child(1) { animation-delay: 0.1s; }
.menu-item:nth-child(2) { animation-delay: 0.2s; }
.menu-item:nth-child(3) { animation-delay: 0.3s; }
.menu-item:nth-child(4) { animation-delay: 0.4s; }
.menu-item:nth-child(5) { animation-delay: 0.5s; }
.menu-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* تأثيرات إضافية للبطاقات عند التحميل */
.menu-item.loaded {
    animation: cardLoad 1s ease-out;
}

@keyframes cardLoad {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(20deg);
    }
    50% {
        opacity: 0.7;
        transform: translateY(25px) rotateX(10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

/* تأثيرات للتفاعل المتقدم */
.menu-item:hover {
    animation: cardHover 0.6s ease-out;
}

@keyframes cardHover {
    0% {
        transform: translateY(-25px) rotateX(8deg) rotateY(3deg) scale(1.02);
    }
    50% {
        transform: translateY(-30px) rotateX(10deg) rotateY(4deg) scale(1.03);
    }
    100% {
        transform: translateY(-25px) rotateX(8deg) rotateY(3deg) scale(1.02);
    }
}

/* Modal Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        height: 85%;
        max-height: 500px;
        border-radius: 20px;
    }
    
    .modal-close {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
        font-size: 1.3rem;
    }
    
    .image-info h3 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .image-info p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .modal-price {
        font-size: 1.5rem;
        padding: 0.6rem 1.2rem;
    }
    
    .image-overlay {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .modal-content {
        width: 98%;
        height: 80%;
        max-height: 400px;
        border-radius: 15px;
    }
    
    .modal-close {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
        font-size: 1.2rem;
    }
    
    .image-info h3 {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }
    
    .image-info p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .modal-price {
        font-size: 1.3rem;
        padding: 0.5rem 1rem;
    }
    
    .image-overlay {
        padding: 1rem;
    }
}

/* تحسين التصميم المتجاوب */
@media (max-width: 768px) {
    .menu-items {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .category-tabs {
        flex-wrap: wrap;
        gap: 0.8rem;
        justify-content: center;
    }
    
    .category-tab {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .menu-item-content {
        padding: 1.2rem;
        min-height: 100px;
    }
    
    .menu-item:hover .menu-item-content {
        padding: 1.5rem 1.2rem;
    }
    
    .menu-item h3 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }
    
    .menu-item p {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
    
    .price {
        font-size: 1.4rem;
        padding: 0.6rem 1rem;
        margin-top: 0.3rem;
    }
    
    .header-title {
        padding: 80px 0 40px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .menu-item img {
        height: 200px;
    }
}

/* تحسين تأثيرات التحميل */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--light-text);
    font-size: 1.2rem;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* تحسين رسائل عدم وجود عناصر */
.no-items {
    text-align: center;
    padding: 3rem;
    color: var(--light-text);
    font-style: italic;
    font-size: 1.1rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin: 2rem 0;
}

/* تحسين تأثيرات التمرير */
.menu-section {
    scroll-behavior: smooth;
}

/* تحسين إمكانية الوصول */
.category-tab:focus,
.lang-btn:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

/* تحسين التباين */
.menu-item h3 {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.menu-item p {
    color: var(--text-color);
    opacity: 0.8;
}

/* تحسين تأثيرات الظل */
.menu-item {
    box-shadow: 0 10px 25px rgba(168, 212, 154, 0.15);
}

.menu-item:hover {
    box-shadow: 0 20px 40px rgba(168, 212, 154, 0.25);
}

/* تحسين تأثيرات الحدود */
.menu-item {
    border: 1px solid rgba(168, 212, 154, 0.1);
}

.menu-item:hover {
    border-color: var(--primary-color);
    border-width: 2px;
}

/* تأثيرات إضافية للتفاعل */
.menu-item:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(168, 212, 154, 0.3);
}

.category-tab:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(168, 212, 154, 0.4);
}

.lang-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(168, 212, 154, 0.3);
}

/* تأثيرات للعناصر النشطة */
.category-tab.active {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(168, 212, 154, 0.4);
}

.lang-btn.active {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(168, 212, 154, 0.3);
}

