 :root {
            --gold: #D4AF37;
            --gold-light: #F3E5AB;
            --dark-bg: #0a0a0a;
            --glass-bg: rgba(20, 20, 20, 0.4);
            --glass-border: rgba(212, 175, 55, 0.3);
            --red-alert: #ff4757;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; font-family: 'Cairo', sans-serif; cursor: none !important; }
        body { background-color: var(--dark-bg); color: #fff; overflow-x: hidden; line-height: 1.8; }

        /* --- شاشة التحميل --- */
        #preloader { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: #000; z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 0.8s ease-in-out, visibility 0.8s; }
        .lens-aperture { width: 150px; height: 150px; border: 5px solid var(--gold); border-radius: 50%; display: flex; justify-content: center; align-items: center; animation: spin-lens 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite; }
        .lens-aperture::after { content: '\f030'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 50px; color: var(--gold); }
        @keyframes spin-lens { 0% { transform: rotate(0deg) scale(0.8); opacity: 0; } 50% { transform: rotate(180deg) scale(1.2); opacity: 1; } 100% { transform: rotate(360deg) scale(0.8); opacity: 0; } }

        /* --- الماوس المخصص --- */
        .custom-cursor { position: fixed; top: 0; left: 0; width: 30px; height: 30px; border: 2px solid var(--gold); border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); z-index: 10000; transition: width 0.3s, height 0.3s, background 0.3s; display: flex; justify-content: center; align-items: center; box-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }
        .custom-cursor::after { content: ''; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }
        .custom-cursor.hover { width: 60px; height: 60px; background: rgba(212, 175, 55, 0.1); border-style: dashed; animation: spin 4s linear infinite; }
        @keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }

        /* --- شريط التنقل --- */
        header { position: fixed; top: 0; width: 100%; padding: 15px 5%; z-index: 1000; background: rgba(10, 10, 10, 0.8); backdrop-filter: blur(20px); border-bottom: 1px solid var(--glass-border); display: flex; justify-content: space-between; align-items: center; }
        .logo { font-size: 2em; font-weight: 900; color: var(--gold); text-decoration: none; text-shadow: 0 0 15px rgba(212,175,55,0.6); }
        nav ul { list-style: none; display: flex; gap: 20px; }
        nav ul li a { color: #fff; text-decoration: none; font-size: 1.05em; font-weight: 600; transition: 0.3s; }
        nav ul li a:hover { color: var(--gold); }

        /* --- شريط مواقع التواصل الجانبي --- */
        .social-sidebar { position: fixed; top: 50%; left: 0; transform: translateY(-50%); z-index: 1000; display: flex; flex-direction: column; gap: 10px; padding-left: 0; }
        .social-sidebar a { display: flex; justify-content: center; align-items: center; width: 45px; height: 45px; background: rgba(10, 10, 10, 0.8); color: #fff; border: 1px solid var(--glass-border); border-radius: 0 10px 10px 0; border-left: none; font-size: 1.5em; transition: 0.3s; text-decoration: none; box-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
        .social-sidebar a:hover { background: var(--gold); color: #000; width: 55px; }

        /* --- القسم الأول (Hero) --- */
        .hero-section { min-height: 100vh; padding: 140px 5% 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; }
        .hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.6; }
        .hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, #0a0a0a 100%); z-index: -1; }
        .hero-title { font-size: 4.5em; font-weight: 900; color: #fff; text-shadow: 0 5px 20px rgba(0,0,0,0.8); margin-bottom: 10px;}
        .hero-title span { color: transparent; -webkit-text-stroke: 1px var(--gold); background: linear-gradient(to right, var(--gold), #fff); -webkit-background-clip: text; }
        
        .bookings-wrapper { background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 30px; border-radius: 20px; backdrop-filter: blur(25px); width: 100%; max-width: 900px; margin: 30px 0; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8); }
        .bookings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-top: 20px; }
        .booking-3d-card { background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); padding: 15px; border-radius: 10px; border-right: 4px solid var(--red-alert); transition: 0.3s; }
        .booking-3d-card:hover { transform: translateY(-5px); border-right-color: var(--gold);}

        /* --- تصميم الحجز الفعال والمؤقت --- */
        .live-status { background: rgba(255, 71, 87, 0.1); border: 1px solid var(--red-alert); padding: 15px; border-radius: 12px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 15px; animation: pulse-border 2s infinite; }
        @keyframes pulse-border { 0% { border-color: var(--red-alert); } 50% { border-color: transparent; } 100% { border-color: var(--red-alert); } }
        .live-dot { width: 12px; height: 12px; background: var(--red-alert); border-radius: 50%; animation: blink 1s infinite; }
        @keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }
        #countdown { font-family: monospace; font-size: 1.4em; color: var(--red-alert); font-weight: bold; }

        .btn-glow { display: inline-block; padding: 15px 40px; font-size: 1.2em; font-weight: 700; color: #000; background: var(--gold); text-decoration: none; border-radius: 50px; box-shadow: 0 0 20px rgba(212, 175, 55, 0.6); transition: 0.3s; border: none; }
        .btn-glow:hover { transform: scale(1.05); box-shadow: 0 0 40px var(--gold); }

        section { padding: 80px 5%; opacity: 0; transform: translateY(50px); transition: 1s all ease-in-out; }
        section.visible { opacity: 1; transform: translateY(0); }
        .sec-title { text-align: center; font-size: 3em; color: var(--gold); margin-bottom: 15px; }
        .sec-subtitle { text-align: center; color: #aaa; font-size: 1.1em; max-width: 800px; margin: 0 auto 40px auto; }

        /* --- الخدمات --- */
        .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
        .service-box { background: linear-gradient(145deg, #111, #1a1a1a); padding: 30px 20px; text-align: center; border-radius: 15px; border: 1px solid #333; transition: 0.4s; }
        .service-box:hover { transform: translateY(-10px); border-color: var(--gold); }
        .service-box i { font-size: 3em; color: var(--gold); margin-bottom: 15px; }

        /* --- تأجير الاستديوهات --- */
        .rentals-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
        .rental-card { background: rgba(25,25,25,0.8); border: 1px solid var(--glass-border); border-radius: 15px; overflow: hidden; width: 320px; transition: 0.4s; position: relative; }
        .rental-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(212,175,55,0.2); border-color: var(--gold); }
        .rental-img { width: 100%; height: 220px; object-fit: cover; }
        .rental-content { padding: 25px; text-align: center; }
        .rental-content h3 { color: var(--gold); margin-bottom: 5px; font-size: 1.6em; }
        .rental-price { display: inline-block; background: rgba(212, 175, 55, 0.15); color: var(--gold); border: 1px dashed var(--gold); padding: 8px 15px; border-radius: 10px; font-size: 1.3em; font-weight: bold; margin-bottom: 15px; }
        .rental-content p { color: #ccc; margin-bottom: 15px; font-size: 0.95em; }
        .rental-features { list-style: none; text-align: right; margin-bottom: 20px; color: #aaa; font-size: 0.9em; border-top: 1px solid #333; padding-top: 15px; }
        .rental-features li { margin-bottom: 8px; }
        .rental-features li i { color: var(--gold); margin-left: 10px; width: 15px;}

        /* --- معرض الأعمال --- */
        .filter-buttons { display: flex; justify-content: center; gap: 15px; margin-bottom: 30px; flex-wrap: wrap; }
        .filter-btn { background: transparent; border: 1px solid var(--gold); color: #fff; padding: 8px 20px; border-radius: 20px; transition: 0.3s; }
        .filter-btn.active, .filter-btn:hover { background: var(--gold); color: #000; }
        .portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; }
        .portfolio-item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; }
        .portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
        .portfolio-item:hover img { transform: scale(1.1); filter: brightness(0.7); }
        .portfolio-item .overlay { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; opacity: 0; transition: 0.3s; background: rgba(0,0,0,0.5); }
        .portfolio-item:hover .overlay { opacity: 1; }
        .portfolio-item .overlay i { color: var(--gold); font-size: 3em; }

        /* Lightbox */
        #lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 10001; display: none; justify-content: center; align-items: center; }
        #lightbox img { max-width: 90%; max-height: 90%; border: 3px solid var(--gold); border-radius: 10px; }
        #lightbox-close { position: absolute; top: 20px; right: 30px; font-size: 2em; color: #fff; background: none; border: none; }

        /* --- باقات الأسعار --- */
        .pricing-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
        .pricing-card { background: var(--glass-bg); border: 1px solid #333; padding: 40px 20px; border-radius: 20px; width: 300px; text-align: center; transition: 0.4s; backdrop-filter: blur(10px); }
        .pricing-card.popular { border-color: var(--gold); transform: scale(1.05); box-shadow: 0 15px 30px rgba(212,175,55,0.2); }
        .pricing-card:hover { transform: translateY(-10px); border-color: var(--gold); }
        .pricing-card h3 { font-size: 1.8em; margin-bottom: 10px; }
        .pricing-card .price { font-size: 2.5em; color: var(--gold); font-weight: bold; margin-bottom: 20px; }
        .pricing-card ul { list-style: none; margin-bottom: 30px; color: #ddd; }
        .pricing-card ul li { margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px; }
        .pricing-card ul li i { color: #25d366; margin-left: 5px; }

        /* --- الأسئلة الشائعة --- */
        .faq-container { max-width: 800px; margin: 0 auto; }
        .faq-item { background: #111; border: 1px solid #333; border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
        .faq-question { padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: bold; transition: 0.3s; }
        .faq-question:hover { color: var(--gold); background: #1a1a1a; }
        .faq-answer { max-height: 0; padding: 0 20px; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; color: #bbb; }
        .faq-item.active .faq-answer { max-height: 200px; padding: 20px; border-top: 1px solid #222; }
        .faq-item.active .faq-question i { transform: rotate(180deg); color: var(--gold); }

        /* --- التواصل --- */
        .contact-container { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
        .contact-info, .contact-form { flex: 1; min-width: 300px; background: rgba(25,25,25,0.8); padding: 30px; border-radius: 15px; border: 1px solid var(--glass-border); }
        .contact-info h3 { color: var(--gold); margin-bottom: 15px; }
        .contact-info p { margin-bottom: 15px; color: #ccc; }
        .contact-info i { color: var(--gold); margin-left: 10px; }
        .contact-form input, .contact-form textarea { width: 100%; background: #000; border: 1px solid #444; padding: 15px; border-radius: 10px; color: #fff; margin-bottom: 15px; }
        .contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); outline: none; }

        .whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background-color: #25d366; color: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 35px; box-shadow: 0 0 20px rgba(37, 211, 102, 0.5); z-index: 1000; text-decoration: none; animation: pulse-whatsapp 2s infinite; }
        @keyframes pulse-whatsapp { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); } 70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

        footer { text-align: center; padding: 30px; background: #050505; border-top: 1px solid #222; color: #666; }

        @media(max-width: 768px) {
            .hero-title { font-size: 2.5em; }
            header { flex-direction: column; padding: 10px; }
            nav ul { flex-wrap: wrap; justify-content: center; gap: 10px; font-size: 0.9em; }
            .pricing-card.popular { transform: none; }
        }
        /* --- تصميم الخط الزمني للحجوزات (Timeline) --- */
.empty-schedule { text-align: center; padding: 40px 20px; background: rgba(40, 167, 69, 0.05); border: 1px dashed #28a745; border-radius: 15px; }

.booking-timeline { display: flex; flex-direction: column; gap: 0; margin-top: 20px; }

.timeline-item { display: flex; align-items: stretch; gap: 15px; opacity: 0.95; transition: 0.3s ease; position: relative; padding-bottom: 25px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:hover { transform: translateX(-5px); opacity: 1; }

/* قسم الوقت على اليمين */
.timeline-time { flex: 0 0 100px; text-align: right; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 5px; }
.timeline-time .t-start { color: var(--gold); font-size: 1.3em; font-weight: 900; line-height: 1.2; }
.timeline-time .t-end { color: #888; font-size: 0.85em; margin-top: 5px; }

/* الفاصل (الخط والنقطة) */
.timeline-divider { display: flex; flex-direction: column; align-items: center; width: 30px; position: relative; }
.timeline-dot { width: 16px; height: 16px; border-radius: 50%; background: #222; border: 3px solid var(--gold); z-index: 2; margin-top: 8px; transition: 0.3s; }
.timeline-line { width: 2px; background: rgba(212, 175, 55, 0.2); position: absolute; top: 24px; bottom: 0; z-index: 1; }

/* محتوى الحجز على اليسار */
.timeline-content { flex-grow: 1; background: rgba(20, 20, 20, 0.6); border: 1px solid var(--glass-border); padding: 15px 20px; border-radius: 12px; display: flex; flex-direction: column; justify-content: center; backdrop-filter: blur(10px); }
.timeline-content h4 { margin-bottom: 5px; display: flex; align-items: center; gap: 8px; }

/* -- حالات الأوقات -- */

/* 1. جاري الآن (Active) */
.timeline-item.active .timeline-dot { background: var(--red-alert); border-color: var(--red-alert); box-shadow: 0 0 15px var(--red-alert); animation: pulse-alert 1.5s infinite; }
.timeline-item.active .timeline-content { border-color: var(--red-alert); background: rgba(255, 71, 87, 0.08); box-shadow: inset 0 0 20px rgba(255, 71, 87, 0.05); }
.timeline-item.active .timeline-time .t-start { color: var(--red-alert); }
.pulse-icon { animation: blink 1s infinite; }

/* 2. انتهى (Past) */
.timeline-item.past { opacity: 0.4; filter: grayscale(80%); }
.timeline-item.past .timeline-dot { border-color: #555; background: #333; }
.timeline-item.past .timeline-content { border-color: #333; }
.timeline-item.past .timeline-time .t-start { color: #888; text-decoration: line-through; }

@keyframes pulse-alert {
    0% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 71, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}
/* --- تصميم قسم الإيجار الجديد --- */
.rental-intro-box { 
    background: rgba(212, 175, 55, 0.05); 
    border: 1px solid var(--gold); 
    padding: 40px 20px; 
    border-radius: 15px; 
    text-align: center; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    backdrop-filter: blur(10px);
}

.rental-perks { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    flex-wrap: wrap; 
    margin: 25px 0; 
}

.perk { 
    background: #111; 
    padding: 12px 20px; 
    border-radius: 10px; 
    border: 1px solid #333; 
    color: #ddd; 
    font-size: 1em; 
}

.perk i { color: var(--gold); margin-left: 8px; }

.rental-price-tag { 
    display: inline-block; 
    background: var(--gold); 
    color: #000; 
    font-weight: 900; 
    padding: 12px 30px; 
    border-radius: 30px; 
    font-size: 1.3em; 
    margin-top: 10px; 
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* تصميم شبكة الصور بحيث لا تُقص */
.locations-showcase { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; 
}

.location-card { 
    background: rgba(25,25,25,0.8); 
    border: 1px solid var(--glass-border); 
    border-radius: 15px; 
    overflow: hidden; 
    transition: 0.4s; 
    text-align: center; 
}

.location-card:hover { 
    transform: translateY(-10px); 
    border-color: var(--gold); 
    box-shadow: 0 10px 20px rgba(212,175,55,0.15); 
}

.img-wrapper { 
    width: 100%; 
    background: #000; /* خلفية سوداء لملء الفراغ إذا كانت الصورة عرضية أو طولية جداً */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px; /* توحيد ارتفاع الصناديق */
}

/* السر هنا: contain تمنع قص الصورة وتعرضها بالكامل */
.img-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
}

.location-card h4 { 
    padding: 15px; 
    color: var(--gold); 
    font-size: 1.1em; 
    margin: 0; 
    border-top: 1px solid #333; 
}

