:root {
    --primary-beige: #ac905a;
    --primary-beige-hover: #967d4d;
    --dark-navy: #1e1f20;
    --dark-navy-light: #2c2d30;
    --bg-body: #f0f2f5;
    --bg-card: #ffffff;
    --text-main: #1e1f20;
    --text-secondary: #65676b;
    --border-color: #e4e6eb;
    --radius-md: 12px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    padding-top: 70px;
    padding-bottom: 70px; /* Mobil menü boşluğu */
}

/* --- IKON AYARLARI --- */
i { vertical-align: middle; }

/* --- HEADER --- */
.main-header {
    background-color: var(--dark-navy);
    height: 60px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0 15px;
}

.header-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text { font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 700; color: white; }
.logo-text .highlight { color: var(--primary-beige); }

/* Header Search */
.search-bar { 
    background: var(--dark-navy-light); 
    border-radius: 20px; 
    padding: 8px 15px; 
    display: none; /* Mobilde gizli */
    align-items: center; 
    width: 40%; 
    border: 1px solid rgba(255,255,255,0.1);
}
.search-bar input { background: transparent; border: none; color: white; margin-left: 10px; width: 100%; outline: none; }
.search-bar i { color: #aaa; font-size: 1.2rem; }

/* Header Actions */
.header-actions { display: flex; gap: 15px; align-items: center; }

.icon-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--primary-beige);
    color: white;
    font-size: 0.65rem;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header Avatar DÜZELTME */
.user-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden; /* Taşmayı engelle */
    border: 2px solid var(--primary-beige);
    flex-shrink: 0; /* Sıkışmayı engelle */
}

.user-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- LAYOUT --- */
.layout-container {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1200px;
    margin: 20px auto;
    gap: 20px;
    padding: 0 10px;
}

/* --- SIDEBARS --- */
.sidebar-left, .sidebar-right { display: none; } /* Mobilde gizli */

