
/* --- المتغيرات والألوان (ثيم أحمر وزهري فاقع) --- */
:root {
    --primary: #ff0055;       /* لون زهري فاقع/أحمر */
    --secondary: #D4145A;     /* أحمر ياقوتي */
    --dark-bg: #1a0b12;       /* خلفية داكنة مائلة للأحمر */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.15);
    --text-white: #ffffff;
    --text-gray: #e0e0e0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --gradient: linear-gradient(45deg, #ff0055, #ff5e62);
}

/* --- إعدادات عامة + شريط التمرير المخصص --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* تخصيص السكرول بار (عصري وشفاف) */
::-webkit-scrollbar {
    width: 10px;
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
    border: 2px solid var(--dark-bg);
}

::-webkit-scrollbar-track {
    background: transparent;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- دعم اللغة الإنجليزية LTR --- */
html[dir="ltr"] body {
    font-family: 'Poppins', sans-serif; /* خط مناسب للانجليزية */
}
html[dir="ltr"] .reveal-left { transform: translateX(-50px); }
html[dir="ltr"] .reveal-right { transform: translateX(50px); }
html[dir="ltr"] .arrow-icon { transform: rotate(180deg); }


/* --- خلفية متحركة (Blobs) --- */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: moveBlob 15s infinite alternate;
}

.b1 { top: -10%; right: -10%; width: 600px; height: 600px; background: #ff0055; }
.b2 { bottom: -10%; left: -10%; width: 500px; height: 500px; background: #620d32; }
.b3 { top: 40%; left: 30%; width: 300px; height: 300px; background: #ff5e62; opacity: 0.3; }
.b4 { bottom: 20%; right: 10%; width: 200px; height: 200px; background: #D4145A; }

@keyframes moveBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.1); }
}

/* --- الزجاج (Glassmorphism) --- */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

/* --- النافبار --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: 0.4s;
}
.navbar.scrolled {
    padding: 0.8rem 8%;
    background: rgba(26, 11, 18, 0.9);
}

.logo {
    font-family: 'Reem Kufi', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}
.highlight { color: var(--primary); }
.text-gradient { 
    background: var(--gradient); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: #fff; font-weight: 600; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); text-shadow: 0 0 10px var(--primary); }

.nav-buttons { display: flex; align-items: center; gap: 15px; } /* تعديل */

.lang-switch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-main {
    padding: 10px 25px;
    background: var(--gradient);
    border: none;
    border-radius: 30px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.4);
    display: inline-flex; align-items: center; gap: 8px; /* تعديل */
}
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 0 25px rgba(255, 0, 85, 0.7); }


.menu-toggle { display: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* --- الهيرو (القسم الرئيسي) --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 8% 50px;
    gap: 40px;
}

.hero-text { flex: 1; z-index: 2; }
.hero-text h4 { color: var(--primary); font-size: 1.2rem; margin-bottom: 10px; letter-spacing: 1px; }
.hero-text h1 { font-size: 4rem; line-height: 1.2; margin-bottom: 20px; font-family: 'Reem Kufi'; }
.hero-text p { color: var(--text-gray); font-size: 1.1rem; margin-bottom: 30px; max-width: 500px; }

