/* =========================================
   DDT UX Polish - Premium Feel
   ========================================= */

/* 1. توحيد شكل الأزرار الرئيسية */
.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;
}

/* 2. توحيد شكل بطاقات الوجهات والرحلات */
.destination-card, .experience-card {
    transition: all 0.4s ease !important;
    border-radius: 16px !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.2) !important;
    border-color: rgba(242, 190, 89, 0.5) !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;
}

/* 3. تحسين شكل حقول الحجز */
.field {
    transition: all 0.2s ease !important;
    border: 1px solid transparent !important;
}
.field:focus-within {
    background: rgba(8, 197, 229, 0.08) !important;
    border-color: #08C5E5 !important;
    box-shadow: 0 0 0 3px rgba(8, 197, 229, 0.15) !important;
}

/* 4. تحسين شكل أزرار التصفية (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;
}

/* 5. حركة ظهور ناعمة لبطاقات الرحلات */
@keyframes ddtFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
.experience-card {
    animation: ddtFadeIn 0.4s ease forwards;
}

/* 6. تحسين شكل أزرار الترقيم (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;
}
.catalog-page-label {
    color: #AEC6D7 !important;
    font-size: 12px !important;
    margin: 0 10px !important;
}

/* =========================================
   7. MOBILE UX IMPROVEMENTS (للموبايل)
   ========================================= */
@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; }
}
/* =========================================
   8. PREMIUM BOOKING MODAL & TRIP PLANNER
   ========================================= */

/* خلفية ضبابية أنيقة لنافذة الحجز */
.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,
.booking-form-grid textarea,
.booking-form-grid select {
    transition: all 0.3s ease !important;
    border: 1px solid rgba(156, 207, 230, 0.2) !important;
}

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

/* زر الإرسال في النافذة */
.booking-modal__submit {
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 25px rgba(8, 197, 229, 0.2) !important;
}

.booking-modal__submit:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(8, 197, 229, 0.4) !important;
}

/* شكل زر "My Trip" في القائمة العلوية */
.ddt-trip-cart-btn {
    transition: all 0.3s ease !important;
}
.ddt-trip-cart-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
    border-color: #F2BE59 !important;
}
.ddt-trip-cart-btn .ddt-trip-count {
    animation: pulseCount 2s infinite;
}

@keyframes pulseCount {
    0% { box-shadow: 0 0 0 0 rgba(242, 190, 89, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(242, 190, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(242, 190, 89, 0); }
}

/* نافذة Trip Planner */
.ddt-trip-panel {
    border: 1px solid rgba(8, 197, 229, 0.3) !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5) !important;
    animation: modalSlideUp 0.4s ease forwards;
}

/* رسالة النجاح (Success Message) */
.booking-success__icon {
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
/* =========================================
   9. EXPERIENCE CARDS - FINAL POLISH
   ========================================= */

/* تحسين شكل الكارت الداخلي */
.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;
}

/* تحسين شكل زر "Add to my trip" */
.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;
}

/* تحسين شكل الصورة عشان تندمج مع الكارت */
.experience-photo {
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

/* تحسين شكل الرسالة اللي بتطلع (Toast) */
.toast {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: rgba(10, 41, 66, 0.98) !important;
    border: 1px solid #F2BE59 !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4) !important;
    backdrop-filter: blur(10px) !important;
}

.toast::before {
    content: '✓' !important;
    display: grid !important;
    place-items: center !important;
    width: 24px !important;
    height: 24px !important;
    background: #F2BE59 !important;
    color: #061B30 !important;
    border-radius: 50% !important;
    font-weight: 900 !important;
    font-size: 14px !important;
    flex-shrink: 0 !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;
}
/* =========================================
   10. DESTINATIONS CARDS & MAP UX POLISH
   ========================================= */

/* تحسين شكل شريط التمرير الأفقي للوجهات (عشان ميبقاش شكله وحش) */
.destination-grid::-webkit-scrollbar {
    height: 6px !important;
}
.destination-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 10px !important;
}
.destination-grid::-webkit-scrollbar-thumb {
    background: #F2BE59 !important;
    border-radius: 10px !important;
}
.destination-grid::-webkit-scrollbar-thumb:hover {
    background: #E8C77F !important;
}