.nav-menu {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 15px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-item i { font-size: 1.4rem; color: var(--text-secondary); }
.nav-item:hover { background-color: #f0f2f5; }
.nav-item.active { background-color: rgba(172, 144, 90, 0.1); color: var(--primary-beige); font-weight: 600; }
.nav-item.active i { color: var(--primary-beige); }

.btn-primary-full {
    width: 100%;
    background: var(--primary-beige);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}
.btn-primary-full:hover { background: var(--primary-beige-hover); }

/* --- SHARE BOX (Paylaşım Alanı) DÜZELTME --- */
.share-box {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 15px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.share-input {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.share-input .avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

.share-input input {
    background: #f0f2f5;
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 10px 20px;
    width: 100%;
    outline: none;
    font-size: 0.95rem;
    transition: border 0.3s;
}

.share-input input:focus { border-color: var(--primary-beige); background: #fff; }

.share-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

.action-chip {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
}
.action-chip:hover { background: #f0f2f5; }
.action-chip i { color: var(--primary-beige); font-size: 1.2rem; }

.btn-share {
    background: var(--dark-navy);
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
}

/* --- FEED POST --- */
.feed-post {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    overflow: hidden;
}

.post-header { padding: 15px; display: flex; justify-content: space-between; align-items: center; }
.user-info { display: flex; gap: 10px; align-items: center; }
.user-info .avatar { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }
.user-meta h4 { font-size: 0.95rem; color: var(--text-main); margin-bottom: 2px; font-weight: 600; display: flex; align-items: center; gap:5px;}
.verified-icon { color: var(--primary-beige); font-size: 1rem; }
.post-time { font-size: 0.8rem; color: var(--text-secondary); }
.more-options { background: transparent; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-secondary); }
.post-content { padding: 0 15px 15px 15px; color: var(--text-main); font-size: 0.95rem; line-height: 1.5; }

/* --- COMPARISON SLIDER FIX (DÜZELTİLDİ) --- */
.comparison-container {
    position: relative;
    width: 100%;
    /* Yükseklik resmin oranına göre ayarlanmalı, şimdilik sabit veriyoruz */
    height: 400px; 
    background-color: #f0f0f0;
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0; /* Köşeleri yuvarla */
    user-select: none; /* Sürüklerken seçimi engelle */
}

.comparison-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ALTAKİ RESİM (SONRA - SAĞDAKİ) */
.img-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 1;
    display: block;
}

/* ÜSTTEKİ RESİM KUTUSU (ÖNCE - SOLDAKİ) */
.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* JS ile değişecek */
    height: 100%;
    overflow: hidden; /* Taşanı gizle (Maskeleme) */
    z-index: 2;
    border-right: 3px solid #fff;
    box-shadow: 5px 0 15px rgba(0,0,0,0.2);
    will-change: width;
}

/* ÜSTTEKİ RESİM (ÖNCE) - KRİTİK NOKTA */
.img-before {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    /* Genişliği JS ile Wrapper genişliğine eşitlenecek, 
       böylece overlay daralsa bile resim sıkışmayacak */
    object-fit: cover; 
    display: block;
    max-width: unset !important; /* Global kuralı ez */
}

/* Slider Handle (Tutma Yuvarlağı) */
.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: col-resize; /* Mouse ikonu */
    color: var(--text-main);
    font-size: 1.2rem;
}

/* Etiketler (Öncesi / Sonrası) */
.comparison-labels {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    z-index: 20;
    pointer-events: none;
}

.label-tag {
    background: rgba(0, 0, 0, 0.65);
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

/* --- YENİ SIDEBAR TASARIMI (SCREENSHOT'A GÖRE) --- */
.nav-menu {
    background: var(--bg-card);
    border-radius: 20px; /* Daha yuvarlak */
    padding: 25px 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #fff;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: 12px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: transparent;
}

.nav-item i {
    font-size: 1.3rem;
    color: var(--text-secondary); /* Varsayılan gri */
}

.nav-item:hover {
    background-color: #f7f7f7;
    color: var(--primary-beige);
}

.nav-item.active {
    background-color: #fcfbf8; /* Çok açık bej */
    color: var(--primary-beige-hover);
}

.nav-item.active i, .nav-item:hover i {
    color: var(--primary-beige);
}

/* Projelerim Başlık Alanı */
.nav-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 15px 5px 15px;
    margin-top: 5px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: default;
}

.nav-group-header i {
    color: var(--text-secondary);
    font-size: 1.3rem;
    margin-right: 12px;
}

.nav-group-header .group-title {
    flex: 1;
}

.toggle-arrow {
    font-size: 0.8rem;
    color: #ccc;
}

/* Alt Menü (Projeler Listesi) */
.submenu-static {
    display: flex;
    flex-direction: column;
    padding-left: 18px; /* Hizalama */
    margin-bottom: 10px;
    border-left: 2px solid #f0f0f0; /* Sol çizgi */
    margin-left: 21px; /* İkonun ortasına denk gelsin */
}

.sub-nav-item {
    padding: 8px 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s;
    border: none; /* Eski border'ı kaldır */
}

.sub-nav-item:hover {
    color: var(--primary-beige);
    background: transparent;
}

/* Yeşil Nokta */
.dot-green {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #2ecc71;
    display: inline-block;
    flex-shrink: 0;
}

/* Yeni Proje Ekle Linki */
.add-new-link {
    color: var(--primary-beige) !important;
    font-weight: 600;
    margin-top: 2px;
}

.add-new-link i {
    font-size: 1rem;
}

/* Altın Renkli Büyük Buton */
.create-post-btn-area {
    margin-top: 20px;
}

.btn-gold-block {
    width: 100%;
    background: linear-gradient(135deg, #ac905a 0%, #967d4d 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(172, 144, 90, 0.3);
    transition: transform 0.2s;
}

.btn-gold-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(172, 144, 90, 0.4);
}

/* --- POST ACTIONS --- */
.post-actions {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
}

.action-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: background 0.2s;
}
.action-btn:hover { background: #f0f2f5; }
.action-btn i { font-size: 1.3rem; }

/* --- RIGHT SIDEBAR WIDGETS --- */
.widget-box {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}
.widget-box h3 { font-size: 1rem; color: var(--text-secondary); margin-bottom: 15px; font-weight: 700; }
.trend-list, .user-list { list-style: none; }
.trend-list li { margin-bottom: 15px; }
.trend-list a { display: block; color: var(--text-main); font-weight: 600; text-decoration: none; margin-bottom: 3px; }
.trend-list span { font-size: 0.8rem; color: var(--text-secondary); }

/* --- RESPONSIVE --- */
@media (min-width: 768px) {
    .layout-container { grid-template-columns: 260px 1fr 280px; }
    .sidebar-left, .sidebar-right { display: block; position: sticky; top: 80px; height: fit-content; }
    .search-bar { display: flex; }
}

/* --- MOBILE BOTTOM NAV --- */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    height: 60px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 2000;
}
.mobile-bottom-nav .nav-item { color: var(--text-secondary); font-size: 1.6rem; }
.mobile-bottom-nav .nav-item.active { color: var(--primary-beige); }
.center-add button { 
    background: var(--dark-navy); 
    color: var(--primary-beige); 
    border: none; 
    width: 48px; height: 48px; 
    border-radius: 50%; 
    font-size: 1.5rem; 
    display: flex; align-items: center; justify-content: center; 
    margin-top: -20px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); 
}
@media (min-width: 768px) { .mobile-bottom-nav { display: none; } }



