/* style.css - Soft Siyah & Beyaz Tema (NİHAİ VERSİYON - TÜM İSTEKLER DAHİL) */

/* Renk Paleti ve Fontlar */


:root {
    --bg-color: #0d0d0d; /* Ultra Koyu Siyah */
    --item-bg: #1a1a1a; /* Koyu Gri Bölüm Arka Planı */
    --text-color: #e0e0e0; /* Açık Gri/Beyaz Metin */
    --primary-color: #ffffff; /* Ana Vurgu Rengi (Beyaz) */
    --accent-color: #aaaaaa; /* İkincil Vurgu (Gri) */
    --link-color: var(--text-color);
    --border-color: #333333; /* Yumuşak Gri Sınır */
    --shadow-color: rgba(0, 0, 0, 0.6); /* Yumuşak Siyah Gölge */
    --font-family: 'Inter', system-ui, sans-serif;

    /* Discord Status Colors */
    --online-color: #43b581; 
    --offline-color: #747f8d;
    --idle-color: #faa61a;
    --dnd-color: #f04747;
}

/* Temel Sıfırlama */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    min-height: 100vh;
    padding: 30px;
}

body::-webkit-scrollbar {
    width: 0px; /* Kaydırma çubuğunun genişliğini sıfırlar */
    background: transparent; /* Arka planı şeffaf yapar */
}

/* Header - Kaldırıldı */
.header {
    display: none;
}

/* Global Link Stili */
a {
    text-decoration: none; 
    color: var(--link-color);
}
a:hover {
    color: var(--primary-color);
}

/* Main Grid Container */
.container {
    max-width: 1100px;
    margin: 40px auto;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* Grid Öğeleri (Bölümler) */
.grid-item {
    background-color: var(--item-bg);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.05), 0 0 10px rgba(255, 255, 255, 0.05);
}

/* Grid Genişlik Kontrolü */
.item-full-width {
    grid-column: span 2;
}
.item-half-width {
    grid-column: span 1;
}

h2 {
    font-size: 1.4em;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    text-align: left;
}


/* 1. LANYARD & PROFILE SECTION */
.profile-header-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

#lanyard-avatar-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden; 
    background-color: var(--item-bg); 
    border: 3px solid var(--border-color);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

#lanyard-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--item-bg); 
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
}

.profile-text h2 {
    font-size: 2em;
    color: var(--text-color);
    margin-bottom: 8px;
    border: none;
    padding: 0;
    font-weight: 300;
}

.status-line {
    color: var(--accent-color);
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.status-indicator.online { background-color: var(--online-color); box-shadow: 0 0 5px var(--online-color); }
.status-indicator.offline { background-color: var(--offline-color); }
.status-indicator.idle { background-color: var(--idle-color); }
.status-indicator.dnd { background-color: var(--dnd-color); }

/* 2. LASTFM MUSIC ACTIVITY */
.track-info-style {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background-color: #222;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.track-info-style:hover {
    background-color: #2a2a2a;
}

#track-image {
    width: 65px;
    height: 65px;
    border-radius: 4px;
    object-fit: cover;
}

#track-details p {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

#track-artist {
    color: var(--accent-color);
    font-weight: 400;
}

/* 3. ABOUT ME (Eski LANGUAGES) */
#languages {
    /* About Me için Item-half-width */
}

.about-me-text {
    padding-top: 5px;
}

.about-me-text p {
    font-size: 0.95em;
    line-height: 1.7;
    color: var(--text-color);
    font-weight: 300; 
}

/* Eski language-list ve item'ları artık kullanılmıyor */
.language-list, .language-item, .language-item h3 {
    display: block; 
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}


/* 4. OTHER WEBSITES / PROJECTS (Estetik Minimalist Butonlar) */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 0; 
    border-radius: 6px;
    overflow: hidden;
}

.project-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    padding: 18px 15px; 
    background-color: var(--item-bg); 
    border-radius: 0; 
    
    color: var(--text-color);
    transition: all 0.3s ease;
    
    border: none;
    border-bottom: 1px solid var(--border-color);
}

/* Proje Metinleri İçin Konteyner */
.project-info-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.project-title {
    font-size: 1.1em;
    font-weight: 500; 
    color: var(--text-color); 
    margin-bottom: 3px;
    text-decoration: none; 
}

.project-description {
    font-size: 0.85em;
    font-weight: 300;
    color: var(--accent-color); 
}


/* Son öğenin alt çizgisini kaldır */
.project-list a:last-child {
    border-bottom: none;
}

/* Estetik Alt Çizgi Hover Efekti */
.item-line-effect {
    position: relative;
    overflow: hidden;
}

.item-line-effect::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px; 
    background-color: var(--text-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.item-line-effect:hover {
    background-color: #2a2a2a; 
    color: var(--text-color);
    border-left: none; 
}

.item-line-effect:hover::after {
    transform: scaleX(1);
}

.arrow-icon {
    color: var(--accent-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

.item-line-effect:hover .arrow-icon {
    transform: translateX(5px);
    color: var(--text-color); 
}

/* 5. SOCIAL MEDIA (Düz Metin Bağlantıları) */
#social-media h2 {
    text-align: center; 
}

.social-links {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    gap: 40px; 
}

.social-text-link {
    font-size: 1.1em;
    color: var(--text-color);
    position: relative;
    transition: color 0.3s ease;
    text-decoration: none; 
}

.social-text-link:hover {
    color: var(--primary-color); 
}

/* Alt Çizgi Efekti */
.social-text-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -3px;
    left: 0;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.social-text-link:hover::after {
    background-color: var(--text-color);
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* FOOTER TAMAMEN KALDIRILDI */
.footer {
    display: none;
}


/* ======================================= */
/* ANİMASYONLAR */
/* ======================================= */

/* Fade In and Slide In */
.fade-in { opacity: 0; animation: fadeIn 0.8s ease forwards; }
@keyframes fadeIn { to { opacity: 1; } }

.slide-in-top { opacity: 0; transform: translateY(-20px); animation: slideInTop 0.8s ease forwards; }
@keyframes slideInTop { to { opacity: 1; transform: translateY(0); } }

/* Animasyon Gecikmeleri */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1.0s; }

/* Hover Ölçeklenme */
.hover-scale:hover {
    transform: scale(1.03);
}

/* Pulse Effect (Last.fm Aktif) */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0px rgba(255, 255, 255, 0.15); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* RESPONSIVE DÜZENLEME */
@media (max-width: 992px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .grid-item {
        grid-column: span 1 !important;
        padding: 25px;
    }
}

@media (max-width: 600px) {
    body {
        padding: 15px;
    }
    .profile-header-content {
        flex-direction: column;
        text-align: center;
    }
    .profile-text h2 {
        font-size: 1.8em;
    }
    .status-line {
        justify-content: center;
    }
    .social-links {
        gap: 25px; 
    }
    .project-item {
        padding: 15px 10px;
    }
    .project-description {
        font-size: 0.8em; 
    }
}
