/* === الأكواد الأساسية === */
* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Cairo', sans-serif; scroll-behavior: smooth;
    cursor: none; 
}

:root {
    --bg-color: #0d0d0d; --primary-gold: #FFD700; --glow-gold: rgba(255, 215, 0, 0.5);
    --text-light: #ffffff; --text-muted: #a0a0a0;
}

body {
    background-color: var(--bg-color); color: var(--text-light);
    overflow-x: hidden; display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }

/* === الماوس المخصص للمتعة البصرية === */
.custom-cursor { position: fixed; width: 12px; height: 12px; border-radius: 50%; background: var(--primary-gold); pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, background-color 0.2s; }
.custom-cursor-glow { position: fixed; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--glow-gold); pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s; }

/* === الهيدر (شريط التنقل) === */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 5%; height: clamp(60px, 8vh, 80px);
    background: rgba(13, 13, 13, 0.95); backdrop-filter: blur(10px);
    position: fixed; width: 100%; top: 0; z-index: 3000; border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.logo img { max-height: clamp(35px, 5vw, 55px); transition: 0.3s ease; filter: drop-shadow(0 0 5px var(--glow-gold)); }

.nav-list { display: flex; gap: clamp(15px, 2vw, 30px); list-style: none; align-items: center; }
.nav-list li { position: relative; }
.nav-list li a { color: var(--text-light); text-decoration: none; font-weight: 700; font-size: clamp(0.9rem, 1vw, 1rem); transition: 0.3s; padding: 10px 0; display: block; position: relative; }
.nav-list li a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 50%; background-color: var(--primary-gold); transition: 0.3s ease; transform: translateX(-50%); }
.nav-list li a:hover::after { width: 100%; }
.nav-list li a:hover { color: var(--primary-gold); }