/* --- SAĞ SIDEBAR: ÖNERİLEN PROFESYONELLER DÜZELTME --- */

.user-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.03); /* Hafif ayırıcı çizgi */
}

.user-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Küçük Avatar */
.avatar-sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

/* İsim ve Meslek Alanı */
.user-details {
    flex: 1; /* Kalan boşluğu doldur */
    margin-left: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.user-details .name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
}

.user-details .job {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Takip Et Butonu (+) */
.btn-follow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--primary-beige); /* Marka rengi */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    flex-shrink: 0; /* Daralmasını engelle */
}

.btn-follow:hover {
    background: rgba(172, 144, 90, 0.1); /* Hafif bej arkaplan */
    border-color: var(--primary-beige);
    transform: scale(1.05);
}



/* --- PROJELERİM SAYFASI STİLLERİ --- */

/* Proje Başlık ve Filtre Alanı */
.projects-header-area {
    margin-bottom: 20px;
}

.ph-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ph-top h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.btn-new-mobile {
    display: none; /* Masaüstünde gizli */
    background: var(--primary-beige);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Filtre Tabları */
.filter-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto; /* Mobilde taşarsa kaydır */
    padding-bottom: 5px;
    /* Scrollbar gizleme */
    scrollbar-width: none; 
    -ms-overflow-style: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--dark-navy);
    color: white;
    border-color: var(--dark-navy);
}

/* --- PROJE GRID VE KARTLAR --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(172, 144, 90, 0.3);
}

/* Kart Resmi */
.card-image {
    position: relative;
    height: 180px;
    background: #e0e0e0;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge (Durum Etiketi) */
.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    color: white;
    z-index: 2;
}

.card-badge.success { background: rgba(39, 174, 96, 0.9); } /* Yeşil */
.card-badge.warning { background: rgba(243, 156, 18, 0.9); } /* Turuncu */
.card-badge.error { background: rgba(231, 76, 60, 0.9); } /* Kırmızı */