/* تحسين شكل بطاقة الوجهة (المدينة) */
.destination-card {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.destination-card:hover {
    border-color: rgba(242, 190, 89, 0.6) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
}

/* تحسين شكل النص داخل بطاقة الوجهة */
.dest-content h3 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !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;
}

/* تحسين أزرار تبديل العرض (كروت / خريطة) */
.ddt-view-switch {
    background: rgba(8, 35, 55, 0.6) !important;
    border: 1px solid rgba(156, 207, 230, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    padding: 6px !important;
}

.ddt-view-btn {
    transition: all 0.3s ease !important;
}

.ddt-view-btn[aria-pressed="true"] {
    background: #F2BE59 !important;
    color: #061B30 !important;
    box-shadow: 0 4px 15px rgba(242, 190, 89, 0.3) !important;
    border-radius: 999px !important;
}

/* تحسين شكل لوحة الخريطة */
.ddt-map-panel {
    background: linear-gradient(135deg, #0A2942 0%, #041626 100%) !important;
    border: 1px solid rgba(242, 190, 89, 0.3) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4) !important;
}

.ddt-map-panel__title {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.ddt-map-panel__badge {
    background: rgba(242, 190, 89, 0.15) !important;
    border-color: rgba(242, 190, 89, 0.5) !important;
    color: #F2BE59 !important;
}

/* تحسين شكل أزرار التكبير والتصغير في الخريطة */
#ddtDestinationMap .leaflet-bar a {
    background: rgba(10, 41, 66, 0.9) !important;
    color: #FFFFFF !important;
    border-color: rgba(156, 207, 230, 0.3) !important;
    transition: all 0.2s ease !important;
}

#ddtDestinationMap .leaflet-bar a:hover {
    background: #F2BE59 !important;
    color: #061B30 !important;
}
/* =========================================
   11. HERO & HEADER PREMIUM POLISH
   ========================================= */

/* 1. القائمة العلوية (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;
}

/* 2. روابط القائمة العلوية */
.nav-links a {
    position: relative;
    transition: all 0.3s ease !important;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #F2BE59;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 4px;
}
.nav-links a:hover::after, 
.nav-links a.active::after {
    width: 100% !important;
}

/* 3. أزرار اللغة والوضع الليلي */
.lang-btn, .icon-btn {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !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;
}

/* 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 p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

/* تحسين زر "Explore Egypt" */
.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;
}

/* تحسين زر "Feel the magic" (الفيديو) */
.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. الشريط العلوي (Topline) */
.topline {
    background: rgba(2, 14, 24, 0.9) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.topline a {
    transition: color 0.2s ease !important;
}
.topline a:hover {
    color: #F2BE59 !important;
}

/* 6. الخريطة والنصوص في الموبايل */
@media (max-width: 768px) {
    .hero h1 {
        font-size: clamp(48px, 12vw, 68px) !important;
    }
    .nav-wrap {
        background: rgba(4, 22, 38, 0.95) !important;
    }
}
/* =========================================
   12. PROMISE, STEPS, STATS & FOOTER POLISH
   ========================================= */

/* 1. قسم الوعد (Our Promise) */
.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-icon {
    transition: all 0.3s ease !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;
}

/* 2. شريط الأرقام (Stats Strip) */
.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;
}
.stat:hover strong {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* 3. قسم الخطوات (Steps) */
.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-num {
    transition: all 0.4s ease !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;
}
.step-card:hover .step-arrow {
    transform: translate(5px, -5px) !important;
    color: #F2BE59 !important;
}
.step-arrow {
    transition: all 0.3s ease !important;
}

/* 4. الفوتر (Footer) */
.footer {
    border-top: 1px solid rgba(242, 190, 89, 0.2) !important;
    background: #02111F !important;
}
.footer a {
    transition: all 0.3s ease !important;
}
.footer a:hover {
    color: #F2BE59 !important;
    transform: translateX(3px) !important; /* حركة بسيطة لليمين */
    display: inline-block;
}
.social-links a {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.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;
}

/* 5. شريط الرأي/الاقتباس (Quote Band) */
.quote-band {
    background: linear-gradient(115deg, #08283f, #041626) !important;
    border-top: 1px solid rgba(8, 197, 229, 0.1) !important;
    border-bottom: 1px solid rgba(8, 197, 229, 0.1) !important;
}
.quote-band h2 {
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5) !important;
}