/* ============================================
   profile.css - Profil Sayfası
   ============================================ */

.profile-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.profile-main { flex: 1; min-width: 0; order: 1; }
.profile-sidebar { width: 340px; flex-shrink: 0; order: 2; }

/* Profil Kartı */
.profile-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.profile-cover {
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.profile-avatar-section {
    text-align: center;
    margin-top: -55px;
    position: relative;
}

.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.premium-badge-profile {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    color: #333;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 10px;
}

.profile-info {
    padding: 20px 30px 10px;
    text-align: center;
}

.profile-username {
    font-size: 26px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 5px 0;
}

.premium-icon { color: #ffd700; font-size: 18px; }

.profile-fullname {
    color: #666;
    font-size: 15px;
    margin: 0 0 15px 0;
}

.profile-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}

.profile-meta span { display: flex; align-items: center; gap: 5px; }

.profile-website {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 15px;
}
.profile-website:hover { text-decoration: underline; }

.profile-bio {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: left;
    margin-bottom: 15px;
}

.profile-actions {
    display: flex;
    gap: 10px;
    padding: 0 30px 25px;
    justify-content: center;
}

.btn {
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-follow { background: #667eea; color: white; }
.btn-follow:hover { background: #5a6fd6; transform: translateY(-2px); }
.btn-unfollow { background: #e0e0e0; color: #666; }
.btn-message { background: #27ae60; color: white; }
.btn-message:hover { background: #219a52; }
.btn-edit { background: #f0f0f0; color: #333; }

/* Rozetler */
.badges-card {
    background: white;
    border-radius: 15px;
    padding: 20px 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.badges-card h3 { font-size: 16px; color: #333; margin: 0 0 15px 0; }

.badges-list { display: flex; flex-wrap: wrap; gap: 8px; }

.badge-item {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 2px solid;
}

/* İstatistikler */
.stats-card {
    background: white;
    border-radius: 15px;
    padding: 20px 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stats-card h3 { font-size: 16px; color: #333; margin: 0 0 15px 0; }

.stats-grid-profile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-box {
    text-align: center;
    padding: 15px 10px;
    background: #f8f9fa;
    border-radius: 10px;
}
.stat-box i { font-size: 20px; color: #667eea; display: block; margin-bottom: 5px; }
.stat-value { font-size: 22px; font-weight: 700; color: #2c3e50; display: block; }
.stat-label { font-size: 11px; color: #999; }

/* Haftanın Üyesi */
.winner-card {
    background: linear-gradient(135deg, #fff8e7, #fff3cd);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
}
.winner-icon { font-size: 40px; margin-bottom: 10px; }
.winner-card h3 { color: #333; margin: 0 0 10px 0; }
.winner-card p { font-size: 14px; color: #666; margin: 0 0 10px 0; }
.prize-badge { display: inline-block; background: #27ae60; color: white; padding: 4px 12px; border-radius: 15px; font-size: 12px; }

/* İçerikler */
.user-posts-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-title {
    font-size: 20px;
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}
.post-count { font-size: 14px; color: #999; font-weight: 400; }

.post-item-card {
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}
.post-item-title { margin: 0 0 8px 0; font-size: 17px; }
.post-item-title a { color: #2c3e50; text-decoration: none; }
.post-item-title a:hover { color: #667eea; }
.post-item-meta { display: flex; gap: 15px; font-size: 12px; color: #888; margin-bottom: 8px; flex-wrap: wrap; }
.post-item-preview { font-size: 13px; color: #666; line-height: 1.6; margin: 0 0 8px 0; }
.read-more-link { color: #667eea; font-size: 13px; text-decoration: none; font-weight: 600; }
.read-more-link:hover { text-decoration: underline; }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 25px; }
.page-btn { padding: 8px 15px; background: white; border-radius: 8px; text-decoration: none; color: #333; }
.page-num { width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; background: white; border-radius: 8px; text-decoration: none; color: #333; }
.page-num.current { background: #667eea; color: white; }

.empty-state { text-align: center; padding: 40px; color: #999; }
.empty-state i { font-size: 50px; display: block; margin-bottom: 15px; }

/* Responsive */
@media (max-width: 992px) {
    .profile-layout { flex-direction: column; }
    .profile-main { order: 1; width: 100%; }
    .profile-sidebar { order: 2; width: 100%; }
}

@media (max-width: 768px) {
    .profile-info { padding: 15px; }
    .profile-actions { padding: 0 15px 20px; flex-direction: column; }
    .btn { justify-content: center; }
    .stats-grid-profile { grid-template-columns: repeat(2, 1fr); }
    .profile-username { font-size: 22px; }
    .profile-avatar { width: 90px; height: 90px; }
    .profile-avatar-section { margin-top: -45px; }
}

@media (max-width: 480px) {
    .stats-grid-profile { grid-template-columns: repeat(2, 1fr); }
    .profile-meta { flex-direction: column; align-items: center; gap: 8px; }
}