/* Medya Tipi İkonu (Sağ Üst) */
.media-type {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

/* İşleniyor Animasyonu */
.processing-bg {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-container {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(172, 144, 90, 0.2);
    border-top-color: var(--primary-beige);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px auto;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* Kart İçeriği */
.card-body {
    padding: 15px;
}

.project-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 10px;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.text-error { color: #e74c3c; font-weight: 600; }

/* Kart Alt (Butonlar) */
.card-footer {
    background: #fcfcfc;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
}

.btn-icon-text {
    background: transparent;
    border: none;
    color: var(--dark-navy);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-icon-text:hover { color: var(--primary-beige); }
.btn-icon-text.disabled { color: #ccc; cursor: not-allowed; }

.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
}
.btn-icon:hover { color: var(--text-main); }

/* --- İSTATİSTİK WIDGET --- */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item .count {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-navy);
}

.stat-item .label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.btn-outline-full {
    width: 100%;
    background: transparent;
    border: 1px solid var(--dark-navy);
    color: var(--dark-navy);
    padding: 8px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline-full:hover {
    background: var(--dark-navy);
    color: white;
}

/* Mobil için */
@media (max-width: 768px) {
    .btn-new-mobile { display: flex; }
}


/* --- SIDEBAR SUBMENU (Açılır Menü) --- */
.nav-item-group {
    display: flex;
    flex-direction: column;
}

.parent-item {
    justify-content: space-between;
}

.toggle-icon {
    font-size: 0.8rem !important;
    color: var(--text-secondary);
}

.submenu {
    display: none; /* Varsayılan gizli */
    flex-direction: column;
    padding-left: 35px;
    margin-bottom: 5px;
}

.submenu.expanded {
    display: flex;
}

.sub-nav-item {
    padding: 8px 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 2px solid var(--border-color);
    transition: all 0.2s;
}

.sub-nav-item:hover, .sub-nav-item.active {
    border-left-color: var(--primary-beige);
    color: var(--text-main);
    background: rgba(0,0,0,0.02);
}

.sub-nav-item.add-new {
    color: var(--primary-beige);
    font-weight: 600;
    margin-top: 5px;
    border: none;
}

.dot-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #27ae60; /* Yeşil (Aktif) */
    display: inline-block;
}
.dot-indicator.orange { background-color: #f39c12; }

/* --- PROJE DETAY SAYFASI (Header Card) --- */
.project-header-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    position: relative;
}

.cover-image {
    height: 200px;
    width: 100%;
    position: relative;
}

.cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(5px);
}
.badge-success { background: rgba(39, 174, 96, 0.9); }

.project-info-bar {
    padding: 15px 20px;
    display: flex;
    align-items: flex-end;
    position: relative;
    gap: 20px;
}

.project-avatar {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    border: 4px solid var(--bg-card);
    overflow: hidden;
    margin-top: -60px; /* Kapak fotosunun üstüne bindir */
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.project-avatar img { width: 100%; height: 100%; object-fit: cover; }

.info-content { flex: 1; }
.info-content h1 { font-size: 1.4rem; font-weight: 700; color: var(--text-main); margin-bottom: 4px; }
.info-content p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 8px; }

.project-stats { display: flex; gap: 15px; font-size: 0.9rem; color: var(--text-main); }
.highlight-text { color: var(--primary-beige); }

.project-actions { display: flex; gap: 10px; padding-bottom: 5px;}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* İlerleme Çubuğu */
.progress-container {
    height: 4px;
    background: #eee;
    width: 100%;
    margin-top: 10px;
}
.progress-bar {
    height: 100%;
    background: var(--primary-beige);
}

/* --- SIDEBAR WIDGETS (EKIP & DOSYA) --- */
.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.btn-icon-sm {
    background: #f0f2f5;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--dark-navy);
}

.role-badge {
    background: #eef0f5;
    color: var(--dark-navy);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    font-weight: 500;
}

.highlight-job { color: var(--primary-beige) !important; font-weight: 600; }

.btn-icon-xs {
    background: transparent; border: none; color: var(--text-secondary); cursor: pointer;
}

.btn-text-full {
    width: 100%; background: transparent; border: none; 
    color: var(--text-secondary); font-size: 0.85rem; font-weight: 500;
    margin-top: 10px; cursor: pointer; text-align: left;
}

/* Künye Listesi */
.info-list { list-style: none; }
.info-list li {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 10px; color: var(--text-main); font-size: 0.9rem;
}
.info-list i { color: var(--text-secondary); font-size: 1.1rem; }

/* Dosya Listesi */
.file-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px; background: #f8f9fa; border-radius: 8px; margin-bottom: 10px;
}
.file-icon { font-size: 1.8rem; color: var(--dark-navy); }
.file-info { display: flex; flex-direction: column; }
.file-info span { font-weight: 600; font-size: 0.85rem; color: var(--text-main); }
.file-info small { font-size: 0.75rem; color: var(--text-secondary); }

/* Mobil Düzenleme */
@media (max-width: 768px) {
    .project-info-bar { flex-direction: column; align-items: flex-start; margin-top: 0; padding-top: 50px;}
    .project-avatar { position: absolute; top: -50px; left: 20px; }
    .project-actions { width: 100%; margin-top: 15px; }
    .project-actions button { flex: 1; justify-content: center; }
}

/* --- CSS DÜZELTMESİ (LAYOUT FIX) --- */

/* 1. Grid Yapısını Sabitle */
.layout-container {
    /* Sütunlar taştığında diğerlerini itmemesi için minmax ayarı */
    grid-template-columns: 260px minmax(0, 1fr) 280px !important;
    align-items: start; /* Tüm sütunları yukarı hizala */
}

/* 2. Sidebar Genişliklerini Koru */
.sidebar-left, .sidebar-right {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* Yanlara taşmayı engelle */
}

/* 3. Resimlerin Taşmasını Kesin Olarak Önle */
img {
    max-width: 100%;
    height: auto;
}

/* 4. Sol Menüdeki Uzun İsimleri Kısalt (Taşmayı önler) */
.sub-nav-item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block !important; /* Flex yerine block yaparak taşmayı yönet */
    padding: 8px 10px;
}

/* 5. Sticky Pozisyonunu Garantiye Al */
@media (min-width: 768px) {
    .sidebar-left, .sidebar-right {
        position: sticky;
        top: 80px;
        height: calc(100vh - 100px); /* Ekran boyu kadar alan */
        overflow-y: auto; /* İçerik çoksa dikey scroll çıksın */
        scrollbar-width: thin; /* İnce scrollbar */
    }
}


/* --- AĞAÇ YAPILI MENÜ TASARIMI (TREE VIEW) --- */

/* Grup Kapsayıcısı */
.nav-tree-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
}

