/* --- KÖK DEĞİŞKENLER --- */
:root {
    /* Renk Paleti: Alacakaranlık ve Gümüş */
    --bg-main: #0c0c0e;      /* Neredeyse siyah, çok koyu gri */
    --bg-card: rgba(255, 255, 255, 0.03);
    
    --text-primary: #e0e0e0; /* Gümüş Beyazı */
    --text-secondary: #8d8d99; /* Taş Grisi */
    
    --accent-silver: #c0c0c0;
    --accent-gold: #d4af37; /* Soluk, eski altın */
    --accent-glow: rgba(192, 192, 192, 0.2);
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --border-subtle: 1px solid rgba(255, 255, 255, 0.08);
    --border-hover: 1px solid rgba(192, 192, 192, 0.3);
    
    --transition: all 0.5s ease;
}

/* --- TEMEL AYARLAR --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Yumuşak kaydırma efekti */
html { scroll-behavior: smooth; }
/* Temel body stili */
body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.8;
    font-weight: 300;
    overflow-x: hidden;
}
/* Başlık stilleri */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-primary);
}
/* Paragraf stili */
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container { max-width: 1000px; margin: 0 auto; padding: 0 30px; } /* Merkezi konteyner */

/* --- ARKA PLAN / Yıldız Tozu --- */
.star-field {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at center, #15151a 0%, #0c0c0e 100%);
}
/* Yıldız parçacıkları */
.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 6s infinite ease-in-out;
}
/* Farklı yıldız boyutları ve konumları, animasyonları burada */
.star-1 { top: 20%; left: 10%; width: 2px; height: 2px; animation-duration: 4s; }
.star-2 { top: 50%; right: 20%; width: 1px; height: 1px; animation-duration: 7s; }
.star-3 { bottom: 30%; left: 40%; width: 2px; height: 2px; animation-duration: 5s; }
.star-4 { top: 10%; right: 10%; width: 1.5px; height: 1.5px; animation-duration: 9s; }
.star-5 { bottom: 10%; right: 50%; width: 1px; height: 1px; animation-duration: 6s; }
/* Yıldız parıltı animasyonu */
@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* --- BUTONLAR --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
}
/* Doldurulmuş Buton */
.btn-mystic {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-secondary);
    position: relative;
    overflow: hidden;
}
/* Buton Hover Efekti */
.btn-mystic:hover {
    border-color: var(--accent-silver);
    background: rgba(255,255,255,0.03);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}
/* Navbar scroll yapıldığında değişen stil */
.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(12, 12, 14, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: var(--border-subtle);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; } /* Navbar içeriği için konteyner */
/* Logo stili */
.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 2px;
}
.highlight { color: var(--accent-gold); }
/* Navigasyon linkleri */
.nav-list { display: flex; gap: 3rem; align-items: center; }
.nav-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
}
/* link efekti */
.nav-link::before {
    content: ''; position: absolute; bottom: -5px; left: 50%;
    width: 0; height: 1px; background: var(--accent-silver);
    transition: var(--transition); transform: translateX(-50%);
}
/* link hover efekti */
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::before { width: 100%; }

.hamburger { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 1px; background: var(--text-primary); margin: 6px 0; }

/* --- PROFİL BÖLÜMÜ --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container { display: flex; align-items: center; justify-content: space-between; gap: 4rem; }
.hero-content { max-width: 550px; }
/* Karşılama metni */
.greeting {
    font-family: var(--font-body);
    color: var(--accent-gold);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}
/* Başlık stili */
.hero-title {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 2rem;
    font-weight: 300;
}
/* İtalik metin stili */
.italic-text {
    font-style: italic;
    color: var(--text-secondary);
}
/* Açıklama metni */
.hero-description {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 450px;
}
/* Buton ve sosyal ikonlar */
.hero-buttons { display: flex; align-items: center; gap: 2rem; }
.social-icon { color: var(--text-secondary); font-size: 1.2rem; }
.social-icon:hover { color: var(--text-primary); transform: translateY(-3px); }

/* Çerçeve Efekti (Profil) */
.image-frame {
    width: 350px; height: 450px;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px;
    position: relative;
}
/* Çerçeve içindeki resim stili */
.image-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1); /* Siyah beyaz minimalist */
    transition: var(--transition);
}
/* Resim hover efekti */
.image-frame:hover img { filter: grayscale(50%); }

