/* --- Root Variables --- */
:root { 
    --gold: #d4af37;        /* اللون الأصفر/الذهبي الملكي */
    --dark-bg: #0a0a0a; 
    --card-bg: #1a1a1a; 
    --whatsapp: #25D366; 
    --facebook: #1877F2; 
    --instagram: #E4405F; 
    --btn-gray: #2a2a2a; 
}

/* --- Global Styles --- */
body { 
    background-color: var(--dark-bg); 
    color: #fff; 
    font-family: 'Tahoma', sans-serif; 
    margin: 0; 
    text-align: center; 
    line-height: 1.6; 
    direction: rtl; /* التأكد من الاتجاه من اليمين لليسار */
}

.main-wrapper { 
    max-width: 500px; 
    margin: auto; 
    padding: 20px; 
}

/* --- Header Section --- */
.header { padding: 30px 20px; }
.logo-img { 
    width: 110px; height: 110px; 
    border-radius: 50%; 
    border: 2px solid var(--gold); 
    padding: 5px; 
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2); 
}

.restaurant-name { 
    font-size: 1.7rem; 
    color: var(--gold); 
    margin-top: 15px; 
    font-weight: 900;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    flex-wrap: wrap;
}

.restaurant-name .en-name-inline { 
    color: #fff; 
    font-size: 1.5rem; 
    font-weight: 800; 
    text-transform: uppercase; 
}

.tagline { color: #888; font-size: 0.9rem; margin-top: 10px; }

/* --- Section Headers --- */
.section-header {
    display: flex; 
    align-items: center; 
    justify-content: flex-start;
    margin: 40px 0 20px; 
    padding-bottom: 10px; 
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.section-header i { 
    color: var(--gold); /* أيقونات العناوين صفراء */
    margin-left: 12px; 
    font-size: 1.2rem; 
}

.section-header h2 { font-size: 1.2rem; color: #fff; margin: 0; font-weight: bold; }

/* --- Branch Cards & Buttons --- */
.branch-card { 
    background: var(--card-bg); 
    border-radius: 20px; 
    padding: 20px; 
    margin-bottom: 25px; 
    border: 1px solid #333; 
    text-align: right; 
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3); 
    overflow: hidden;
}

.branch-badge {
    position: absolute; 
    top: 0; left: 0; 
    background: var(--gold);
    color: #000; 
    padding: 5px 15px; 
    font-weight: bold; 
    font-size: 0.8rem;
    border-bottom-right-radius: 15px;
}

.branch-name { font-size: 1.3rem; color: var(--gold); font-weight: bold; display: block; margin-top: 10px; }

.branch-address { color: #bbb; font-size: 0.85rem; margin: 10px 0 20px; display: flex; align-items: center; gap: 8px; }
.branch-address i { color: var(--gold); } /* أيقونة الخريطة الصغيرة صفراء */

.phone-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 15px; }

.phone-btn { 
    background: var(--btn-gray); 
    color: #fff; 
    padding: 12px; 
    border-radius: 12px; 
    text-decoration: none; 
    font-size: 0.9rem; 
    font-weight: bold; 
    border: 1px solid #444;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px;
}

.phone-btn i { 
    color: var(--gold); /* أيقونات الهاتف والموبايل صفراء */
}

.action-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.btn-main { 
    padding: 14px; 
    border-radius: 15px; 
    text-decoration: none; 
    font-weight: bold; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    font-size: 1rem; 
    transition: 0.2s;
}

.btn-main:active { transform: scale(0.95); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-location { background: #fff; color: #000; }
.btn-location i { color: #000; } /* أيقونة الموقع سوداء لتناسب الزر الأبيض */

/* --- Social Media Grid --- */
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 20px 0; }

.social-item { 
    background: var(--card-bg); 
    padding: 15px; 
    border-radius: 15px; 
    text-decoration: none; 
    color: #fff; 
    border: 1px solid #333; 
    display: flex; 
    flex-direction: column; 
    align-items: center;
    transition: 0.3s;
}

.social-item i { font-size: 1.5rem; margin-bottom: 8px; }
.social-item.fb i { color: var(--facebook); }
.social-item.inst i { color: var(--instagram); }

.channel-link { 
    background: linear-gradient(45deg, #128C7E, #25D366); 
    color: #fff; 
    padding: 20px; 
    border-radius: 20px; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 12px; 
    margin: 15px 0 30px; 
    font-weight: bold; 
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* --- Prices Section (Accordion) --- */
.price-note { 
    background: rgba(212, 175, 55, 0.1); 
    color: var(--gold); 
    padding: 12px; 
    border-radius: 12px; 
    font-size: 0.85rem; 
    margin-bottom: 20px; 
    border-right: 3px solid var(--gold);
}

.accordion { 
    background: #1a1a1a; 
    color: #fff; 
    cursor: pointer; 
    padding: 18px; 
    width: 100%; 
    text-align: right; 
    border: 1px solid #333; 
    border-radius: 15px; 
    margin-bottom: 8px; 
    font-weight: bold; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.accordion i { color: var(--gold); opacity: 0.7; }

.panel { 
    padding: 0 15px; 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.3s ease-out; 
    background: #0c0c0c; 
    border-radius: 0 0 15px 15px; 
}

.price-line { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 0; 
    border-bottom: 1px solid #222; 
    font-size: 0.95rem; 
}

.price-tag { color: var(--gold); font-weight: bold; white-space: nowrap; }

.sub-txt { 
    display: block; 
    font-size: 0.8rem; 
    color: #777; 
    margin-top: 5px; 
    font-weight: normal;
}

/* --- Admin & Footer --- */
.admin-box { 
    margin: 40px 0 30px; 
    padding: 20px; 
    border-radius: 20px; 
    border: 1px dashed #555; 
    background: rgba(255,255,255,0.02); 
}

.admin-box small { color: var(--gold); font-weight: bold; }

.footer { 
    margin-top: 60px; 
    padding: 30px; 
    font-size: 0.8rem; 
    color: #666; 
    border-top: 1px solid #222; 
}

.footer a { 
    color: var(--gold); 
    text-decoration: none; 
    font-weight: bold; 
}