﻿body {
    background-color: #0d0d0d;
    font-family: sans-serif;
    color: white;
    margin: 0;
    padding: 0;
    
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #121212;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

    .logo img {
        height: 32px;
    }

.search-bar {
    flex: 1;
    max-width: 600px;
    margin: 0 2rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: none;
    background-color: #1e1e1e;
    color: white;
}

.nav-icons {
    display: flex;
    gap: 1rem;
}

.icon {
    font-size: 1.3rem;
    cursor: pointer;
}

.home-container {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Gönderi kartı arka planı gönderi oluştur penceresiyle aynı gri (#1e1f23) yapıldı. Tüm yazılar beyaz, detaylar turuncu ve siyah olarak kaldı. Lacivert ve diğer renkler kaldırıldı. */
.post-card {
    background: #1e1f23 !important; /* gönderi oluştur penceresiyle aynı gri */
    border: 1px solid #23242a;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    color: #fff !important;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.post-header, .post-footer, .user-info, .username, .timestamp, .post-title, .post-content {
    color: #fff !important;
}

/* Turuncu detaylar */
.post-type-badge, .follow-btn, .btn-primary, .btn-submit {
    background: #FF832F !important;
    color: #fff !important;
    border: none !important;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 0 8px 0 rgba(255, 131, 47, 0.18);
    transition: background 0.2s, box-shadow 0.2s;
}

.post-type-badge {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
}

.stat-item.liked {
    color: #f56565 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.btn-primary:hover, .btn-submit:hover, .follow-btn:hover {
    background: #e37129 !important;
    box-shadow: 0 0 16px 2px rgba(255, 131, 47, 0.35);
}

/* Sadece gönderi kartı içindeki linkler turuncu olsun */
.post-card a {
    color: #FF832F !important;
    text-decoration: underline;
}

/* Diğer renkli detayları kaldır, sadece siyah, turuncu, beyaz kalsın */
.post-card * {
    color: #fff;
    border-color: #23242a !important;
}

.timestamp {
    color: #fff !important;
    opacity: 0.7;
}

/* Yorum ve diğer küçük detaylar da sadece beyaz veya turuncu */
.comment-count, .stat-item {
    color: #fff !important;
}

/* Profil avatarı turuncu yap */
.avatar,
.avatar-circle,
.profile-img,
.user-avatar {
    background: #FF832F !important;
    color: #fff !important;
    border: none !important;
}

/* Yorumlardaki yanıtla (reply-btn) yazısının rengi grimsi beyaz (#e0e0e0) yapıldı, hover olunca turuncu olacak. */
.reply-btn {
    background: none !important;
    border: none !important;
    color: #e0e0e0 !important; /* grimsi beyaz */
    font-size: 11px;
    padding: 0;
    cursor: pointer;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.reply-btn:hover {
    color: #FF832F !important;
    text-decoration: underline !important;
    background: none !important;
    box-shadow: none !important;
}

/* Profil ve arama sonuçları için beğeni ve yorum butonları - sadece kalp ikonu */
.profile-like-btn, .search-like-btn {
    display: flex !important;
    align-items: center !important;
     
    padding: 0.5rem 0.75rem !important;
    border-radius: 20px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    background: transparent !important;
    border: 1px solid #23242a !important;
    color: #fff !important;
}

.profile-like-btn:hover, .search-like-btn:hover {
    background: #23242a !important;
    transform: translateY(-1px) !important;
}

.profile-like-btn.liked, .search-like-btn.liked {
    background: transparent !important;
    border-color: #23242a !important;
    color: #f56565 !important;
}

.profile-like-btn.liked:hover, .search-like-btn.liked:hover {
    background: #23242a !important;
    border-color: #23242a !important;
}

.profile-comment-count, .search-comment-count {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 20px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    background: transparent !important;
    border: 1px solid #23242a !important;
    color: #fff !important;
}

.profile-comment-count:hover, .search-comment-count:hover {
    background: #23242a !important;
    transform: translateY(-1px) !important;
}

.like-heart {
    transition: all 0.2s ease !important;
}

.profile-like-btn:hover .like-heart, .search-like-btn:hover .like-heart {
    transform: scale(1.1) !important;
}

/* Yorum CSS - Ana sayfadaki gibi */
.comment-item {
    position: relative;
    margin-bottom: 12px;
    padding: 8px 0;
    background: transparent !important;
    border: none !important;
}

/* Reply hiyerarşisi - daha spesifik */
.comments-section .comment-item.reply {
    margin-left: 32px !important;
    padding-left: 24px !important;
    border-left: 2px solid #4a5568 !important;
    position: relative !important;
}

.comments-section .comment-item.reply::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #4a5568, transparent);
    z-index: 1;
}

.comments-section .comment-item.reply::after {
    content: '↳';
    position: absolute;
    left: -12px;
    top: 8px;
    color: #4a5568;
    font-size: 16px;
    font-weight: bold;
    z-index: 2;
}

.comments-section .comment-item.reply.reply-level-2 {
    margin-left: 64px !important;
    padding-left: 24px !important;
}

.comments-section .comment-item.reply.reply-level-3 {
    margin-left: 96px !important;
    padding-left: 24px !important;
}

.comment-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.comment-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.comment-details {
    flex-grow: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.comment-author {
    font-weight: 600;
    color: #e2e8f0;
    font-size: 13px;
}

.comment-username {
    color: #718096;
    font-size: 12px;
}

.comment-date {
    color: #718096;
    font-size: 11px;
}

.comment-text {
    color: #cbd5e0;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 6px;
}

.comment-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.reply-btn {
    background: none;
    border: none;
    color: #667eea;
    font-size: 11px;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.reply-btn:hover {
    color: #764ba2;
}

/* Sabit sağ alt köşe yeni gönderi butonu */
.fab-new-post {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 1050;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    background: #FF832F !important;
    color: #fff !important;
    border: none !important;
    transition: background 0.2s, box-shadow 0.2s;
}
.fab-new-post:hover {
    background: #e37129 !important;
    box-shadow: 0 8px 32px rgba(255,131,47,0.25);
}
@media (max-width: 600px) {
    .fab-new-post {
        right: 16px;
        bottom: 16px;
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }
}
.floating-new-post-btn {
        position: fixed;
        right: 32px;
        bottom: 32px;
        z-index: 1050;
        margin: 0 !important;
    }
    @media (max-width: 768px) {
        .floating-new-post-btn {
            right: 16px;
            bottom: 16px;
        }
    }
