/*
Theme Name: Glassmorphism Pro Services
Description: قالب إبداعي يعتمد على التصميم الزجاجي وحركات الانزلاق الجانبية الحديثة.
Version: 1.0
*/

::root {
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --primary-dark: #0f172a;
    --accent-blue: #1e3a8a; /* 👈 أزرق كحلي داكن جداً يضمن اجتياز الفحص 100% */
    --body-bg: #f8fafc;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    /* خلفية متدرجة هادئة لكي يظهر تأثير الزجاج بشكل احترافي */
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--primary-dark);
    margin: 0;
    padding: 0;
    direction: rtl;
    overflow-x: hidden;
}

/* --- الترويسة الممركزة (Centered Minimal Header) --- */
.site-header-centered {
    background: var(--glass-bg);
    backdrop-filter: blur(12px); /* تأثير الزجاج */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    flex-direction: column; /* جعل الشعار فوق القائمة */
    align-items: center;
    justify-content: center;
    max-width: 1140px;
    margin: 0 auto;
    gap: 15px;
}

/* مساحة مخصصة لشعار دائري نظيف بدون نصوص مزدحمة */
.logo-container img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.main-nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: bold;
    padding: 8px 12px;
    min-height: 48px;
    min-width: 48px;
    display: inline-block;
}

/* --- البطاقات الزجاجية (Glassmorphism Cards) --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

/* --- حركات الانزلاق الانسيابية (Slide-in Reveal) --- */
/* حركة الدخول من اليمين */
.slide-in-right {
    opacity: 0 !important;
    transform: translateX(50px) !important;
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    will-change: opacity, transform;
}

/* حركة الدخول من اليسار */
.slide-in-left {
    opacity: 0 !important;
    transform: translateX(-50px) !important;
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    will-change: opacity, transform;
}

/* كلاس الظهور الذي سيضيفه الجافاسكربت */
.is-visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
}