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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f2f4f8;
    color: #2d2d2d;
    scroll-behavior: smooth;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Başlık ve Navigasyon */
header {
    background: #ffffffcc;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #ddd;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}
.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.lang-label {
    font-weight: 500;
    color: #2d2d2d;
}

.lang-toggle {
    width: 50px;
    height: 26px;
    background-color: #e2e8f0;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lang-ball {
    width: 22px;
    height: 22px;
    background-color: #5a67d8;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: left 0.3s ease;
}

.lang-toggle.active .lang-ball {
    left: 26px;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #2d2d2d;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #2d2d2d;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #5a67d8;
}

/* Hamburger Menü */
.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* Bölümler */
.section {
    padding: 120px 0 60px;
}

.section h2 {
    font-size: 32px;
    color: #2d2d2d;
    margin-bottom: 30px;
    border-left: 5px solid #5a67d8;
    padding-left: 15px;
}

/* Projeler */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.project-item {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.project-item h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #5a67d8;
}

.project-item p {
    font-size: 15px;
    margin-bottom: 15px;
}

.project-item a {
    color: #5a67d8;
    text-decoration: none;
    font-weight: 600;
}

.project-item a:hover {
    text-decoration: underline;
}

/* Yetenekler Listesi */
#skills ul {
    list-style: none;
    padding-left: 0;
}

#skills ul li {
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 16px;
}

/* İletişim */
#contact p {
    margin-bottom: 10px;
    font-size: 15px;
}

#contact p a {
    color: #5a67d8;
    text-decoration: none;
}

#contact p a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #2d2d2d;
    color: #eee;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 65px;
        right: 0;
        width: 220px;
        border-left: 1px solid #eaeaea;
        border-bottom: 1px solid #eaeaea;
        padding: 10px 0;
    }

    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }
}