/* الـ Dropdown للكمبيوتر */
.dropdown-menu { position: absolute; top: 100%; right: 0; background: #111; border: 1px solid var(--primary-gold); min-width: 200px; display: none; list-style: none; padding: 10px 0; border-radius: 5px; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.dropdown:hover .dropdown-menu { display: block; animation: fadeInDropdown 0.3s ease; }
@keyframes fadeInDropdown { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.dropdown-menu li a { padding: 10px 20px; font-size: 0.9rem; border-bottom: 1px solid rgba(255, 215, 0, 0.1); }
.dropdown-menu li a::after { display: none; }

/* زر الموبايل الجانبي */
.menu-toggle { display: none; align-items: center; gap: 8px; z-index: 3100; cursor: none; }
.menu-text { font-size: 0.85rem; color: var(--primary-gold); font-weight: bold; }
.bars-container { display: flex; flex-direction: column; gap: 4px; }
.bar { width: 22px; height: 2px; background: var(--primary-gold); transition: 0.3s ease-in-out; }
.menu-toggle.active .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* === الهيرو سكشن === */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 100px 5% 50px; gap: 40px; }
.hero-content { flex: 1; z-index: 2; }
.hero-content h1 { font-size: clamp(1.8rem, 5vw, 3.5rem); margin-bottom: 15px; }
.hero-content h1 span { color: var(--primary-gold); text-shadow: 0 0 15px var(--glow-gold); }
.hero-content h2 { font-size: clamp(1.1rem, 3vw, 1.8rem); margin-bottom: 20px; color: var(--text-muted); }
.hero-content p { font-size: clamp(0.9rem, 1.5vw, 1.1rem); line-height: 1.8; margin-bottom: 30px; }

.cta-btn { display: inline-block; padding: 12px 35px; background: linear-gradient(45deg, #FFD700, #FFA500); color: #000; text-decoration: none; font-weight: 900; font-size: 1.1rem; border-radius: 30px; box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3); transition: 0.3s; border: none; }
.cta-btn:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(255, 215, 0, 0.6); }

.hero-graphics { flex: 1.5; position: relative; }
.hero-video { width: 100%; border-radius: 20px; border: 2px solid var(--primary-gold); box-shadow: 0 0 20px var(--glow-gold); }

/* === ستايل العداد الوهمي === */
.visitor-counter { text-align: center; margin-top: 20px; font-size: clamp(1rem, 2vw, 1.2rem); font-weight: bold; color: var(--primary-gold); background: rgba(17, 17, 17, 0.8); padding: 12px 20px; border-radius: 10px; border: 1px solid rgba(255, 215, 0, 0.3); display: block; width: 100%; box-shadow: 0 0 15px rgba(255, 215, 0, 0.1); }
.visitor-counter i { margin-left: 8px; }

/* === الفوتر === */
footer { background: #111; border-top: 1px solid var(--primary-gold); padding: 40px 5% 20px; margin-top: auto; }
.footer-container { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-box { flex: 1; min-width: 250px; }
.footer-box h3 { color: var(--primary-gold); margin-bottom: 15px; font-size: 1.2rem; }
.footer-box p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 10px;}
.social-icons { display: flex; gap: 15px; }
.social-icons a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #222; color: var(--primary-gold); border-radius: 50%; font-size: 1.2rem; transition: 0.3s; text-decoration: none; border: 1px solid transparent; }
.social-icons a:hover { background: var(--primary-gold); color: #000; transform: translateY(-5px) rotate(360deg); box-shadow: 0 5px 15px var(--glow-gold); }
.footer-rights { text-align: center; color: var(--text-muted); font-size: 0.85rem; padding-top: 15px; border-top: 1px solid rgba(255, 215, 0, 0.1); }

/* === شريط التنقل السفلي (مخفي في الكمبيوتر) === */
.mobile-nav-under-header { display: none; }

/* ========================================= */
/* ==== قسم صفحات الأعمال (Portfolio) ====== */
/* ========================================= */

.main-page-title {
    text-align: center;
    padding: 120px 5% 40px;
    background: linear-gradient(180deg, #111 0%, #0d0d0d 100%);
}
.main-page-title h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 10px; }
.main-page-title h1 span { color: var(--primary-gold); text-shadow: 0 0 15px var(--glow-gold); }
.main-page-title p { color: var(--text-muted); font-size: 1.1rem; }

.profile-header { position: relative; width: 100%; margin-bottom: 20px; }
.cover-photo { width: 100%; height: clamp(200px, 30vh, 300px); background: #222; overflow: hidden; }
.cover-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-logo {
    width: 130px; height: 130px; background: var(--bg-color); border: 3px solid var(--primary-gold); border-radius: 50%;
    margin: -65px auto 0; position: relative; z-index: 5; overflow: hidden; box-shadow: 0 0 20px var(--glow-gold);
    display: flex; justify-content: center; align-items: center;
}
.profile-logo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }

.folder-tag {
    background: rgba(255, 215, 0, 0.1); color: var(--primary-gold);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 10px 25px; border-radius: 50px; border: 1px solid var(--primary-gold);
    width: fit-content; margin: 40px auto 20px; font-weight: 700; font-size: 1.2rem;
}

.section-title { padding: 0 5%; margin: 30px 0 20px; font-size: 1.5rem; color: var(--text-light); display: flex; align-items: center; justify-content: center; gap: 10px; }
.section-title i { color: var(--primary-gold); }


/* === شبكة التصاميم الجديدة (خلفية بيضاء للوجوهات) === */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
    padding: 20px 5%;
    justify-items: center;
}

.work-item {
    background: #ffffff; /* الكارت الأبيض */
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    width: 100%;
    aspect-ratio: 1 / 1; /* مربع دايما */
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid transparent;
}

.work-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* منع القص */
}

.work-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
    border: 1px solid var(--primary-gold);
}

.work-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    opacity: 0; transition: 0.4s; padding: 20px; text-align: center; pointer-events: none;
}
.work-item:hover .work-overlay { opacity: 1; }
.work-overlay h3 { color: var(--primary-gold); margin-bottom: 10px; transform: translateY(20px); transition: 0.4s; }
.work-overlay p { font-size: 0.9rem; transform: translateY(20px); transition: 0.5s; color: #fff;}
.work-item:hover h3, .work-item:hover p { transform: translateY(0); }


/* === أنميشن كلمة شركاء النجاح وأشرطة الاحتفال === */
.title-icon-anim {
    display: inline-block;
    color: var(--primary-gold);
    margin-right: 15px;
    animation: partyHeartbeat 1.5s infinite;
}

@keyframes partyHeartbeat {
    0% { transform: scale(1); rotate(0deg); }
    15% { transform: scale(1.3); rotate(10deg); }
    30% { transform: scale(1); rotate(0deg); }
    45% { transform: scale(1.3); rotate(-10deg); }
    60% { transform: scale(1); rotate(0deg); }
}

.confetti {
    position: fixed; width: 10px; height: 10px; background-color: #f00; opacity: 0.8;
    top: -10px; z-index: 9999; border-radius: 2px; pointer-events: none;
}

/* === شبكة الفيديوهات (Reels) === */
.reels-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; padding: 0 5% 60px; align-items: start; }
.reel-item { background: #000; border-radius: 15px; overflow: hidden; border: 1px solid rgba(255, 215, 0, 0.1); }
.reel-item video { width: 100%; height: auto; object-fit: contain; background: #000; }
.reel-item p { padding: 15px; color: var(--text-light); font-weight: bold; text-align: center; }

/* ========================================= */
/* ==== شاشات الموبايل (تنسيق إجباري وصارم) ==== */
/* ========================================= */
@media (max-width: 992px) {
    * { cursor: auto !important; }
    .custom-cursor, .custom-cursor-glow { display: none !important; }
    
    .menu-toggle, .nav-list { display: none !important; }
    
    header { height: 70px !important; display: flex !important; justify-content: center !important; align-items: center !important; padding: 0 !important; }
    .logo img { max-height: 45px !important; }

    body { padding-top: 130px !important; }
    .hero { flex-direction: column-reverse !important; text-align: center !important; padding: 20px 5% !important; }
    .hero-content h1 { font-size: 2.2rem !important; margin-bottom: 10px !important; }
    .hero-content h2 { font-size: 1.2rem !important; }
    .hero-graphics { width: 100% !important; margin-bottom: 30px !important; }
    .hero-video { width: 100% !important; border-radius: 15px !important; }

    .cta-btn { display: inline-block !important; padding: 12px 30px !important; background: linear-gradient(45deg, #FFD700, #FFA500) !important; color: #000 !important; text-decoration: none !important; font-weight: bold !important; border-radius: 30px !important; margin-top: 15px !important; }

    .mobile-nav-under-header { display: flex !important; position: fixed !important; top: 70px !important; left: 0 !important; width: 100% !important; background: rgba(15, 15, 15, 0.98) !important; border-bottom: 1px solid rgba(255, 215, 0, 0.2) !important; z-index: 2800 !important; justify-content: space-around !important; padding: 10px 0 !important; }
    .mobile-nav-under-header .nav-item { color: var(--text-muted) !important; text-decoration: none !important; display: flex !important; flex-direction: column !important; align-items: center !important; font-size: 0.75rem !important; gap: 5px !important; }
    .mobile-nav-under-header .nav-item i { font-size: 1.2rem !important; }
    .mobile-nav-under-header .nav-item.active { color: var(--primary-gold) !important; }

    .services-trigger { position: relative; }
    .mobile-services-popup { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #111; border: 1px solid var(--primary-gold); border-radius: 8px; padding: 10px; width: 140px; flex-direction: column; gap: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.8); margin-top: 15px; z-index: 3000; }
    .mobile-services-popup::before { content: ''; position: absolute; top: -8px; left: 50%; transform: translateX(-50%); border-width: 0 8px 8px 8px; border-style: solid; border-color: transparent transparent var(--primary-gold) transparent; }
    .mobile-services-popup.show { display: flex; animation: popupAnim 0.3s ease; }
    @keyframes popupAnim { from { opacity: 0; transform: translate(-50%, -10px); } to { opacity: 1; transform: translate(-50%, 0); } }
    .mobile-services-popup a { color: #fff; text-decoration: none; font-size: 0.95rem; border-bottom: 1px solid rgba(255,215,0,0.1); padding-bottom: 8px; width: 100%; }
    .mobile-services-popup a:last-child { border: none; padding-bottom: 0; }
    .mobile-services-popup a:hover { color: var(--primary-gold); }
}

@media (max-width: 400px) {
    .cta-btn { padding: 10px 20px; font-size: 1rem; }
    .mobile-nav-under-header .nav-item { font-size: 0.65rem; }
}

/* === كلاس مخصص للوجوهات البيضاء (عشان تظهر على خلفية غامقة) === */
.work-item.dark-card {
    background: #1a1a1a; 
    border: 1px solid rgba(255, 215, 0, 0.1); 
}

.work-item.dark-card:hover {
    border: 1px solid var(--primary-gold);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
    transform: translateY(-8px) scale(1.03);
}

/* ========================================= */
/* ==== أكواد قسم السوشيال ميديا الجديد (المنفصل) ==== */
/* ========================================= */
.social-projects-wrapper { padding: 20px 5% 60px; }
.projects-grid-new { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
    gap: 25px; 
}

.project-card-new { 
    background: #111; border: 1px solid rgba(255, 215, 0, 0.2); border-radius: 15px; 
    padding: 40px 20px; text-align: center; cursor: pointer !important; transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.project-card-new:hover { 
    transform: translateY(-8px); border-color: var(--primary-gold); 
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3); background: #1a1a1a;
}
.folder-icon-new { font-size: 3.5rem; color: var(--primary-gold); margin-bottom: 15px; }
.project-card-new h3 { color: #fff; font-size: 1.1rem; }

/* === النافذة المنبثقة (Modal) === */
.fb-modal-overlay { 
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0, 0, 0, 0.9); z-index: 5000; justify-content: center; align-items: center; 
    padding: 20px; backdrop-filter: blur(8px);
}
.fb-modal-container { 
    background: var(--bg-color); width: 100%; max-width: 800px; max-height: 90vh; 
    border-radius: 15px; border: 1px solid var(--primary-gold); overflow-y: auto; 
    position: relative; animation: modalFadeIn 0.4s ease;
}
.fb-modal-container::-webkit-scrollbar { width: 8px; }
.fb-modal-container::-webkit-scrollbar-thumb { background: var(--primary-gold); border-radius: 10px; }

@keyframes modalFadeIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

.fb-close-btn { 
    position: absolute; top: 15px; right: 20px; font-size: 2rem; color: #fff; 
    cursor: pointer !important; z-index: 10; background: rgba(0,0,0,0.6); 
    width: 45px; height: 45px; display: flex; justify-content: center; align-items: center; 
    border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); transition: 0.3s;
}
.fb-close-btn:hover { color: var(--primary-gold); border-color: var(--primary-gold); transform: rotate(90deg); }

.fb-profile-header { position: relative; width: 100%; }
.fb-cover-photo { width: 100%; height: 250px; background: #222; }
.fb-cover-photo img { width: 100%; height: 100%; object-fit: cover; }

.fb-profile-logo { 
    width: 130px; height: 130px; background: #fff; border: 5px solid var(--bg-color); 
    border-radius: 50%; margin: -65px auto 0; position: relative; z-index: 5; 
    display: flex; justify-content: center; align-items: center; overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.8);
}
.fb-profile-logo img { width: 90%; height: 90%; object-fit: contain; }

.fb-folder-tag { text-align: center; color: #fff; margin: 15px 0 30px; }
.fb-folder-tag h2 { font-size: 1.8rem; color: var(--primary-gold); margin-bottom: 5px; }
.fb-folder-tag p { color: var(--text-muted); font-size: 1rem; }

.fb-work-section { padding: 0 20px 40px; }
.fb-portfolio-gallery { display: flex; flex-direction: column; gap: 30px; align-items: center; }

.fb-work-item { width: 100%; max-width: 600px; background: #111; border-radius: 15px; padding: 15px; border: 1px solid rgba(255,215,0,0.1); }
.fb-work-item img { width: 100%; height: auto; border-radius: 10px; display: block; }

/* === ستايل اللوجو بتاع الكروت من بره === */
.folder-logo-new { 
    width: 100px; height: 100px; margin: 0 auto 15px; background: #fff; 
    border-radius: 50%; border: 3px solid var(--primary-gold); 
    display: flex; justify-content: center; align-items: center; 
    overflow: hidden; box-shadow: 0 0 15px rgba(255, 215, 0, 0.2); transition: 0.3s;
}
.folder-logo-new img { width: 80%; height: 80%; object-fit: contain; }
.project-card-new:hover .folder-logo-new { transform: scale(1.1); box-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }

/* === زرار (اضغط للمشاهدة) === */
.click-hint {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 15px;
    padding: 6px 16px; background: rgba(255, 215, 0, 0.1); color: var(--primary-gold);
    font-size: 0.85rem; font-weight: bold; border-radius: 30px; 
    border: 1px solid rgba(255, 215, 0, 0.3); transition: 0.3s;
}
.project-card-new:hover .click-hint { background: var(--primary-gold); color: #000; box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
.click-hint i { font-size: 0.9rem; }


/* ========================================= */
/* ==== قسم الباقات المتفاعل الجديد (تم الإصلاح) ==== */
/* ========================================= */
.pricing-section {
    padding: 60px 0;
    position: relative;
    background: radial-gradient(circle at center, rgba(17,17,17,1) 0%, rgba(0,0,0,1) 100%);
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* التنسيق العام للكروت (تم إصلاح التمدد العشوائي) */
.pricing-card {
    background: #111;
    border-radius: 20px;
    padding: 30px; 
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* يمنع التمدد */
    gap: 12px; /* مسافة ثابتة */
}

/* تنسيق العناصر الداخلية للهيدر */
.package-icon-header { font-size: 2.5rem; margin-bottom: 0; display: flex; justify-content: center; align-items: center; }
.package-logo-wrapper { width: 60px; height: 60px; margin: 0 auto 5px; display: flex; justify-content: center; align-items: center; border-radius: 50%; padding: 5px; }
.package-logo-wrapper img { width: 90%; height: 90%; object-fit: contain; }
h3.package-title { color: #fff; font-size: 1.6rem; font-weight: 900; margin-bottom: 0; }
p.package-intro-text { color: #ccc; font-size: 0.85rem; margin-bottom: 5px; line-height: 1.4; padding: 0 10px; }

/* الشارات (البادجات) */
.package-badge.best-seller {
    position: absolute; top: 15px; left: -35px;
    background: #ff0000; color: #fff; padding: 5px 35px; font-size: 0.75rem;
    font-weight: bold; text-transform: uppercase; transform: rotate(-45deg);
    box-shadow: 0 3px 10px rgba(255,0,0,0.5); z-index: 10;
    display: flex; align-items: center; gap: 5px; justify-content: center;
}

.discount-badge {
    position: absolute; top: 15px; right: 15px;
    background: #ff0000; color: #fff; padding: 5px 12px; font-size: 0.8rem;
    font-weight: 900; border-radius: 20px;
    box-shadow: 0 3px 10px rgba(255,0,0,0.4); z-index: 10;
    display: flex; align-items: center; gap: 5px;
}
.discount-badge i { font-size: 0.8rem; }

/* تأثير Spotlight بالكاميرا */
.pricing-card.spotlight-active {
    border-color: rgba(255, 215, 0, 1) !important;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.6) !important;
    transform: translateY(-10px) scale(1.02) !important;
}

/* تدرج الألوان للباقات (Start, Boom, King, Pro Max) */
.package-start { border-color: rgba(255, 255, 255, 0.1); }
.package-start .start-icon { color: #888; }
.package-start .package-features i { color: #aaa; }
.package-start .package-logo-wrapper.logo-subtle img { filter: brightness(0) invert(1) opacity(0.3); }

.package-boom { border-color: rgba(255, 215, 0, 0.3); }
.package-boom .boom-icon { color: rgba(255, 215, 0, 0.7); }
.package-boom .package-features i { color: rgba(255, 215, 0, 0.8); }
.package-boom .package-logo-wrapper.logo-gold-muted img { filter: brightness(1) sepia(1) hue-rotate(-15deg) saturate(1) opacity(0.6); }

.package-king { border-color: rgba(255, 215, 0, 0.6); }
.package-king .king-icon { color: var(--primary-gold); }
.package-king .package-features i { color: var(--primary-gold); }
.package-king .package-logo-wrapper.logo-gold-full img { filter: brightness(1.2) sepia(1) hue-rotate(-10deg) saturate(2.5); }

.package-promax { border-color: rgba(255, 215, 0, 1); background: radial-gradient(circle at center, #1a1a1a 0%, #111 100%); z-index: 100; }
.package-promax .promax-icon { color: #ffd700; text-shadow: 0 0 5px rgba(255,215,0,0.7); }
.package-promax .package-features i { color: #ffd700; }
.package-promax .btn-primary { background: #ffd700; color: #000; border-color: #ffd700; font-weight: 900; box-shadow: 0 5px 15px rgba(255,215,0,0.5); }
.package-promax .package-logo-wrapper.logo-promax-inverted img { filter: brightness(0) invert(1); }
.package-promax .package-title { text-shadow: 0 0 5px #ffd700; }

/* قائمة الشرح المتفاعلة */
.package-features { 
    list-style: none; padding: 0; text-align: right; 
    font-size: 0.95rem; margin-bottom: 25px; 
    flex-grow: 0; /* يمنع التمدد العشوائي للقائمة */
    display: flex; flex-direction: column; gap: 8px; 
}

.package-features li { 
    color: var(--text-muted); position: relative;
    padding: 8px 12px; border-radius: 8px; cursor: pointer;
    transition: all 0.3s ease;
    display: flex; align-items: center; gap: 10px;
}
.package-features li:hover { background: rgba(255, 215, 0, 0.05); color: #fff; }
.package-features li i { font-size: 1rem; flex-shrink: 0; }

/* قسم الشرح المختفي */
.feature-desc {
    opacity: 0; visibility: hidden; max-height: 0;
    transition: all 0.3s ease;
    font-size: 0.8rem; color: #ccc; margin-top: 5px;
    line-height: 1.6; border-right: 2px solid var(--primary-gold); padding-right: 15px;
    width: 100%; display: none; 
}

/* تفعيل الشرح عند الوقوف على الـ li */
.package-features li.show-desc .feature-desc {
    opacity: 1; visibility: visible; max-height: 200px;
    margin-top: 8px; padding: 8px 12px; background: rgba(255, 215, 0, 0.03); border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.1); 
    display: block; 
}

/* الأزرار داخل الباقات */
.btn { 
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 20px; border-radius: 30px; font-weight: 700; font-size: 0.9rem;
    transition: all 0.3s ease; text-decoration: none; cursor: pointer;
    border: 1px solid transparent; width: 100%; 
    margin-top: auto; /* يجبر الزرار انه يلزق في آخر الكارت تحت خالص */
}

.btn-primary { background: var(--primary-gold); color: #000; border-color: var(--primary-gold); }
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(255,215,0,0.5); }
.btn-outline { border-color: var(--primary-gold); color: var(--primary-gold); }
.btn-outline:hover { background: var(--primary-gold); color: #000; transform: translateY(-3px); }

/* ======= بنر الخصم الـ 50% الجذاب ======= */
.discount-banner-container {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px;
    z-index: 10; position: relative;
}

.discount-banner {
    background: #000; border: 2px solid var(--primary-gold); border-radius: 15px;
    padding: 20px 40px; color: #fff; text-align: center; font-size: 1.1rem;
    font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.highlight-time { color: var(--primary-gold); font-weight: 900; font-size: 1.3rem; }
.discount-label { font-weight: 900; }
.discount-percent { color: #ff0000; font-size: 1.4rem; text-shadow: 0 0 5px rgba(255,0,0,0.6); }

/* الأيقونات في البنر */
.discount-banner i { font-size: 1.2rem; flex-shrink: 0; }
.discount-banner .clock-icon { color: var(--primary-gold); }
.discount-banner .tag-icon { color: var(--primary-gold); }

/* ========================================= */
/* ==== قسم البروشور التفاعلي (3D Flipbook) - بعد التعديل لظهور الصورة كاملة ==== */
/* ========================================= */
.flipbook-section {
    padding: 20px 5% 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.flip-book-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 20px;
}

/* حاوية الكتاب والمنظور الثلاثي الأبعاد */
.flip-book {
    position: relative;
    width: 100%;
    max-width: 450px; /* عرض الورقة */
    aspect-ratio: 1 / 1.4; /* أبعاد قريبة من ورقة A4 */
    perspective: 2000px; /* العمق الثلاثي الأبعاد */
}

/* تنسيق الورقة نفسها */
.page {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; 
    left: 0;
    transform-origin: right center; /* الكعب على اليمين عشان دي لغة عربية */
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.4s ease 0.2s;
    background: #111; /* خلفية سوداء تظهر خلف الصورة إذا كانت الصورة غير ممتلئة */
    border-radius: 8px 2px 2px 8px; /* تدوير الحواف الخارجية للورقة */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset -3px 0 10px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 215, 0, 0.2);
    overflow: hidden;
    cursor: grab;
    display: flex; /* لضمان توسيط الصورة */
    justify-content: center;
    align-items: center;
}

.page:active { cursor: grabbing; }

.page img {
    /* التعديل هنا لضمان ظهور الصورة كاملة */
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* تظهر الصورة كاملة وتحافظ على أبعادها */
}

/* الكلاس اللي هيتضاف بالـ JS عشان الورقة تتقلب */
.page.flipped {
    transform: rotateY(180deg);
    opacity: 0; /* بيخفي الورقة بعد ما تقلب عشان يظهر اللي تحتها */
    pointer-events: none; /* عشان نقدر نضغط على الورقة اللي بعدها */
}

/* تنسيق زراير التحكم والمؤشر */
.book-controls { display: flex; gap: 20px; margin-top: 15px; }

.ctrl-btn {
    background: rgba(17, 17, 17, 0.8);
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    transition: 0.3s;
    display: flex; align-items: center; gap: 10px;
}

.ctrl-btn:hover {
    background: var(--primary-gold);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.swipe-hint {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 10px;
    animation: pulseHint 2s infinite;
}

@keyframes pulseHint {
    0% { opacity: 0.5; }
    50% { opacity: 1; color: var(--primary-gold); transform: scale(1.05); }
    100% { opacity: 0.5; }
}
/* ========================================= */
/* ==== قسم الاستيكرات (Bottle Mockup) ==== */
/* ========================================= */
.stickers-section {
    padding: 40px 5% 80px;
    display: flex;
    flex-direction: column;
    align-items: center; /* توسيط كل العناصر بالعرض */
    width: 100%;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0d0d0d 100%);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.mockup-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* توسيط الزجاجة والزراير */
    width: 100%;
}

.bottle-wrapper {
    position: relative; /* مهم جداً عشان الاستيكر يترسم جواها مش براها */
    width: 100%;
    max-width: 260px; /* حجم الزجاجة */
    display: flex;
    justify-content: center;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.6));
}

.bottle-base {
    width: 100%;
    height: auto;
    display: block;
}

/* القناع اللي هيقص الاستيكر ويلفه */
.sticker-mask {
    position: absolute;
    top: 36%; /* مكان الاستيكر من فوق */
    left: 5%; /* ساب مسافة صغيرة من الجنب عشان سمك الزجاج */
    width: 90%; /* عرض الاستيكر */
    height: 44%; /* ارتفاع الاستيكر */
    overflow: hidden;
    border-radius: 10px / 5px; /* انحناء أسطواني 3D */
    z-index: 2;
    transition: opacity 0.3s ease;
}

/* لمعة الإضاءة والظل */
.sticker-mask::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(255,255,255,0.2) 15%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.1) 85%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
    z-index: 3;
}

/* الاستيكر نفسه */
.sticker-overlay {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sticker-mask.fade-out {
    opacity: 0;
}

/* ========================================= */
/* ==== تعديل قسم المنيو ليكون أفقي (Landscape) ==== */
/* ========================================= */

#menu-interactive-book {
    max-width: 850px; /* كبرنا العرض جداً عشان يناسب تصميم المنيو المفرود */
    aspect-ratio: 1.6 / 1; /* غيرنا النسبة عشان تكون بالعرض (مستطيل أفقي) بدل ما كانت رأسية */
}

/* ضبط إضافي للموبايل عشان المنيو الأفقي مايخرجش بره الشاشة */
@media (max-width: 768px) {
    #menu-interactive-book {
        max-width: 100%;
        aspect-ratio: 1.4 / 1; 
    }
}

/* ========================================= */
/* ==== أقسام المطبوعات الإضافية ==== */
/* ========================================= */

/* تنسيق الفلايرات */
.flyers-section {
    padding: 60px 5%;
    background: #0d0d0d;
}

.flyers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.flyer-item {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 10px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: 0.3s;
    display: flex;
    justify-content: center;
}

.flyer-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: contain; /* يضمن ظهور الفلاير كاملاً */
}

.flyer-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
}

/* تنسيق المطبوعات العامة */
.general-prints-section {
    padding: 60px 5% 100px;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.prints-display-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.print-card {
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.05);
    transition: 0.4s;
}

.print-img-box {
    width: 100%;
    height: 250px;
    background: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.print-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* يضمن ظهور الصورة كاملة دون قص */
}

.print-info {
    padding: 25px;
    text-align: right;
}

.print-info h3 {
    color: var(--primary-gold);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.print-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.print-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .prints-display-grid {
        grid-template-columns: 1fr;
    }
}