/* الألوان مستوحاة مباشرة من هوية bg_logo_circle.png الرسمية والفخمة */
:root {
    --navy-blue: #112240;        /* الكحلي الداكن الفخم المأخوذ من قاعدة اللوجو */
    --steak-orange: #E65C00;     /* البرتقالي الناري الذي يعكس اللهب والشواء الفاخر */
    --light-bg: #F4F6F9;         /* لون الخلفية المريح والراقي للعين لسهولة القراءة والطلب */
    --white: #FFFFFF;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
}

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

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

/* الهيدر وشريط التنقل الرئيسي */
.navbar {
    background-color: var(--navy-blue);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid var(--steak-orange);
    box-shadow: 0 4px 20px rgba(17, 34, 64, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid var(--white);
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--white);
}

.brand-sub {
    font-size: 0.8rem;
    color: #94A3B8;
    display: block;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #E2E8F0;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s, border-bottom 0.2s;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--steak-orange);
}

.nav-links .delete-link {
    color: #94A3B8;
    font-size: 0.85rem;
    border-left: 1px solid #334155;
    padding-left: 15px;
}

/* زر السلة التفاعلي المنسق */
.cart-btn {
    position: relative;
    background-color: var(--steak-orange);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 10px rgba(230, 92, 0, 0.2);
}

.cart-btn:hover {
    background-color: #CC5200;
    transform: scale(1.02);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: var(--white);
    color: var(--navy-blue);
    font-size: 0.75rem;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* البانر التعريفي الفخم (Hero Section) */
.hero-section {
    background-image: linear-gradient(rgba(17, 34, 64, 0.85), rgba(17, 34, 64, 0.9)), url('t6.jpg');
    background-size: cover;
    background-position: center;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 750px;
    margin: 0 auto 25px auto;
    opacity: 0.9;
    line-height: 1.7;
}

.btn-explore {
    background-color: var(--steak-orange);
    color: var(--white);
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(230, 92, 0, 0.3);
}

.btn-explore:hover {
    background-color: var(--white);
    color: var(--navy-blue);
    transform: translateY(-2px);
}

/* قسم "من نحن" التفصيلي */
.about-section {
    background-color: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.about-container {
    max-width: 850px;
    margin: 0 auto;
}

.about-section h2 {
    color: var(--navy-blue);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.about-section p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* ركن شبكة عرض المنتجات */
.menu-container {
    max-width: 1300px;
    margin: 50px auto;
    padding: 0 20px;
}

.menu-title {
    text-align: center;
    color: var(--navy-blue);
    font-size: 2.2rem;
    margin-bottom: 8px;
    font-weight: 800;
}

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

.category-title {
    font-size: 1.5rem;
    color: var(--navy-blue);
    margin: 40px 0 20px 0;
    border-right: 5px solid var(--steak-orange);
    padding-right: 12px;
}

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

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(17, 34, 64, 0.05);
}

.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info h3 {
    font-size: 1.2rem;
    color: var(--navy-blue);
    margin-bottom: 10px;
    font-weight: 700;
}

.desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    height: 66px;
    overflow: hidden;
    margin-bottom: 20px;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #F1F5F9;
}

.price {
    font-weight: 800;
    color: var(--navy-blue);
    font-size: 1.2rem;
}

.add-to-cart-btn {
    background-color: var(--navy-blue);
    color: var(--white);
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.add-to-cart-btn:hover {
    background-color: var(--steak-orange);
}

/* سلة المشتريات الجانبية */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(17, 34, 64, 0.15);
    z-index: 1050;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 25px;
}

.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;
}

.cart-sidebar-header h3 {
    color: var(--navy-blue);
    font-size: 1.2rem;
    font-weight: 700;
}

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

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

.single-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #F1F5F9;
}

.single-cart-item h4 {
    font-size: 0.95rem;
    color: var(--navy-blue);
    margin-bottom: 4px;
}

.btn-remove {
    background: none;
    border: none;
    color: #DC2626;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
}

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

.total-summary {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--navy-blue);
}

.cart-notice-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.4;
    background: #F8FAFC;
    padding: 10px;
    border-radius: 8px;
}

.checkout-whatsapp-btn {
    background-color: #22C55E;
    color: var(--white);
    border: none;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.checkout-whatsapp-btn:hover {
    background-color: #16A34A;
}

/* التذييل الرسمي */
.main-footer {
    background-color: var(--navy-blue);
    color: #94A3B8;
    text-align: center;
    padding: 25px 20px;
    font-size: 0.85rem;
    border-top: 4px solid var(--steak-orange);
}

@media (max-width: 768px) {
    .nav-container { flex-direction: column; gap: 15px; text-align: center; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
    .nav-links .delete-link { border-left: none; padding-left: 0; }
    .cart-sidebar { width: 100%; right: -100%; }
}