/* --- ÖZGÜN KARANLIK TEMA VE YENİ FONTLAR --- */
:root {
    --bg-main: #09090b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-color: #00f2fe; /* Neon Turkuaz */
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --card-bg: rgba(30, 41, 59, 0.4);
    --border-light: rgba(255, 255, 255, 0.08);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    margin: 0; padding: 0;
    background-color: var(--bg-main) !important;
    color: var(--text-main);
    position: relative;
    overflow-x: hidden;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Arka Plan Baloncukları İçin Canvas Sabitleme */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* İçeriklerin arkasında kalmasını sağlar */
    pointer-events: none; /* Tıklamaları engellemez */
}

/* --- NAVBAR VE OVAL (PILL) BUTONLAR --- */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 25px 50px; position: sticky; top: 0; z-index: 100;
    background: rgba(9, 9, 11, 0.8); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

.logo {
    font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 24px;
    letter-spacing: 1px; color: var(--text-main);
}

.nav-links { display: flex; gap: 35px; }
.nav-links a {
    text-decoration: none; color: var(--text-muted);
    font-size: 15px; font-weight: 500; transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent-color); }

.social-pills { display: flex; gap: 12px; }
.pill-btn {
    padding: 8px 18px; border-radius: 30px; text-decoration: none;
    font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 8px;
    transition: all 0.3s ease; border: 1px solid var(--border-light);
}
.github-btn { background: rgba(255,255,255,0.05); color: #fff; }
.linkedin-btn { background: rgba(0, 119, 181, 0.1); color: #00a0dc; border-color: rgba(0, 119, 181, 0.3); }
.mail-btn { background: rgba(255,255,255,0.05); color: #fff; }

.pill-btn:hover { 
    transform: translateY(-2px); 
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.15);
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.content-section { padding: 90px 0; border-bottom: 1px solid var(--border-light); }
.section-title { font-family: 'Outfit', sans-serif; font-size: 2.5em; margin-bottom: 40px; color: var(--text-main); }

/* --- HERO BÖLÜMÜ --- */
.hero-section {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 80vh; gap: 50px; padding-top: 30px;
    border-bottom: 1px solid var(--border-light);
}
.hero-text { flex: 1; }
.subtitle { 
    font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 700; 
    letter-spacing: 3px; color: var(--accent-color); text-transform: uppercase; margin-bottom: 20px; 
}

.elegant-title {
    font-family: 'Outfit', sans-serif; font-size: 5.5em; font-weight: 900;
    line-height: 0.95; margin: 0 0 25px 0; color: var(--text-main); letter-spacing: -2px;
}
.elegant-title em { 
    font-style: normal; 
    background: var(--accent-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.bio-text { font-size: 17px; line-height: 1.7; color: var(--text-muted); max-width: 480px; margin-bottom: 40px; }

.hero-actions { display: flex; align-items: center; gap: 30px; }
.btn-primary {
    background: var(--accent-gradient); color: #000; padding: 14px 30px;
    border-radius: 30px; text-decoration: none; font-size: 15px; font-weight: 700;
    border: none; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 242, 254, 0.3); }
.btn-text { text-decoration: none; color: var(--text-main); font-size: 15px; font-weight: 500; transition: color 0.3s; }
.btn-text:hover { color: var(--accent-color); }

/* --- ASİMETRİK FOTOĞRAF VE NEON YAZILAR --- */
.hero-image-wrapper { 
    position: relative; 
    flex-shrink: 0; 
    margin: 0 40px; 
}
.hero-image {
    width: 320px; height: 320px; object-fit: cover;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    border: 3px solid rgba(0, 242, 254, 0.3);
    box-shadow: 0 0 40px rgba(0, 242, 254, 0.1);
    transition: all 0.5s ease-in-out;
}
.hero-image:hover {
    border-radius: 50%; transform: rotate(5deg) scale(1.05);
    border-color: var(--accent-color);
}

.floating-text {
    position: absolute; font-size: 11px; text-transform: uppercase;
    letter-spacing: 2px; font-weight: 700; font-family: 'Outfit', sans-serif;
}

.neon-text {
    color: #00f2fe !important;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.6), 0 0 20px rgba(0, 242, 254, 0.4);
}

.floating-text.top-right {
    position: absolute; right: -185px; top: 40px; text-align: left; width: 150px;
}
.floating-text.bottom-left {
    position: absolute; left: -180px; bottom: 30px; text-align: right; width: 150px;
}

/* --- KARTLAR VE DİĞER BÖLÜMLER --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card-link { text-decoration: none; color: inherit; display: block; }

.dark-card {
    background: var(--card-bg); backdrop-filter: blur(10px);
    padding: 35px; border-radius: 20px; border: 1px solid var(--border-light);
    transition: transform 0.3s, border-color 0.3s;
}
.dark-card:hover { transform: translateY(-5px); border-color: var(--accent-color); }
.dark-card h3 { margin: 0 0 10px 0; font-family: 'Outfit', sans-serif; font-size: 1.4em; }
.dark-card p { margin: 0; color: var(--text-muted); font-size: 15px; }

.project-card {
    background: rgba(20, 25, 35, 0.6); border-radius: 20px; overflow: hidden;
    border: 1px solid var(--border-light); transition: transform 0.3s;
}
.project-card:hover { transform: translateY(-10px); border-color: var(--accent-color); }
.project-card img { width: 100%; height: 200px; object-fit: cover; opacity: 0.8; transition: opacity 0.3s; }
.project-card:hover img { opacity: 1; }
.project-info { padding: 25px; }
.project-info h3 { margin: 0 0 10px 0; font-family: 'Outfit', sans-serif; font-size: 1.3em; }
.project-info p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.6; }

.contact-card { max-width: 600px; margin: 0 auto; }
input, textarea {
    width: 100%; padding: 15px; margin-bottom: 15px;
    border: 1px solid var(--border-light); border-radius: 12px;
    background: rgba(0, 0, 0, 0.3); font-family: 'DM Sans', sans-serif; color: #fff;
    box-sizing: border-box; transition: border-color 0.3s;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent-color); }

footer { text-align: center; padding: 40px 0; color: var(--text-muted); font-size: 13px; }

/* --- İSTATİSTİK SAYILARI (4'LÜ GRID) --- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.stat-box {
    text-align: center;
    padding: 25px;
}
.stat-box h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5em;
    font-weight: 900;
    margin: 0 0 5px 0;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-box p {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 900px) {
    .hero-section { flex-direction: column-reverse; text-align: center; padding-top: 40px; }
    .nav-links { display: none; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero-image { width: 280px; height: 280px; }
    .floating-text { display: none; }
    .elegant-title { font-size: 4em; }
    .hero-image-wrapper { margin: 0; }
}