/* --- GENEL SECTION & KARTLAR --- */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-title { font-size: 3rem; font-weight: 300; }
.separator {
    width: 60px; height: 1px; background: var(--accent-gold);
    margin: 1rem auto; opacity: 0.5;
}
.section-subtitle { color: var(--text-secondary); font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; }
/* Kart stili */
.mystic-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
}
/* Kart hover efekti */
.mystic-card:hover {
    border: var(--border-hover);
    transform: translateY(-5px);
    background: rgba(255,255,255,0.05);
}

/* --- HAKKINDA --- */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.card-icon { font-size: 1.5rem; color: var(--accent-gold); margin-bottom: 1.5rem; opacity: 0.8; }
.about-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.about-card p { font-size: 0.95rem; color: var(--text-secondary); }

/* --- YETEBEKLER --- */
.skills-wrapper { max-width: 700px; margin: 0 auto; }
.skill-item { margin-bottom: 2.5rem; }
.skill-info { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-family: var(--font-heading); font-size: 1.2rem; }
.level { font-family: var(--font-body); font-size: 0.8rem; color: var(--accent-gold); text-transform: uppercase; letter-spacing: 1px; }
/* İlerleme çubuğu stili */
.progress-line-bg { width: 100%; height: 1px; background: rgba(255,255,255,0.1); position: relative; }
.progress-line-fill {
    position: absolute; left: 0; top: 0; height: 1px;
    background: var(--text-primary);
    width: 0; /* JS ile dolacak */
    transition: width 1.5s ease;
}
.progress-line-fill::after { /* Parlak nokta efekti */
    content: ''; position: absolute; right: 0; top: -2px;
    width: 5px; height: 5px; background: var(--accent-gold); border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-gold);
}

/* --- PROJELER --- */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.project-card { padding: 3rem 2rem; text-align: left; }
.project-desc { margin: 1rem 0 2rem; font-size: 0.95rem; }
.tags { margin-bottom: 2rem; }
.tag {
    font-size: 0.75rem; border: 1px solid rgba(255,255,255,0.1);
    padding: 5px 15px; margin-right: 10px; color: var(--text-secondary);
}
.link-arrow { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 10px; }
.link-arrow:hover { gap: 15px; color: var(--accent-gold); }

/* --- İLETİŞİM --- */
.contact-wrapper { max-width: 600px; margin: 0 auto; text-align: center; }
.minimal-form { margin-top: 3rem; }
.input-group { margin-bottom: 2rem; }
.input-group input, .input-group textarea {
    width: 100%; background: transparent;
    border: none; border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 10px 0; color: var(--text-primary);
    font-family: var(--font-heading); font-size: 1.2rem;
    transition: var(--transition);
}
.input-group textarea { resize: none; font-size: 1rem; font-family: var(--font-body); }

.input-group input:focus, .input-group textarea:focus {
    outline: none; border-bottom-color: var(--accent-gold);
}
.full-width { width: 100%; margin-top: 1rem; }
.contact-footer { margin-top: 3rem; color: var(--text-secondary); font-size: 0.9rem; }
.divider { margin: 0 10px; opacity: 0.3; }

/* --- FOOTER --- */
.footer { padding: 2rem 0; text-align: center; font-size: 0.8rem; border-top: var(--border-subtle); color: var(--text-secondary); }
.faint { opacity: 0.5; }

/* --- ANİMASYONLAR --- */
.fade-in-up { opacity: 0; animation: fadeInUp 1s forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.reveal-text, .reveal-card { opacity: 0; transform: translateY(30px); transition: all 1s ease; }
.appear { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; animation-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; animation-delay: 0.2s; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-container { flex-direction: column; text-align: center; padding-top: 50px; }
    .hero-title { font-size: 3rem; }
    .nav-list { display: none; } /* Basit gizleme, hamburger menü JS ile açılmalı */
    .image-frame { width: 280px; height: 350px; margin: 0 auto; }
    .hamburger { display: block; }
    
    /* Mobil Menü Aktif Stili */
    .nav-menu.active .nav-list {
        display: flex; flex-direction: column; position: absolute;
        top: 80px; left: 0; width: 100%; background: var(--bg-main);
        padding: 2rem 0; border-bottom: var(--border-subtle);
    }
}