/* 
   ملف الأنماط الموحد للتنقل والفوتر
   تم إنشاؤه لإصلاح مشاكل التناسق في جميع صفحات الموقع
*/

/* إصلاح مشكلة تكرار عنصر footer-btn */
footer-btn {
    display: block;
    margin-top: 20px;
}

/* إصلاح مشكلة عدم توحيد الفوتر */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo, 
.footer-links, 
.footer-contact {
    flex: 0 0 30%;
    max-width: 30%;
}

/* تحسين حجم الخط في القائمة العلوية */
.main-menu li a {
    font-size: 0.9rem;
    padding: 8px 10px;
}

/* توسيط القائمة العلوية */
nav {
    display: flex;
    justify-content: center;
}

.main-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* تحسين زر المزيد عنا في الصفحة الرئيسية */
.about-content .btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.9rem;
    text-align: center;
}

/* توحيد نوع الخط في التبويبات */
.tab-btn {
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
}

/* إصلاح روابط المقالات */
.footer-links ul li a[href="blog.html"] {
    pointer-events: auto;
}

/* تحسين تنسيق المقالات */
.article-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content p {
    margin-bottom: 20px;
}

/* تحسين توسيط الصور في الأرشيف */
.gallery-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item {
    margin: 0 auto;
    text-align: center;
}

/* إصلاح مشكلة تكرار الأكواد في الفوتر */
footer script {
    display: none;
}

footer footer-btn:first-of-type {
    display: block;
}

footer footer-btn:not(:first-of-type) {
    display: none;
}