/* Başlık Alanı (Projelerim) */
.nav-tree-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border-radius: 12px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
}

.nav-tree-header:hover {
    background-color: #f7f7f7;
}

.nav-tree-header .header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-tree-header i {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.tree-toggle-icon {
    font-size: 0.8rem !important;
    color: #ccc !important;
}

/* İçerik Alanı */
.nav-tree-content {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-left: 21px; /* Üstteki ikonun tam ortasına hizala */
    padding-left: 15px; /* Çizgi ile içerik arası boşluk */
    padding-top: 5px;
}

/* Dikey Rehber Çizgi */
.tree-guide-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 15px; /* Alt kısımdan biraz boşluk bırak */
    width: 2px;
    background-color: #e4e6eb; /* Çok hafif gri çizgi */
    border-radius: 2px;
}

/* Alt Elemanlar (Tree Items) */
.tree-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    margin-bottom: 2px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
}

/* "L" Şeklindeki Bağlantı Çizgisi */
.tree-item::before {
    content: '';
    position: absolute;
    left: -15px; /* Dikey çizgiye kadar uzan */
    top: 50%;
    width: 12px;
    height: 2px;
    background-color: #e4e6eb; /* Dikey çizgiyle aynı renk */
    margin-top: -1px; /* Ortala */
}

/* Hover Efekti */
.tree-item:hover {
    background-color: #fcfbf8;
    color: var(--primary-beige);
}

.tree-item:hover::before {
    background-color: var(--primary-beige); /* Çizgiyi de renklendir */
}

.tree-item:hover .status-dot {
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.3);
}

/* Yeşil Nokta */
.status-dot {
    width: 8px;
    height: 8px;
    background-color: #2ecc71;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Uzun isimleri yönet */
.item-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

/* Yeni Ekle Butonu Özelleştirmesi */
.tree-item.add-new {
    color: var(--primary-beige);
    font-weight: 600;
    margin-top: 5px;
}

.tree-item.add-new i {
    font-size: 1.1rem;
    margin-right: 8px;
}

/* Yeni Ekle Hover */
.tree-item.add-new:hover {
    background-color: rgba(172, 144, 90, 0.1);
}


/* --- PROFİL SAYFASI STİLLERİ --- */

/* 1. Header Kartı (Kapak & Avatar) */
.profile-header-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.profile-cover {
    height: 180px;
    background-color: #e0e0e0;
    width: 100%;
}

.profile-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info-section {
    padding: 0 20px 20px 20px;
    position: relative;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--bg-card);
    background: #fff;
    position: absolute;
    top: -60px; /* Kapak üstüne binme payı */
    left: 20px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-details {
    margin-top: 10px;
    margin-left: 140px; /* Avatar genişliği + boşluk */
}

.pd-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.profile-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}

