/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Daha modern bir font */
    color: #e0e0e0;
    /* Daha yumuşak bir beyaz */
}

body {
    background-color: #181818;
    /* Daha koyu bir arka plan */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Başlık (Header) Stilleri */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    /* Yanlarda daha fazla boşluk */
    background: #212121;
    border-bottom: 1px solid #303030;
}

.logo {
    font-size: 28px;
    /* Daha büyük logo */
    background: #00bcd4;
    /* Canlı bir renk */
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.logo:hover {
    background-color: #008ba7;
}

.menu-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-buttons button {
    background: none;
    border: none;
    color: #bdbdbd;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 10px 15px;
    border-radius: 5px;
}

.menu-buttons button:hover {
    color: #00bcd4;
    background-color: #303030;
}

/* Ana İçerik (Main) Stilleri */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 30px;
    /* Daha fazla dikey boşluk */
    text-align: center;
}

/* Giriş (Intro) Bölümü Stilleri */
.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin-bottom: 40px;
}

.intro h1 {
    font-size: 42px;
    /* Daha büyük başlık */
    margin-bottom: 15px;
    color: #fff;
}

.intro .lead {
    font-size: 20px;
    color: #bdbdbd;
    margin-bottom: 30px;
}

.status {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.online,
.idle {
    background: #303030;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 16px;
}

.online {
    color: #4caf50;
    /* Yeşil */
}

.idle {
    color: #f44336;
    /* Kırmızı */
}

/* Profil Fotoğrafı Stilleri */
.profile-photo {
    margin: 30px 0;
    width: 180px;
    /* Sabit bir genişlik */
    height: 180px;
    /* Sabit bir yükseklik (genişlikle aynı olmalı) */
    border-radius: 50%;
    overflow: hidden;
    /* İçindeki içeriği yuvarlak alana kırp */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    border: 5px solid #424242;
    /* Çerçeve ekleyelim (isteğe bağlı) */
}

.profile-photo img {
    width: 100%;
    /* Genişliği kapsayıcıya göre ayarla */
    height: 100%;
    /* Yüksekliği kapsayıcıya göre ayarla */
    object-fit: cover;
    /* Fotoğrafı boyutlandırırken en boy oranını koru ve alanı kapla */
}

.skills {
    margin: 30px 0;
}

.skills h2 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
}

.skills ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.skills li {
    background-color: #424242;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 16px;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.socials button {
    background: #5c6bc0;
    /* Farklı bir vurgu rengi */
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.socials button:hover {
    background-color: #3949ab;
}

.socials button.contact {
    background-color: #4caf50;
}

.socials button.contact:hover {
    background-color: #388e3c;
}

.socials button.github {
    background-color: #333;
}

.socials button.github:hover {
    background-color: #222;
}

.socials button.linkedin {
    background-color: #0077b5;
}

.socials button.linkedin:hover {
    background-color: #005a87;
}

.socials button.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.socials button.instagram:hover {
    opacity: 0.9;
}

/* Deneyim ve Eğitim Bölümleri Stilleri */
.experience-education {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin-top: 60px;
}

.section-title {
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 32px;
    color: #fff;
    border-bottom: 3px solid #00bcd4;
    padding-bottom: 10px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
}

.card {
    background: #212121;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #fff;
}

.card .role {
    font-size: 18px;
    color: #bdbdbd;
    margin-bottom: 8px;
}

.card .degree {
    font-size: 18px;
    color: #bdbdbd;
    margin-bottom: 8px;
}

.card .date {
    font-size: 16px;
    color: #757575;
}

.card .present {
    background: #4caf50;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    margin-left: 10px;
}

.education-card h3 {
    color: #00bcd4;
}

/* Projeler Sayfası Stilleri */
/* Projeler Sayfası Stilleri */
#projects {
    display: none;
    padding: 60px 30px;
    text-align: center;
}

#projects h1 {
    font-size: 38px;
    margin-bottom: 30px;
    color: #fff;
}

#projects p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #bdbdbd;
}

.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    /* Varsayılan olarak alt alta sıralama için */
    gap: 30px;
    margin-top: 30px;
}

@media (min-width: 768px) {

    /* Geniş ekranlarda (tablet ve üzeri) iki sütun */
    .project-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {

    /* Daha geniş ekranlarda (masaüstü) de iki sütun kalabilir veya istenirse 3 yapılabilir */
    .project-cards {
        grid-template-columns: repeat(2, 1fr);
        /* İki sütun olarak kalması için */
    }
}

.project-cards .card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.project-cards .card-link:hover {
    transform: scale(1.03);
}

.project-cards .card {
    background: #212121;
    padding: 25px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.project-cards .card h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #00bcd4;
}

.project-cards .card p {
    font-size: 16px;
    color: #bdbdbd;
    margin-bottom: 20px;
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.tags span {
    background: #424242;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
}

/* Zaman Çizelgesi Stilleri (Kaldırıldı, Kartlar Kullanılıyor) */
/* ... */
/* .education::before (Kaldırıldı) */