/* تنسيقات عامة وسريعة */
:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --background-color: #f0f2f5;
    --card-bg-color: #ffffff;
    --text-color: #333;
}

/* استخدام 'box-sizing' لتجنب مشاكل التخطيط */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* تحسين الأداء: تقليل عدد الخطوط المستوردة واستخدام خطوط آمنة */
body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}

/* الهيكل الرئيسي */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.site-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.site-tagline {
    font-size: 1.2rem;
    opacity: 0.9;
}

.main-content {
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* استخدام Grid لإنشاء تخطيط متجاوب وسريع */
.horoscope-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* بطاقات الأبراج */
.card {
    background-color: var(--card-bg-color);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--primary-color);
    animation: pulse 2s infinite;
}

.card-text {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
}

.card-link {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.2s;
}

.card-link:hover {
    background: #1e5ac8;
    transform: scale(1.05);
}

/* تأثيرات متحركة */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* الفوتر (الأسفل) */
.footer {
    text-align: center;
    padding: 20px;
    color: #888;
    font-size: 0.9rem;
}
/* تنسيقات عنوان القسم */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
}
.footer-simple {
    background: linear-gradient(135deg, #1f2b40, #2c3e50);
    color: #e0e0e0;
    padding: 2rem 1rem;
    text-align: center;
    font-family: 'Cairo', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copyright {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #6a9bd8;
}

/* تنسيقات خاصة بصفحات الأبراج الفردية */
.horoscope-page {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-top: 2rem;
}

.horoscope-page .header {
    background: none;
    color: #333;
    padding: 0;
    box-shadow: none;
    text-align: right;
}

.horoscope-page .site-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
}

.horoscope-page .date {
    font-size: 1rem;
    color: #777;
    margin-top: 5px;
}

.zodiac-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.zodiac-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
}

.zodiac-text h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 5px;
}

.horoscope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.horoscope-card {
    background-color: #f5f7fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    align-items: center;
    padding: 15px;
    color: white;
}

.card-header i {
    font-size: 1.5rem;
    margin-left: 10px;
}

.card-header h3 {
    font-size: 1.2rem;
    margin: 0;
}

.card-body {
    padding: 20px;
    line-height: 1.8;
    color: #555;
    font-size: 1rem;
}

/* ألوان أقسام التوقعات */
.love-color { background-color: #ff6b6b; }
.career-color { background-color: #2e8b57; }
.health-color { background-color: #4ecdc4; }

/* قسم الأبراج الأخرى */
.other-horoscopes {
    margin-top: 40px;
    text-align: center;
}

.other-horoscopes h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}

.other-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.horoscope-link {
    background-color: #e0e0e0;
    color: #555;
    padding: 10px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.horoscope-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}
/* تنسيقات خاصة بصفحات الأبراج الفردية */
/* (احتفظ بجميع التنسيقات السابقة كما هي) */

/* القسم الجديد لأرقام الحظ */
.lucky-numbers {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background-color: #e6f7ff; /* لون خلفية خفيف */
    border-radius: 10px;
    border: 2px dashed #a0d4eb;
}

.lucky-numbers h3 {
    font-size: 1.5rem;
    color: #007bff;
    margin-bottom: 20px;
}

.numbers-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.lucky-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lucky-number:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* (احتفظ بباقي التنسيقات كما هي) */

/* ========================================= */
/* 1. التنسيق الأساسي للشريط العلوي (Top Bar) */
/* ========================================= */
.top-nav-bar {
    background-color: #4a00e0; /* لون أرجواني عميق للمصداقية */
    color: white;
    padding: 8px 0; /* شريط رفيع */
    font-size: 0.9rem;
    width: 100%;
	margin-top: 20px;
}

.top-nav-content {
    display: flex;
    justify-content: space-between; /* توزيع المحتوى على الأطراف */
    align-items: center;
	padding-left: 10px;
	padding-right: 10px;
}

/* ========================================= */
/* 2. قسم المصداقية (E-E-A-T) */
/* ========================================= */
.eateat-nav {
    display: flex;
    gap: 20px;
}

.eateat-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #e0f7fa; /* لون فاتح وواضح */
    transition: color 0.3s;
}

.eateat-link:hover {
    color: #ffffff;
}

.eateat-link i {
    margin-left: 6px;
    font-size: 0.8rem;
}

/* ========================================= */
/* 3. رابط توقعات الغد */
/* ========================================= */
.tomorrow-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    color: #ffcc80; /* لون ذهبي/برتقالي للتمييز والجاذبية */
    padding: 3px 0;
    transition: color 0.3s;
}

.tomorrow-link:hover {
    color: #ffffff;
}

.tomorrow-link i {
    margin-left: 8px;
}


/* ========================================= */
/* 4. التجاوب (Responsive Design) */
/* ========================================= */

@media (max-width: 768px) {
    .top-nav-content {
        flex-direction: column; /* ترتيب العناصر عمودياً على الجوال */
        gap: 10px;
        text-align: center;
    }
    
    .eateat-nav {
        gap: 15px;
        justify-content: center;
    }
}