/* 1. الأساسيات والخطوط */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Cairo', 'Tajawal', sans-serif; /* إضافة تاجاوال كبديل ممتاز */
    background: url("assets/IMGE/promo-1.PNG") no-repeat center center fixed;
    background-size: cover;
    color: white;
    overflow-x: hidden; /* منع الاهتزاز العرضي */
    scroll-behavior: smooth; /* تنعيم السكرول */
}

/* 2. الهد الكريستالي الأفقي المطور */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: rgba(0, 0, 0, 0.2) !important; /* سواد خفيف لزيادة وضوح النصوص */
    backdrop-filter: blur(10px) !important; /* زيادة الضبابية لإحساس الكريستال */
    -webkit-backdrop-filter: blur(10px);
    position: fixed; width: 100%; top: 0; z-index: 2000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s all ease;
}

.navbar-logo {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold, #ffcc00);
}

.navbar-links {
    display: flex !important;
    flex-direction: row !important;
    list-style: none;
    gap: 15px;
}

.navbar-links a {
    color: white; text-decoration: none; font-weight: bold; font-size: 14px;
    transition: 0.3s;
    text-shadow: 1px 1px 3px #000;
}

.navbar-links a:hover {
    color: #ffcc00;
    transform: translateY(-2px);
}

/* 3. الكروت الشفافة (Glassmorphism) */
.overlay { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    min-height: 100vh; 
    padding-top: 80px;
    background: rgba(0, 0, 0, 0.4); /* طبقة تعتيم فوق الخلفية لراحة العين */
}

.main-action-container { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    flex-wrap: wrap; 
    padding: 20px; 
    animation: fadeIn 1s ease-in;
}

.action-card {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px; 
    padding: 25px; 
    width: 280px; 
    text-align: center;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.action-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #ffcc00;
}

/* 4. لوجو الهيدر الكبير */
.hero-logo { 
    width: 110px !important; 
    height: auto !important; 
    margin-bottom: 15px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
}

h1 { 
    color: #ffcc00; 
    text-shadow: 2px 2px 8px #000; 
    font-size: 2.2rem;
    margin-bottom: 10px;
}

/* 5. الأقسام والفوتر */
.section { 
    display: none; 
    padding: 120px 20px 60px; 
    text-align: center;
    min-height: 100vh;
    background: rgba(0,0,0,0.8); /* خلفية داكنة للأقسام لتركيز النظر على المنتجات */
}

.prod-img { 
    width: 100%;
    max-width: 300px; 
    border-radius: 20px; 
    margin-top: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 3px solid rgba(255,255,255,0.1);
}

.site-footer { 
    background: rgba(0,0,0,0.5); 
    padding: 30px; 
    text-align: center; 
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
}

/* أزرار الأكشن المطورة */
.action-btn { 
    display: block; 
    width: 100%; 
    padding: 14px; 
    margin-top: 15px; 
    border-radius: 12px; 
    border: none; 
    font-weight: 800; 
    cursor: pointer; 
    transition: 0.3s;
    text-decoration: none;
    font-family: inherit;
}

.action-btn:active { transform: scale(0.95); }

.chat-btn { 
    background: linear-gradient(45deg, #25d366, #128c7e); 
    color: white; 
    animation: pulse 2s infinite;
}

.group-btn { background: #0078ff; color: white; }
.calc-btn { background: #ffcc00; color: black; }

/* تأثير النبض */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* أنيميشن الدخول */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* الموبايل */
@media (max-width: 600px) {
    .navbar { padding: 10px 15px; }
    .navbar-links { gap: 10px; }
    .navbar-links a { font-size: 12px; }
    h1 { font-size: 1.6rem; }
    .action-card { width: 100%; max-width: 320px; }
}
