/* إعدادات دارك مود */
body {
    font-family: 'Arial', sans-serif;
    background-color: #121212; /* خلفية داكنة */
    color: #e0e0e0; /* نص فاتح */
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column; /* ترتيب العناصر في عمود */
    justify-content: center; /* توسيط الشبكة أفقياً */
    align-items: center; /* توسيط الشبكة عمودياً */
}

header {
    padding: 20px;
    background-color: #1e1e1e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    width: 100%;
    text-align: center; /* توسيط النص */
}

h1 {
    font-size: 2.5rem;
    margin: 0;
    color: #fff;
}

/* الشبكة */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* مربعين في كل سطر */
    gap: 20px;
    padding: 20px;
    margin-top: 20px; /* مسافة بين الهيدر والشبكة */
}

.grid-item {
    background-color: #1e1e1e; /* لون داكن لكل مربع */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 300px;  /* عرض ثابت لكل مربع */
    height: 300px; /* ارتفاع ثابت لكل مربع */
}

.grid-item img {
    width: 100px; /* حجم الصورة يتناسب مع المربع */
    height: 100px;
    margin-bottom: 10px;
    border-radius: 5px; /* زوايا دائرية للصور */
}

h2 {
    font-size: 1.5rem;
    color: #64ffda; /* لون مميز للعناوين */
}

p {
    font-size: 1rem;
    color: #b0b0b0; /* نص ثانوي */
    margin-bottom: 15px;
}

a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #64ffda; /* لون زر عصري */
    color: #121212;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

a:hover {
    background-color: #52e2c7; /* تغيير لون الزر عند التمرير */
}

/* الفوتر */
footer {
    background-color: #1e1e1e;
    color: #fff;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
}
