:root {
    --primary-color: #2c3e50;
    --accent-color: #0056b3;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #eaeaea;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--text-color);
    display: flex;
    line-height: 1.6;
}

/* Sol Menü / Sidebar */
.sidebar {
    width: 320px;
    height: 100vh;
    background: #fdfdfd; /* Çok hafif bir gri/beyaz */
    padding: 50px 30px;
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* İçeriği sola yaslar */
    border-right: 1px solid #eee;
}

.sidebar h1 {
    font-size: 1.3rem;
    margin-top: 10px;
    line-height: 1.3;
    font-family: 'Merriweather', serif;
}

.sidebar p { font-size: 0.9rem; margin-bottom: 5px; color: #666; }
.co-founder { color: var(--accent-color) !important; font-weight: bold; }

.social-links { margin-top: 30px; }
.social-links a {
    display: block;
    text-decoration: none;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Ana İçerik Alanı */
.content {
    margin-left: 320px;
    padding: 80px 10%;
    max-width: 1000px;
}

h2 {
    font-family: 'Merriweather', serif;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.research-interests {
    margin-top: 30px;
    background: #fff;
    padding: 20px;
    border-left: 4px solid var(--accent-color);
}

.research-interests ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.research-interests li::before {
    content: "▹";
    color: var(--accent-color);
    margin-right: 8px;
}

hr { border: 0; border-top: 1px solid var(--border-color); margin: 60px 0; }

/* Haberler Bölümü */
.news-item {
    display: flex;
    margin-bottom: 35px;
}

.date {
    min-width: 100px;
    font-weight: bold;
    color: #999;
    font-size: 0.9rem;
    padding-top: 5px;
}

.news-body {
    padding-left: 20px;
}

.news-body strong { color: var(--primary-color); }

.summary {
    font-size: 0.95rem;
    margin: 5px 0;
    color: #555;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    body { flex-direction: column; }
    .sidebar { position: relative; width: 100%; height: auto; padding: 40px 20px; }
    .content { margin-left: 0; padding: 40px 20px; }
    .research-interests ul { grid-template-columns: 1fr; }
}

/* Alt Sayfa Navigasyonu */
.main-nav {
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.main-nav a {
    display: block;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
    transition: 0.3s;
}

.main-nav a:hover { color: var(--accent-color); padding-left: 5px; }

/* Yayın Listesi Stili */
.pub-year {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--accent-color);
    margin: 40px 0 20px 0;
    border-bottom: 2px solid var(--light-bg);
}

.pub-item {
    margin-bottom: 25px;
    padding-bottom: 15px;
}

.pub-title { display: block; font-weight: 600; font-size: 1.1rem; }
.pub-authors { display: block; color: #666; font-style: italic; }
.pub-journal { display: block; color: var(--primary-color); font-weight: 400; }
.pub-links a {
    font-size: 0.85rem;
    margin-right: 10px;
    text-decoration: none;
    color: var(--accent-color);
}
/* Proje Kartları İyileştirmeleri */
.project-card {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    border-color: var(--accent-color);
}

.project-card.highlight {
    border-left: 5px solid var(--accent-color);
}

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

/* Badges (Etiketler) */
.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tubitak { background: #e3f2fd; color: #0d47a1; }
.eu { background: #f3e5f5; color: #7b1fa2; }
.uni { background: #e8f5e9; color: #2e7d32; }
.kosgeb { background: #fff3e0; color: #e65100; }

.project-card h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.project-card .role {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 12px;
}

.project-card .summary {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

.section-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
    margin: 50px 0;
}

.active {
    color: var(--accent-color) !important;
    border-left: 3px solid var(--accent-color);
    padding-left: 10px;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1); /* Pürüzsüz açılma için */
}

.accordion-content.show {
    max-height: 2000px; /* Büyük bir değer */
    transition: max-height 0.5s ease-in;
}

.inner-details {
    padding: 20px;
    background: #fdfdfd;
    border-top: 1px solid #eee;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
}

.accordion-btn {
    cursor: pointer;
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 10px 20px;
    margin-top: 15px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 6px;
}

.accordion-btn:hover {
    background: #e9ecef;
}

.accordion-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

/* Publications Sayfası Özel Stilleri */
.pub-category {
    margin-bottom: 50px;
}

.pub-category h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pub-entry {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    background: #fff;
    border-left: 3px solid transparent;
    transition: 0.3s;
}

.pub-entry:hover {
    background: #fcfcfc;
    border-left-color: var(--accent-color);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.02);
}

.pub-entry p {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.5;
}

/* DOI ve PDF Butonları */
.doi-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--accent-color);
    text-decoration: none;
    border: 1px solid var(--accent-color);
    padding: 2px 8px;
    border-radius: 4px;
    transition: 0.3s;
}

.doi-btn:hover {
    background: var(--accent-color);
    color: #fff;
}

.pdf-tag {
    font-size: 0.8rem;
    color: #d32f2f;
    background: #ffebee;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

strong {
    color: #000;
}

/* --- Avatar: web'de büyümeyi engelleyen kesin kurallar --- */
.sidebar .avatar-container{
    width: 150px !important;
    height: 150px !important;
    max-width: 150px !important;
    max-height: 150px !important;
    border-radius: 50%;
    overflow: hidden;
}

.sidebar img.profile-img{
    width: 150px !important;
    height: 150px !important;
    max-width: 150px !important;
    max-height: 150px !important;
    object-fit: cover;
    display: block;
}
