/* تصميم قسم الإحصائيات */
.journal-stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 20px;
    border-radius: 15px;
    margin: 30px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    margin: 0;
    font-size: 2em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    margin: 10px 0;
}

.stat-label {
    font-size: 1.1em;
    opacity: 0.9;
}

/* تصميم خريطة الزيارات */
.visitors-map-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.countries-stats {
    margin-top: 20px;
}

.country-item {
    display: flex;
    align-items: center;
    margin: 15px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.country-name {
    width: 100px;
    font-weight: bold;
}

.country-bar {
    flex: 1;
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    margin: 0 15px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 10px;
}

.country-count {
    width: 80px;
    text-align: right;
    font-weight: bold;
    color: #495057;
}

/* تصميم قسم الاتصال والروابط */
.contact-links-section {
    background: #f8f9fa;
    padding: 40px 20px;
    border-radius: 15px;
    margin: 30px 0;
}

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

.contact-info h4, .important-links h4 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin: 15px 0;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-icon {
    margin-right: 15px;
    font-size: 1.2em;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.link-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #2c3e50;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.link-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.link-item span:first-child {
    margin-right: 10px;
    font-size: 1.2em;
}

/* وسائل التواصل الاجتماعي */
.social-media-section {
    text-align: center;
    padding: 30px;
    background: #2c3e50;
    color: white;
    border-radius: 10px;
    margin: 20px 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-link {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    text-decoration: none;
    color: white;
    transition: background 0.3s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* التصميم المتجاوب */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .country-item {
        flex-direction: column;
        text-align: center;
    }
    
    .country-name, .country-count {
        width: auto;
    }
    
    .country-bar {
        width: 100%;
        margin: 10px 0;
    }
}