/* Mevcut stil dosyasına eklenecek */
/* Profil sayfası özel stilleri */

/* Ana container */
.container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* Sol sütun */
.left-column {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.profile-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.profile-header {
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profile-info {
    padding: 20px;
    text-align: center;
}

.profile-info h2 {
    margin: 0;
    color: #333;
    font-size: 1.5em;
}

.username {
    color: #666;
    margin: 5px 0 15px;
}

.bio {
    color: #444;
    margin-bottom: 20px;
    line-height: 1.4;
}

.follow-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.stat {
    text-align: center;
}

.count {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

.label {
    color: #666;
    font-size: 0.9em;
}

.edit-profile-btn {
    width: 100%;
    padding: 10px;
    background: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s;
}

.edit-profile-btn:hover {
    background: #1557b0;
}

/* Orta sütun */
.middle-column {
    background: transparent;
}

.post-form {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.post-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    resize: none;
    margin-bottom: 10px;
}

.post-actions {
    text-align: right;
}

.post-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.post-info h3 {
    margin: 0;
    font-size: 1.1em;
}

.post-date {
    color: #666;
    font-size: 0.9em;
}

/* Modal Stili */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 15px;
    position: relative;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    
    .left-column {
        position: relative;
        top: 0;
    }
}

/* Post kartları için stil */
.posts {
    margin-top: 20px;
}

.post {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.post-header {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.post-info {
    flex: 1;
}

.post-info h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.post-info h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.post-info h3 a:hover {
    color: #1a73e8;
}

.post-time {
    font-size: 13px;
    color: #666;
    display: block;
    margin-top: 4px;
}

.post-content {
    position: relative;
}

.post-image {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.2s;
}

.post-image:hover {
    opacity: 0.95;
}

.post-actions {
    display: flex;
    padding: 12px 15px;
    border-top: 1px solid #eee;
    gap: 15px;
}

.post-actions button {
    background: none;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.post-actions button:hover {
    background: #f5f5f5;
    color: #1a73e8;
}

.post-actions button i {
    font-size: 16px;
}

.like-btn.active {
    color: #e53935;
}

.dislike-btn.active {
    color: #455a64;
}

/* Load More butonu */
.load-more-container {
    text-align: center;
    margin: 30px 0;
}

.load-more-btn {
    background: #1a73e8;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.load-more-btn:hover {
    background: #1557b0;
}

.load-more-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .post-actions {
        flex-wrap: wrap;
    }
    
    .post-actions button {
        flex: 1;
        min-width: calc(50% - 10px);
        justify-content: center;
    }
} 
/* Post medyası için güncellenmiş stil */
.post-media {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 10px;
    display: block;
    overflow: hidden; /* Taşan içeriği kes */
}

.post-media img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto; /* Resmi ortala */
}

.post-media video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto; /* Videoyu ortala */
}

/* Orta sütun genişliği için ek kontrol */
.middle-column {
    max-width: 800px; /* Orta sütunun maksimum genişliği */
    width: 100%;
    margin: 0 auto; /* Orta sütunu ortala */
    padding: 0 15px; /* Kenar boşlukları */
    box-sizing: border-box; /* Padding'i genişliğe dahil et */
}

/* Responsive tasarım için ek kontrol */
@media (max-width: 768px) {
    .middle-column {
        padding: 0 10px; /* Mobilde kenar boşluklarını azalt */
    }
}