/* نظام الألوان الفخم المستوحى بالكامل من شعار مطعم عم وحيد */
:root {
    --brand-orange: #FF6600;     /* البرتقالي الناري الفاخر المأخوذ من الشعار السائد */
    --brand-teal: #00B4D8;       /* التركواز/اللبني العصري من كلمة وحش الأكلة الشعبية */
    --deep-charcoal: #121214;    /* الخلفية الداكنة الفخمة جداً لإبراز التباين */
    --panel-dark: #1E1E22;       /* لون الألواح والخلفيات الثانوية */
    --pure-white: #FFFFFF;
    --text-muted: #94A3B8;
    --border-color: #2A2A32;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #16161a;
    color: #E2E8F0;
    line-height: 1.7;
}

/* شريط التنقل العلوي الفخم */
.main-header {
    background-color: var(--deep-charcoal);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 3px solid var(--brand-orange);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 25px;
}

.right-block {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle-btn {
    background: linear-gradient(135deg, var(--brand-orange), #C44E00);
    color: var(--pure-white);
    border: 1px solid var(--brand-teal);
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.menu-toggle-btn:hover {
    background: var(--brand-teal);
    color: var(--deep-charcoal);
    transform: scale(1.03);
}

.brand-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--brand-orange);
}

.brand-titles h1 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-orange);
}

.brand-titles span {
    font-size: 0.78rem;
    color: var(--brand-teal);
    display: block;
    font-weight: bold;
}

/* زر حقيبة المشتريات الفخم */
.header-cart-trigger {
    background-color: rgba(255, 102, 0, 0.1);
    border: 1px solid var(--brand-orange);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.header-cart-trigger:hover {
    background-color: var(--brand-orange);
}

.cart-text-label {
    color: var(--pure-white);
    font-weight: 700;
    font-size: 0.9rem;
}

.cart-badge-num {
    background-color: var(--brand-teal);
    color: var(--deep-charcoal);
    font-size: 0.8rem;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 20px;
}

/* القائمة الجانبية التنفيذية الراقية */
.main-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background-color: var(--deep-charcoal);
    color: var(--pure-white);
    z-index: 1050;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    border-left: 3px solid var(--brand-orange);
}

.main-sidebar.open {
    right: 0;
}

.sidebar-header {
    text-align: center;
    position: relative;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--brand-teal);
    margin-bottom: 12px;
}

.sidebar-header h3 {
    color: var(--brand-orange);
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.sidebar-header p {
    font-size: 0.78rem;
    color: var(--brand-teal);
    font-weight: bold;
}

.close-sidebar-btn {
    position: absolute;
    top: -10px;
    left: 0;
    background: none;
    border: none;
    color: var(--brand-orange);
    font-size: 2rem;
    cursor: pointer;
}

.sidebar-nav-links {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.sidebar-nav-links a {
    color: #E2E8F0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.2s;
    display: block;
}

.sidebar-nav-links a:hover {
    background-color: rgba(255, 102, 0, 0.15);
    color: var(--brand-orange);
    padding-right: 22px;
}

.sidebar-nav-links .sidebar-delete-link {
    margin-top: auto;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px dashed #EF4444;
    color: #FCA5A5;
}

.sidebar-nav-links .sidebar-delete-link:hover {
    background-color: #EF4444;
    color: white;
}

.sidebar-footer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

/* البانر الترحيبي الفخم Hero */
.hero-section {
    position: relative;
    background-image: url('t2.jpg');
    background-size: cover;
    background-position: center;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(18, 18, 20, 0.92), rgba(18, 18, 20, 0.85));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.gold-badge {
    border: 1px solid var(--brand-teal);
    color: var(--brand-teal);
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h2 {
    color: var(--pure-white);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-content p {
    color: #CBD5E1;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-cta-btn {
    background-color: var(--brand-orange);
    color: var(--pure-white);
    text-decoration: none;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    border: 1px solid var(--brand-teal);
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
    display: inline-block;
}

.hero-cta-btn:hover {
    background-color: var(--brand-teal);
    color: var(--deep-charcoal);
    transform: translateY(-2px);
}

/* قسم التعريف والفلسفة */
.about-section {
    background-color: var(--panel-dark);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
}

.section-tag {
    display: block;
    color: var(--brand-orange);
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.about-section h2 {
    color: var(--pure-white);
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-p {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* شبكة المنتجات والوجبات الفخمة */
.menu-section {
    padding: 70px 0;
}

.menu-main-title {
    text-align: center;
    font-size: 2.4rem;
    color: var(--brand-orange);
    font-weight: 800;
}

.menu-main-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 50px;
}

.category-block {
    margin-bottom: 60px;
}

.category-header-title {
    font-size: 1.4rem;
    color: var(--pure-white);
    margin-bottom: 25px;
    border-right: 5px solid var(--brand-orange);
    padding-right: 12px;
}

.products-luxury-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.luxury-card {
    background-color: var(--panel-dark);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.luxury-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(255, 102, 0, 0.15);
    border-color: var(--brand-orange);
}

.card-img-holder {
    width: 100%;
    height: 240px;
}

.card-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-details h4 {
    font-size: 1.2rem;
    color: var(--pure-white);
    margin-bottom: 12px;
}

.product-description {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

.card-footer-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.luxury-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--brand-orange);
}

.add-to-cart-action {
    background-color: var(--deep-charcoal);
    color: var(--pure-white);
    border: 1px solid var(--brand-teal);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.add-to-cart-action:hover {
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
}

/* السلة الجانبية */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100%;
    background-color: var(--panel-dark);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    z-index: 1060;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-left: 4px solid var(--brand-orange);
}

.cart-sidebar.open {
    right: 0;
}

.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.close-cart-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    margin-top: 20px;
}

.cart-luxury-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-remove-btn {
    background: none;
    border: none;
    color: #EF4444;
    cursor: pointer;
    font-weight: bold;
}

.cart-sidebar-footer {
    border-top: 2px solid var(--border-color);
    padding-top: 25px;
}

.total-price-box {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

#cart-total-amount {
    color: var(--brand-orange);
}

.official-notice {
    background-color: var(--deep-charcoal);
    padding: 12px;
    border-radius: 8px;
    border-right: 3px solid var(--brand-teal);
    margin-bottom: 20px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.checkout-submit-btn {
    background-color: #22C55E;
    color: white;
    border: none;
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

/* التذييل الفخم */
.main-footer {
    background-color: var(--deep-charcoal);
    color: var(--text-muted);
    text-align: center;
    padding: 40px 20px;
    border-top: 4px solid var(--brand-orange);
}

.footer-logo {
    width: 70px;
    margin-bottom: 15px;
}

/* التجاوب ودعم الشاشات المختلفة */
@media (max-width: 768px) {
    .brand-titles { display: none; }
    .hero-content h2 { font-size: 2rem; }
    .cart-sidebar { width: 100%; right: -100%; }
    .products-luxury-grid { grid-template-columns: 1fr; }
}