/* ============================================
   موقع سياحي - أنماط CSS الرئيسية
   Travel Website - Main CSS Styles
   ============================================ */

/* ============================================
   استيراد الخطوط
   ============================================ */
/* Font Faces */
@font-face {
    font-family: 'SwissraCondensed-Medium';
    src: url('/assets/fonts/SwissraCondensed-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Adobe-Arabic';
    src: url('/assets/fonts/Adobe Arabic Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ah-naskh-hadith';
    src: url('/assets/fonts/Ah-naskh-hadith Regular.ttf') format('truetype');

    font-weight:normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ALQASSAM-EXTENDED';
    src: url('/assets/fonts/Al-Qassam-Extended.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'GEDinarTWO';
    src: url('/assets/fonts/GEDinarTWOMedium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'kalinga-bold';
    src: url('/assets/fonts/kalinga-bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* ============================================
   1. متغيرات CSS والألوان الأساسية
   ============================================ */
:root {
    /* الألوان المتدرجة للرأس */
    --gradient-color-1: #2a4a91;
    --gradient-color-2: #317fbc;
    --gradient-color-3: #327fba;
    --gradient-color-4: #314d8f;
    --cobutton:#4f58ff;
    --cbutton:#000df4;   
    /* الألوان الأساسية */
    --primary-dark2: #3271b9de;
    --primary-dark: #003366;
    --primary-blue: #2d4f80;
    --primary-light: #66CC00;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --border-gray: #DDDDDD;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    
    /* الخطوط */
    --font-family-main: 'GEDinarTWO';
    --font-family-title: 'Ah-naskh-hadith';
    --font-family-title2: 'SwissraCondensed-Medium', 'Cairo', 'Droid Arabic Sans',  sans-serif;
    --font-size-base: 16.25pt;
    --font-size-large: 22px;
    --font-size-xlarge: 30px;
    --font-size-xxlarge: 29pt;
    
    /* المسافات */
    --spacing-xs: 8px;
    --spacing-sm: 15px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
}
@font-face {
    font-family: 'Ah-naskh-hadith Regular';
    src: url('../Ah-naskh-hadith Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* ============================================
   2. إعادة تعيين عام وأنماط أساسية
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-main);
    font-size: var(--font-size-base);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

html.lang-en body {
    font-family: 'Inter', Arial, sans-serif;
}

html.lang-en .nav-link,
html.lang-en .nav-link .nav-text,
html.lang-en .nav-link span {
    font-family: 'NimbusSans Becker L* Regular', 'Nimbus Sans', 'Inter', Arial, sans-serif;
    font-size: 14px;
    font-weight: 100;
}



html.lang-en .footer,
html[dir="ltr"] .footer {
    direction: ltr;
}

html.lang-en .footer-content,
html[dir="ltr"] .footer-content {
    direction: ltr;
}

html.lang-en .footer-grid,
html[dir="ltr"] .footer-grid {
    direction: ltr;
    justify-content: flex-start;
}

html.lang-en .footer-column,
html[dir="ltr"] .footer-column {
    text-align: left;
}

html.lang-en .footer-title,
html.lang-en .footer-links a,
html.lang-en .copyright,
html.lang-en .footer-bottom,

html[dir="ltr"] .footer-links a,
html[dir="ltr"] .copyright,
html[dir="ltr"] .footer-bottom {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: bold;
  
}html[dir="ltr"] .footer-title
{  font-size: 22px;
    font-weight:bold;}

html.lang-en .copyright,
html[dir="ltr"] .copyright {
    direction: rtl;
    text-align: right;
}

html.lang-en .footer-bottom-content,
html[dir="ltr"] .footer-bottom-content {
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

html[dir="ltr"] .submenu {
    left: 100%;
    right: auto;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.1);
}

html[dir="ltr"] .dropdown-link,
html[dir="ltr"] .submenu li a {
    text-align: left;
}

html[dir="ltr"] .dropdown-menu::before {
    left: 20px;
    right: auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    padding: 0;
}


.container-header {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   3. رأس الموقع - Header
   ============================================ */
.header {
    background-color: var(--white);
   /* box-shadow: var(--shadow);*/
    position: sticky;
    top: 0;
    z-index: 1000;
}

html[dir="ltr"] .dropdown-menu {
    left: 0;
    right: auto;
}

/* شريط الألوان المتدرج العلوي */
.header-gradient-bar {
    height: 42.5px;
    background: linear-gradient(90deg, 
        var(--gradient-color-1) 0%, 
        var(--gradient-color-2) 33%, 
        var(--gradient-color-3) 66%, 
        var(--gradient-color-4) 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.header-main {
    padding:  0;
    /*background-color: var(--white);*/
    border: none;
}

/* ============================================
   تحديثات الهيدر 
 تجربة
/* ============================================*/
.top-bar-container {
   
      flex-wrap: wrap; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 45px; /* ارتفاع ثابت ومريح */
}

/* المجموعات اليمنى واليسرى */
.top-left-side, .top-right-side {
    display: flex;
    align-items: center;
    height: 100%;
}

html[dir="ltr"] .header-gradient-bar {
    flex-direction: row-reverse;
}

/* تنسيق كل عنصر على حدة مع الخط الفاصل */
.top-item {
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.2); /* الخطوط الفاصلة */
    height: 100%;
    font-size: 13px;
    white-space: nowrap; /* يمنع نزول النص لسطر جديد */
    gap: 10px;
    font-family: 'Montserrat', 'Cairo', sans-serif; 
    font-size: 13px; /* الحجم المثالي للشريط العلوي */
    font-weight: 500; /* ليعطي سماكة خفيفة واضحة */
    letter-spacing: 0.5px; /* مسافة بسيطة بين الحروف اللاتينية لزيادة الوضوح */
    color: #ffffff;
}

.lang-toggle {
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    color: #ffffff;
    font: inherit;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    line-height: 1;
}

.lang-toggle:focus {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
}

/* أيقونات التواصل الاجتماعي */
.top-mini {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 10px;
}

.top-mini a {
    color: white;
    margin: 0 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.top-mini img {
    width: 16px;
    filter: brightness(0) invert(1); /* تحويل الأيقونات للون الأبيض */
}

/* إشعار تراخيص الصور — سطر واحد خافت */
.cc-note {
    font-size: 11px;
    opacity: 0.6;
    margin: 4px 0 0;
    font-weight: normal;
    white-space: nowrap;
}

/* أعلام اللغة — صور SVG محلية */
.lg-ic {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    flex-shrink: 0;
    object-fit: cover;
}

/* محوّل اللغة: علم + نص بسطر واحد */
#selected-lang-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.top-dropdown-menu li a.lang-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 11.5px;
    white-space: nowrap;
    padding: 8px 12px;
}

/* أيقونات العلامات — بأسماء محايدة عبر خط البراندز */
.ic { font-style: normal; }
.ic::before { font-family: "Font Awesome 6 Brands"; font-weight: 400; }
.ic-wa::before { content: "\f232"; }
.ic-x::before  { content: "\e61b"; }
.ic-tt::before { content: "\e07b"; }
.ic-sc::before { content: "\f2ab"; }
.ic-ig::before { content: "\f16d"; }
.ic-fb::before { content: "\f39e"; }
.ic-yt::before { content: "\f167"; }
.ic-tw::before { content: "\f099"; }
.ic-in::before { content: "\f0e1"; }
.ic-gp::before { content: "\f0d5"; }
.ic-sh::before { font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f1e0"; }

/* إخفاء آخر خط فاصل */
.top-item:last-child {
    border-right: none;
}

/*-----*/
/* ترقيم صفحات مرقّم مشترك */
.pgn-pager {
    max-width: 1200px;
    margin: 34px auto 46px;
    padding: 0 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    direction: ltr; /* الأرقام تُقرأ دائماً من اليسار لليمين */
}

.pgn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #b9c4d4;
    background: #e8ecf2;
    color: #334155;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: .15s;
}

.pgn-btn:hover {
    background: #dbe4f0;
}

.pgn-btn.active {
    background: #ffffff;
    border-color: #2b3492;
    color: #2b3492;
    box-shadow: 0 0 0 1px #2b3492 inset;
}

.pgn-btn.arrow {
    background: #dfe6ee;
    font-size: 16px;
}

.pgn-dots {
    color: #94a3b8;
    padding: 0 4px;
}

.has-dropdown1 {
    position: relative; /* ضروري لتموضع القائمة بالنسبة لها */
    cursor: pointer;
}

/* القائمة المخفية */
.top-dropdown-menu {
    position: absolute;
    top: 100%; /* تظهر أسفل العنصر تماماً */
    left: 50%;
    transform: translateX(-50%) translateY(10px); /* إزاحة طفيفة لأسفل */
    background-color: #ffffff;
    min-width: 120px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 4px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease; /* سرعة الظهور */
}

/* ظهور القائمة عند تمرير الماوس (Hover) */
/* ملحوظة: يمكنك تغييرها إلى الضغط عبر JS إذا أردت */
.has-dropdown1.is-open .top-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* لتدوير السهم عند الفتح */
.has-dropdown1.is-open .dropdown-trigger i {
    transform: rotate(180deg);
}

/* منع إغلاق القائمة عند الضغط بداخلها */
.top-dropdown-menu {
    cursor: auto;
}

/* تنسيق الروابط داخل القائمة */
.top-dropdown-menu li a {
    display: block;
    padding: 8px 15px;
    color: #333 !important; /* لون النص داخل القائمة */
    font-size: 12px;
    text-decoration: none;
    transition: background 0.2s;
    text-align: center;
}

.top-dropdown-menu li a:hover {
    background-color: #f5f5f5;
    color: #3b71b9 !important; /* تغيير اللون عند التمرير */
}

/* السهم الصغير أعلى القائمة (مثلث) */
.top-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ffffff;
}

/* في الجوال: إخفاء بيانات التواصل فقط وإبقاء اللغة والعملة والحساب */
@media (max-width: 768px) {
    .top-left-side {
        display: none !important;
    }

    .top-bar-container {
        display: flex !important;
        justify-content: center;
    }

    .top-right-side {
        width: 100%;
        justify-content: space-between;
    }

    .top-right-side .top-item {
        flex: 1;
        justify-content: center;
        padding: 0 8px;
        font-size: 12px;
    }
}



/* --- التجاوب للشاشات المتوسطة والكبيرة (أعلى من 768px) --- */
@media (min-width: 769px) {
    
    /* للشاشات المتوسطة (Tablets & Small Laptops) */
    @media (max-width: 1100px) {
        .top-item {
            padding: 0 12px; /* تقليل الحشو لتوفير مساحة */
            font-size: 12px; /* تصغير الخط قليلاً */
            gap: 6px;
        }
        
        /* إخفاء الأيقونات الاجتماعية إذا ضاق المكان أو تقليل مسافاتها */
        .top-mini {
            padding: 0 5px;
        }
        
        .top-mini a {
            margin: 0 4px;
        }

        /* إخفاء نص "ACCOUNT" والإكتفاء بالأيقونة في الشاشات الضيقة */
        /* .top-item.account-item span { display: none; } */
    }

    /* تحسين توزيع العناصر في الشاشات الكبيرة جداً (Desktop) */
    @media (min-width: 1400px) {
        .top-bar-container {
            padding: 0 40px; /* زيادة الهامش الجانبي للشاشات العريضة */
        }
        
        .top-item {
            font-size: 14px; /* زيادة طفيفة في الخط للوضوح */
            padding: 0 25px;
        }
    }

    /* معالجة اتجاه العناصر والحدود عند تبديل اللغة (LTR / RTL) */
    html[dir="ltr"] .top-item {
        border-right: none;
        border-left: 1px solid rgba(255, 255, 255, 0.2); /* نقل الخط الفاصل لليسار */
    }

    html[dir="ltr"] .top-item:first-child {
        border-left: none; /* إخفاء الخط الفاصل لأول عنصر في الإنجليزية */
    }

    /* التأكد من بقاء الـ Top Bar مرئياً */
    .top-bar-container {
        display: flex !important;
    }
}

/* تحسينات عامة للمرونة */
.top-bar-container {
    flex-wrap: nowrap; /* يمنع العناصر من النزول لسطر جديد */
}

.top-left-side, .top-right-side {
    flex-shrink: 0; /* يمنع المجموعات من الإنكماش المشوه */
}

@media (max-width: 992px) {
    .top-dropdown-menu {
        min-width: 100px; /* تقليص العرض قليلاً */
        transform: translateX(-50%) translateY(5px);
    }
}
/* حماية العناصر من التداخل في الشاشات الصغيرة */
@media (min-width: 769px) and (max-width: 992px) {
    .top-left-side .top-item:nth-child(2) {
        display: none; /* إخفاء العنوان (Map) إذا كانت الشاشة ضيقة جداً لتوفير مساحة */
    }
}

/* ============================================

/* ============================================
   /* تنسيقات أساسية للهيدر */
.header-main {
    background: transparent;
    border-bottom: 1px solid #eee;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px;
}



/* القائمة في الشاشات الكبيرة */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px; /* المسافة بين كل قسم والآخر */
    align-items: center;
}


html[dir="ltr"] .navbar,
html[dir="ltr"] .nav-menu {
    direction: ltr;
}

html[dir="ltr"] .nav-menu {
    justify-content: flex-start;
}

.nav-link {
    display: flex; 
    flex-direction: row; /* التأكد من أنهم بجانب بعض */
    align-items: center; /* محاذاة عمودية في المنتصف */
    gap: 7px; /* المسافة بين الأيقونة والنص والسهم */
    white-space: nowrap; /* منع النص من النزول لسطر جديد */
    font-size: 13.5px;
    color: #253873;
    text-decoration: none;
    font-weight: 500;
    font-family: 'GEDinarTWO';
}

.nav-icon-img {
   width: 22px; /* حجم الأيقونة كما في الصورة */
    height: 22px;
    object-fit: contain;
     color: #253873;
}
.dropdown-arrow{
    font-size: 9px;
    color: #666;
    margin-right: 2px;
}
/* زر الحجز */
.btn-booking {
    background-color:linear-gradient(-90deg, #2b3492,#6465ad ); /* اللون البنفسجي في الصورة */
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}
/* افتراضياً: إخفاء شعار الإنجليزية وإظهار العربي */
.logo-en { display: none; }
.logo-ar { display: block; }


/* عندما يكون اتجاه الصفحة يساراً (اللغات الأجنبية) */
html[dir="ltr"] .logo-ar { display: none; }
html[dir="ltr"] .logo-en { display: block;
 }

/* تنسيقات الشعار المشتركة */
.logo-image {
    height: 68.805px;
    width: 118.7885px;
    object-fit: contain;
}
/* إخفاء زر الجوال في الشاشات الكبيرة */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #004a99;
}



/*  ============================================ */

/* --- 3. زر الحجز --- */
.header-actions {
    flex: 0 0 auto;
    
}



.btn-booking {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--white);
    background: linear-gradient(90deg, #2b3492,#6465ad 100%); 
    padding: 0;
    width: 142.15px;
    height: 38.31px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
  font-family: 'GEDinarTWO';
    font-size: 11pt;
    font-weight: 100;
    padding-top: 6px;
}

.btn-booking:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}



/*////////////////////////*/

.has-dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    min-width: 300px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-arrow {
    font-size: 10px;
    margin-right: 4px;
    transition: transform 0.3s ease;
}

.nav-item:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* تنسيقات القائمة الفرعية (المستوى الثاني - المدن) */
.has-submenu { position: relative; }

.submenu {
    position: absolute;
    top: 0;
    right: 100%; /* تظهر على يسار القائمة الرئيسية */
    background-color: #fff;
    min-width: 200px;
    box-shadow: -5px 5px 20px rgba(0,0,0,0.1);
    border-radius: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* إظهار القائمة الفرعية عند التحويم على الدولة */
.has-submenu:hover > .submenu {
    opacity: 1;
    visibility: visible;
}

/* تنسيق الروابط داخل القوائم */
.dropdown-link, .submenu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.submenu li a { color: blue; } /* تلوين المدن باللون الأزرق كما في الصورة */

.dropdown-link:hover, .submenu li a:hover {
    background-color: #f8f9fa;
}


       
/* إظهار القائمة عند التحويم */
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
}

.dropdown-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.dropdown-link:hover {
    background-color: #f8f9fa;
    color: var(--primary-blue);
    border-left-color: var(--primary-blue);
    padding-right: 25px;
}

/* مثلث صغير أعلى القائمة */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background-color: #fff;
    transform: rotate(45deg);
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
}

/* ============================================
   4. قسم البطل - Hero Section
   ============================================ *


.hero-section {
    position: relative;
    width: 100%;
    /* ارتفاع القسم لضمان ظهور الصورة بشكل جيد *
        height: 85vh; 
    min-height: 500px;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* --- الموجة العلوية (بيضاء) --- *
.wave-top-hero {
    position: absolute;
    top: -1px; /* لإلغاء أي فراغ بسيط *
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 5;
}

.wave-top-hero svg {
    width: 100%;
    height: 80px; /* التحكم في ارتفاع انحناء الموجة العلوية *
}

/* --- الموجة السفلية (زرقاء متدرجة) --- *
.wave-bottom-hero {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 5;
}

.wave-bottom-hero svg {
    width: 100%;
    height: 300px; /* ارتفاع الموجة السفلية *
}

/* --- عنوان القسم --- *
.hero-title-container {
    position: absolute;
    bottom: 20px; /* رفع العنوان عن الحافة السفلية قليلاً *
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-family: var(--font-family-title, sans-serif);
    font-size: var(--font-size-xlarge);; /* حجم كبير كما في الصورة *
    color: #4a6fa5; /* لون أزرق غامق مشابه للنص في الصورة *
    font-weight: 100;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8); /* ظل أبيض للنص لزيادة الوضوح *
    margin-bottom: 20px;
}

/* ============================================
   شريط التواصل الاجتماعي الجانبي (Social Sidebar)
   ============================================ *
.side-dock {
    position: absolute;
    left: var(--spacing-xxl); /*المسافة من اليسار*
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}


.dock-item:hover {
    transform: scale(1.1);
    border-color: #fff;
}
.dock-item {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    
    border: 2px solid rgba(255, 255, 255, 0.8); /* إطار أبيض *
    transition: all 0.3s ease;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* ألوان العلامات التجارية *
.dock-item.d-wa {
    background-color: #25D366;
}

.d-x {
    background-color: #000000;
    font-size: 20px; /* تصغير أيقونة X قليلاً *
}

.d-tt {
    background-color: #000000;
    /* تأثير التيك توك اللوني *
    text-shadow: 2px 2px 0px #25F4EE, -2px -2px 0px #FE2C55; 
}

.d-sc {
    background-color: #FFFC00;
    color: #fff;
    text-shadow: 0 0 2px #000; /* جعل الشبح الأبيض يبرز *
}

.d-ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.d-fb {
    background-color: #1877F2;
}

.d-yt {
    background-color: #FF0000;
}*/



/* ============================================
   4. قسم البطل - Hero Section
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 90vh; /* ارتفاع مناسب للشاشات الكبيرة */
    min-height: 805px;
    overflow: hidden;
    background-color: #fff;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit:cover;
    object-position: center;
   
}

/* --- الموجات --- */
.wave-top-hero, .wave-bottom-hero {
    position: absolute;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 5;
    
}

.wave-top-hero { top: -1px; }
.wave-bottom-hero { bottom: -1px; }

.wave-top-hero svg { height: 100px; width: 100%; }
.wave-bottom-hero svg { height: 200px; width: 100%; }

/* --- العنوان --- */
.hero-title-container {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-size: var(--font-size-large);
    /*font-size: 3.5rem;*/
    color: #43648a; /* لون مشابه للصورة */
    font-weight: bold;
    margin: 0;
    font-family:'Ah-naskh-hadith'; /* يفضل استخدام خط ناصح */
}
html[dir="ltr"] .side-dock,
 html[dir="ltr"] .dock-item{
direction: ltr;  
}


/* --- شريط التواصل الاجتماعي --- */
.side-dock {
    position: absolute;
    left: 20px;
    top: 55%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

html[dir="ltr"] .side-dock {
    left: auto;
    right: 20px;
}

.dock-item {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.dock-item:hover { transform: scale(1.1); }

/* ألوان التواصل */
.d-wa { background-color: #25D366; }
.d-x { background-color: #000; }
.d-tt { background-color: #000; }
.d-sc { background-color: #FFFC00; color: #fff; text-shadow: 0 0 2px #000; }
.d-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.d-fb { background-color: hsl(214, 89%, 52%); }
.d-yt { background-color: #FF0000; }

/* ============================================
   التجاوب مع الشاشات (Responsive)
   ============================================ */

/* للشاشات المتوسطة (Tablets) */
@media (max-width: 1300px) {
    .hero-title { font-size: 16pt;margin-bottom: 20px; }
}
@media (max-width: 992px) {
    .hero-section { height: 70vh; }
    .hero-title { font-size: 16pt;margin-bottom: 20px; }
    .dock-item { width: 40px; height: 40px; font-size: 18px; }
}

/* للشاشات الصغيرة (Mobile) */
@media (max-width: 576px) {
    .hero-section { height: 60vh; min-height: 400px; }
    .hero-title { font-size: 12pt; bottom: 20px;margin-bottom: 5px; }
    .wave-bottom-hero svg { height: 120px; }
    .wave-top-hero svg { height: 50px; }
    
    .side-dock {
        left: 10px;
        gap: 2px;
    }

    html[dir="ltr"] .side-dock {
        left: auto;
        right: 10px;
    }
    .dock-item {
        width: 20px;
        height: 20px;
        font-size: 8px;
    }
    
}
/* ============================================
   5. قسم الوجهات - Destinations Section
   ============================================ */
.destinations-section {
   padding: 20px 10px;
   max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
    
}

.section-title {
       font-family: 'Ah-naskh-hadith';
    font-size: var(--font-size-large);
    color: var(--primary-blue);
    text-align: center;
  
    margin-bottom: var(--spacing-xxl);
    font-weight: 100;
    letter-spacing: 1px;
}

.destinations-grid {
     display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 30px;
    justify-items: center;
}

.destination-card {
    background-color: var(--white);
    border-radius:15px;
   /* overflow: hidden;*/
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    /*height: 130mm;*/
    aspect-ratio: 4 / 5;
     border: 4px solid #3271b9de;
     position: relative;
    /* تأكد ألا يوجد overflow: hidden هنا إذا أردت الوسام أن يبرز للخارج */
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.destination-image-wrapper {
    position:absolute;
    width: 100%;
    height: 100%;
    
     /* نسبة مربعة 1:1 */
   /* padding-bottom: 133.33%;
    overflow: 1;
    
    overflow: hidden;
     min-height: 85%;*/

   
   
}
.destination-overlay {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%; 
    /* خلفية متدرجة خفيفة لتحسين وضوح النص/الزر */
   /* background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 60%); */
    pointer-events: none; /* يسمح للنقرات بالمرور لما خلفه */
    z-index: 10;
}

.destination-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit:cover;
    
    transition: transform 0.5s ease; /* تبطئ الحركة قليلاً لنعومة أكثر */
}

.destination-card:hover .destination-image {
    transform: scale(1.1); /* زيادة التكبير قليلاً عند التحويم */
}

/* --- التعديلات الرئيسية هنا --- */





.destination-button:hover {
    padding: 0 var(--spacing-md) 8px var(--spacing-md); 
    /* var(--spacing-md) يفترض أنه مناسب للمسافة الأفقية. 8px للمسافة السفلية */
    text-align: center;
    /* إضافة خلفية بيضاء أو شفافة لمنطقة الزر إذا كانت الصورة تلامسها */
    background-color: var(--white); 
    width: 100%;
    box-sizing: border-box; 
   
    /* إضافة حدود علوية بسيطة لفصل الزر عن الصورة إذا لزم الأمر */
    border-top: 1px solid var(--primary-light);
}

.destination-button-wrapper {
   /* *** تغيير رئيسي: مسافة بين الزر وحافة الكارد السفلية 8 بكسل *** */
  /*  padding: 0 var(--spacing-md) 8px var(--spacing-md); 
    /* var(--spacing-md) يفترض أنه مناسب للمسافة الأفقية. 8px للمسافة السفلية */
   /* text-align: center;
    /* إضافة خلفية بيضاء أو شفافة لمنطقة الزر إذا كانت الصورة تلامسها */
  /*  background-color: var(--white); 
    width: 100%;
    box-sizing: border-box; */
    /* إضافة حدود علوية بسيطة لفصل الزر عن الصورة إذا لزم الأمر */
    /*border-top: 1px solid var(--primary-light);*/
    position: absolute; /* *** التعديل الرئيسي: وضع الزر فوق الصورة *** */
    bottom: 8px; /* *** المسافة المطلوبة: 8 بكسل من الأسفل *** */
    left: 0;
    width: 100%;
    text-align: center; 
    pointer-events: auto; /* للسماح بالنقر على الزر */
    z-index: 20; /* لضمان ظهور الزر فوق الـ overlay والصورة */
    padding: 0 var(--spacing-md); /* حشوة أفقية للفصل عن الجوانب */
    box-sizing: border-box;
}

.destination-button {
  width: 70%; /* جعل الزر مرن بالنسبة للكارد */
    max-width: 180px;
    height: 50px;
     background-image: url('../images/butt.png');
    /*background:linear-gradient(90deg, #2B3492,#6465AD  100%) ;*/
    background-position:unset;
            background-repeat:no-repeat;
            background-size:contain;
    color: white;
   font-family: var(--font-family-main);
    padding-bottom: 10px;
    font-size:19px;
    font-weight:400;
    /*padding: 5px 10px; */
    margin-bottom: 20px;
    border: none;
    /*border-radius: 8px;*/
    cursor: pointer;
    background-color: var(--primary-dark-hover);
    
   /* transition: background-color 0.3s ease, transform 0.3s ease;
    /*display: block; /* لضمان أن الـ width: 100% يعمل بشكل صحيح */

     /* *** الزر يملأ الـ Wrapper (مع الأخذ بعين الاعتبار البادينغ) *** */
     /* تحديد أقصى عرض لجعله يبدو كـ "Button" وليس شريطاً كاملاً */
    display: inline-block; /* ليتوسط بشكل صحيح مع text-align: center */
}

.destination-button:hover {
    transform: scale(1.0); /* إلغاء التكبير الأفقي */
    background-color: var(--primary-dark-hover); /* استخدم لون عند التحويم */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.destination-button:focus {
    outline: none; /* Remove default focus outline */
}

/* ============================================
   6. قسم أفضل العروض - Best Offers Section
   ============================================ */
.best-offers-section {
     padding: 40px 10px;
   max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
    

}

.offers-grid {
     display: grid;
    grid-template-columns: repeat(3, 1fr);
    
    margin-bottom: 10px;
    justify-items: center;
    gap: var(--spacing-md);
}

.offer-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
   
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
  
   
    
    border: 4px solid #3271b9de;

   
   /* overflow: hidden;*/
   
   
     
    
    /* تأكد ألا يوجد overflow: hidden هنا إذا أردت الوسام أن يبرز للخارج */
   
    
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.offer-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
}

.offer-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-image: auto;
    transition: transform 0.3s ease;
}

.offer-card:hover .offer-image {
    transform: scale(1.05);
}

.offer-content {
     padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    
}
.button-con{
    text-align: center;
    padding-bottom:10px;
}

.offer-title {
    margin-top: 10px;
    font-size: 19.06px;
    color: #ea1b1b;/*------------------------------------*/
    margin-bottom: 0;
    text-align: center;
    font-weight: 100;
    line-height: 1.4;
   font-family:'GEDinarTWO';
}

.offer-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: var(--spacing-xs);
    flex: 1;
    line-height: 1.6;
    font-family: var(--font-family-main);
}

html[dir="ltr"] .btn-explore,btn-explore1 {
   font-family: 'Ah-naskh-hadith';
   font-size: 9px;

}
html[dir="ltr"] .btn-explore1 {
   font-family: 'Ah-naskh-hadith';
   font-size: 9px;

}
.btn-explore {
       background-image: url('../images/de-bu.png');
    /*background:linear-gradient(90deg, #2B3492,#6465AD  100%) ;*/
    background-position:center;
            background-repeat:no-repeat;
            background-size:contain;
   /* background:linear-gradient(180deg, #1E1E9E, #6464C8);/*#4f56ff;*/
    color: var(--white);
    /*text-align: center;*/
    padding:0;
    /*border-radius: 10px;*/
    font-size: 14.5px;
    font-weight:100px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'SwissraCondensed-Medium';
    /* width: 60%; /* جعل الزر مرن بالنسبة للكارد */
   width: 124px;
    height: 40px;
    border: none;
   /* box-shadow: var(--shadow-hover);*/
      background-color: var(--primary-dark-hover);
      
   
}
.btn-explore1 {
       background-image: url('../images/hot-de.png');
    /*background:linear-gradient(90deg, #2B3492,#6465AD  100%) ;*/
    background-position:center;
            background-repeat:no-repeat;
            background-size:contain;
   /* background:linear-gradient(180deg, #1E1E9E, #6464C8);/*#4f56ff;*/
    color: var(--white);
    /*text-align: center;*/
    padding: 6px 0;
    /*border-radius: 10px;*/
    font-size: 14.5px;
    font-weight:100px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family-main);
     width: 60%; /* جعل الزر مرن بالنسبة للكارد */
    max-width: 124px;
    height: 40px;
    border: none;
   /* box-shadow: var(--shadow-hover);*/
      background-color: var(--primary-dark-hover);
   
}




.btn-explore:hover {
    transform: scale(1.05);
    /*box-shadow: var(--shadow-hover);*/
}

/* ============================================
  

/* 5. قسم آراء العملاء - Testimonials Section
=
=========================================== */
.testimonials-section {
    /*position: relative;
    padding: var(--spacing-xs)  75px 0 75px; /* زيادة البادينغ السفلي لإتاحة مساحة للأمواج *
    background-color: var(--white); /* خلفية القسم *
    overflow: hidden; /* لإبقاء الأمواج ضمن حدود القسم *
    padding-bottom: 255px;*/
   /* position: relative;
    padding-bottom: 300px; /* مساحة كافية لبروز الموجة *
    overflow: hidden; /* هذا التاج سيقوم بقص أي جزء زائد من الموجة للأسفل *
    margin-bottom: -110px;
    padding-left: 75px;
     padding-right: 75px;*/
    position: relative;
    /* مساحة كافية للمحتوى */
    padding-left: 75px;
    padding-right: 75px;
    padding-bottom: 200px; /* تقليل البادينج ليناسب الموجة دون مبالغة */
    background-color: var(--white);
    /* overflow: hidden;  <-- قم بإزالة هذا السطر أو تغييره لضمان عدم قص الفوتر */
  
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
     font-size: var(--font-size-large);
    color: var(--primary-blue);  /* لون العنوان */
   
    text-align: center;
    font-family: 'Ah-naskh-hadith';
    margin-bottom: var(--spacing-xxl);
    font-weight:bold;
    letter-spacing: 1px;
}

/* تصاميم التابز - Tabs Styling */

/* حاوية التحكم بالشريط الأزرق ووضع الأزرار */
.tab-controls-wrapper {
  border: none;
            display: flex;
            flex-direction: column; /* ترتيب العناصر من اليمين لليسار */
            padding-right: 0;
  
}

.tab-buttons {
   margin-left: -4px; position: relative; 
}

 /*english language */

html[dir="ltr"] .tab-button{
background-image: url('../images/gray1.png');
text-align: left;
}
html[dir="ltr"] .tab-button.active {
margin-left:-60px;
background-image: url('../images/green.png');
}

html[dir="ltr"] .tab-button:first-child.active {
   margin-right:0; 

}
html[dir="ltr"] .tab-button:last-child.active {
     margin-right:10px; 
}
html[dir="ltr"] .tab-button:last-child {

     margin-left: -80px;
      z-index: 0;
}
html[dir="ltr"] .tab-button:first-child {
 
      margin-left: 0;
}


 /*english language */






.tab-button {
    
    width: 200px;
    height: 39px;
     border: none !important;
    z-index: 10; 
   font-family:'GEDinarTwo';
        padding-left: 50px;
            margin-right: 10px;
         /*  padding: 2px 2px 5px 10px; /* زيادة الحشوة من اليسار لإبراز الانسياب */
            font-weight: 100;
            font-size: 19px;
            
            /* السر هنا: انسياب كبير من أعلى اليسار وصغير من أعلى اليمين */
          /*  border-radius: 50px 15px 0 0 !important; */
            background-color: transparent;
            position: relative;
            transition: 0.3s;
            /* ظل خلفي ليعطي عمق التداخل جهة اليسار */
            /*box-shadow: -8px 0 10px rgba(0,0,0,0.2);*/
            background-image: url('../images/gray.png');
            background-position:unset;
            background-repeat:no-repeat;
            background-size:cover;
             color: #3794DD;
    
}

.tab-bottom-bar {
    position:relative;
    bottom: 0;
    /* يمتد الشريط على كامل عرض المنطقة المطلوبة */
    right: 0;
    width: 100%;
    height: 57px; /* الارتفاع المطلوب */
     background-image: url('../images/border1.png');
            background-position:unset;
            background-repeat:no-repeat;
            background-size:cover;
   /* background: linear-gradient(135deg, #136DB5, #3794DD 100%); /* اللون الأزرق المطلوب */
    border-radius: 15px; /* ليتطابق مع انحناء الحاوية السفلية */
    z-index: 5;
    background-color: transparent;
}
/* تخصيص النمط النشط ليطابق اللون الأخضر في الصورة */
.tab-button.active {
     text-align: center;
     width: 250px;
    height: 40px;
    color: #fff;
   background-color: transparent !important;
            z-index: 1; /* ليكون فوق الجميع */
          /*  box-shadow: -5px 0 15px rgba(0,0,0,0.1);*/
               background-image: url('../images/gre.png');
            background-position:inherit;
            background-size:cover;background-repeat:no-repeat;
            
  
  
    
}
 

/* نمط خاص لحدود التاب النشط لعمل شكل الشريحة (كما في الصورة) */
.tab-button:first-child.active {
 /*   border-radius: 200px 0 0 0 ;*/
   margin-left: -40px; 
   
   
    
    
}*/
.tab-button:last-child.active {
   /* border-radius: 100px 0 0 0;*/
     margin-right: 0; 
}
.tab-button:last-child {
  /*  border-radius: 0 250px 0 0;*/
     margin-right: -10px;
      z-index: 0;
}
.tab-button:first-child {
 /*    border-radius: 250px 0 0 0;*/
      margin-left: -80px;
}


/* تصاميم الشبكة - Grid Styling */
.tab-content-container {
   /* background-color: var(--light-gray); /* الشريط الأزرق الكبير أسفل التابز *
    padding: 10px 15px 45px 15px; /*top , right , bottom , left*
    border-radius: 0 0 50px 50px;
    position: relative;
    z-index: 2;
    margin-top: 0;*/
    background-color: var(--light-gray);
    padding: 10px 15px 45px 15px;
    border-radius: 0 0 50px 50px;
    position: relative;
    z-index: 2;
}

.testimonials-grid {
    display: grid;
    /* *** التعديل الرئيسي: 4 أعمدة لـ 4 بطاقات *** */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;/*المسافة بين المربعات*/
    margin-top: 0; 
}

.tab-pane {
    display: none;
    width: 100%;
}

.tab-pane.active {
    display: block;
}

/* تصميم البطاقة - Card Styling (للفيديو والصور) */
.testimonial-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    height: 282.11px; /* الأبعاد الثابتة التي حددتها */
    width: 282.65px;
    position: relative; /* ضروري لتموضع العناصر الداخلية */
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px); /* تقليل حركة التحويم قليلاً */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* تصميم الفيديوهات */
.video-wrapper {
    position: absolute; /* جعلها تغطي الكارد بالكامل */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000; /* خلفية سوداء لتحسين مظهر التحميل */
}

.testimonial-video, 
.video-wrapper iframe, 
.video-wrapper video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover; /* هذا هو السر: سيقوم بقص الفيديو ليملأ المربع دون تمطيط */
    display: block;
}


@media (max-width: 768px) {
    .testimonial-card {
        width: 100%; /* ليأخذ عرض الشاشة الصغير */
        max-width: 280px; /* تحديد أقصى عرض */
        height: 280px; /* الحفاظ على الشكل المربع */
        margin: 0 auto; /* توسيط الكارد */
    }
}

.play-button {
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 10; /* رفع القيمة لضمان الظهور فوق الفيديو */
    background: rgba(255, 255, 255, 0.9);
    color: #f00;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* تعديل للجوال */
@media (max-width: 768px) {
    .play-button {
        width: 40px; /* تصغير طفيف ليناسب حجم الكارد الصغير */
        height: 40px;
        font-size: 14px;
    }
}

/*.wa{
    position:absolute;
    margin-top: -200px;
  z-index: 10;
    width: 100%;

}



.wave-bottom {
  position:absolute;
   
    background-repeat: no-repeat;
    background-size: cover;
    transform: translateY(50%);
     width: 100%;
    margin:  -48px -75px 0 0 ;     /**
   
}*/
.wa {
   position: absolute;
    bottom: 0; 
    left: 0;
    width: 100%;
    z-index: 10; /* الموجة فوق محتوى القسم */
    line-height: 0;
    pointer-events: none;
    /* تحريك الحاوية بالكامل للأسفل لتعويض القص */
    transform: translateY(35%);
}

.wave-bottom {
   width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* القص الذي طلبته */
    clip-path: inset(0 0 30% 0);
}
/* تصاميم الأمواج في الأسفل 
.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
   
    height: 120px; 
    z-index: 0;
    /* هذا العنصر يحتاج إلى SVG أو صورة خلفية للأمواج */
    /*background-image: url('assets/images/wave.svg');  يجب استبدال هذا برابط شكل الأمواج الحقيقي */
   /* background-repeat: no-repeat;
    background-size: cover;
    transform: translateY(50%); /* سحبها للأعلى لتبدأ من أسفل القسم */


/* Media Query للجوال */
@media (max-width: 768px) {
    .testimonials-grid,
    .hotels-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* عمودين للجوال */
    }
    .tab-buttons {
        width: 100%;
        border-radius: 0;
         
    }
}



/* ============================================
   8. قسم الجولات السياحية - Tours Section
   ============================================ */

/* قسم بطل الجولات */


/* شريط التصفية */


.filter-bar {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}


.filter-input,
.filter-select {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 21pt;
    
    font-family:'SwissraCondensed-Medium';
}

.filter-input::placeholder {
    color: #999;
font-family:'SwissraCondensed-Medium';
    font-size:18px;
  
}


/*///////////////////////////////////////////////////////////*/


.tours-hero-section{
    position: relative;
    width: 100%;
    height: 492px;
    overflow: hidden;
}

.tours-hero-img{
       object-fit:cover;
        position: relative;
    
    width: 100%;
    height: auto;
    z-index: 1;
    box-sizing: border-box;

}.tours-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* TITLE SECTION */
.tours-title-section{
     text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-family:'Ah-naskh-hadith';
    font-size: 14px;
    color: var(--white);
    display:flex;
    justify-content: center;
    margin-top: -62px;
    position: relative;
    z-index: 2;
}

.title-box{
    background: linear-gradient(TO right,#1e1e9e,#6464c8);
     

    opacity: 0.9;
    margin-bottom: 0;
    color: #fff;
    padding: 20px 90px;
    border-radius: 30px 30px 0 0;
    text-align: center;
    box-shadow: 5px 8px 20px rgba(0,0,0,0.2);
    z-index: 20;
}

/* FILTER SECTION */
.tours-filter-section{
    position: relative;
    margin-top: 0;
    padding:  0;
}
html[dir="ltr"] .filter-wrapper {
    direction: ltr;
    justify-content: flex-start;
}
html[dir="ltr"] .filter-wrapper input {
    text-align: left;
    padding: 0 15px;
}

.filter-wrapper{
   /*background: linear-gradient(180deg, #A0A0A0 0%, #FFFFFF 15%, #FFFFFF 85%, #A0A0A0 100%);*/
   background: linear-gradient(180deg, 
     #A0A0A0 0%,   /* شفاف تماماً عند البداية */
    rgba(160, 160, 160, 0) 15%,                 /* يظهر الرمادي تدريجياً */
    #FFFFFF 15%,                /* بداية اللون الأبيض الصافي */
    #FFFFFF 85%,                /* نهاية اللون الأبيض الصافي */
    rgba(160, 160, 160, 0) 85%,                /* يعود الرمادي قبل النهاية */
     #A0A0A0 100% /* يختفي تماماً عند الحافة الأخيرة */
);
    padding: 10px 30px 10px 20px ;
    border-radius: 0;
    display:flex;
    gap: var(--spacing-xs);
    align-items: center;
    justify-content: center;
    direction: rtl;
    
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1), 0 2px 5px rgba(0,0,0,0.2);
   z-index: 0;
   
}
.filter-input, 
.custom-dropdown2 {
    height: 40px; /* توحيد الارتفاع لجميع العناصر */
 background: linear-gradient(180deg, 
     #A0A0A0 0%,   /* شفاف تماماً عند البداية */
                   /* يظهر الرمادي تدريجياً */
    #e6e6e6 23%,                /* بداية اللون الأبيض الصافي */
    #e6e6e6 83%,                /* نهاية اللون الأبيض الصافي */
                   /* يعود الرمادي قبل النهاية */
     #A0A0A0 100% /* يختفي تماماً عند الحافة الأخيرة */
);
   
    border-radius: 2px;
    padding: 0 2px;
    font-size: 18px;
   font-family:'SwissraCondensed-Medium';

    flex: 2; /* إعطاء مساحة أكبر لحقول النصوص */
   /* box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);*/
    text-align: right;
}

.filter-wrapper input{
    
    height: 40px;
    
  
    border-radius: 2px;
   font-family:'SwissraCondensed-Medium';

   
    color: #6556bb;
    flex: 3;
    padding: 0px 15px;
 
    /*border: 1px solid #ccc;*/
    font-size:21px;
    padding: 0 15px; /* الرقم الثاني 15px هو المسافة من اليمين واليسار */
    text-align: right; /* لضمان بقاء الـ placeholder جهة اليمين في العربية */
   /* background:linear-gradient(180deg,#999999,#fcfafa ,#A0A0A0  );;*/
  /* box-shadow: inset 0 1px 2px rgba(253, 250, 250, 0.1);*/

}

.filter-wrapper input::placeholder{
    color:#4F4F4F;
    opacity: 40%;
    font-size: 21px;
  
  font-family:'SwissraCondensed-Medium';
    
   
}
.filter-btn :hover{  transform: translateY(-6px);}

.filter-btn{
     background-image: url('../images/ser.png');

       background-position:center;
            background-repeat:no-repeat;
            background-size:cover;
        border:none;
            font-family: 'SwissraCondensed-Medium';
            color: #fff;
    font-size: 22px;
  font-weight: normal;
    width: 181.92px;
    height:41.76px;
 cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
   /* background: #F3AE1C;
     border: 42.994pt solid linear-gradient(to bottom,#A0A0A0 ,#FFFFFF ,#ABABAB );
    border-radius: 8px;
    color: #fff;
    font-size: 21pt;
    font-weight: bold;
    
    cursor: pointer;
    white-space: nowrap;*/
}
/*///////////////////////////////////////////////////////////*/

/* شبكة الجولات */
.tours-section {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* بطاقة الجولة */
.tour-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #0099CC;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tour-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 85%;
    overflow: hidden;
    background-color: #f0f0f0;
}

.tour-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.subpo{
    text-align: center;
}

.tour-card:hover .tour-image {
    transform: scale(1.05);
}

.tour-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-title {
    font-size: 18pt;
    color: #000;
    font-weight:200px;
    margin-bottom: 20px;
    line-height: 1.4;
    font-family: 'GEDinarTWO';
    text-align: center;
}

.tour-description {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    flex: 1;
    font-family: var(--font-family-main);
}

.tour-button {
    background-color: #0066CC;
    color: var(--white);
    border: none;
    padding: 10px 0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family-main);
    align-self: center;
}

.tour-button:hover {
    background-color: #0052A3;
    transform: scale(1.05);
}
/*       */

.card-title-ar {
    font-family: 'GEDinarTWO';
    font-size: 20pt;
    color: #E81F25;
    margin-bottom: 0;
    text-align: center;
    font-weight: 100;
}

.card-title-en {
    font-family: "Times New Roman", Times, serif;
    font-size:15pt;
    color: #154A98;
    margin-bottom: 10px;
    text-align: center;
}
/*****************/
/* الترقيم */


html[dir="ltr"] .pagination {
   direction: rtl;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 80px;;
}

.pagination-prev,
.pagination-next,
.pagination-number {
    width: 13.689mm;
    height: 17.982mm;
    border: 4px solid linear-gradient(180deg,#A0A0A0,#DCDCDC 52%, #A0A0A0);
    display: flex;
    color: #000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Montserrat-Regular';
    font-size: 19.04pt;
    font-weight: 500;
    background: linear-gradient(90deg,#DCDCDC 50%, #A0A0A0);
}

.pagination-next{
     border-radius:  10px 0 0 10px;
     color: linear-gradient(90deg, #153056,#005C78);

}
.pagination-prev{
     border-radius: 0 10px  10px 0;
       color: linear-gradient(90deg,#005C78, #153056);

}

.pagination-number:hover,
.pagination-prev:hover,
.pagination-next:hover {
    background-color: #0099CC;
    color: var(--white);
    border-color: #0099CC;
}

.pagination-number.active {
    background-color: #0099CC;
    color: var(--white);
    border-color: #0099CC;
}

/* ============================================
   8. التذييل - Footer
   ============================================ *
.footer {
   height: 120mm;
    width: 100%;
    color: var(--white);
    margin-top: 0;
    position: relative;
}
.footer-background {
    
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* لجعلها خلف المحتوى *
    overflow: hidden;
}

.footer-bg-image {
      width: 100%;
      height: 115%;
      margin: 0;
    object-fit: cover; /* للتأكد من تغطية الصورة للمساحة *
}

.footer-content {
    height: 120mm;  
/*background-color:rgba(19, 15, 15, 0.6);
    
 هنا نستخدم الشفافية إذا كنا نريد أن يظهر جزء من الصورة تحته */

    /*  */ /* يمكن إضافة طبقة شفافة إذا لزم الأمر *
    padding: var(--spacing-xxl) 0 var(--spacing-sm);
    position: relative; /* لجعله فوق الصورة *
    z-index: 1; 
}

.footer-grid {
    display: flex; /* تغيير الـ grid إلى flex لسهولة التحكم في الترتيب العربي *
    flex-direction: rtl; /* لعكس ترتيب الأعمدة في العرض العربي *
    justify-content: flex-start; /* تبدأ من اليمين *
    gap: 100px;
    padding-right: 150px;
    padding-top: 20px;
  
}

.footer-column {
    width: 250px;
  /* flex: 1;*/
   
    /* إزالة  لتعتمد على المحتوى إذا لزم الأمر أو استخدم عرض محدد */
    /*  يمكن تحديد عرض ثابت أو تركه يعتمد على المحتوى *
}
/* الشريط السفلي الشفاف *
.footer-bottom {  
   
    /* إزالة background-color: #0a0a0a; */
   /* خلفية سوداء شفافة *
    padding:  2.5px;
  /*  border-top: 1px solid rgba(255, 255, 255, 0.2);  إطار أبيض شفاف *
    position: absolute; /* وضعه بشكل مطلق *
    bottom: 0;
    width: 100%;
    z-index: 2; /* جعله فوق الصورة والمحتوى *
    background:rgba(222, 239, 250, 0.06);
}

.footer-bottom-content {
    padding-right: 120px;
     display: flex;
    justify-content: space-between;
     align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: 0;
    /* يظهر زر الصعود للأعلى (السهم) في الصورة، قد يكون جزءًا من هذه المنطقة أو خارجها *
    position: relative;
    /* تأكد من أن حقوق النشر والأيقونات على اليمين واليسار في العرض العربي *
    direction: ltr; /* عكس اتجاه المحتوى ليكون الحقوق على اليسار والأيقونات على اليمين *
}

.footer-title {
    font-size: var(--font-size-large);
    font-weight: bold;
    margin-bottom: var(--spacing-md);
    color: var(--white);
    font-family:var(--font-family-main);
}

.footer-links {
    list-style: none;
    font-weight: bold;
    
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
    
}

.footer-links a {
    color: #CCCCCC;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: var(--font-family-main);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-right: var(--spacing-xs);
}





.copyright {
    margin-left: 0;
    direction: rtl;
    font-size: 14px;
    color: #CCCCCC;
    font-family: var(--font-family-main);
}

.footer-mini {
    display: flex;
    gap: var(--spacing-xs);
}

.mini-item {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(173, 165, 165, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: all 0.3s ease;
}

.mini-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.scroll-to-top {
    position: absolute;
    top: -20px; /* اجعله يرتفع قليلاً فوق الشريط السفلي *
    right: 20px; /* الموقع من اليسار *
    
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0); /* استخدم لون داكن أو لون الخلفية *
    color: var(--white);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    line-height: 1;
    z-index: 10; /* تأكد من ظهوره فوق كل شيء *
    transition: all 0.3s ease;
    text-decoration: none;
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
}
*/


/* --- الإعدادات العامة للفوتر --- */
.footer {
    width: 100%;
    color: #fff;
    position: relative;
    direction: ltr; /* اتجاه الكتابة من اليمين */
    overflow: hidden;
    min-height: auto;
}

.footer-background {
   position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.footer-bg-image {
   
    /* سحب الصورة قليلاً للأعلى لتعويض تداخل الموجة */
    transform: scale(1.05,1.05);
    width: 100%;
    height: 100%;
    object-fit: fill; /* لضمان ظهور كامل أبعاد الصورة في المساحة المتاحة */
    margin: 0;
    display: block;
}

.footer-overlay {
    position: absolute;
    inset: 0;
   /* background: rgba(0, 0, 0, 0.4);  طبقة تعتيم خفيفة */
}

/* --- المحتوى الرئيسي --- */
.footer-content {
    height: auto; /* جعل الارتفاع مرناً حسب الروابط */
    padding: 50px 50px 50px 0; /* تقليل المسافات العلوية والسفلية لتصغير المساحة */
    position: relative;
    z-index: 1
}

.footer-grid {
    display: flex;
    justify-content: flex-end; /* دفع الروابط لجهة اليمين كما في الصورة */
    gap: 140px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    min-width: 150px;
    text-align: right;
    margin-bottom: 25px;
}

.footer-title {
    font-family: 'GEDinarTWO', sans-serif;
    direction: rtl;
    font-size:14pt;
    color: #fff;
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 2px;
    letter-spacing: 0.5px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
    
}

.footer-links li {
    margin-bottom: -6px;
    
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
     font-weight: 100;
     letter-spacing: 0.035px;
     
}

.footer-links a:hover {
    color: #3794DD;
    padding-right: 5px;
}

/* --- الشريط السفلي --- */
.footer-bottom {
  background:rgba(222, 239, 250, 0.06);
    padding: 9px;
    width: 100%;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between; /* الأيقونات جهة والأسماء جهة */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-right:  20px;
    padding-left: 0;
}

.footer-mini {
    display: flex;
    gap: 5px;
}

.mini-item {
   width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(173, 165, 165, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12pt;
    transition: all 0.3s ease;
}

.mini-item:hover {
    background: #3794DD;
    transform: translateY(-3px);
}

.copyright {
    

color: #ffffff;            /* لون النص أبيض */
    text-align: center;        /* محاذاة النص في المنتصف */
             /* مسافة داخلية من الأعلى والأسفل */
    font-family:'Times New Roman', Times, serif; /* نوع الخط */
    font-size: 10pt;           /* حجم الخط */
    letter-spacing: 0.5px;     /* تباعد بسيط بين الحروف ليعطي شكل مودرن */
}

.copyright p {
    margin: 0;                 /* إزالة الهوامش الافتراضية للفقرة */
}
.scroll-to-top {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
}


.scroll-to-top:hover {
    background-color: var(--primary-dark);
}
/* ============================================
   تاغات التجاوب (Media Queries)
   ============================================ */

/* للشاشات المتوسطة (Tablets) */
@media (max-width: 992px) {
    .footer-grid {
        justify-content: center; /* توسيط الروابط */
        gap: 20px;
    }
    .footer-content {
        padding: 6px 2px 10px 2px;
    }
 
}

/* للشاشات الصغيرة (Mobile) */
@media (max-width: 600px) {
    .footer-grid {
        flex-direction: row; /* جعل الروابط فوق بعضها */
        align-items: center;
        text-align: center;
        gap: 2px;
    }
    .tab-button {
        
    width: 140px;
    height: 39px;
 margin-bottom: -6px;
 z-index: 2;}
    .tab-button.active {
    width: 150px;
    height: 40px;
margin-bottom: -6px;
border-radius: 10px;

 }


 .tab-bottom-bar{
    margin-top: -6px;
    height: 12mm;

 }
    .tab-button:first-child.active {
 /*   border-radius: 200px 0 0 0 ;*/
   margin-left: -30px; 
   
   
    
    
}*/
.tab-button:last-child.active {
   /* border-radius: 100px 0 0 0;*/
     margin-right: 0; 
}
.tab-button:last-child {
  /*  border-radius: 0 250px 0 0;*/
     margin-right: -10px;
      z-index: 0;
}
.tab-button:first-child {

      margin-left: -50px;
}

html[dir="ltr"] .tab-button:first-child.active {
   margin-right:30px; 

}


    
    .footer-column {
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column-reverse; /* الأيقونات فوق الحقوق في الجوال */
        gap: 10px;
        padding: 0 ;
    }

    .footer-mini {
        flex-wrap: wrap;
        justify-content:baseline;
        
    }

    .footer-bg-image {
        height: 110%; /* تكبير الصورة قليلاً لضمان عدم وجود فراغ */
    }
    .mini-item {
   width: 20px;
    height: 20px;
  
    font-size: 10px;
  
}
}
/* ============================================
area-details
  ============================================ */
.details-page .page-title-section {
    background-color: #fff;
    padding: 30px 20px;
}

.details-page .image-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 10px;
    margin: 0 auto 30px;
    max-width: 1000px;
}

.details-page .image-grid-main {
    grid-row: span 2;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
}

.details-page .image-grid-side {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
}

.details-page .image-grid-item {
    height: 85px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
}

.details-page .image-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.details-page .image-grid-item:hover img {
    transform: scale(1.1);
}

.details-page .image-grid-item.more-images {
    position: relative;
}

.details-page .image-grid-item.more-images::after {
    content: 'شاهد كل الصور';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    text-align: center;
}

/* Tabs styling */
.details-tabs {
    margin: 30px auto;
    max-width: 1000px;
}

.details-tabs .tabs-header {
    display: flex;
    justify-content: flex-start;
    gap: 0;
    border-bottom: 2px solid #2980b9;
    margin-bottom: 0;
}

.details-tabs .tab-btn {
    padding: 12px 30px;
    border: 2px solid #2980b9;
    border-bottom: none;
    background-color: #e8f4fc;
    color: #1a5276;
    font-family: 'GEDinarTWO';
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    margin-left: -2px;
}

.details-tabs .tab-btn:first-child {
    margin-left: 0;
}

.details-tabs .tab-btn.active,
.details-tabs .tab-btn:hover {
    background-color: #1a5276;
    color: #fff;
}

.details-tabs .tab-content {
    display: none;
    padding: 25px;
    background-color: #f8f9fa;
    border: 2px solid #2980b9;
    border-top: none;
    border-radius: 20px 20px 8px 8px;
}

.details-tabs .tab-content.active {
    display: block;
}

/* Video Slider in Tab */
.video-slider-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.video-slide {
    min-width: 100%;
    position: relative;
}

.video-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px 20px 20px;
    color: #fff;
}

.video-title {
    font-family: 'ALQASSAM-EXTENDED';
    font-size: 18px;
    margin-bottom: 5px;
}

.video-subtitle {
    font-size: 13px;
    opacity: 0.9;
}

.video-logo {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,0.9);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 11px;
    color: #1a5276;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #1a5276;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background: #1a5276;
    color: #fff;
}

.slider-nav.prev {
    right: 15px;
}

.slider-nav.next {
    left: 15px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #1a5276;
    transform: scale(1.2);
}

/* Gallery Thumbnails */
.gallery-thumbnails-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.gallery-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    flex: 1;
    padding: 5px 0;
}

.thumbnail {
    min-width: 80px;
    height: 55px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail.active {
    border-color: #1a5276;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-nav {
    width: 30px;
    height: 30px;
    background: #1a5276;
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.thumbnail-nav:hover {
    background: #0d3a5c;
}

/* Content Section */
.content-section {
    margin-top: 30px;
}

.section-title2 {
    font-family: 'ALQASSAM-EXTENDED';
    font-size: 20px;
    color: #1a5276;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.content-text {
    font-size: 15px;
    line-height: 2;
    color: #333;
    text-align: justify;
}

.visiting-hours {
    margin-top: 20px;
    padding: 15px;
    background: #e8f4fc;
    border-radius: 8px;
}

.visiting-hours h4 {
    color: #1a5276;
    margin-bottom: 10px;
    font-family: 'ALQASSAM-EXTENDED';
}

/* Location Section */
.location-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.location-title {
    font-family: 'ALQASSAM-EXTENDED';
    font-size: 18px;
    color: #1a5276;
    margin-bottom: 15px;
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
}

.map-info {
    font-size: 13px;
    line-height: 1.8;
}

.map-info p {
    margin-bottom: 8px;
}

.map-frame {
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Related Articles */
.related-articles {
    background: #e8f4fc;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.related-title {
    font-family: 'ALQASSAM-EXTENDED';
    font-size: 16px;
    color: #1a5276;
    margin-bottom: 15px;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.related-list a {
    font-size: 13px;
    color: #3498db;
    transition: color 0.3s ease;
}

.related-list a:hover {
    color: #1a5276;
    text-decoration: underline;
}

/* Sidebar */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin: 30px 0;
}

.sidebar {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.sidebar-section {
    margin-bottom: 0;
}

.sidebar-title {
     background-image: url('../images/hosa.png');
    /*background:linear-gradient(90deg, #2B3492,#6465AD  100%) ;*/
    background-position:unset;
            background-repeat:no-repeat;
            background-size:contain;
            color: transparent;
            font-size: 12px;   
    padding: 12px 15px;
    font-family: 'ALQASSAM-EXTENDED';
    width: 100%;
   
}
.sidebar-title2 {
     background-image: url('../images/articalsame.png');
    /*background:linear-gradient(90deg, #2B3492,#6465AD  100%) ;*/
    background-position:unset;
            background-repeat:no-repeat;
            background-size:contain;
            color: transparent;
            font-size: 12px;   
    padding: 12px 15px;
    font-family: 'ALQASSAM-EXTENDED';
    width: 100%;
   
}

.sidebar-list {
    padding: 0 5px;
    
}

.sidebar-list li {
  
     background-image: url('../images/hotelban.png');
    /*background:linear-gradient(90deg, #2B3492,#6465AD  100%) ;*/
    background-position:unset;
            background-repeat:no-repeat;
            background-size:contain;
          
              text-align: center; 
    padding: 6px 0;
    border-bottom: 1px solid var(--gray);
    font-size: 16px;
    width: 100%;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list a:hover {
    color: var(--accent-color);
}

/* Sidebar Ad */
.sidebar-ad {
    padding: 15px;
}

.sidebar-ad img {
    width: 100%;
    border-radius: var(--border-radius);
}


/* Back Button */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a5276;
    font-size: 14px;
    margin-bottom: 20px;
    padding: 8px 15px;
    background: #e8f4fc;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #1a5276;
    color: #fff;
}


.page-title-section {
    text-align: center;
    padding: 30px  20px;
    background-color: var(--white);
}

.page-title-ar {
    font-family: 'GEDinarTWO';
    font-size: 40pt;
    color: #E81F25;
    margin-bottom: 10px;
    font-weight: 100;
    text-align: center;
}

.page-title-en {
    font-family: "Times New Roman", Times, serif;
    font-size: 40pt;
    color: #253873;
    font-weight: normal;
    margin-bottom: 15px;
}
.show-map{
    font-size: 14px;
    color:#5966AE
}

.page-location {
    font-size: 35pt;
    color: var(--dark-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    direction: ltr;
    font-family: 'Kalinga Bold*' , Times, serif;
}

.page-location a {
    color: var(--accent-color);
    text-decoration: underline;
}

.page-description {
    font-size: 14px;
    color: var(--dark-gray);
    max-width: 800px;
    margin: 15px auto 0;
    line-height: 1.8;
}

/* ==========================================
   Image Grid (Details Page)
   ========================================== */
.image-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    margin: 20px 0;
}

.image-grid-main {
    grid-row: span 2;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.image-grid-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-grid-side {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.image-grid-item {
    height: 120px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.image-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.image-grid-item:hover img {
    transform: scale(1.1);
}

.image-grid-item.more-images {
    position: relative;
}

.image-grid-item.more-images::after {
    content: 'شاهد كل الصور';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

/* ==========================================
   Sidebar Styles
   ========================================== */


/* ============================================
   9. تأثيرات عامة
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}
/*hotel*/




/* ==========================================
   Hotels Page Styles
   ========================================== */

/* Hero Banner for Hotels */
.hero-banner {
    background: url('https://images.unsplash.com/photo-1596422846543-75c6fc197f07?w=1920') center/cover no-repeat;
    height: 250px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.8), rgba(41, 128, 185, 0.8));
}

.hero-banner .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-banner .hero-content h1 {
    font-family: 'ALQASSAM-EXTENDED';
    font-size: 36px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hotels Filter Section */
.hotels-filter {
    padding: 0;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.hotels-filter-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.filter-row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}
.custom-dropdown2 {height: 40px;
  flex: 1; /* عرض أقل من حقول النص كالصورة */
    position: relative;
    padding: 0; 
    display: flex;
    align-items: center;
 
}

/* تنسيق الجزء العلوي الذي يظهر دائماً ****************************************/
.dropdown-header {
    flex: 1;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    

}

html[dir="ltr"] .dropdown-list li {
    text-align: left;
    justify-content: flex-start;
    direction: ltr; /* تظل كما هي لضمان ترتيب النجوم */
}
/* تنسيق القائمة المنسدلة نفسها */
.dropdown-list {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
    border: 1px solid #1a5c96;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 5px rgba(0,0,0,0.2);
}

/* تنسيق عناصر القائمة *
.dropdown-list li {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    /*color: #f1c40f;  لون النجوم الذهبي *
    transition: background 0.2s;
    text-align: right;
    list-style: none;
}
/* تنسيق عناصر القائمة المنسدلة */
.dropdown-list li {
    /* تصغير الحشو العلوي والسفلي من 10px إلى 5px مثلاً */
    padding: 5px 15px; 
    
    /* تقليل ارتفاع السطر لتقريب النصوص من بعضها */
    line-height: 1.2; 
    
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
    list-style: none;
    
    /* الحفاظ على ترتيب النجوم من اليسار كما طلبت سابقاً */
    display: flex;
    direction: ltr;
    justify-content: flex-start;
    align-items: center; /* لضمان توسط المحتوى عمودياً بعد التصغير */
}

/* إزالة البرواز السفلي لآخر عنصر لتحسين الشكل العام */
.dropdown-list li:last-child {
    border-bottom: none;
}
.dropdown-list li:hover {
    background-color: #f8f9fa;
}

/* إظهار القائمة عند التفعيل */
.custom-dropdown2.active .dropdown-list {
    display: block;
}




/* التجاوب مع الجوال */
@media (max-width: 768px) {
    .filter-wrapper {
        flex-direction: column;
        padding: 15px;
    }
    .filter-input, .custom-dropdown2{
        width: 100%;
        flex: none;
        font-size:16px ;
    }
}
/*////////////////////////////////////////////*/

.custom-dropdown2.active .arrow2 {
    transform: rotate(180deg);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    color: var(--white);
    font-size: 13px;
    font-weight: bold;
}

.filter-group .filter-input {
    padding: 10px 15px;
    border-radius: 5px;
    min-width: 180px;
    
}




/* Rating Stars Filter */
.rating-filter {
    min-width: 150px;
}

.rating-stars-filter {
    display: flex;
    gap: 3px;
    direction: ltr;
    background: var(--white);
    padding: 8px 12px;
    border-radius: 5px;
}

.rating-stars-filter .star {
    font-size: 20px;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.rating-stars-filter .star:hover,
.rating-stars-filter .star.active,
.rating-stars-filter .star.filled {
    color: #f1c40f;
}

/* Hotels Grid */
.hotels-section {
    padding: 40px 40px;
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

/* Hotel Card */
.hotel-card {
    background-color: var(--white);
    border-radius:12px;
   /* overflow: hidden;*/
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 140mm;
     border: 4px solid var(--primary-dark2);
     position: relative;
    /* تأكد ألا يوجد overflow: hidden هنا إذا أردت الوسام أن يبرز للخارج */
    overflow: visible;

}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Hotel Image Container */
.hotel-image-container {
    position: relative;
    height:90mm;
    overflow: visible;   
   

}
.image-con{ 
  border-radius: 50%; }

.hotel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}



/* Hotel Badge / Ribbon */
.hotel-badge {

    font-family:'GEDinarTwo';
    position: absolute;
    top: 20px;
    left: -8px; /* القيمة التي يخرج بها الوسام عن الكارت */
    background-color: linear-gradient(90deg,#004ea0, #67a9dc); /* أزرق مثلاً */
    color: white;
    font-size: 12pt;
    padding: 2px 20px 2px 15px; /* مساحة أكبر من جهة اليمين */
    font-weight: 100;
    z-index: 10;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
    border-radius: 8px 0 0 2px;
    /* شكل السهم المقطوع جهة اليمين */
    clip-path: polygon(100% 0%, 95% 50%, 100% 100%, 0 100%, 0 0);
}
.hotel-badge::before {
    content: "  "; /* ضروري جداً وإلا لن يظهر العنصر */
    position: absolute;
    top: 100%; /* يبدأ من أسفل الوسام */
    left: 0;
    width: 0;
    height: 0;
    
    /* رسم المثلث */
    border-style: solid;
    border-width: 0 8px 8px 0; /* الرقم 10 هنا يجب أن يطابق الـ left أعلاه */
    border-color: transparent #1d1d1d transparent transparent; /* لون أحمر غامق جداً للظل */
    
    z-index: 10; /* ليكون خلف الوسام وأمام الكارت */
}

/* في الوضع الطبيعي (عربي) */
.badge-en {
    display: none; /* إخفاء الإنجليزي */
}

.badge-ar {
    display: inline; /* إظهار العربي */
}

/* عندما يتغير اتجاه الصفحة إلى إنجليزي */
html[dir="ltr"] .badge-ar {
    display: none; /* إخفاء العربي */
}

html[dir="ltr"] .badge-en {
    display: inline; /* إظهار الإنجليزي */
    font-family: 'Tunga', sans-serif;
    font-weight: 100;
}



/*.hotel-badge.best-seller {
    background-color: #e74c3c;
}

.hotel-badge.recommended {
    background-color: #27ae60;
}

.hotel-badge.new {
    background-color: #3498db;
}*/
.hotel-badge.best-seller {
       /* توحيد الارتفاع لجميع العناصر */
 background: linear-gradient(90deg, 
     #004ea0, #67a9dc);
   /* أزرق كما في صورة "أكثر مبيعاً" */
}
.hotel-badge.best-seller::after {
    border-right-color: #1e88e5;
}

.hotel-badge.recommended {
    background-color: #f3ae1c; /* برتقالي كما في صورة "موصى به" */
}
.hotel-badge.recommended::after {
    border-right-color: #f39c12;
}

/* Hotel Action Buttons */
.hotel-actions {
    position: absolute;
    bottom: 5%; /* وضعها فوق نهاية الصورة تقريباً */
    right: 15px;
    display: flex;
    flex-direction: row;
    direction: ltr;
    gap: 8px;
    opacity: 1;
    transform: none;
    transition: var(--transition);
}

.hotel-card:hover .hotel-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    
}

.action-btn:hover {
    transform: scale(1.1);
}

.action-btn.favorite-btn:hover {
    background-color: #e74c3c;
    color: var(--white);
}

.action-btn.favorite-btn:hover svg {
    stroke: var(--white);
    fill: var(--white);
}

.action-btn.compare-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.action-btn.compare-btn:hover svg {
    stroke: var(--white);
}

.action-btn svg {
    color: var(--dark-gray);
}

/* Hotel Info */
.hotel-info {
    padding: 0;
    text-align: center;
}

/* Hotel Rating Stars */
.hotel-rating {
margin-top: 5px;
    display: flex;
    justify-content: center;
    align-items: center; /* يضمن محاذاة النجوم عمودياً في نفس السطر */
    gap: 2px;
    margin-bottom: 10px; /* تم تعديل القيمة السالبة لمنع التداخل مع العناصر الأخرى */
    direction: ltr;
}

.hotel-rating .star {
    display: inline-block; /* يضمن أن تعامل النجوم كعناصر في سطر واحد */
    font-size: 35px;
    color: var(--gray);
    line-height: 1; /* يزيل أي مسافات إضافية ناتجة عن ارتفاع السطر الافتراضي */
}

.hotel-rating .star.filled {
    /* أزلنا margin-top: 8px لكي لا تنزل النجوم الملونة عن مستوى النجوم الرمادية */
    background-image: url('../images/star.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    color: transparent;
    width: 35px; /* يفضل تحديد عرض مساوٍ لحجم الخط لضمان ظهور صورة الخلفية */
    height: 35px;
}

/* الحاوية الأساسية للأسماء */
/* الحاوية المشتركة */
.hotel-names-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px; /* مسافة افتراضية صغيرة جداً بين العناصر */
}

/* --- التنسيق العربي (الافتراضي) --- */
.hotel-name-ar {
    order: 1;
    margin-bottom: 2px; /* مسافة أسفل العربي ليظهر الإنجليزي بوضوح تحته */
    font-family: 'GEDinarTwo';
    font-size: 18pt;
    color: #E81F25;
}

.hotel-name-en {
    order: 2;
    margin-bottom: 0;
    font-family: 'Adobe-Arabic';
    font-size: 21pt;
    color: #154A98;
}

/* --- التنسيق الإنجليزي (عند تغيير اللغة) --- */
html[dir="ltr"] .hotel-name-en {
    order: 1;
    margin-bottom: -5px; /* مسافة أسفل الإنجليزي لأنه أصبح الأول */
    font-family: 'Adobe-Arabic', sans-serif;
    font-size: 32px;
    font-weight: 300;
}

html[dir="ltr"] .hotel-name-ar {
    order: 2;
    margin-bottom: 0; /* إلغاء المسافة لأن العربي أصبح في الأسفل */
    font-family: 'GEDinarTwo', sans-serif;
    font-size: 19px;
    font-weight: 400;
}


/* Details Button */
.details-btn {
    display: inline-block;
    padding: 8px 25px;
    background-color: var(--gradient-color-2);
    color: var(--white);
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-family: 'GEDinarTWO';
    cursor: pointer;
    transition: var(--transition);
   
}

.details-btn:hover {
    background-color: var(--dark-blue);
}

/* Pagination Styles */
.page-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border: 1px solid var(--gray);
    background-color: var(--white);
    color: var(--text-color);
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
}

.page-btn:hover,
.page-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.page-btn.prev-btn,
.page-btn.next-btn {
    font-weight: bold;
}




/**********************************/


/* إخفاء العناصر في الشاشات الكبيرة */
.mobile-only-item {
    display: none !important;
}

@media (max-width: 1024px) {
    /* إظهار العناصر في الموبايل */
    .mobile-only-item {
        display: block !important;
        background-color: #f9f9f9; /* تمييزها بلون مختلف قليلاً */
        border-top: 2px solid #eee; /* فاصل بصري */
    }

    .navbar {
        position: fixed;
        top: 80px; /* يفضل أن يكون تحت اللوجو مباشرة */
        left: 5%;
        right: 5%;
        width: 90%; /* لترك مسافة بسيطة من الجانبين */
        background: #fff;
        z-index: 1000;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        max-height: 80vh;
        overflow-y: auto;
        display: none; 
    }

    .navbar.active {
        display: block;
    }

    /* تنسيق النصوص داخل القائمة */
    .nav-link {
        padding: 15px 20px;
        font-weight: bold;
        color: #333;
        border-bottom: 1px solid #f0f0f0;
    }

    /* إخفاء عناصر الـ Top Bar الأصلية في الموبايل لتجنب التكرار *
    .header-gradient-bar {
        display: none; 
    }*/
}
/**********************************/



























/* Font Faces */
@font-face {
    font-family: 'SwissraCondensed-Medium';
    src: url('../fonts/SwissraCondensed-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'ALQASSAM-EXTENDED';
    src: url('../fonts/Al-Qassam-Extended.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'GEDinarTWOMedium';
    src: url('../fonts/GEDinarTWOMedium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'kalinga-bold';
    src: url('../fonts/kalinga-bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'SwissraCondensed-Medium';
    src: url('fonts/SwissraCondensed-Medium.woff2') format('woff2'),
         url('fonts/SwissraCondensed-Medium.woff') format('woff'),
         url('fonts/SwissraCondensed-Medium.ttf') format('truetype');
    font-weight: 500; /* أو حسب سماكة الخط */
    font-style: normal;
    font-display: swap; /* لضمان ظهور نص بديل حتى يتم تحميل الخط */
}
@media (max-width: 768px) {
    :root {
        --font-size-base: 15px;
        --font-size-large: 20px;
        --font-size-xlarge: 28px;
        --font-size-xxlarge: 36px;
        --spacing-md: 20px;
        --spacing-lg: 24px;
        --spacing-xl: 32px;
        --spacing-xxl: 40px;
    }
/* Hero Section */
    .hero-section {
        height: 350px;
    }
    
    .hero-title {
        font-size: 12pt;
        margin-bottom: 2px;
    }
    
    .hero-dock {
        left: var(--spacing-md);
        gap: var(--spacing-sm);
    }
    
    .dock-item {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
     


}
/* ============================================
   تنسيقات الشاشات الصغيرة (Mobile Responsive)
   ============================================ */
@media (max-width: 1024px) {
    html[dir="ltr"] .navbar {
    flex-direction: row-reverse;
     
    
}   html[dir="ltr"] .navbar.active {
   
    width: 100%;
}
      
       .navbar.active {
        right: 0; /* تظهر عند الضغط */
    }
     .hero-title {
  
        margin-bottom: 2px;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 20px;
    }

    .nav-link {
        flex-direction: row; /* في الجوال النص بجانب الأيقونة */
        font-size: 16px;
    }

    .mobile-menu-btn {
        display: block; /* يظهر فقط في الجوال */
    }

    .header-actions {
        display: none; /* إخفاء زر الاتصال في الجوال أو تصغيره */
    }
}


/****      ******     ********         **/

/*تعديل القائمة في الهواتف*/




    @media (max-width: 1024px) {
    .navbar {
        position: fixed;
        top: 20%; 
        /* نضبط القيم الافتراضية لتكون قابلة للإلغاء */
        left: 0;
        right: 0;
        width: 100%; /* العرض الكامل */
        background: #fff;
        z-index: 1000;
        border-radius: 0; /* نلغي الحواف الدائرية لتبدو كشريط كامل العرض */
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        max-height: 80vh; /* زيادة الارتفاع قليلاً لتناسب المحتوى */
        overflow-y: auto;
        display: none; 
    }

   .testimonials-grid {
        grid-template-columns: repeat(2, 1fr); /* 3 كروت في الصف */
    }
    .navbar.active {
        display: block;
    }
.nav-link i:not(.dropdown-arrow), 
    .nav-icon-img {
        display: none !important; /* إخفاء أي أيقونة أو صورة داخل الرابط */
    }
    .nav-menu {
        flex-direction: column;
        width: 100%;
        padding: 0; /* إلغاء أي مسافات داخلية للقائمة الكبيرة */
        gap: 0;     /* إلغاء الفراغات بين العناصر */     
        padding: 0;
        margin: 0;
    
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0; /* خط خفيف جداً بين العناصر كما في الصورة */
    }

    .nav-link {
   /*     padding: 12px 10px; /* تقليل المسافة (كانت سابقاً 15px أو أكثر) */
        font-size: 14px;    /* تصغير الخط قليلاً ليتناسب مع الموبايل */
       
       justify-content: flex-start; /* محاذاة النص لليمين/البداية */
               /* المسافة بين الأيقونة والنص */



        display: flex;
       /* justify-content: space-between; /* النص في جهة والسهم في جهة */
        align-items: center;
        padding: 12px 10px;
        width: 100%;
        text-align: right;
        flex-direction: row; /* التأكد من الترتيب الأفقي */
    }

    

    /* تقليل مسافات القوائم المنسدلة الفرعية */
    .dropdown-menu {
        background-color: #fafafa;
        padding: 0;
    }

    .dropdown-link {
        padding: 10px 40px; /* إزاحة أكبر لليمين لتمييزها كفرع */
        font-size: 13px;
        border-bottom: 1px solid #eee;
    }
}

@media (max-width: 1024px) {
     .hotels-grid {
        grid-template-columns: repeat(2, 1fr); /* عمودين للجوال */
    }
    /* تنسيق السهم الافتراضي */
    .dropdown-arrow {
        transition: transform 0.3s ease; /* سرعة الدوران */
        display: inline-block;
        margin-right: auto; /* دفع السهم لأقصى اليسار في RTL */
        margin-left: 10px;
    }


    /* دوران السهم عند تفعيل القائمة */
    .nav-item.active > .nav-link .dropdown-arrow {
        transform: rotate(180deg); /* تدوير السهم 180 درجة */
        color: #8b0803; /* تغيير لون السهم عند الفتح (اختياري) */
    }

    /* ضمان ثبات القائمة الفرعية وتنسيقها */
    .nav-item.active > .dropdown-menu {
        display: block !important; /* إجبار القائمة على البقاء ظاهرة */
        max-height: 500px; /* تعيين ارتفاع أقصى للسماح بالأنيميشن */
        opacity: 1;
        visibility: visible;
        transition: all 0.4s ease-in-out;
    }
}

/*تعديل القائمة في الهواتف*/

/*888888888888888888888888888888888888888888888888888888888888*/
@media (max-width: 992px) {
    .destinations-grid,
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
  
    .hotels-grid {
        grid-template-columns: repeat(2, 1fr); /* عمودين للجوال */
    }
    
  
}

/* للشاشات الصغيرة (Mobile) - كارد واحدة في المنتصف */
@media (max-width: 600px) {
    .destinations-grid,
     .offers-grid,
     .testimonials-grid,
     .hotels-grid {
        grid-template-columns: 1fr; /* عمود واحد فقط */
        max-width: 350px; /* تحديد عرض أقصى للشبكة لتوسيط الكارد */
        margin: 0 auto; /* توسيط الشبكة بالكامل في الصفحة */
    }
    .testimonial-card {
      height:250.11px;
    width: 100%;
    }
    .destination-section,
     .best-offers-section,
     .testimonials-section,hotels-section  {
        padding: 20px 15px;
    }

    .destination-button{font-size: 1rem;
        height: 45px;
         font-size:16pt;
    font-weight:100;}
     .btn-explore {
        font-size: 1rem;
        height: 45px;
       
    }
      .hero-title {
        font-size: 12pt;
         
        margin-bottom: 2px;
    
        
    }
    html[dir="ltr"] .hero-title,.section-title {
       font-size: 8pt;
       margin-bottom: 0;
    }
    html[dir="ltr"] .section-title {
       font-size: 8pt;
       margin-bottom:15px ;
    }

}
@media (max-width: 320px) {
    .hero-title {
        font-size: 12pt;
        margin-bottom: 2px;
    }
    .offer-title {
        font-size: 14px;
    }
    
    .offer-description {
        font-size: 12px;
    }
     .copyright {
        font-size: 8pt;
    }
    .footer-title{font-size:12pt;}
    .footer-links a {font-size: 10pt;}

}
/* --- التجاوب مع الشاشات الصغيرة (Mobile) --- */
@media (max-width: 768px) {
    .dropdown-menu, .submenu {
        position: static; /* تصبح القوائم تحت بعضها في الموبايل */
        opacity: 1;
        visibility: visible;
        display: none; /* نخفيها ونظهرها بالنقر عبر JS إذا أردت */
        box-shadow: none;
        width: 100%;
        transform: none;
    }

    .nav-item:hover .dropdown-menu,
    .has-submenu:hover .submenu {
        display: block;
    }
    
    .submenu {
        padding-right: 20px; /* إزاحة للمدن في الموبايل لتمييزها */
    }

    html[dir="ltr"] .submenu {
        padding-right: 0;
        padding-left: 20px;
    }
}

/* للشاشات المتوسطة (Tablets) *
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 كروت في الصف *
    }
    .section-title { font-size: 1.8rem; }
}

/* للشاشات الصغيرة (Mobile L) *
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr); /* كرتين في الصف *
    }
    .tab-button { padding: 10px 10px; font-size: 1rem; }
    .wa{
    width: 100%;
z-index: 10;}
}

/* للشاشات الصغيرة جداً (Mobile S) *
@media (max-width: 992px) {
    .testimonials-section {
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 150px; /* تقليل المساحة السفلية *
        margin-bottom: -50px;
    }
}

/* للشاشات الصغيرة (Mobile) *
@media (max-width: 600px) {
    .testimonials-section {
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 80px; /* مساحة صغيرة تناسب حجم الموجة الصغير *
        margin-bottom: 0; /* إلغاء المارجن السالب لمنع تداخل الأقسام *
    }

    .tab-content-container {
        border-radius: 0 0 30px 30px; /* تقليل انحناء الحواف *
        padding-bottom: 30px;
    }

    .wa {
        bottom: -1px; /* إلصاقها تماماً بالحافة *
                z-index: 10;
    }

    .wave-bottom {
        /* في الجوال نثبت الارتفاع قليلاً لمنع التمدد المفرط *
        height: 60px; 
        clip-path: inset(0 0 20% 0); /* تقليل القص في الشاشات الصغيرة *
        margin-bottom: -5%;
    }
}

@media (max-width: 992px) {
    .testimonials-section {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 100px;
        margin-bottom: 0; /* إلغاء أي هوامش سالبة تسبب اختفاء الفوتر *
    }
}*/

@media (max-width: 600px) {
    .testimonials-section ,
    .hotels-section{
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 60px;
        margin-bottom: 0;
    }

    .wa {
        /* في الجوال نقلل الإزاحة لأن الموجة أصغر */
        transform: translateY(20%);
    }

    .wave-bottom {
        height: 60px; /* تثبيت ارتفاع الموجة في الجوال */
        clip-path: inset(0 0 15% 0); /* تقليل نسبة القص في الجوال */
    }
}




/* --- للشاشات المتوسطة (Tablets) --- */
@media (max-width: 992px) {
    .tours-hero-section {
        height: 300px; /* تقليل ارتفاع الصورة */
    }
    
    .tours-title-section {
        font-size: 12px;
        margin-top: -50px;
    }

    .title-box {
        padding: 15px 60px;
        min-width: 100px;
    }
}

/* --- للشاشات الصغيرة (Mobile) --- */
@media (max-width: 600px) {
    
    .tours-hero-section {
        height: auto; /* ارتفاع مناسب للموبايل */
    }

    .tours-title-section {
        font-size: 10px; /* تصغير الخط */
        margin-top: -45px; /* تقليل الإزاحة لتناسب الحجم الصغير */
    }

    .title-box {
        padding: 15px 40px;
        min-width: 200px;
        border-radius: 30px 30px 0 0; /* تقليل الانحناء ليناسب الشاشة */
    }
}

/* --- للشاشات الصغيرة جداً (Small Mobile) --- */
@media (max-width: 400px) {
    .tours-hero-section {
        height: auto;
    }
    
    .tours-title-section {
        font-size: 8px;
         margin-top: -40px;
    }

    .title-box {
        padding: 15px 30px;
        min-width: 50px;
    }
   
}


@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: 2;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        gap: 15px;
    }
    .logo-image
    {height: 15mm;
        
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-controls {
        flex-direction: column;
    }
    
    .filter-input,
    .filter-select {
        width: 100%;
        font-size: 14px;
        
    }
    
    .tabs-header {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        border-radius: 5px !important;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-title-ar {
        font-size: 24px;
    }
    
    .page-title-en {
        font-size: 18px;
    }
    
    .filter-title {
        font-size: 20px;
    }
    
    .video-slide video,
    .video-slide iframe,
    .video-slide img {
        height: 250px;
    }
    
    .gallery-main-image {
        height: 250px;
    }
}

/**************************************/

@media (max-width: 575px) {
   
    
    
    /* Hotels Grid - Single Column */
   
    
    .hotel-card {
        max-width: 100%;
    }
    
    .hotel-image-container {
        height: 340px;
    }
    
    .hotel-badge {
        font-size: 10px;
        padding: 4px 35px;
    }
    
    .hotel-actions {
        opacity: 1;
        transform: translateX(0);
    }
    
    .action-btn {
        width: 35px;
        height: 35px;
    }
    
    .hotel-info {
        padding: 8px;
    }
    
 
    
    .hotel-name-ar {
        font-size: 18px;
    }
    
    .hotel-name-en {
        font-size: 20px;
    }
    
    .details-btn {
        padding: 8px 25px;
        font-size: 12px;
    }
}
    


/******************************************/
/* --- شاشات الموبايل والأجهزة الصغيرة --- */
@media (max-width: 600px) {
    .pagination {
        gap: 5px; /* تقريب الأزرار من بعضها */
        padding-top: 30px;
    }

    .pagination-prev,
    .pagination-next,
    .pagination-number {
        /* تصغير حجم المربعات لتناسب عرض الشاشة */
        width: 35px;
        height: 45px;
        font-size: 14px; /* تصغير حجم الخط */
        border-width: 1px; /* تنحيف الحدود */
    }

    /* تحسين شكل الأسهم */
    .pagination-prev, .pagination-next {
        width: 40px; /* جعل أزرار التنقل أكبر قليلاً لسهولة الضغط */
    }

    /* إخفاء بعض الأرقام في الشاشات الصغيرة جداً (اختياري) */
    /* إذا كان لديك 8 صفحات، قد يفضل إخفاء الأرقام الوسطى برمجياً أو عبر CSS */
    .pagination-number:nth-child(n+5):nth-child(-n+7) {
        /* إخفاء الصفحات من 5 إلى 7 لتوفير مساحة */
        display: none; 
    }
}

/* --- الشاشات الصغيرة جداً (أقل من 400px) --- */
@media (max-width: 400px) {
    .pagination-number {
        width: 30px;
        height: 40px;
        font-size: 12px;
    }
    
    .pagination-prev, .pagination-next {
        width: 35px;
    }

     .filter-input,
    .filter-select, filter-input::placeholder {
        width: 100%;
        
          font-size:14px ;
    }
    
}