.profile-job {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Profil Aksiyon Butonları */
.profile-actions {
    display: flex;
    gap: 10px;
}

.btn-primary-small {
    background: var(--dark-navy);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.btn-primary-small:hover {
    background: var(--primary-beige);
}

.btn-secondary-small {
    background: transparent;
    border: 1px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    transition: all 0.2s;
}

.btn-secondary-small:hover {
    background: #f0f2f5;
    border-color: #ccc;
}

/* İstatistikler */
.profile-stats {
    display: flex;
    gap: 25px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat .num {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
}

.stat .lbl {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Profil Tabları */
.profile-tabs {
    display: flex;
    margin-top: 15px;
    padding: 0 20px;
    border-top: 1px solid var(--border-color);
}

.p-tab {
    padding: 15px 20px;
    color: var(--text-secondary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.p-tab:hover {
    color: var(--primary-beige);
    background: rgba(0,0,0,0.01);
}

.p-tab.active {
    color: var(--primary-beige);
    border-bottom-color: var(--primary-beige);
}

/* 2. Rozetler Grid */
.badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
}

.badge-icon-bg {
    width: 50px;
    height: 50px;
    background: #fff4e0; /* Açık sarımsı arka plan */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f1c40f; /* Altın sarısı */
    font-size: 1.5rem;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.badge-item span {
    font-size: 0.75rem;
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.2;
}

/* 3. Empty State */
.empty-state {
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #ccc;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .profile-avatar-large {
        width: 90px;
        height: 90px;
        top: -45px;
    }
    
    .profile-details {
        margin-left: 0;
        margin-top: 50px;
        text-align: center;
    }

    .pd-top {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .profile-name { justify-content: center; }
    
    .profile-stats {
        justify-content: center;
        margin-top: 15px;
        border-top: 1px solid #f0f0f0;
        padding-top: 15px;
    }

    .profile-tabs {
        justify-content: space-between;
        padding: 0;
    }
    
    .p-tab {
        padding: 12px 10px;
        font-size: 0.9rem;
        flex: 1;
        text-align: center;
    }
}




/* --- HAKKINDA SAYFASI TAB VE İÇERİK STİLLERİ --- */

/* Tab Butonları (Güncelleme) */
.profile-tabs button.p-tab {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 0.95rem;
    padding: 15px 20px;
    cursor: pointer;
    color: var(--text-secondary);
    font-weight: 600;
    transition: all 0.2s;
}

.profile-tabs button.p-tab:hover {
    color: var(--primary-beige);
    background: rgba(0,0,0,0.01);
}

.profile-tabs button.p-tab.active {
    color: var(--primary-beige);
    border-bottom-color: var(--primary-beige);
}

/* Hakkında Grid Yapısı */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Sol geniş, sağ dar */
    gap: 20px;
    align-items: start;
}

.content-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.content-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 10px;
}

.content-card h3 i {
    color: var(--primary-beige);
    font-size: 1.2rem;
}

.bio-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Yetenek Etiketleri */
.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills-tags span {
    background: #f0f2f5;
    color: var(--dark-navy);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.skills-tags span:hover {
    background: var(--primary-beige);
    color: white;
}

/* Stilize Liste (İletişim Bilgileri) */
.info-list-styled {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list-styled li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.info-list-styled li:last-child {
    margin-bottom: 0;
}

.icon-box {
    width: 40px;
    height: 40px;
    background: rgba(172, 144, 90, 0.1); /* Açık bej */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-beige);
    font-size: 1.2rem;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text small {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
}

.info-text span, .info-text a {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
    text-decoration: none;
}

.info-text a:hover {
    color: var(--primary-beige);
    text-decoration: underline;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr; /* Mobilde tek kolon */
    }
}


/* --- PROFİL PROJELER SEKMESİ --- */

.profile-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.project-mini-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* Görsel Alanı */
.pm-image {
    height: 160px;
    width: 100%;
    position: relative;
    background-color: #f8f9fa;
    overflow: hidden;
}

.pm-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-mini-card:hover .pm-image img {
    transform: scale(1.05);
}

/* Placeholder (Resim olmayan dosyalar için) */
.blueprint-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #eef2f6; /* Teknik mavi-gri */
    color: var(--dark-navy);
    gap: 10px;
}

.blueprint-placeholder i {
    font-size: 2.5rem;
    color: var(--primary-beige);
}

.blueprint-placeholder span {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

/* Durum Etiketi */
.pm-status {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    z-index: 2;
    text-transform: uppercase;
}

.badge-success { background-color: #27ae60; }
.badge-warning { background-color: #f39c12; }
.badge-error { background-color: #e74c3c; }

/* Hover Overlay (İncele Butonu) */
.pm-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 31, 32, 0.7); /* Dark Navy Opak */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 3;
}

.project-mini-card:hover .pm-overlay {
    opacity: 1;
}

.btn-view-project {
    background: white;
    color: var(--dark-navy);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(10px);
    transition: transform 0.3s;
}

.project-mini-card:hover .btn-view-project {
    transform: translateY(0);
}

/* Bilgi Alanı */
.pm-info {
    padding: 15px;
}

.pm-info h4 {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pm-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.pm-meta span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.pm-date {
    font-size: 0.7rem;
    color: #999;
    text-align: right;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 8px;
}



/* --- MODAL (POPUP) STİLLERİ --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: none; /* Varsayılan gizli */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-card);
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.close-modal {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.close-modal:hover { background: #f0f2f5; }

.modal-body { padding: 20px; }

.modal-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.modal-user .name { font-weight: 600; font-size: 0.95rem; }

.modal-body textarea {
    width: 100%;
    border: none;
    resize: none;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    min-height: 100px;
    margin-bottom: 15px;
    color: var(--text-main);
}

/* Dosya Yükleme Alanı */
.media-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
    background: #fcfcfc;
    position: relative;
}

.media-upload-area:hover {
    border-color: var(--primary-beige);
    background: #fff;
}

.upload-placeholder i {
    font-size: 2.5rem;
    color: var(--primary-beige);
    margin-bottom: 10px;
}

.upload-placeholder p {
    font-weight: 600;
    color: var(--text-main);
}

.upload-placeholder .sub-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Önizleme */
#mediaPreview {
    width: 100%;
    height: 250px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

#mediaPreview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-media {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.add-ons { display: flex; gap: 5px; }

.addon-btn {
    background: transparent;
    border: none;
    color: var(--primary-beige);
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.addon-btn:hover { background: #f0f2f5; }

.btn-share-submit {
    background: var(--dark-navy);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-share-submit:hover { background: var(--primary-beige); }


/* --- YORUM BÖLÜMÜ TASARIMI --- */
.comments-wrapper {
    background-color: #fcfcfc;
    border-top: 1px solid var(--border-color);
    padding: 15px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.comment-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-bubble {
    background: #f0f2f5;
    padding: 8px 12px;
    border-radius: 12px;
    border-top-left-radius: 2px; /* Baloncuk efekti */
    flex: 1;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.c-user {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
}

.c-time {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.c-text {
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.4;
    white-space: pre-wrap; /* Satır başlarını koru */
}

.c-media {
    margin-top: 8px;
    border-radius: 8px;
    overflow: hidden;
    max-width: 200px;
}

.c-media img, .c-media video {
    width: 100%;
    height: auto;
    display: block;
}

/* Yorum Formu */
.comment-form {
    display: flex;
    gap: 10px;
    align-items: center;
    position: relative;
    flex-wrap: wrap; /* Önizleme alta geçsin diye */
}

.current-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.input-group-wrapper {
    flex: 1;
    background: #f0f2f5;
    border-radius: 20px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    transition: border-color 0.2s, background 0.2s;
}

.input-group-wrapper:focus-within {
    background: #fff;
    border-color: var(--primary-beige);
}

.input-group-wrapper input {
    background: transparent;
    border: none;
    width: 100%;
    padding: 8px;
    outline: none;
    font-size: 0.9rem;
}

.comment-tools {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tool-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.tool-btn:hover {
    color: var(--primary-beige);
    background: rgba(0,0,0,0.05);
}

.send-btn {
    color: var(--primary-beige);
}

.send-btn:hover {
    transform: scale(1.1);
}

/* Önizleme */
.comment-media-preview {
    width: 100%;
    padding-left: 42px; /* Avatar hizası */
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.comment-media-preview button {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
}





