/* =========================================
   DDT ULTIMATE UX POLISH - PREMIUM FEEL
   ========================================= */

/* 1. شريط التمرير الفخم (Custom Scrollbar) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #041626; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #F2BE59, #DDB66A);
    border-radius: 10px;
    border: 2px solid #041626;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #08C5E5, #21B8C8); }

/* 2. لون تحديد النص (Text Selection) */
::selection { background: #F2BE59 !important; color: #061B30 !important; }
::-moz-selection { background: #F2BE59 !important; color: #061B30 !important; }

/* 3. القائمة العلوية (Navbar) - تأثير زجاجي + خط أصفر */
.nav-wrap {
    background: rgba(4, 22, 38, 0.75) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.3s ease !important;
}
.nav-links a {
    position: relative;
    transition: all 0.3s ease !important;
    display: inline-block;
}
.nav-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    margin-top: 8px;
    background: #F2BE59;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-left: auto;
    margin-right: auto;
}
.nav-links a:hover::after { width: 30px; }
.nav-links a.active::after { width: 30px; background: #08C5E5; }

/* 4. الواجهة الرئيسية (Hero Section) */
.hero h1 { text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important; }
.hero h1 em {
    background: linear-gradient(135deg, #F2BE59 0%, #E8C77F 50%, #DDB66A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-ctas .btn-gold { box-shadow: 0 10px 30px rgba(242, 190, 89, 0.3) !important; }
.hero-ctas .btn-gold:hover {
    box-shadow: 0 15px 40px rgba(242, 190, 89, 0.5) !important;
    transform: translateY(-3px) !important;
}
.hero-ctas .btn-glass {
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    transition: all 0.3s ease !important;
}
.hero-ctas .btn-glass:hover { background: rgba(255, 255, 255, 0.15) !important; transform: translateY(-3px) !important; }

/* 5. الأزرار العامة (Buttons) */
.btn {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: relative;
    overflow: hidden;
}
.btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(8, 197, 229, 0.3) !important;
}
.btn:active { transform: translateY(0) !important; }
.lang-btn:hover, .icon-btn:hover {
    background: rgba(242, 190, 89, 0.1) !important;
    border-color: #F2BE59 !important;
    color: #F2BE59 !important;
    transform: translateY(-2px) !important;
}

/* 6. بطاقات الوجهات والرحلات (Cards) */
.destination-card, .experience-card {
    transition: all 0.4s ease !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    will-change: transform, box-shadow;
}
.destination-card:hover, .experience-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(242, 190, 89, 0.6) !important;
}
.destination-card img, .experience-photo img {
    transition: transform 0.6s ease !important;
}
.destination-card:hover img, .experience-card:hover .experience-photo img {
    transform: scale(1.08) !important;
}
.dest-pill {
    background: rgba(8, 197, 229, 0.2) !important;
    border: 1px solid rgba(8, 197, 229, 0.5) !important;
    color: #FFFFFF !important;
    backdrop-filter: blur(8px) !important;
}

/* 7. الوميض (Shimmer) للصور أثناء التحميل */
.destination-card img, .experience-photo img, .promise-image img {
    background: linear-gradient(90deg, #0A2942 25%, #102F49 50%, #0A2942 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 8. تفاصيل كروت التجارب (Prices & Buttons) */
.experience-body { display: flex !important; flex-direction: column !important; flex: 1 !important; }
.experience-bottom {
    margin-top: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding-top: 15px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.price-label { font-size: 10px !important; text-transform: uppercase !important; letter-spacing: 0.1em !important; color: #AAC0C1 !important; display: block !important; }
.price { font-size: 20px !important; font-weight: 900 !important; color: #F2BE59 !important; display: block !important; margin-top: 3px !important; }
.price small { font-size: 11px !important; color: #AAC0C1 !important; }
.ddt-add-to-trip {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    padding: 10px 15px !important; border-radius: 999px !important; font-size: 11px !important; font-weight: 800 !important;
    background: rgba(8, 197, 229, 0.08) !important; border: 1px solid rgba(8, 197, 229, 0.3) !important; color: #08C5E5 !important;
    transition: all 0.3s ease !important; margin-top: 12px !important;
}
.ddt-add-to-trip:hover { background: #08C5E5 !important; color: #061B30 !important; box-shadow: 0 4px 15px rgba(8, 197, 229, 0.3) !important; }
.round-arrow {
    width: 42px !important; height: 42px !important; border: 1px solid rgba(255,255,255,0.2) !important;
    transition: all 0.3s ease !important; color: #FFFFFF !important; display: flex !important; align-items: center !important; justify-content: center !important; flex-shrink: 0 !important;
}
.experience-card:hover .round-arrow { background: #F2BE59 !important; color: #061B30 !important; border-color: #F2BE59 !important; transform: translate(2px, -2px) !important; }

/* 9. أزرار التصفية (Filters) */
.filter-btn {
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    backdrop-filter: blur(5px) !important;
}
.filter-btn:hover { transform: translateY(-2px) !important; border-color: #F2BE59 !important; background: rgba(255,255,255,0.05) !important; }
.filter-btn.active {
    background: #F2BE59 !important; color: #061B30 !important; border-color: #F2BE59 !important;
    box-shadow: 0 4px 15px rgba(242, 190, 89, 0.3) !important; font-weight: 900 !important;
}

/* 10. أزرار الترقيم (Pagination) */
.catalog-pagination { margin-top: 40px !important; gap: 12px !important; }
.catalog-pagination button {
    width: 40px; height: 40px; border-radius: 50% !important; border: 1px solid rgba(156,207,230,.3) !important;
    background: transparent !important; color: #fff !important; font-weight: 700 !important; transition: all 0.3s ease !important;
}
.catalog-pagination button:hover { border-color: #F2BE59 !important; color: #F2BE59 !important; transform: scale(1.1) !important; }
.catalog-pagination button[aria-current="page"] {
    background: #F2BE59 !important; border-color: #F2BE59 !important; color: #061B30 !important;
    box-shadow: 0 4px 15px rgba(242, 190, 89, 0.4) !important;
}

/* 11. نافذة الحجز (Booking Modal) */
.booking-modal { background: rgba(1, 10, 20, 0.85) !important; backdrop-filter: blur(12px) !important; }
.booking-modal__panel {
    border: 1px solid rgba(8, 197, 229, 0.4) !important; box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6) !important;
    transform: translateY(0); animation: modalSlideUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
@keyframes modalSlideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.booking-form-grid input:focus, .booking-form-grid textarea:focus, .booking-form-grid select:focus {
    background: rgba(13, 44, 67, 0.9) !important; border-color: #08C5E5 !important; box-shadow: 0 0 0 3px rgba(8, 197, 229, 0.15) !important;
}

/* 12. أقسام Promise, Steps, Stats & Footer */
.promise-image { box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3) !important; border: 1px solid rgba(242, 190, 89, 0.2) !important; transition: all 0.5s ease !important; }
.promise-image:hover { border-color: rgba(242, 190, 89, 0.6) !important; transform: scale(1.02) !important; }
.promise-item:hover .promise-icon { background: #F2BE59 !important; color: #061B30 !important; transform: rotate(-10deg) scale(1.1) !important; box-shadow: 0 8px 20px rgba(242, 190, 89, 0.3) !important; }
.stats-strip { background: linear-gradient(135deg, #0A2942, #061B30) !important; border-top: 1px solid rgba(242, 190, 89, 0.3) !important; border-bottom: 1px solid rgba(242, 190, 89, 0.3) !important; }
.stat strong { background: linear-gradient(135deg, #F2BE59, #E8C77F) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; background-clip: text !important; font-size: 38px !important; text-shadow: none !important; }
.step-card { transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important; border: 1px solid rgba(255, 255, 255, 0.08) !important; }
.step-card:hover { transform: translateY(-8px) !important; border-color: rgba(242, 190, 89, 0.5) !important; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important; }
.step-card:hover .step-num { background: #F2BE59 !important; color: #061B30 !important; border-color: #F2BE59 !important; box-shadow: 0 0 20px rgba(242, 190, 89, 0.4) !important; }
.footer { border-top: 1px solid rgba(242, 190, 89, 0.2) !important; background: #02111F !important; }
.footer a:hover { color: #F2BE59 !important; transform: translateX(3px) !important; display: inline-block; }
.social-links a:hover { background: rgba(242, 190, 89, 0.15) !important; border-color: #F2BE59 !important; color: #F2BE59 !important; transform: translateY(-5px) scale(1.1) !important; box-shadow: 0 5px 15px rgba(242, 190, 89, 0.2) !important; }

/* 13. الشريط العلوي (Topline) */
.topline { background: rgba(2, 14, 24, 0.9) !important; border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important; }
.topline a:hover { color: #F2BE59 !important; }

/* 14. الموبايل (Mobile UX) */
@media (max-width: 768px) {
    input, select, textarea { font-size: 16px !important; }
    .btn, .booking-tab, .field, .icon-btn, .lang-btn, .filter-btn, .round-arrow { min-height: 48px !important; }
    .booking-body { gap: 12px !important; padding: 12px !important; }
    .field { padding: 14px 16px !important; }
    .experience-grid, .destination-grid { gap: 16px !important; }
    .experience-body { padding: 16px !important; }
    .destination-card:hover, .experience-card:hover { transform: none !important; box-shadow: none !important; }
    .destination-card:hover img, .experience-card:hover .experience-photo img { transform: none !important; }
    .dest-content p, .experience-body p, .section-desc { font-size: 13px !important; line-height: 1.6 !important; }
    .nav-wrap { background: rgba(4, 22, 38, 0.95) !important; }
    .mobile-overlay {
        background: rgba(4, 22, 38, 0.98) !important; backdrop-filter: blur(25px) !important;
        animation: slideInMenu 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    }
    .mobile-nav-link {
        font-family: var(--site-font-heading) !important; font-size: 32px !important; font-weight: 500 !important;
        padding: 20px 0 !important; border-bottom: 1px solid rgba(255,255,255,0.05) !important; display: block !important;
        transition: all 0.3s ease !important; color: #E3EEF6 !important;
    }
    .mobile-nav-link:hover { color: #F2BE59 !important; padding-left: 15px !important; }
}
@keyframes slideInMenu { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   ✨ الهالة السماوية الهادئة (Safe Cyan Glow) ✨
   ========================================= */
a.brand img.brand-logo, 
a.brand img.brand-logo--header {
    transition: filter 0.4s ease-in-out !important;
}
a.brand:hover img.brand-logo, 
a.brand:hover img.brand-logo--header {
    filter: drop-shadow(0 0 12px rgba(8, 197, 229, 0.8)) 
            drop-shadow(0 0 25px rgba(255, 255, 255, 0.5)) !important;
}

/* التابات والواتساب وإصلاحات إضافية */
@media (max-width: 768px) {
    .brand-logo, .brand img { max-width: 140px !important; height: auto !important; }
    .booking-tabs { display: flex !important; overflow-x: auto !important; flex-wrap: nowrap !important; -webkit-overflow-scrolling: touch; scrollbar-width: none !important; padding-bottom: 5px !important; }
    .booking-tabs::-webkit-scrollbar { display: none !important; }
    .booking-tab { flex: 0 0 auto !important; white-space: nowrap !important; }
    .booking-card input, .booking-card select, .booking-form-grid input, .booking-form-grid select { outline: none !important; box-shadow: none !important; -webkit-appearance: none !important; appearance: none !important; background: transparent !important; border: none !important; color: #fff !important; font-size: 16px !important; width: 100% !important; }
    input[type="date"] { display: flex !important; align-items: center !important; }
    .whatsapp-float, #whatsapp-btn, .whatsapp-button { bottom: 20px !important; right: 15px !important; width: 50px !important; height: 50px !important; }
    body { padding-bottom: 80px !important; }
    .nav-actions { gap: 8px !important; }
    .icon-btn, .lang-btn, .trip-btn { padding: 8px 12px !important; min-height: 40px !important; }
}

/* =========================================
   💥 التثبيت النهائي (بدون نطط) للكمبيوتر والموبايل 💥
   ========================================= */


/* =========================================
   📱 ثانياً: الموبايل والتابلت (Mobile & Tablet)
   ========================================= */
@media (max-width: 1150px) {
    .hero {
        display: block !important;
        height: auto !important;
        min-height: auto !important;
        padding-bottom: 20px !important;
    }

    .hero-inner {
        padding-bottom: 20px !important; 
    }

    .booking-shell {
        position: relative !important; 
        top: auto !important;
        bottom: auto !important;
        left: auto !important;  
        right: auto !important;
        transform: none !important; 
        
        display: block !important;
        width: 92% !important; 
        max-width: 100% !important;
        
        margin: 30px auto 30px auto !important; 
        
        box-sizing: border-box !important;
        z-index: 10 !important;
    }

    .section--destinations {
        padding-top: 40px !important; 
    }
}