/* =========================================
   التصميم الأصلي لصفحة الحج VIP (كروت بيضاء - الأسعار يسار)
   ========================================= */

/* --- 1. إصلاح الهيكل (الأسعار يسار والمحتوى يمين) --- */
.layout-grid {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important; /* 2fr للمحتوى (يمين)، 1fr للأسعار (يسار) */
    gap: 30px;
    align-items: start;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.content-col { width: 100%; }
.sidebar-col { position: sticky; top: 100px; }

/* توحيد الكروت باللون الأبيض الناصع */
.section-box {
    background-color: #ffffff !important;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04) !important;
    border: 1px solid #eaeaea !important;
    margin-bottom: 25px;
}

.sec-title {
    font-size: 1.4rem;
    color: #2965af;
    border-bottom: 2px solid #f16f0f;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
}

/* --- 2. إصلاح فيديو الترويسة العلوية --- */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: white; overflow: hidden;
    margin-bottom: 40px;
}
.hero-video {
    position: absolute; top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    z-index: 0; transform: translateX(-50%) translateY(-50%);
    object-fit: cover; pointer-events: none;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 20px; }
.hero-logo { max-width: 180px; height: auto; margin: 0 auto 20px; display: block; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); }
.hero-content h1 { font-size: 3rem; font-weight: 800; margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

/* --- 3. بطاقة تذكرة الطيران --- */
.flight-ticket-box {
    background: linear-gradient(135deg, #062a4d, #113a63) !important;
    color: white; border-radius: 15px; padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    margin-bottom: 30px; position: relative; overflow: hidden;
    border: none !important;
}
.flight-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; margin-bottom: 25px; }
.flight-header .sec-title { color: #f16f0f !important; border: none; padding: 0; margin: 0;}
.airline-logo-lg { height: 40px; background: white; padding: 5px; border-radius: 8px; }
.flight-route-display { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; position: relative; }
.route-point { text-align: center; z-index: 2; }
.r-label { display: block; font-size: 0.8rem; color: #aaa; margin-bottom: 5px; }
.r-city { display: block; font-size: 1.5rem; font-weight: bold; color: white; }
.r-date { display: block; font-size: 0.9rem; color: #f16f0f; margin-top: 5px; }
.route-path { flex-grow: 1; display: flex; align-items: center; justify-content: center; color: #f16f0f; font-size: 1.5rem; padding: 0 15px; }
.path-line { height: 2px; width: 100%; margin: 0 10px; border-bottom: 2px dashed rgba(255,255,255,0.3); }
.flight-footer-info { display: flex; justify-content: space-between; background: rgba(0,0,0,0.2); padding: 15px; border-radius: 10px; font-size: 0.95rem; }
.flight-footer-info i { color: #f16f0f; margin-left: 5px; }

/* --- 4. كروت الفنادق (أبيض ناصع) --- */
.hotel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 20px; }
.hotel-card { background: #ffffff; border-radius: 16px; overflow: hidden; border: 1px solid #eaeaea; box-shadow: 0 5px 15px rgba(0,0,0,0.04); transition: 0.3s; cursor: pointer; display: flex; flex-direction: column; position: relative; }
.hotel-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: #f16f0f; }
.hotel-header-img { height: 220px; position: relative; overflow: hidden; }
.hotel-header-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.hotel-card:hover img { transform: scale(1.05); }
.hotel-badge { position: absolute; top: 15px; right: 15px; background: rgba(26, 26, 26, 0.9); color: #f1c40f; padding: 6px 14px; border-radius: 30px; font-size: 0.85rem; font-weight: 700; z-index: 2; }
.gallery-hint-badge { position: absolute; bottom: 15px; left: 15px; background: rgba(255,255,255,0.95); color: #333; padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; z-index: 2; }
.hotel-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.hotel-title-row { display: flex; justify-content: space-between; margin-bottom: 10px; }
.hotel-name { font-size: 1.3rem; font-weight: 800; color: #2965af; margin: 0; }
.hotel-stars { color: #f1c40f; font-size: 0.9rem; }
.hotel-location { color: #666; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.hotel-features { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 20px; border-top: 1px solid #f0f0f0; margin-top: auto; }
.h-tag { background: #f9f9f9; color: #555; padding: 6px 12px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 5px; border: 1px solid #eee; }
.h-tag i { color: #f16f0f; }

/* --- 5. مسار الرحلة --- */
.journey-integration { background: #ffffff; padding: 30px; border-radius: 16px; border: 1px solid #eaeaea; }
.unified-journey { display: flex; gap: 20px; position: relative; padding: 10px 0; }
.animation-track { width: 4px; background: #eee; border-radius: 10px; position: relative; margin-right: 20px; }
.moving-vehicle { position: absolute; right: -10.5px; width: 25px; height: 25px; background: #f16f0f; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; z-index: 5; }
.car-1 { top: 10%; animation: driveVertical 4s infinite ease-in-out; }
.car-2 { bottom: 10%; animation: driveVertical 4s infinite ease-in-out; }
.train-v { top: 50%; background: #2965af; border: 1px solid #f16f0f; animation: trainVertical 3s infinite linear; }
@keyframes driveVertical { 0% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(20px); opacity: 1; } 100% { transform: translateY(0); opacity: 0.5; } }
@keyframes trainVertical { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(241, 111, 15, 0.4); } 70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(241, 111, 15, 0); } 100% { transform: scale(1); } }

.journey-steps { flex: 1; }
.j-step { position: relative; padding-bottom: 40px; display: flex; gap: 15px; }
.j-dot { width: 40px; height: 40px; background: #fff; border: 2px solid #f16f0f; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #f16f0f; z-index: 2; flex-shrink: 0; }
.j-content { background: #fff; padding: 15px 20px; border-radius: 12px; border: 1px solid #eaeaea; transition: 0.3s; flex: 1; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.j-step:hover .j-content { border-color: #f16f0f; transform: translateX(-5px); }
.j-date { font-size: 0.85rem; color: #f16f0f; font-weight: 800; display: block; margin-bottom: 5px; }
.j-content h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 5px; color: #2965af; }
.j-content p { font-size: 0.95rem; color: #555; margin: 0; }

/* --- 6. المميزات (أبيض) --- */
.icon-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; margin-top: 20px; }
.icon-box-item { background: #ffffff; border: 1px solid #eaeaea; border-radius: 12px; padding: 25px 15px; text-align: center; transition: all 0.3s ease; box-shadow: 0 2px 10px rgba(0,0,0,0.02); cursor: pointer; }
.icon-box-item:hover { transform: translateY(-5px); border-color: #f16f0f; box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.icon-circle { width: 60px; height: 60px; background: rgba(241, 111, 15, 0.1); color: #f16f0f; border-radius: 50%; margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: 0.3s; }
.icon-box-item:hover .icon-circle { background: #f16f0f; color: white; transform: scale(1.1); }
.icon-title { color: #2965af; font-size: 1.05rem; margin-bottom: 5px; font-weight: 800; }
.icon-sub { font-size: 0.85rem; color: #777; display: block; }

/* --- 7. الفيديوهات --- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 20px;}
.video-item { background: #ffffff; border-radius: 12px; overflow: hidden; border: 1px solid #eaeaea; box-shadow: 0 5px 15px rgba(0,0,0,0.04); }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; background: #000; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-title { padding: 15px; font-size: 0.95rem; font-weight: 700; color: #333; text-align: center; margin: 0; }

/* --- 8. الشريط الجانبي وقائمة الأسعار (على اليسار) --- */
.booking-widget { background: #ffffff; padding: 30px; border-radius: 16px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid #eaeaea; }
.widget-title { color: #2965af; margin-bottom: 20px; font-size: 1.3rem; border-bottom: 2px solid #f16f0f; padding-bottom: 10px; display: inline-block; }
.price-container { display: flex; flex-direction: column; gap: 12px; margin-bottom: 25px; }

/* كروت الأسعار بيضاء */
.price-card { background: #ffffff; border: 1px solid #eaeaea; padding: 15px; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.price-card:hover { border-color: #f16f0f; transform: scale(1.02); box-shadow: 0 5px 10px rgba(0,0,0,0.05); }
.room-label { font-weight: 700; color: #333; font-size: 0.95rem; }
.room-price { color: #f16f0f; font-weight: 800; font-size: 1.2rem; font-family: 'Poppins', sans-serif; }

/* أزرار الحجز والتحميل */
.widget-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px; border-radius: 8px; text-decoration: none; font-weight: 700; margin-bottom: 10px; transition: 0.3s; border: none; font-size: 1rem; cursor: pointer; }
.btn-pdf { background: #ffffff; color: #e74c3c; border: 2px solid #e74c3c; }
.btn-pdf:hover { background: #e74c3c; color: white; }
.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #1ebc57; transform: translateY(-2px); }

/* أرقام الهواتف */
.contact-list h5 { margin-bottom: 15px; color: #555; margin-top: 20px; }
.phone-link { display: block; background: #ffffff; color: #f16f0f !important; padding: 12px; border-radius: 8px; margin-bottom: 8px; text-decoration: none; font-weight: 800; font-family: 'Poppins', sans-serif; font-size: 1.3rem; border: 1px solid #eaeaea; transition: 0.3s; direction: ltr; text-align: center; }
.phone-link:hover { border-color: #f16f0f; transform: scale(1.02); }

/* --- 9. النوافذ المنبثقة (Popups) --- */
.vip-popup { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 99999; justify-content: center; align-items: center; padding: 20px; backdrop-filter: blur(5px); }
.popup-content { background: #ffffff; border-radius: 16px; width: 100%; max-width: 500px; position: relative; overflow: hidden; animation: zoomIn 0.3s; max-height: 90vh; overflow-y: auto; }
.close-popup { position: absolute; top: 15px; left: 15px; font-size: 1.5rem; color: #333; background: rgba(0,0,0,0.05); width: 35px; height: 35px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; transition: 0.3s; }
.close-popup:hover { background: #e74c3c; color: white; }

/* معرض الصور */
.gallery-modal-content { max-width: 800px; background: transparent; box-shadow: none; padding: 40px 20px 20px;}
.gallery-title { color: white; margin-bottom: 15px; text-align: center; text-shadow: 0 2px 10px rgba(0,0,0,0.5); font-size: 1.5rem; }
.hotel-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; padding: 20px; max-height: 70vh; overflow-y: auto; background: #ffffff; border-radius: 16px; border: 1px solid #eaeaea; }
.gallery-item { border-radius: 12px; overflow: hidden; height: 160px; border: 2px solid transparent; transition: 0.3s; cursor: pointer; }
.gallery-item:hover { transform: scale(1.05); border-color: #f16f0f; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* مودال المميزات */
.feature-content { padding: 0; max-width: 500px; text-align: right; }
.feature-img-container { width: 100%; height: 250px; background: #eee; }
.feature-img-container img { width: 100%; height: 100%; object-fit: cover; }
.feature-text-body { padding: 30px; text-align: right; }
.feature-text-body h3 { color: #f16f0f; margin-bottom: 15px; font-size: 1.4rem; border-bottom: 1px dashed #eee; padding-bottom: 10px; margin-top: 0; }
.feature-text-body p { color: #555; line-height: 1.6; margin: 0; }

/* فورم الحجز الخاص بـ VIP */
.popup-content h3 { color: #2965af; text-align: center; margin-bottom: 10px; margin-top: 20px; }
.popup-content p { color: #777; text-align: center; margin-bottom: 20px; font-size: 0.9rem; }
.form-group { margin-bottom: 15px; padding: 0 20px; text-align: right; }
.form-input { width: 100%; padding: 12px 15px; border: 1px solid #eaeaea; border-radius: 8px; font-family: 'Tajawal', sans-serif; font-size: 1rem; background: #fdfdfd; outline: none; transition: 0.3s; }
.form-input:focus { border-color: #f16f0f; box-shadow: 0 0 0 2px rgba(241, 111, 15, 0.1); background: #fff; }
.btn-send-wa { width: calc(100% - 40px); margin: 10px 20px 20px; background: #f16f0f; color: white; border: none; padding: 14px; border-radius: 8px; font-size: 1.1rem; font-weight: bold; cursor: pointer; transition: 0.3s; box-shadow: 0 5px 15px rgba(241, 111, 15, 0.2); }
.btn-send-wa:hover { background: #d65a00; transform: translateY(-2px); }

/* --- 10. التجاوب مع شاشات الجوال --- */
@media (max-width: 900px) {
    .layout-grid { grid-template-columns: 1fr !important; }
    .sidebar-col { position: static; margin-top: 20px; }
}

@media (max-width: 768px) {
    .hero { height: 40vh; min-height: 300px; }
    .hero-content h1 { font-size: 2.2rem; }
    
    .flight-route-display { flex-direction: column; gap: 10px; }
    .route-path { transform: rotate(90deg); margin: 10px 0; }
    .path-line { display: none; }
    .flight-footer-info { flex-direction: column; text-align: center; gap: 10px; }
    
    .hotel-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item { height: 120px; }
    
    .j-step { flex-direction: column; gap: 5px; }
    .j-dot { margin-right: 15px; }
    
    .vip-popup { padding: 15px; align-items: center !important; }
    .popup-content { margin: auto; }
}