/* Global Renk Paleti (Ultra Black, Karbon Gri & Mat Teal Theme) */
:root {
    --primary-color: #00A79D; /* Mat Teal/Açık Aqua Vurgu (Profesyonel) */
    --secondary-color: #0A0A0A; /* Ultra Derin Arkaplan (Near Black) */
    --accent-color: #CCFF00; /* İkincil Vurgu (Parlak Limon Yeşili) */
    --text-color: #FFFFFF; /* Pure White Metin */
    --sub-text-color: #888888; /* Alt Metinler için koyu gri */
    --card-background: #1C1C1C; /* Kartlar için Karbon Gri */
    --high-school-color: #5A5A5A; /* Lise için Muted Gri */
    --shadow-dark: 0 4px 15px rgba(0, 0, 0, 0.8); /* Derin, yumuşak gölge */
    --neon-glow: 0 0 5px var(--primary-color); /* Hafif, profesyonel parlama */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Navigasyon Çubuğu */
#navbar {
    background-color: rgba(10, 10, 10, 0.95);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

.nav-container {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-container .logo {
    color: var(--primary-color);
    font-size: 1.8em;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
    text-shadow: 0 0 2px var(--primary-color);
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s, border-bottom 0.3s;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.nav-links .btn-contact {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 700;
    border-bottom: none !important;
}

.nav-links .btn-contact:hover {
    background-color: #008f84;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 167, 157, 0.4);
}

/* Profil Bölümü */
.profile-section {
    background: var(--secondary-color);
    padding: 80px 20px 60px;
    text-align: center;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 6px solid var(--primary-color);
    object-fit: cover;
    margin-bottom: 25px;
    box-shadow: 0 0 0 10px rgba(0, 167, 157, 0.1), 0 0 15px var(--primary-color);
}

.profile-section h1 {
    font-size: 3.5em;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 3px;
    text-shadow: var(--neon-glow);
}

.profile-section h2 {
    font-size: 1.6em;
    margin-bottom: 30px;
    color: var(--sub-text-color);
    font-weight: 400;
}

.profile-card .summary {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.15em;
    line-height: 1.8;
    padding: 25px;
    border: 1px solid #333333;
    border-radius: 10px;
    color: var(--text-color);
    background: var(--card-background);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}


/* Genel Bölüm Stili (Kart Görünümü) */
.section {
    background: var(--secondary-color);
    padding: 50px 0;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--card-background);
    text-shadow: 0 0 3px var(--primary-color);
}

.section-title i {
    margin-right: 15px;
    color: var(--accent-color);
}

.section-description {
    color: var(--sub-text-color);
    margin-bottom: 40px;
    font-size: 1.1em;
}

/* Hakkımda Meta Grid */
.profile-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 10px 0 40px;
}

.meta-item {
    background: var(--card-background);
    padding: 25px;
    border-radius: 8px;
    border-top: 3px solid var(--accent-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease;
}
.meta-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.9);
}
.meta-item h4 {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-bottom: 10px;
}
.meta-item i {
    color: var(--accent-color);
    font-size: 2em;
    margin-bottom: 15px;
}


/* İş Deneyimi (Timeline) */
.timeline {
    border-left: 3px solid var(--card-background);
    padding-left: 20px;
    margin-left: 10px;
}

.timeline-item {
    padding-bottom: 35px;
    position: relative;
    background: var(--card-background);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    border: 1px solid #333;
}

.timeline-item:hover {
    transform: translateY(-8px); 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 167, 157, 0.4);
    background: #252535; 
}
.timeline-item:hover h4 { 
    color: var(--accent-color); 
}
.timeline-item:hover::before { 
    background: var(--accent-color); 
    box-shadow: 0 0 0 4px var(--secondary-color), 0 0 8px var(--accent-color);
}


.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px; 
    top: 30px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--primary-color);
    transition: background 0.3s, box-shadow 0.3s;
}

.timeline-item h4 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.timeline-item .date {
    font-style: italic;
    color: var(--sub-text-color);
    margin-bottom: 15px;
    display: block;
    font-size: 0.9em;
}

/* Projeler Bölümü */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--card-background);
    padding: 30px;
    border-radius: 8px;
    border-top: 5px solid var(--primary-color);
    box-shadow: var(--shadow-dark);
    transition: all 0.3s;
    position: relative;
    border: 1px solid #333;
}

.project-card:hover {
    transform: translateY(-12px); 
    border-top-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.95), 0 0 15px var(--primary-color); 
}

.project-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}
.project-card .project-date { /* Yeni proje tarihi stili */
    color: var(--accent-color);
    font-size: 0.85em;
    display: block;
    margin-bottom: 10px;
    font-style: italic;
}

/* Non-Web Projeler için özel stil */
.project-card.non-web-project {
    border-top: 5px solid var(--high-school-color);
    background: #18182b; 
    opacity: 0.95;
}
.project-card.non-web-project:hover {
    border-top-color: var(--accent-color);
}
.project-card.non-web-project h4,
.project-card.non-web-project .project-link.non-web-detail-text {
    color: var(--high-school-color);
}


.project-tech {
    margin: 15px 0;
}

.project-tech span {
    display: inline-block;
    background: var(--accent-color);
    color: var(--secondary-color);
    font-size: 0.8em;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    margin-right: 8px; 
    margin-bottom: 8px; 
}

