/**
 * Author Page Styles
 * Gelişmiş yazar sayfası tasarımı
 *
 * @package HaberPro
 */

/* Author Profile Card */
.author-profile-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.author-profile-header {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.author-avatar-section {
    flex-shrink: 0;
}

.author-avatar-wrapper {
    position: relative;
}

.author-avatar-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.author-avatar-img:hover {
    transform: scale(1.05);
}

.author-badges {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.author-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: #ffffff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
    white-space: nowrap;
}

.author-badge.badge-popular {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.author-badge.badge-active {
    background: linear-gradient(135deg, #00c9ff 0%, #0099cc 100%);
}

.author-info-section {
    flex: 1;
    min-width: 0;
}

.author-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.author-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
}

.author-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.author-follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.author-follow-btn.following {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.author-follow-btn .following-text {
    display: none;
}

.author-follow-btn.following .follow-text {
    display: none;
}

.author-follow-btn.following .following-text {
    display: inline;
}

.author-description {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
}

.author-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.author-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.author-stat-item .stat-icon {
    font-size: 20px;
}

.author-stat-item .stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #ff0000;
}

.author-stat-item .stat-label {
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.author-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    color: #333;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.author-social-link:hover {
    background: #ff0000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.author-social-link svg {
    width: 20px;
    height: 20px;
}

.author-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.author-rss-link,
.author-email-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f5f5f5;
    color: #333;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.author-rss-link:hover,
.author-email-link:hover {
    background: #ff0000;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Author Categories Section */
.author-categories-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #ff0000;
}

.author-categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.author-category-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.author-category-item:hover {
    border-color: #ff0000;
    background: #fff5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.15);
}

.author-category-item .category-name {
    color: #1a1a1a;
}

.author-category-item .category-count {
    color: #999;
    font-size: 12px;
    font-weight: 400;
}

/* Author Popular Posts Section */
.author-popular-posts-section {
    margin-bottom: 40px;
}

.author-popular-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Author All Posts Section */
.author-all-posts-section {
    margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .author-profile-card {
        padding: 30px 20px;
    }
    
    .author-profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }
    
    .author-title-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .author-title {
        font-size: 28px;
    }
    
    .author-stats {
        justify-content: center;
        gap: 15px;
    }
    
    .author-stat-item {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
    
    .author-social-links {
        justify-content: center;
    }
    
    .author-categories-list {
        justify-content: center;
    }
    
    .author-popular-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

