/* ==========================================================================
   Sultan Balık - Professional Fine Dining Theme (Merged & Fixed)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Changa:wght@200..800&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

:root {
    /* --- Admin Controlled Variables (Fallbacks) --- */
    /* هذه القيم ستتغير تلقائياً إذا قمت بتعديلها من لوحة التحكم */
    --primary-color: #2A3B55;    /* RAL 5000 Violet Blue Approximation */
    --accent-color: #C5A059;     /* Champagne Gold */
    --bg-dark: #0a101c;          /* Body Background */
    --bg-darker: #0F0F0F;        /* Cards/Sections Background */
    --text-light: #FFFFFF;       /* Main Text */
    --text-muted: #B0B7C3; 
    --bs-secondary-color: #fff;/* Muted Text */
    
    --color-headings: #C5A059;   /* Headings Default */
    --color-button: #C5A059;     /* Buttons Default */
    
    /* Dynamic Borders */
    --border-color-solid: #333333;
    --border-color-faded: rgba(197, 160, 89, 0.2);
    
    /* --- Layout Constants --- */
    --container-width: 1200px;
    --header-height: 90px;
    --border-radius: 4px; /* حواف حادة قليلاً للفخامة */
}

/* ==========================================================================
   1. Base Reset & Typography
   ========================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-dark) !important;
    color: var(--text-light) !important;
    font-family: var(--font-body, sans-serif) !important;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings, serif) !important;
    color: var(--color-headings) !important;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; text-align: center; }
h3 { font-size: 1.8rem; margin-bottom: 1rem; }

p { color: var(--text-muted); margin-bottom: 1.5rem; }
a { color: inherit; text-decoration: none; transition: 0.3s ease; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

@media only screen and (max-width:768px) {
    h1{
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    h3 {
        font-size: 1.4rem;
    }
}


/* --- إصلاحات اللغة العربية (RTL Fixes) --- */
[dir="rtl"] body,
[dir="rtl"] h1, 
[dir="rtl"] h2, 

[dir="rtl"] h4, 
[dir="rtl"] p, 
[dir="rtl"] .form-label, 
[dir="rtl"] .info-card, 
[dir="rtl"] .hero-text-box,
[dir="rtl"] .section-title,
[dir="rtl"] .branch-card {
    text-align: right !important;
    font-family: "Tajawal" !important;
}

[dir="rtl"] h3, [dir="rtl"] .menu-category-title-luxury{
    text-align: center !important;
    font-family: "Tajawal" !important;
}

/* عكس اتجاه القوائم النقطية والرموز */
[dir="rtl"] .list-unstyled li {
    display: flex;
    align-items: center;
    flex-direction: row;
}

[dir="rtl"] .me-2, [dir="rtl"] .me-3 {
    margin-right: 0 !important;
    margin-left: 1rem !important; /* عكس الهوامش للأيقونات */
}

/* إصلاح اتجاه الأكورديون (الأسئلة الشائعة) */
[dir="rtl"] .accordion-button::after {
    margin-left: 0;
    margin-right: auto;
}

/* إصلاح صندوق سياسة الحجز */
[dir="rtl"] .info-card ul li {
    flex-direction: row;
}
/* ==========================================================================
   2. Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0; width: 100%; height: var(--header-height);
    background: rgba(15, 26, 44, 0.95); /* لون داكن شفاف */
    backdrop-filter: blur(10px); 
    z-index: 1000;
    border-bottom: 1px solid var(--border-color-faded);
    display: flex; align-items: center;
}

.nav-container {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 2rem;
}

.logo {
    font-family: var(--font-headings, serif); font-size: 1.8rem;
    color: var(--text-light); text-decoration: none; font-weight: 700;
    display: flex; align-items: center;
}
.logo img { height: 50px; width: auto; filter:brightness(10)}

.nav-menu { display: flex; list-style: none; gap: 2.5rem; margin: 0; }

.nav-link {
    font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px;
    color: var(--text-light); position: relative; padding-bottom: 5px;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--accent-color); }
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
    background: var(--accent-color); transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* Language Dropdown */
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.lang-dropdown { position: relative; }

.lang-dropbtn {
    background: transparent;
    border: 1px solid var(--border-color-faded);
    color: var(--text-muted); padding: 0.5rem 1rem;
    font-size: 0.8rem; cursor: pointer; transition: 0.3s;
    border-radius: var(--border-radius);
    display: flex; align-items: center; gap: 0.5rem;
}
.lang-dropbtn:hover { border-color: var(--accent-color); color: var(--accent-color); }