.project-link {
    display: inline-block;
    margin-right: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.project-link.non-web-detail-text {
    color: var(--high-school-color);
    cursor: default;
    font-weight: 600;
}

.project-link i {
    margin-right: 5px;
}

.project-link:hover {
    color: var(--accent-color);
}

/* YENİ: BECERİLER BÖLÜMÜ STİLLERİ */
.skill-sub-heading {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.2em;
    border-bottom: 1px dotted var(--card-background);
    padding-bottom: 5px;
    margin-top: 25px;
}
.skill-heading-icon {
    color: var(--primary-color); 
    font-size: 1.1em;
    margin-right: 8px;
}

/* 1. Skill Bars Styles */
.skill-bars-container {
    padding: 15px 0;
}
.skill-bar-item {
    margin-bottom: 20px;
}
.skill-bar-item p {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
}
.skill-bar-bg {
    background: var(--card-background);
    border-radius: 12px;
    height: 30px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.6); 
}
/* Skill Bar dolumu için animasyon başlangıç stili (Sadece CSS ile dolacak) */
.skill-bar-fill {
    height: 100%;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-align: right;
    padding-right: 15px;
    line-height: 30px;
    font-weight: bold;
    border-radius: 12px 0 0 12px;
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}
/* Neon efekti sadece yüklendikten sonra devreye girer (JS ile) */
.skill-bar-fill.animated { 
    box-shadow: var(--neon-glow);
}


/* 2. Certificate Grid Styles */
.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    padding: 15px 0;
}
.certificate-card {
    background: var(--card-background);
    border-left: 4px solid var(--accent-color);
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 500;
    box-shadow: var(--shadow-dark);
    transition: all 0.3s ease;
}
.certificate-card:hover { 
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.8), 0 0 5px var(--primary-color); 
    border-left-color: var(--primary-color);
    cursor: default;
}

/* 3. Dil/Sürücü Grid Styles */
.driver-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    padding: 15px 0;
}
.driver-item {
    background: var(--card-background);
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 500;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    color: var(--primary-color);
}
.driver-item:hover { 
    background: #252535;
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.8);
    cursor: default;
}

.driver-item i {
    font-size: 1.2em;
    color: var(--primary-color); 
    margin-right: 15px;
}
.driver-item:hover i {
    color: var(--accent-color); 
}
.driver-item.full-width-driver {
    grid-column: 1 / -1; 
}

/* Eğitim Listesi Stilleri */
.education-list {
    padding-left: 0;
    list-style: none;
}

.education-list li {
    display: flex; 
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    background: var(--card-background);
    box-shadow: var(--shadow-dark);
    border-left: 5px solid #ccc;
    transition: border-left-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.education-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9);
    background: #14141E; 
}
.education-list li:hover strong {
    color: var(--accent-color);
}
.education-list li:hover .school-icon {
    color: var(--primary-color) !important;
}

.education-list li strong {
    color: var(--primary-color);
    transition: color 0.3s;
}

.education-list li p,
.education-list li .status-badge {
    color: var(--sub-text-color);
}

/* Duruma göre çerçeve rengi */
.education-list li.completed {
    border-left-color: var(--primary-color); /* Tamamlanmış: Teal */
}

.education-list li.in-progress {
    border-left-color: var(--accent-color); /* Devam Ediyor: Limon Yeşili */
}

/* Lise için özel çerçeve rengi */
.education-list li.high-school {
    border-left-color: var(--high-school-color); 
}

.school-icon {
    font-size: 1.8em;
    margin-right: 15px;
    padding-top: 5px;
    color: var(--primary-color);
    transition: color 0.3s;
}
/* Lise ikon rengi */
.education-list li.high-school .school-icon {
    color: var(--high-school-color);
}
/* Devam eden ikon rengi */
.education-list li.in-progress .school-icon {
    color: var(--accent-color);
}

.education-details {
    flex-grow: 1; 
}

/* İletişim Kartları Stilleri */
.contact-details {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: var(--card-background);
    border-radius: 8px;
    box-shadow: var(--shadow-dark);
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #333;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9), 0 0 8px var(--primary-color);
}

.contact-card i {
    font-size: 2.2em;
    color: var(--accent-color); /* İletişim ikonları Limon Yeşili */
    margin-bottom: 10px;
    transition: color 0.3s;
}

.contact-card:hover i {
    color: var(--primary-color); /* Hover'da Teal */
}

.contact-card h4 {
    color: var(--text-color);
    font-size: 1em;
    margin-bottom: 5px;
}

.contact-card span {
    color: var(--sub-text-color);
    font-size: 0.9em;
}


/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background: var(--secondary-color);
    color: var(--sub-text-color);
    font-size: 0.9em;
    border-top: 1px solid var(--card-background);
}

/* YUKARI ÇIK BUTONU STİLİ */
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 1.2em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), var(--neon-glow);
    transition: background-color 0.3s, transform 0.3s;
}

#scrollToTopBtn:hover {
    background-color: var(--accent-color);
    transform: scale(1.1);
    color: var(--secondary-color);
}

/* Scroll Reveal (Fade Up) Başlangıç Durumu */
.scroll-reveal-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
/* Scroll Reveal Bitiş Durumu (JS ile eklenir) */
.scroll-reveal-visible {
    opacity: 1;
    transform: translateY(0);
}


/* Mobil Cihazlar için Responsive Ayarlar */
@media (max-width: 768px) {
    .profile-section h1 {
        font-size: 2.8em;
    }
    
    .nav-container {
        flex-direction: column;
        padding: 10px 20px;
    }

    .nav-links {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        margin: 5px 10px;
    }
    
    .section {
        padding: 30px 10px;
    }
    .driver-info-grid, .certificate-grid, .contact-details, .profile-meta-grid {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
    }
    .contact-card {
        flex-direction: row;
        text-align: left;
        align-items: center;
        justify-content: space-between;
    }
    .contact-card i {
        margin-right: 15px;
        margin-bottom: 0;
    }
    .contact-card h4 {
        flex-grow: 1;
        text-align: left;
    }
    .contact-card span {
        text-align: right;
    }
}