/* /egitim/style.css */

/* --- GENEL DÜZEN (Standart) --- */
.split-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.left-pane {
    width: 30%;
    background-color: var(--card-bg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: 1px solid var(--border-color);
    position: relative;
    animation: slideInLeft 0.8s forwards;
}

.left-pane img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    opacity: 0;
    animation: popIn 1s 0.5s forwards;
}

.left-pane h1 { font-size: 2rem; margin-bottom: 5px; }
.left-pane h2 { font-size: 1rem; color: var(--accent-color); opacity: 0.8; }

.right-pane {
    width: 70%;
    padding: 60px;
    overflow-y: auto;
    background-color: var(--bg-color);
    opacity: 0;
    animation: fadeInUp 0.8s 0.3s forwards;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

/* --- EĞİTİM KARTLARI --- */
.education-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

/* Sol taraftaki ince çizgi (Timeline hissi) */
.education-container::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--border-color);
    z-index: 0;
}

.edu-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    margin-left: 50px; /* Çizgiden uzaklaş */
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.edu-card:hover {
    transform: translateX(10px);
    border-color: var(--accent-color);
}

/* Timeline Noktası */
.edu-card::before {
    content: '';
    position: absolute;
    left: -39px; /* Çizginin üzerine */
    top: 30px;
    width: 16px;
    height: 16px;
    background-color: var(--bg-color);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    z-index: 1;
}

/* Kart İçeriği */
.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.edu-school {
    font-size: 1.4rem;
    color: var(--text-color);
    margin: 0;
}

.edu-date {
    font-size: 0.9rem;
    background-color: var(--hover-bg);
    padding: 5px 12px;
    border-radius: 20px;
    color: var(--accent-color);
    font-weight: bold;
}

.edu-dept {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
}

.edu-desc {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.5;
}

.gpa-badge {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 8px;
    opacity: 0.7;
}

/* HEDEF KARTI (Gelecek) - Özel Stil */
.edu-card.future {
    border-style: dashed;
    background: transparent;
    opacity: 0.7;
}

.edu-card.future:hover {
    opacity: 1;
    border-style: solid;
}

.edu-card.future::before {
    border-color: #fbbf24; /* Sarı renk (Loading gibi) */
}

/* Mobil */
@media (max-width: 768px) {
    .split-container { flex-direction: column; overflow: auto; }
    .left-pane, .right-pane { width: 100%; height: auto; padding: 30px; }
    .education-container::before { left: 10px; }
    .edu-card { margin-left: 30px; }
    .edu-card::before { left: -29px; }
}

/* Animasyonlar (Yedek) */
@keyframes slideInLeft { from {transform: translateX(-100%); opacity:0;} to {transform: translateX(0); opacity:1;} }
@keyframes fadeInUp { from {transform: translateY(30px); opacity:0;} to {transform: translateY(0); opacity:1;} }
@keyframes popIn { from {transform: scale(0.5); opacity:0;} to {transform: scale(1); opacity:1;} }