.lang-dropdown-content {
    display: none; position: absolute; top: 100%; right: 0;
    background: var(--bg-darker); min-width: 100px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color-faded); border-radius: var(--border-radius);
    z-index: 1001;
}
.lang-dropdown:hover .lang-dropdown-content { display: block; }

.lang-dropdown-content a {
    display: block; padding: 10px 15px;
    color: var(--text-muted); font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.lang-dropdown-content a:hover { background: rgba(255,255,255,0.05); color: var(--accent-color); }

/* Header CTA Button */
.cta-button-nav {
    background: transparent;
    border: 1px solid var(--color-button);
    color: var(--color-button);
    padding: 0.6rem 1.5rem; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600;
    display: flex; align-items: center; gap: 0.5rem;
    transition: all 0.3s ease;
}
.cta-button-nav:hover { background: var(--color-button); color: var(--primary-color); }

.mobile-menu-btn { display: none; background: none; border: none; color: var(--text-light); font-size: 1.5rem; cursor: pointer; }
.mobile-lang-selector { display: none; }

/* ==========================================================================
   3. Hero & Images (تم إصلاح مشكلة الصور هنا)
   ========================================================================== */
.hero {
    position: relative; 
    display: flex; align-items: center; justify-content: center;
    text-align: center; 
    background-color: var(--bg-dark); 
    overflow: hidden;
    width: 100%;
}

/* إصلاح ارتفاع الهيرو للصفحة الرئيسية والصفحات الداخلية */
.page-home .hero { height: 100vh; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-inner .hero { height: 50vh; min-height: 400px; margin-top: var(--header-height); 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* إصلاح الصورة الخلفية لتظهر بشكل صحيح */
.hero-video, .hero-image {
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; 
    z-index: 0; /* تأكدنا أن الصورة في الخلفية */
    animation: zoomIn 20s infinite alternate;
}

/* طبقة التعتيم فوق الصورة */
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* تعتيم متوسط */
    z-index: 1; /* فوق الصورة */
}

/* المحتوى النصي فوق كل شيء */
.hero-content { 
    position: relative; 
    z-index: 2; /* في المقدمة */
    max-width: 800px; 
    padding: 0 2rem; 
}

@keyframes zoomIn { from { transform: scale(1); } to { transform: scale(1.1); } }

.hero-text-box {
    text-align: left;
    padding: 2.5rem;
    background: rgba(15, 26, 44, 0.6); /* شفافية أكثر لإظهار الخلفية */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-left: 3px solid var(--accent-color); 
    border-radius: 4px;
    max-width: 600px;
    position: absolute;
    bottom: 15%;
    left: 10%;
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* دعم اللغة العربية (RTL) */
[dir="rtl"] .hero-text-box {
    text-align: center;
    border-left: none;
    border-right: 3px solid var(--accent-color);
    left: 50%;
    right: 10%;
}

.hero-text-box h1 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-text-box p.lead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* --- تحسينات الموبايل الجذرية --- */
@media (max-width: 768px) {
    .hero-text-box {
        position: absolute; /* الحفاظ على المطلق */
        bottom: 50%; /* توسيط عمودي تقريبي */
        left: 50%;
        transform: translate(-50%, 50%); /* إزاحة للتوسيط الحقيقي */
        width: 90%;
        max-width: 90%;
        margin: 0;
        text-align: center;
        
        /* إزالة البوردر الجانبي السميك للمظهر الأنظف */
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        
        /* خلفية أفتح وأكثر شفافية */
        background: rgba(10, 15, 25, 0.65);
        backdrop-filter: blur(8px);
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    
    [dir="rtl"] .hero-text-box {
        right: auto;
        border-right: 1px solid rgba(255, 255, 255, 0.1); /* توحيد البوردر */
    }

    .hero-text-box .text-uppercase {
        font-size: 0.8rem;
        letter-spacing: 2px !important;
        margin-bottom: 0.5rem !important;
    }

    .hero-text-box h1 {
        font-size: 1.8rem; /* تصغير العنوان ليتناسب مع الشاشة */
        margin-bottom: 0.8rem;
    }

    .hero-text-box p.lead {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        display: -webkit-box;
        -webkit-line-clamp: 3; /* اختصار النص الطويل إن وجد */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* جعل الزر أعرض */
    .hero-text-box .cta-button {
        width: 100%;
        display: block;
        padding: 0.8rem;
    }
}

.hero-title {
    font-size: 3.5rem; color: var(--text-light); margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero-subtitle {
    font-size: 1.3rem; color: #e0e0e0;
    font-family: var(--font-headings); font-style: italic;
}

/* ==========================================================================
   4. Menu Styling (تم إصلاح تنسيق المنيو)
   ========================================================================== */
/* Filter Bar (Sticky) */
.menu-filter-bar {
    position: sticky; top: var(--header-height); 
    background-color: rgba(15, 26, 44, 0.95); 
    backdrop-filter: blur(10px); z-index: 900;
    border-bottom: 1px solid var(--border-color-faded);
    padding: 0.8rem 0; overflow-x: auto; white-space: nowrap;
}
.menu-filter-container { display: flex; justify-content: flex-start; gap: 0.5rem; }

.filter-nav-btn {
    display: inline-block; padding: 0.6rem 1.2rem;
    text-decoration: none; font-weight: 600; font-size: 0.9rem;
    color: var(--text-muted); background: transparent;
    border: 1px solid transparent; border-radius: 5px;
    transition: all 0.3s ease;
}
.filter-nav-btn:hover { color: var(--text-light); background-color: rgba(255,255,255,0.05); }
.filter-nav-btn.active { 
    color: var(--color-button); border-color: var(--color-button); 
    background-color: rgba(197, 160, 89, 0.1); 
}

/* Menu Group Headers - تنسيق العناوين الكبيرة */
.menu-main-group { margin-bottom: 5rem; }
.menu-main-group-title {
    font-size: 3rem; text-align: center; margin-bottom: 3rem;
    color: var(--color-headings);
    border-bottom: 2px solid var(--accent-color); padding-bottom: 1rem;
    display: inline-block; position: relative; left: 50%; transform: translateX(-50%);
}

/* Menu Category & Items - تنسيق العناصر */
.category-section-luxury { margin-bottom: 3rem; }
.menu-category-title-luxury {
    font-size: 1.8rem; color: var(--accent-color); text-align: center;
    margin-bottom: 2.5rem; font-weight: 700; position: relative;
}
/* الخط الذهبي تحت اسم القسم */
.menu-category-title-luxury::after {
    content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
    width: 100px; height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
}

.menu-grid-luxury { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }

.menu-item-luxury {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem;
    padding-bottom: 1.5rem; 
    border-bottom: 1px dashed var(--border-color-faded); /* الخط المتقطع */
}
.menu-item-details { flex: 1; }
.menu-item-title { 
    font-family: var(--font-headings); font-size: 1.3rem; 
    color: var(--text-light); margin-bottom: 0.25rem; 
}
.menu-item-description { 
    font-family: var(--font-body); color: var(--text-muted); 
    font-size: 0.95rem; line-height: 1.6; margin-bottom: 0; 
}
.menu-item-price { 
    font-family: var(--font-headings); font-size: 1.3rem; 
    color: var(--accent-color); font-weight: 600; white-space: nowrap; 
}

/* ==========================================================================
   5. Buttons & Cards
   ========================================================================== */
.cta-button, .submit-btn {
    display: inline-block;
    background-color: var(--color-button);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    font-family: var(--font-body, sans-serif);
    font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
    border: 1px solid var(--color-button); border-radius: var(--border-radius);
    cursor: pointer; transition: all 0.3s ease;
    text-decoration: none;
}
.cta-button:hover, .submit-btn:hover { background-color: transparent; color: var(--color-button); }

.cta-button-outline {
    display: inline-block; background: transparent;
    border: 1px solid var(--color-button); color: var(--color-button);
    padding: 0.8rem 2rem; border-radius: var(--border-radius);
    font-weight: 600; transition: all 0.3s ease; text-transform: uppercase;
}
.cta-button-outline:hover { background: var(--color-button); color: var(--primary-color); }

/* General Cards (Services, etc) */
.menu-card, .branch-card, .branch-card-large {
    background: var(--bg-darker); border: 1px solid var(--border-color-faded);
    border-radius: var(--border-radius); overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease; height: 100%;
}
.menu-card:hover, .branch-card:hover {
    transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border-color: var(--accent-color);
}
.menu-image { width: 100%; height: 250px; object-fit: cover; }
.menu-content, .branch-card { padding: 2rem; }
.menu-title, .branch-name { color: var(--text-light); font-size: 1.4rem; margin-bottom: 0.5rem; }
.menu-description, .branch-info { font-size: 0.95rem; color: var(--text-muted); }

/* Large Branch Card */
.branch-card-large {
    position: relative; min-height: 500px; background-size: cover; background-position: center;
    transition: transform 0.4s ease;
}
.branch-card-large:hover { transform: scale(1.02); }
.branch-card-content {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 2.5rem;
    background: linear-gradient(to top, rgba(15, 26, 44, 0.95), rgba(15, 26, 44, 0));
}

/* Testimonials */
.testimonial-card {
    background: var(--bg-darker); border: 1px solid var(--border-color-faded);
    border-radius: var(--border-radius); padding: 2.5rem; position: relative;
    transition: transform 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-5px); border-color: var(--accent-color); }
.testimonial-card::before {
    content: '"'; font-family: var(--font-headings); font-size: 5rem;
    color: var(--accent-color); opacity: 0.2; position: absolute; top: 10px; left: 20px;
}
.testimonial-text { font-style: italic; color: #dedede; margin-bottom: 1.5rem; line-height: 1.6; }
.testimonial-author { color: var(--accent-color); font-weight: bold; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }
.stars { color: #FFD700; margin-bottom: 1rem; font-size: 0.9rem; }

/* ==========================================================================
   6. Sections & Features
   ========================================================================== */
.section { padding: 6rem 0; }
.section-title { position: relative; padding-bottom: 1rem; margin-bottom: 3rem; text-align: center; }
.section-title::after {
    content: ''; display: block; width: 60px; height: 3px;
    background: var(--accent-color); margin: 1rem auto 0;
}

/* Features Strip (Overlap Effect) */
.features-strip {
    background: var(--bg-darker); position: relative; z-index: 10;
    padding: 3rem 2rem; border-top: 4px solid var(--accent-color);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3); border-radius: var(--border-radius);
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem;
    text-align: center;
    margin-top: -60px; /* يسحب العنصر للأعلى ليتداخل مع الهيرو */
}
.feature-item i { font-size: 2.5rem; color: var(--text-light); margin-bottom: 1rem; transition: 0.3s; }
.feature-item:hover i { color: var(--accent-color); transform: translateY(-5px); }
.feature-item h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 2px; margin: 0; color: var(--accent-color); }

/* Experience Section (Text + Image) */
.experience-section { display: flex; align-items: center; gap: 4rem; margin-bottom: 6rem; }
.experience-section.reverse { flex-direction: row-reverse; }
.experience-text { flex: 1; }
.experience-text h2 { text-align: left; font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--text-light); }
[dir="rtl"] .experience-text h2 { text-align: right; }
.experience-text p { font-size: 1.1rem; line-height: 1.8; color: var(--text-muted); }

.experience-img-wrapper { flex: 1; position: relative; }
.experience-img {
    width: 100%; border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4); border: 1px solid var(--border-color-faded);
    transition: transform 0.5s ease;
}
.experience-section:hover .experience-img { transform: scale(1.02); }

/* Image Frames (Gold Border Offset) */
.image-frame-wrapper { position: relative; padding: 1rem; }
.image-frame-border {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border: 2px solid var(--accent-color); z-index: 0;
    transform: translate(-15px, -15px);
}
[dir="rtl"] .image-frame-border { transform: translate(15px, -15px); }
.image-frame-img { position: relative; z-index: 1; width: 100%; border-radius: var(--border-radius); }

/* Gallery Grid */
.gallery-grid-luxury { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 3rem; }
.gallery-item { height: 300px; overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-column: span 2; }

/* ==========================================================================
   7. Forms (Reservation & Contact)
   ========================================================================== */
.reservation-form, #contactForm {
    background: var(--bg-darker);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color-faded);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.form-group { margin-bottom: 1.5rem; }
.form-label {
    display: block; margin-bottom: 0.5rem;
    color: var(--accent-color) !important; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
}
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 1rem; background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color-faded); color: var(--text-light);
    border-radius: var(--border-radius); transition: 0.3s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none; border-color: var(--accent-color);
    background: rgba(0,0,0,0.4); box-shadow: 0 0 10px rgba(197, 160, 89, 0.1);
}
.form-textarea { resize: vertical; min-height: 100px; }

/* ==========================================================================
   8. Footer & Floating UI
   ========================================================================== */
.footer {
    background: var(--bg-darker); padding: 5rem 0 2rem; 
    border-top: 1px solid var(--border-color-faded); margin-top: 6rem;
    color: var(--text-muted);
}
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-section h3 {
    font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 1.5rem; border-left: 3px solid var(--accent-color); padding-left: 1rem;
    color: var(--text-light);
}
[dir="rtl"] .footer-section h3 { border-left: none; border-right: 3px solid var(--accent-color); padding-left: 0; padding-right: 1rem; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.8rem; }
.footer-section a:hover { color: var(--accent-color); padding-left: 5px; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; font-size: 0.9rem; }

/* Floating Buttons (WhatsApp / Call) */
.floating-cta { position: fixed; bottom: 20px; left: 20px; z-index: 998; display: flex; flex-direction: column; gap: 0.5rem; }
.cta-btn {
    width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: all 0.3s ease; font-size: 1.5rem;
}
.cta-btn:hover { transform: scale(1.1); }
.whatsapp-btn { background-color: #25D366; color: #fff; }
.call-btn { background-color: var(--color-button); color: var(--primary-color); }
[dir="rtl"] .floating-cta { left: auto; right: 20px; }

/* Utilities: Toast & Spinner */
.toast {
    position: fixed; top: 100px; right: 20px; background: var(--bg-darker);
    border: 1px solid var(--accent-color); padding: 1rem 1.5rem; border-radius: 5px;
    z-index: 2000; animation: slideIn 0.3s ease; color: var(--text-light);
}
.toast.success { border-color: #28a745; }
.toast.error { border-color: #dc3545; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.animate-on-scroll { 
    opacity: 0; 
/*transform: translateY(30px); */
transition: 0.8s ease-out; }

[dir="rtl"] .menu-main-group-title{
    left: none!important;
right: 50%;
    transform: translateX(50%);
}
/* ==========================================================================
   9. Responsive Design
   ========================================================================== */
@media (max-width: 900px) {
    /* Header Mobile Logic */
    .nav-menu, .nav-right { display: none; }
    .mobile-menu-btn { display: block; background: none; border: none; color: var(--text-light); font-size: 1.5rem; cursor: pointer; }
    
    .nav-menu.active {
        display: flex; flex-direction: column; position: fixed; top: var(--header-height); left: 0; width: 100%;
        height: calc(100vh - var(--header-height)); background: var(--bg-dark);
        padding: 2rem; border-top: 1px solid var(--accent-color);
        transform: translateX(-100%); transition: transform 0.3s ease-in-out;
        z-index: 999;
    }
    .nav-menu.active { transform: translateX(0); }
    [dir="rtl"] .nav-menu { right: 0; left: auto; transform: translateX(100%); }
    [dir="rtl"] .nav-menu.active { transform: translateX(0); }

    .nav-link { font-size: 1.2rem; margin-bottom: 1rem; }
    
    /* Mobile Language Selector */
    .mobile-lang-selector { display: block; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; }
    .mobile-lang-selector .language-selector { display: flex; justify-content: center; gap: 1rem; }
    .mobile-lang-selector a { padding: 5px 15px; background: var(--bg-darker); color: #fff; text-decoration: none; border-radius: 4px; }
    .mobile-lang-selector a.active { background: var(--color-button); color: var(--primary-color); }

    /* Layout Adjustments */
    .hero-title { font-size: 2.5rem; }
    .hero-text-box { width: 100%; border-radius: 4px; }
    .features-strip { margin-top: 2rem; grid-template-columns: 1fr 1fr; }
    .experience-section, .experience-section.reverse { flex-direction: column; gap: 2rem; }
    .image-frame-border { display: none; }
    
    .menu-main-group-title { font-size: 2.2rem; }
    .menu-grid-luxury { grid-template-columns: 1fr; gap: 1.5rem; }
    
    .gallery-grid-luxury { grid-template-columns: 1fr; }
    .gallery-item:nth-child(n) { grid-column: span 1; }
    
    
    [dir="rtl"] .menu-main-group-title{
        left: none !important;
        right: 10%;
        transform: translateX(-50%);
    }
}

/* --- Navigation Dropdown (For Branches) --- */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item-dropdown:hover .nav-dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-darker);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color-faded);
    border-radius: var(--border-radius);
    z-index: 1001;
    padding: 0.5rem 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* RTL Support */
[dir="rtl"] .nav-dropdown-content {
    left: auto;
    right: 0;
}

.nav-dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
    text-align: left;
}

[dir="rtl"] .nav-dropdown-content a {
    text-align: right;
}

.nav-dropdown-content a:last-child {
    border-bottom: none;
}

.nav-dropdown-content a:hover {
    background-color: rgba(197, 160, 89, 0.1);
    color: var(--accent-color);
    padding-left: 25px; /* تأثير حركة بسيط */
}

[dir="rtl"] .nav-dropdown-content a:hover {
    padding-left: 20px;
    padding-right: 25px;
}