.cta-group { display: flex; gap: 15px; margin-bottom: 40px; }
.btn-glass {
    padding: 10px 25px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-glass:hover { background: rgba(255,255,255,0.2); }

.hero-stats {
    display: flex;
    gap: 30px;
    padding: 20px;
    border-radius: 15px;
    width: fit-content;
}
.stat-item { text-align: center; }
.stat-item span { font-weight: bold; font-size: 1.5rem; color: var(--primary); display: block; }
.stat-item p { font-size: 0.8rem; color: #ccc; }

.hero-img { flex: 1; position: relative; display: flex; justify-content: center; }
.circle-bg {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    border: 2px solid rgba(255, 0, 85, 0.3);
    z-index: 0;
    max-height: 1500px;
    margin-top: -200px;
    animation: spin 20s linear infinite;
}
.floating-img {
    width: 100%;
    max-width: 500px;
    z-index: 1;
    border-radius: 20px;
    transform: rotate(-5deg);
    animation: floatImg 4s ease-in-out infinite alternate;
}

.floating-card1 {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 15px;
    border-radius: 15px;
    z-index: 2;
    animation: floatCard 5s ease-in-out infinite alternate-reverse;
}
.text-warning { color: #ffd700; font-size: 0.8rem; }

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes floatImg { from { transform: translateY(0) rotate(-5deg); } to { transform: translateY(20px) rotate(-5deg); } }
@keyframes floatCard { from { transform: translateY(0); } to { transform: translateY(-15px); } }


.floating-card2 {
    position: absolute;
    bottom: 120px;
    right: 800px;
    padding: 15px;
    border-radius: 15px;
    z-index: 2;
    animation: floatCard 5s ease-in-out infinite alternate-reverse;
}
.text-warning { color: #ffd700; font-size: 0.8rem; }

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes floatImg { from { transform: translateY(0) rotate(-5deg); } to { transform: translateY(20px) rotate(-5deg); } }
@keyframes floatCard { from { transform: translateY(0); } to { transform: translateY(-15px); } }



.floating-card3 {
    position: absolute;
    bottom: 170px;
    right: 1000px;
    padding: 15px;
    border-radius: 15px;
    z-index: 2;
    animation: floatCard 5s ease-in-out infinite alternate-reverse;
}
.text-warning { color: #ffd700; font-size: 0.8rem; }

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes floatImg { from { transform: translateY(0) rotate(-5deg); } to { transform: translateY(20px) rotate(-5deg); } }
@keyframes floatCard { from { transform: translateY(0); } to { transform: translateY(-15px); } }




.floating-card4 {
    position: absolute;
    bottom: 390px;
    right: 1050px;
    padding: 15px;
    border-radius: 15px;
    z-index: 2;
    animation: floatCard 5s ease-in-out infinite alternate-reverse;
}
.text-warning { color: #ffd700; font-size: 0.8rem; }

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes floatImg { from { transform: translateY(0) rotate(-5deg); } to { transform: translateY(20px) rotate(-5deg); } }
@keyframes floatCard { from { transform: translateY(0); } to { transform: translateY(-15px); } }




/* --- المميزات --- */
.features { padding: 50px 8%; }
.features .container { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.feature-box {
    flex: 1;
    min-width: 250px;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: 0.4s;
}
.feature-box:hover { transform: translateY(-10px); background: rgba(255,255,255,0.1); }
.icon-large { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }

/* --- القائمة --- */
.menu-section { padding: 80px 8%; }
.section-header { margin-bottom: 50px; position: relative; }
.section-header.center { text-align: center; }
.subtitle { color: var(--primary); font-weight: bold; font-size: 1rem; }
.section-header h2 { font-size: 2.5rem; margin-top: 5px; font-family: 'Reem Kufi'; }
.line { width: 80px; height: 3px; background: var(--primary); margin: 15px auto; border-radius: 2px; }

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.product-card {
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}
.product-card:hover { transform: scale(1.03); border-color: var(--primary); }
.img-box { position: relative; height: 220px; overflow: hidden; }
.img-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.product-card:hover img { transform: scale(1.1); }
.tag {
    position: absolute;
    top: 10px; right: 10px;
    background: var(--primary);
    color: #fff;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}
html[dir="ltr"] .tag { right: auto; left: 10px; } /* LTR fix */


.details { padding: 20px; }
.details h3 { margin-bottom: 5px; font-size: 1.2rem; }
.details p { color: #aaa; font-size: 0.9rem; margin-bottom: 15px; }
.price-row { display: flex; justify-content: space-between; align-items: center; }
.price { color: var(--primary); font-weight: bold; font-size: 1.3rem; }
.add-btn {
    background: var(--text-white);
    color: var(--primary);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}
.add-btn:hover { background: var(--primary); color: #fff; }

/* ++++ معرض الصور الجديد ++++ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.gallery-item {
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.gallery-item:hover img { transform: scale(1.1); }


/* --- قسم الشيف --- */
.chef-section { padding: 80px 8%; }
.chef-container {
    display: flex;
    align-items: center;
    border-radius: 30px;
    overflow: hidden;
    flex-wrap: wrap;
}
.chef-text { flex: 1; padding: 50px; min-width: 300px; }
.chef-text p { margin: 20px 0; color: #ccc; }
.chef-text em { color: var(--primary); font-size: 1.1rem; display: block; margin-top: 15px; }
.signature { font-family: 'Reem Kufi'; font-size: 2rem; color: rgba(255,255,255,0.3); margin-top: 30px; }
.chef-img { flex: 1; height: 100%; min-width: 300px; }
.chef-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- الآراء --- */
.reviews-section { padding: 50px 8%; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card { padding: 30px; border-radius: 20px; position: relative; }
.review-card p { margin: 15px 0; color: #ddd; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 15px; }
.reviewer img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--primary); }

/* --- الفوتر --- */
footer { padding: 60px 8% 20px; margin-top: 50px; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.col h3 { color: #fff; margin-bottom: 20px; font-family: 'Reem Kufi'; }
.col ul li { list-style: none; margin-bottom: 10px; }
.col ul li a { color: #aaa; text-decoration: none; transition: 0.3s; }
.col ul li a:hover { color: var(--primary); padding-right: 5px; }
.social-icons a { color: #fff; font-size: 1.2rem; margin-left: 15px; transition: 0.3s; }
.social-icons a:hover { color: var(--primary); }
.copyright { text-align: center; color: #777; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; }

/* ++++ نافذة الحجز (Popup) ++++ */
.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}
.modal.open { display: flex; }
.modal-overlay {
    position: absolute;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}
.modal-content {
    position: relative;
    width: 90%; max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    z-index: 2001;
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes modalPop { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.close-modal {
    position: absolute;
    top: 15px; left: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
    transition: 0.3s;
}
html[dir="ltr"] .close-modal { left: auto; right: 20px; } /* LTR fix */

.close-modal:hover { color: var(--primary); }

.modal-header { text-align: center; margin-bottom: 30px; }
.modal-header h2 { font-family: 'Reem Kufi'; margin-bottom: 5px; color: var(--primary); }

.form-group { margin-bottom: 20px; text-align: right; }
html[dir="ltr"] .form-group { text-align: left; }


.form-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: #ccc; }
.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #fff;
    outline: none;
    transition: 0.3s;
}
.form-group input:focus, .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.2);
}
.form-group select option { background: #1a0b12; color: #fff; }
.row { display: flex; gap: 15px; }
.row .form-group { flex: 1; }
.full-width { width: 100%; margin-top: 10px; }


/* --- التجاوب --- */
@media (max-width: 992px) {
    .hero { flex-direction: column-reverse; text-align: center; padding-top: 120px; }
    .hero-text h1 { font-size: 3rem; }
    .hero-stats { margin: 0 auto; }
    .cta-group { justify-content: center; }
    .chef-container { flex-direction: column-reverse; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-buttons { display: none; } /* قد نخفي الأزرار أو نضعها داخل القائمة */
    .menu-toggle { display: block; }
    .row { flex-direction: column; gap: 0; }
}

/* Animations Classes */
.reveal-left { opacity: 0; transform: translateX(50px); transition: 1s; }
.reveal-right { opacity: 0; transform: translateX(-50px); transition: 1s; }
.reveal-bottom { opacity: 0; transform: translateY(50px); transition: 1s; }
.active { opacity: 1; transform: translate(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }