/* Genel Stil Ayarları */
:root {
    --primary-color: #34495e;    /* Koyu Mavi/Gri - Başlıklar ve Vurgu */
    --secondary-color: #e74c3c;  /* Kırmızı/Turuncu - Vurgu Çizgisi ve Linkler */
    --text-color: #333;
    --background-color: #f8f8f8; /* Açık Gri Arka Plan */
    --card-background: #ffffff;  /* Kart Beyazı */
    --light-text: #ecf0f1;       /* Açık Renk Metin */
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08); /* Hafif Gölge */
}

body {
    font-family: 'Roboto', sans-serif; /* Daha Modern Yazı Tipi */
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.3s;
}

/* Font Yüklemesi (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

.container {
    width: 95%;
    max-width: 1000px;
    margin: 30px auto;
    overflow: hidden;
    padding: 0;
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

h1 {
    font-size: 3em;
    font-weight: 700;
}

h2 {
    font-size: 1.8em;
    font-weight: 700;
    padding-bottom: 5px;
    margin-top: 25px;
    border-bottom: 3px solid var(--secondary-color); /* Vurgulu Alt Çizgi */
    display: flex;
    align-items: center;
    gap: 10px;
}

h3 {
    font-size: 1.3em;
    font-weight: 500;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

ul {
    list-style: none;
    padding: 0;
}

/* Header - Başlık Alanı */
header {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 40px 0;
    text-align: center;
    box-shadow: var(--shadow-light);
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--secondary-color); /* Vurgu Çerçeve */
    margin-bottom: 15px;
}

header .title {
    font-size: 1.1em;
    font-weight: 300;
    color: #bdc3c7;
    margin-top: -10px;
}

/* Navigasyon - Üst Menü */
nav {
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
}

nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li a {
    color: var(--light-text);
    font-weight: 500;
    font-size: 1em;
    padding: 8px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    background-color: var(--secondary-color);
    color: #fff;
    text-decoration: none;
}

/* Ana İçerik Bölümleri (Kartlar) */
main section {
    background: var(--card-background);
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

main section.active {
    opacity: 1;
    transform: translateY(0);
}

/* Deneyim ve Eğitim */
.job-entry, .education-entry {
    margin-bottom: 25px;
    padding: 15px;
    border-left: 5px solid var(--primary-color); /* Sol Çizgi Vurgusu */
    background-color: #fdfdfd;
    border-radius: 5px;
}

.job-entry h3, .education-entry h3 {
    margin: 0 0 5px 0;
}

.company, .institution {
    font-weight: 400;
    color: var(--secondary-color);
    font-size: 0.9em;
    margin-left: 10px;
}

.dates {
    font-style: italic;
    color: #95a5a6;
    font-size: 0.85em;
    margin-top: 5px;
}

.job-entry ul {
    margin-top: 10px;
    list-style: none;
    margin-left: 0;
    padding-left: 15px;
    border-left: 1px dotted #ccc;
}
.job-entry li {
    padding-left: 10px;
    position: relative;
}
.job-entry li::before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}


/* Yetenekler */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.skills-list li {
    background-color: var(--light-text);
    border: 1px solid #ddd;
    color: var(--primary-color);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9em;
    transition: background-color 0.3s, transform 0.2s;
}

.skills-list li:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
    cursor: default;
}

/* İletişim */
.contact-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-list li i {
    color: var(--primary-color);
    font-size: 1.3em;
    width: 20px; /* Hizalamayı sağlamak için */
    text-align: center;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--light-text);
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .container {
        width: 98%;
        padding: 0 10px;
    }
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.5em;
    }
    nav ul {
        justify-content: space-around;
    }
    nav ul li {
        margin: 5px;
    }
    nav ul li a {
        padding: 6px 10px;
        font-size: 0.9em;
    }
}