/* أنماط البيانات التجريبية للأندية */

.fdl-clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.fdl-club-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.fdl-club-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.club-logo {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.club-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.club-content {
    padding: 20px;
}

.club-title {
    margin: 0 0 15px 0;
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
}

.club-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.club-title a:hover {
    color: #007cba;
}

.club-info {
    margin-bottom: 15px;
}

.club-founded,
.club-stadium {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9em;
    color: #666;
}

.club-founded i,
.club-stadium i {
    margin-left: 8px;
    color: #007cba;
    width: 16px;
}

.club-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.club-actions {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.fdl-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #007cba;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9em;
    transition: background 0.3s ease;
}

.fdl-btn:hover {
    background: #005a87;
    color: #fff;
}

.fdl-btn i {
    margin-left: 8px;
}

/* أنماط شبكة الملاعب */
.fdl-stadium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.fdl-stadium-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.fdl-stadium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--club-custom-color, #007cba);
}

.fdl-stadium-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.fdl-stadium-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.fdl-stadium-card:hover .fdl-stadium-image img {
    transform: scale(1.05);
}

.fdl-club-logo {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.fdl-club-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fdl-stadium-content {
    padding: 25px;
}

.fdl-club-name {
    margin: 0 0 20px 0;
    font-size: 1.5em;
    font-weight: bold;
    color: var(--club-custom-color, #333);
    text-align: center;
}

.fdl-club-details {
    margin-bottom: 20px;
}

.fdl-club-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.95em;
    color: #555;
}

.fdl-club-info i {
    margin-left: 10px;
    color: var(--club-custom-color, #007cba);
    width: 18px;
    text-align: center;
}

.fdl-club-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.fdl-view-btn,
.fdl-website-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9em;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.fdl-view-btn {
    background: var(--club-custom-color, #007cba);
    color: #fff;
}

.fdl-view-btn:hover {
    background: var(--club-custom-color, #005a87);
    color: #fff;
    transform: translateY(-2px);
}

.fdl-website-btn {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #dee2e6;
}

.fdl-website-btn:hover {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-2px);
}

.fdl-view-btn i,
.fdl-website-btn i {
    margin-left: 6px;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .fdl-clubs-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .fdl-stadium-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }
    
    .fdl-club-actions {
        flex-direction: column;
    }
    
    .fdl-view-btn,
    .fdl-website-btn {
        flex: none;
    }
}

/* تحسينات للنصوص العربية */
.fdl-club-card,
.fdl-stadium-card {
    direction: rtl;
    text-align: right;
}

.fdl-club-info i {
    margin-left: 0;
    margin-right: 10px;
}

.fdl-btn i,
.fdl-view-btn i,
.fdl-website-btn i {
    margin-left: 0;
    margin-right: 6px;
}

.club-founded i,
.club-stadium i {
    margin-left: 0;
    margin-right: 8px;
}