* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

/* خلفية متموجة قريبة للأبيض مع شفافية الألوان */
body {
    background: linear-gradient(-45deg, 
        rgba(255, 255, 255, 0.95), 
        rgba(140, 26, 20, 0.2), /* #8c1a14 at 20% opacity */
        rgba(255, 255, 255, 0.95), 
        rgba(195, 146, 45, 0.2) /* #c3922d at 20% opacity */
    );
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    color: #333;
    padding: 20px;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* الشعار */
.logo-container {
    text-align: center;
    margin-bottom: 30px;
}
.logo {
    width: 80px;
    height: auto;
}

/* زر الرجوع */
.back-btn {
    display: none;
    background: rgba(140, 26, 20, 0.8);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    margin-bottom: 20px;
    font-weight: bold;
    transition: 0.3s;
}
.back-btn:hover { background: #8c1a14; }

/* شريط الأقسام الزجاجي */
.categories-glass {
    display: flex;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 250, 245, 0.6); /* كريمي زجاجي */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
    overflow-x: auto;
    white-space: nowrap;
}

.cat-btn {
    background: transparent;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cat-btn.active, .cat-btn:hover {
    background: white;
    color: #8c1a14;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* حاوية المنيو */
.menu-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* بطاقة الوجبة (الزجاجية) */
.glass-card {
    background: rgba(255, 252, 248, 0.75); /* كريمي أبيض زجاجي */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    justify-content: space-between; /* تفصل بين النص والصورة */
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, opacity 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
}

/* تفاصيل الوجبة (يمين) */
.item-details {
    flex: 1;
    padding-left: 20px;
}

.item-title {
    color: #8c1a14;
    font-size: 20px;
    margin-bottom: 8px;
}

.item-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.item-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.price {
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

.calories {
    background: rgba(195, 146, 45, 0.15);
    color: #c3922d;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: bold;
}

/* صورة الوجبة (يسار) */
.item-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* تخصيص للشاشات الصغيرة (موبايل) */
@media (max-width: 600px) {
    .categories-glass {
        justify-content: flex-start;
        padding: 10px;
    }
    .glass-card {
        padding: 15px;
    }
    .item-image {
        width: 90px;
        height: 90px;
    }
    .item-title {
        font-size: 18px;
    }
    .price {
        font-size: 18px;
    }
}