/* إعدادات المتغيرات الأساسية (Lindy Mode: تصميم نظيف يعيش طويلاً) */
:root {
    --bg-color: #FAFAFA;
    --text-color: #1A1A1A;
    --brand-color: #5D4037; /* لون بني للقهوة */
    --accent-color: #D7CCC8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    scroll-behavior: smooth;
}

.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%; background-color: var(--brand-color); color: white;
    position: sticky; top: 0; z-index: 100;
}

.logo { font-size: 1.5rem; font-weight: bold; }
.nav-actions button {
    background: transparent; color: white; border: 1px solid white;
    padding: 0.5rem 1rem; border-radius: 4px; cursor: pointer; margin-inline-start: 10px;
}

.hero {
    text-align: center; padding: 5rem 1rem; background-color: var(--accent-color);
}
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--brand-color); }
.hero p { margin-bottom: 2rem; font-size: 1.2rem; }

.btn-primary {
    background-color: var(--brand-color); color: white; border: none;
    padding: 0.8rem 2rem; border-radius: 4px; cursor: pointer; font-size: 1.1rem;
    text-decoration: none; display: inline-block;
}
.w-100 { width: 100%; margin-top: 1rem; }

.menu-section { padding: 3rem 5%; }
.section-title { text-align: center; margin-bottom: 2rem; font-size: 2rem; color: var(--brand-color); }

.menu-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem;
}

.menu-item {
    background: white; border-radius: 8px; padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); text-align: center;
}
.menu-item .price { font-weight: bold; color: var(--brand-color); margin: 1rem 0; }

/* السلة */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; z-index: 200; }
.modal.hidden { display: none; }
.modal-content { background: white; padding: 2rem; border-radius: 8px; width: 90%; max-width: 400px; position: relative; }
.close-btn { position: absolute; top: 10px; right: 15px; font-size: 1.5rem; cursor: pointer; }
[dir="ltr"] .close-btn { right: auto; left: 15px; }
.cart-item { display: flex; justify-content: space-between; margin-bottom: 1rem; border-bottom: 1px solid #eee; padding-bottom: 0.5rem; }
.cart-total { margin-top: 1rem; display: flex; justify-content: space-between; font-size: 1.2rem; }