/* Genel Ayarlar */
:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #7b61ff;
    --card-bg: #0f0f0f;
    --border-color: #222;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(90deg, #bfaee3, #eb98a7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Navigasyon */
header {
    padding: 20px 0;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo span {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: #bbb;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-btn {
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    border: 1px solid #333;
    padding: 5px 12px;
    border-radius: 20px;
    transition: 0.3s;
    background: transparent;
}

.lang-btn:hover {
    background: #222;
    border-color: #777;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff;
}

/* Butonlar */
.btn-white {
    background-color: #fff;
    color: #000 !important;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    display: inline-block;
}

.btn-white:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 0.95rem;
    background: transparent;
    color: #fff;
    display: inline-block;
    font-weight: 600;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding-top: 180px;
    padding-bottom: 80px;
}

.avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero .subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #ddd;
}

.hero .description {
    max-width: 650px;
    margin: 0 auto 40px auto;
    color: #aaa;
    font-size: 1.05rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* SKILLS SECTION (DÜZENLENDİ: Ortalı) */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-category {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    /* İçeriği ortala */
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Flex öğelerini ortala */
}

.skill-category:hover {
    border-color: #444;
    transform: translateY(-5px);
}

.skill-category h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    border-bottom: 1px solid #222;
    padding-bottom: 15px;
    width: 100%;
    /* Çizgi boydan boya olsun */
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    align-items: center;
    /* Liste elemanlarını ortala */
}

/* Güncellenmiş Hali */
.skill-item {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 220px;
    justify-content: flex-start;
    /* Sola hizalı kalsın */
    /* background ve border-radius kaldırıldı */
    padding: 5px 0;
    /* Yan boşlukları sıfırladık, dikey boşluk azaldı */
}

.skill-item i {
    font-size: 1.8rem;
    width: 35px;
    text-align: center;
    flex-shrink: 0;
}

.skill-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    /* Yazılar sola hizalı kalsın ikonun yanında */
}

.skill-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #eee;
}

.skill-info span {
    font-size: 0.8rem;
    color: #777;
    font-weight: 400;
}

/* Section Styling */
.section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 0.9rem;
    letter-spacing: 4px;
    background: linear-gradient(90deg, #7b61ff, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 50px;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
}

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

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #555;
    background: #161616;
}

.project-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
}

/* Proje açıklaması rengi düzeltildi (Daha soft) */
.project-info p {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Blog Styling (DÜZENLENDİ) */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* İki sütun */
    gap: 30px;
    text-align: left;
    align-items: stretch;
    /* Kartların boyunu eşitle */
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* İçeriği yay, buton altta kalsın */
    height: 100%;
    /* Eşit yükseklik için */
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: #444;
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    /* Resmi kutuya sığdırır */
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #222;
    display: block;
}

.blog-content {
    flex-grow: 1;
    /* İçeriğin alanı doldurmasını sağla */
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
    display: block;
}

.blog-content h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    line-height: 1.3;
}

.blog-content p {
    color: #bbb;
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.read-more {
    margin-top: auto;
    /* En alta it */
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

/* "View All" butonu konteyneri */
.view-more-container {
    margin-top: 60px;
    /* Blog kartlarıyla araya mesafe */
    text-align: center;
    width: 100%;
}

/* Footer */
footer {
    padding: 50px 0;
    border-top: 1px solid #222;
    text-align: center;
    margin-top: 80px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    border: 1px solid #333;
    transition: 0.3s;
}

.social-link:hover {
    background: #fff;
    color: #000;
}

.copyright {
    color: #555;
    font-size: 0.85rem;
}

/* RESPONSIVE & MOBILE MENU */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 101;
    }

    /* Mobil Menü Yapısı */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        background: #0a0a0a;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        border-left: 1px solid #222;
        padding-bottom: 50px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.3rem;
        margin: 20px 0;
    }

    /* Gridleri Tek Sütuna Düşür */
    .blog-grid {
        grid-template-columns: 1fr;
        /* Mobilde tek sütun */
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 30px;
    }

    .section {
        padding: 60px 0;
    }

    .container {
        padding: 0 25px;
        /* Mobilde kenar boşlukları */
    }
}

/* Resim Koruması ve Statik Mod */
img {
    pointer-events: none;
    /* Resme tıklamayı iptal eder (Link içindeyse link çalışmaya devam eder) */
    user-select: none;
    /* Resmin seçilmesini engeller (Mavi seçim alanı çıkmaz) */
    -webkit-user-drag: none;
    /* Resmin sürüklenmesini engeller (Sürükleyip masaüstüne bırakamazlar) */
    -webkit-touch-callout: none;
    /* Mobilde uzun basınca çıkan menüyü engeller */
}