/* الألوان */
:root {
    --primary-color: #2563EB;
    --secondary-color: #1E40AF;
    --background-color: #ffffff;
    --text-color: #1F2937;
    --accent-color: #F59E0B;
}
/* التصميم العام */
body {
    font-family: "El Messiri", serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    padding: 0;
    background-color: white;
    color: var(--text-color);
    text-align: right;
    direction: rtl;
}


header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .logo {
    font-size: 24px;
    font-weight: bold;
}
/* قائمة التنقل */
nav {
    display: flex;
    align-items: center;
}
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.nav-links li {
    margin-left: 20px;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}
/* الأزرار */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 10px; /* مسافة بين الأزرار */
}
.cta-button {
    background-color: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
.login-button {
    background-color: transparent;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 5px;
    font-weight: bold;
}
.login-button:hover {
    background-color: #fff;
    color: var(--primary-color);
}
/* زر القائمة الجانبية */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}
/* أيقونات التواصل الاجتماعي */
.social-icons {
    display: none; /* إخفاء الأيقونات في الشاشات الكبيرة */
}
.social-icons a {
    color: #fff;
    margin: 0 10px;
    font-size: 20px;
}
/* التصميم المتجاوب */
@media (max-width: 768px) {
    header {
        padding: 10px;
    }
    .nav-links {
        background-color: rgba(255, 255, 255, 0.9); /* شفافية مع لون خلفية */
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 50px;
        border-top-left-radius: 50px;
        right: -100%; /* إخفاء القائمة خارج الشاشة */
        width: 90%; /* عرض القائمة كامل الشاشة */
        height: 100vh; /* ارتفاع القائمة */
        text-align: center;
        transition: right 0.3s ease-in-out; /* إضافة تأثير انتقالي */
        z-index: 1000; /* التأكد من ظهور القائمة فوق العناصر الأخرى */
        padding-top: 60px; /* مسافة من الأعلى لتجنب التداخل مع الهيدر */
    }
    header .logo {
        font-size: 20px;
        font-weight: bold;
        z-index: 1001; /* التأكد من ظهور القائمة فوق العناصر الأخرى */
        color: #ffffff;
    }
    .nav-links.active {
        right: 0; /* إظهار القائمة */
    }
    .nav-links li {
        margin: 20px 0;
    }
    .nav-links li a{
        color: #000000;
    }
    .hamburger {
        display: block;
        order: -1; /* نقل الزر إلى أقصى اليسار */
        margin-left: 10px; /* مسافة من اليسار */
        z-index: 1001; /* التأكد من ظهور الزر فوق القائمة */
    }
    /* إظهار الأيقونات في القائمة المنسدلة */
    .social-icons {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    /* إظهار الأزرار خارج القائمة المنسدلة */
    .header-buttons {
        display: flex;
        z-index: 1001; /* التأكد من ظهور الزر فوق القائمة */
    }
    .cta-button {
        padding: 5px 10px;
    }
    .header-buttons a {
        display: flex;
        font-size: 10px;
    }
    .login-button {
        padding: 5px 10px;
        border: 1px solid #fff;
    }}




/* صفحة المتاجر */
.stores-page {
    padding: 60px 20px;
    background-color: #f9fafb;
    text-align: center;
}
.stores-page h2 {
    font-size: 36px;
    margin-bottom: 0px;
    color: var(--primary-color);
}
.stores-page p {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-color);
}
/* القسم الأول: أنواع المتاجر */
.store-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px; /* مسافة بين المتاجر */
}
.store-card {
    width: 300px; /* عرض الكارت */
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.store-card:hover {
    transform: translateY(-10px); /* تأثير رفع الكارت */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
.store-card img {
    width: 100%;
    height: 200px; /* ارتفاع الصورة */
    object-fit: scale-down; /* تغطية المساحة دون تشويه */
}
.store-card h3 {
    font-size: 24px;
    margin: 20px 0;
    color: #333;
}
.store-buttons {
    display: flex;
    flex-direction: column; /* الأزرار تحت بعضها */
    gap: 5px; /* مسافة بين الأزرار */
    padding: 0 0px 0px;
}
.live-preview-button, .order-button {
    display: block; /* لجعل الأزرار تمتد بكامل العرض */
    width: 100%; /* عرض كامل */
    padding: 10px 0px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    text-align: center; /* توسيط النص داخل الأزرار */
}
.live-preview-button {
    background-color: var(--accent-color);
    color: #fff;
}
.live-preview-button:hover {
    background-color: var(--accent-color);
}
.order-button {
    background-color: var(--primary-color); /* لون أخضر */
    color: #fff;
}
.order-button:hover {
    background-color: var(--secondary-color); /* لون أخضر داكن */
}
/* القسم الثاني: مكونات المتجر */
.store-components{
    padding: 100px 0 0 0;
}
.components-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px; /* مسافة بين المكونات */
}
.component-card {
    width: 300px; /* عرض الكارت */
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}
.component-card:hover {
    transform: translateY(-10px); /* تأثير رفع الكارت */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
.component-card img {
    width: 100%;
    height: 200px; /* ارتفاع الصورة */
    object-fit:scale-down; /* تغطية المساحة دون تشويه */
}
.component-card h3 {
    font-size: 24px;
    margin: 20px 0;
    color: #333;
}
.component-card .live-preview-button {
    margin: 0 0px 0px; /* مسافة من الأسفل */
    width: calc(100% - 30px); /* عرض كامل مع مراعاة الهوامش */
    border-top-right-radius: 50px;
}
/* التصميم المتجاوب */
@media (max-width: 1024px) {
    .store-card, .component-card {
        width: 45%; /* عرض الكارت في الشاشات المتوسطة */
    }
}
@media (max-width: 768px) {
    .stores-page h2 {
        font-size: 28px;
    }
    .store-card, .component-card {
        width: 100%; /* عرض الكارت في الهواتف */
    }
    .store-card h3, .component-card h3 {
        font-size: 22px;
    }
    .live-preview-button, .order-button {
        padding: 8px 16px;
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .stores-page {
        padding: 40px 15px;
    }
    .stores-page h2 {
        font-size: 24px;
        margin-bottom: 40px;
    }
    .store-card h3, .component-card h3 {
        font-size: 20px;
    }
    .live-preview-button, .order-button {
        padding: 6px 12px;
        font-size: 12px;
    }
}



.footer__copyright__text {
	border-top: 1px solid #e1e1e1;
	padding: 10px 0 5px 0;
	text-align: center;
    font-size: 12px;
    color: rgb(99, 99, 99);
}
.footer__copyright__text p {
	margin-bottom: 0;
}
.footer__copyright__text a {
	color: #5C5C5C;
}
.footer__copyright__text i {
	color: #ca1515;
}
.footer__copyright__text a:hover {
	color: #ca1515;
}
footer .fon{
    padding: 0 300px;
    }
    @media (max-width: 768px) {
    footer .fon{
        padding: 0 0px;
    }}