:root {
    --main-bg: #0a192f;
    --accent: #64ffda;
    --text-light: #ccd6f6;
}

body {
    margin: 0;
    font-family: 'Tajawal', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 20px 10% ;
    background: var(--main-bg);
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
}

.nav-links li a.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

/* Page Headers */
.page-header {
    background: var(--main-bg);
    color: white;
    padding: 60px 0;
    text-align: center;
}

/* Container */
.container {
    padding: 50px 10%;
}

/* Responsive Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.custom-list {
    list-style: none;
    padding: 0;
}

.custom-list li {
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.custom-list li a {
    text-decoration: none;
    color: var(--main-bg); /* اللون الأزرق الغامق الذي اخترناه */
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px; /* مسافة بين الأيقونة والنص */
}

.custom-list li:hover {
    transform: translateX(-10px); /* حركة خفيفة جهة اليمين عند التمرير */
}

.custom-list li a:hover {
    color: var(--accent); /* يتغير للون الأخضر الفسفوري */
}
/* تنسيق قائمة المدن والمطاعم */
.cities-section {
    max-width: 800px;
    margin: 0 auto;
}

.city-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.city-btn {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary);
    transition: 0.3s;
}

.city-btn:hover { background: #f0f4f8; }

.city-btn i.fa-chevron-down {
    transition: transform 0.3s;
}

.city-btn.active {
    background: var(--primary);
    color: var(--accent);
}

.city-btn.active i.fa-chevron-down {
    transform: rotate(180deg);
}

.restaurants-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #fdfdfd;
}

.restaurant-item {
    padding: 15px 40px;
    border-top: 1px solid #eee;
    color: #555;
    font-size: 1rem;
}

.restaurant-item:hover {
    background: #f1f1f1;
    color: var(--primary);
}
/* تنسيقات صفحة المنيو */
.menu-header {
    background: var(--primary);
    color: white;
    padding: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-btn { position: absolute; right: 20px; color: white; font-size: 1.5rem; }

.table-number { display: block; color: var(--accent); font-size: 0.8rem; margin-top: 5px; }

.menu-categories {
    display: flex;
    overflow-x: auto;
    padding: 15px;
    gap: 10px;
    background: #fff;
}

.cat-btn {
    white-space: nowrap;
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: none;
}

.cat-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

.menu-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    margin: 10px;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.dish-info h3 { font-size: 1rem; margin-bottom: 5px; }
.dish-info p { font-size: 0.8rem; color: #777; }
.price { color: var(--primary); font-weight: bold; }

.add-to-cart {
    background: var(--accent);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
}

.order-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.confirm-btn {
    background: var(--accent);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
}
/* تنسيق أعمدة الفاتورة الاحترافي */
.cart-header {
    display: grid;
    grid-template-columns: 2fr 0.8fr 1fr 1fr;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 2px solid #0a192f;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #0a192f;
}

.cart-item-row {
    display: grid;
    grid-template-columns: 2fr 0.8fr 1fr 1fr; /* اسم، عدد، سعر، إجمالي */
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.item-qty { background: #f0f0f0; border-radius: 5px; text-align: center; padding: 2px 5px; font-weight: bold; }
.item-price, .item-subtotal { text-align: center; }
.item-subtotal { font-weight: bold; color: #0a192f; }
/* تحديث أعمدة الفاتورة لتشمل عمود الحذف */
.cart-header, .cart-item-row {
    display: grid;
    /* صنف (2.5) | كمية (0.5) | مفرد (0.8) | إجمالي (0.8) | حذف (0.4) */
    grid-template-columns: 2.5fr 0.5fr 0.8fr 0.8fr 0.4fr;
    gap: 10px;
    align-items: center;
}

.delete-btn {
    color: #ff4d4d;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 1.1rem;
    transition: 0.2s;
    display: flex;
    justify-content: center;
}

.delete-btn:hover {
    color: #ff0000;
    transform: scale(1.2);
}
.category-title {
    padding: 20px 15px 10px;
    color: var(--primary);
    border-right: 5px solid var(--accent);
    margin: 20px 15px 5px;
    background: #f9f9f9;
    font-size: 1.2rem;
}
/* Mobile Adjustments */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* يمكن تفعيل الـ Burger Menu هنا */
    }
    .hero h1 { font-size: 2rem; }
}