:root {
    --sidebar-bg: #1c1c1c;
    --sidebar-text: #e0e0e0;
    --main-bg: #ffffff;
    --text-color: #333333;
    --heading-color: #222222;
    --accent-color: #0066cc;
    --border-color: #eaeaea;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: "Georgia", "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--text-color); line-height: 1.6; background-color: var(--main-bg); display: flex; }

/* SIDEBAR - SABİT SOL MENÜ */
.sidebar {
    position: fixed; top: 0; left: 0; width: 280px; height: 100vh;
    background-color: var(--sidebar-bg); color: var(--sidebar-text);
    padding: 40px 30px; display: flex; flex-direction: column;
}

.profile-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; border: 3px solid #333; }
.site-title { font-family: var(--font-serif); font-size: 2rem; color: #fff; margin-bottom: 10px; line-height: 1.2; }
.site-description { font-size: 0.85rem; color: #aaa; margin-bottom: 30px; line-height: 1.4; }

.sidebar-nav ul { list-style: none; }
.sidebar-nav li { margin-bottom: 15px; }
.sidebar-nav a { color: #ddd; text-decoration: none; font-size: 1.1rem; transition: 0.3s; }
.sidebar-nav a:hover, .sidebar-nav a.active { color: #fff; font-weight: bold; }

.sidebar-footer { font-size: 0.8rem; color: #666; margin-top: auto; padding-top: 20px; border-top: 1px solid #333; }

/* CONTENT AREA - SAĞ ALAN */
.content { margin-left: 280px; padding: 60px 8%; width: 100%; max-width: 1100px; }
h2 { font-size: 2.2rem; color: var(--heading-color); margin-bottom: 25px; border-bottom: 2px solid var(--border-color); padding-bottom: 10px; }
h3 { font-size: 1.5rem; color: var(--heading-color); margin-top: 35px; margin-bottom: 15px; }
p { margin-bottom: 15px; font-size: 1.05rem; }
a { color: var(--accent-color); text-decoration: none; }
a:hover { text-decoration: underline; }

/* LISTS & LAYOUTS */
.cv-list { list-style: none; }
.cv-list li { margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px dashed var(--border-color); }
.date-right { float: right; color: #666; font-weight: 500; font-size: 0.9rem; }
.contact-block { background: #f9f9f9; padding: 20px; border-radius: 5px; border-left: 4px solid var(--accent-color); margin-top: 20px; }

/* TIMELINE (Deneyim İçin) */
.timeline { position: relative; padding-left: 30px; border-left: 2px solid var(--border-color); margin-top: 20px; }
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-dot { position: absolute; left: -36px; top: 8px; width: 10px; height: 10px; background: var(--heading-color); border-radius: 50%; border: 2px solid #fff; }
.timeline-date { display: block; font-size: 0.9rem; color: var(--accent-color); font-weight: bold; margin-bottom: 5px; }

@media (max-width: 900px) {
    body { flex-direction: column; }
    .sidebar { position: relative; width: 100%; height: auto; }
    .content { margin-left: 0; padding: 40px 5%; }
    .date-right { float: none; display: block; margin-top: 5px; }
}

/* ==================================== */
/* NOTES & ARTICLE LISTING STYLES       */
/* ==================================== */
.note-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

/* Kapak Fotoğrafı (Dikdörtgen) */
.note-cover {
    width: 100px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 25px;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    display: block; /* Ekranda kesin görünmesini sağlar */
}

.note-info {
    flex-grow: 1;
    padding-right: 20px;
}

.note-title {
    font-size: 1.25rem;
    color: var(--heading-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.note-meta {
    font-size: 0.85rem;
    color: #888;
}

/* === READ BUTONU === */
.read-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.read-btn:hover {
    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;
}


/* ARTICLE DETAIL STYLES                */
/* ==================================== */
.article-header {
    margin-bottom: 40px;
}

.article-header h2 {
    border-bottom: none;
    margin-bottom: 10px;
    padding-bottom: 0;
}

.article-date {
    color: #888;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 20px;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content ul {
    margin-bottom: 20px;
    margin-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.article-img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 30px 0;
    border: 1px solid var(--border-color);
    display: block;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-weight: 500;
}
.back-link::before {
    content: "← ";
}

/* ==================================== */
/* SOCIAL ENGAGEMENT BUTTONS            */
/* ==================================== */
.article-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-color);
}

.action-btn:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

.btn-like:hover {
    color: #e0245e;
    border-color: #e0245e;
}

.btn-share:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.share-menu {
    display: flex;
    gap: 10px;
}

/* İkonlar için basit bir görselleştirme */
.icon-heart::before { content: "❤"; }
.icon-share::before { content: "🔗"; }
