/* الهيدر */


.header {
  
    /*position: fixed; /* أو absolute إذا كان ذلك مطلوبًا */
    position: absolute;  
    top: 0;
    left: 0; /* تأكد من أن الهيدر يبدأ من أقصى اليسار */
    width: 100%; /* امتداد الهيدر ليغطي العرض بالكامل */
    background: rgba(0, 0, 0, 0.5); /* خلفية شفافة */
    padding: 10px 20px; /* تقليل المساحات الداخلية إذا لزم الأمر */
    display: flex;
    justify-content: space-between; /* الشعار على اليسار والقائمة على اليمين */
    align-items: center;
    z-index: 10; /* الهيدر فوق باقي المحتوى */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* إذا كنت تريد الظل */
     height: 120px; /* ارتفاع أكبر */
}


/* الشعار */
/*.logo-container {
    display: flex;
    align-items: center;
}*/

/*.logo-image {
 /*   width: 40px; /* حجم صغير للشعار */
 /*   height: 40px;
    border-radius: 50%; /* لجعل الشعار دائري */
   /* margin-right: 15px;
    border: 2px solid #ffffff; /* إطار أبيض حول الشعار */
/*}*/
/****************************************************************/

/* إصلاح الشعار */
.logo-container {
    display: flex;
    align-items: center;
    position: absolute;
    top: 10px;
    left: 10px; /* وضع الشعار على الجانب الأيسر */
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}


.logo-image:hover {
    transform: scale(1.2); /* تكبير الشعار عند تمرير الماوس */
    box-shadow: 0 4px 8px rgba(255, 204, 0, 0.5); /* إضافة ظل */
}


/* قائمة التنقل */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #FFD700; /* لون ذهبي عند المرور */
}


.navbar {
    display: flex;
    align-items: center;
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
}


/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    
   .nav-links {
         display: none;  /*  hide and show based on javascript */
         /*display: block; /* تأكد من أن القائمة تظهر */
        flex-direction: column;
        background: rgba(0, 0, 0, 0.8);
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 20px;
        border-radius: 10px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.active {
        display: flex;
    }
    
     .header {
        height: 80px; /* ارتفاع أصغر للشاشات الصغيرة */
        padding: 10px;
    }
    .header nav ul {
        flex-direction: column; /* ترتيب عمودي للقائمة */
    }

   
}
