@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #4e9eff;
    --secondary-color: #ff6b6b;
    --accent-color: #7c4dff;
    --dark-bg: #121212;
    --light-text: #f5f5f5;
    --card-bg: rgba(30, 30, 30, 0.8);
    --gradient-start: #4e9eff;
    --gradient-end: #7c4dff;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --timeline-color: #4e9eff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent; /* Mobil cihazlarda dokunma efektini kaldırır */
}

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

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#bg-canvas {
    width: 100%;
    height: 100%;
}

/* Header Styles */
header {
    padding: 2rem 1rem;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.9) 0%, rgba(30, 30, 30, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.profile-image {
    flex: 0 0 150px;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--primary-color);
}

.profile-info {
    flex: 1;
    min-width: 300px;
}

.profile-info h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.profile-info h2 {
    font-size: 1.5rem;
    color: #aaa;
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-info a {
    color: var(--light-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(78, 158, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    background-color: rgba(78, 158, 255, 0.4);
    transform: translateY(-3px);
}

/* Kişisel bilgiler stil */
.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(78, 158, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #eee;
    transition: all 0.3s ease;
}

.contact-details p i {
    color: var(--primary-color);
}

.contact-details p:hover {
    background-color: rgba(78, 158, 255, 0.2);
    transform: translateY(-2px);
}

/* Navigation */
.main-nav {
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.main-nav li {
    flex: 1;
    min-width: 100px;
    max-width: 180px;
    text-align: center;
    margin: 0 auto;
}

.nav-button {
    display: block;
    text-decoration: none;
    color: var(--light-text);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: rgba(78, 158, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

.nav-button:hover {
    background: rgba(78, 158, 255, 0.4);
    transform: translateY(-3px);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.section {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-content {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title i {
    color: var(--primary-color);
}

/* About Section */
.about-content {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-animation {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.animation-placeholder {
    width: 100%;
    height: 300px;
    background: rgba(78, 158, 255, 0.1);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Timeline */
.timeline {
    position: relative;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--timeline-color);
    top: 0;
    bottom: 0;
    left: 20px;
    margin-left: -2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    left: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(78, 158, 255, 0.3);
}

.timeline-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(78, 158, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-content {
    background: rgba(40, 40, 40, 0.5);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: #aaa;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.timeline-content p {
    margin-bottom: 0.5rem;
}

/* Education Section */
.education-item {
    display: flex;
    margin-bottom: 2rem;
    gap: 2rem;
}

.education-year {
    flex: 0 0 100px;
    background: rgba(78, 158, 255, 0.2);
    padding: 0.5rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    height: fit-content;
}

.education-content {
    flex: 1;
}

.education-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.education-content h4 {
    color: #aaa;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Skills Section */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.skill-category {
    flex: 1;
    min-width: 300px;
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-name {
    display: block;
    margin-bottom: 0.5rem;
}

.skill-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 5px;
    transition: width 1.5s ease-in-out;
}

/* Projects Section */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(40, 40, 40, 0.5);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(78, 158, 255, 0.3), rgba(124, 77, 255, 0.3));
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.project-tags span {
    background: rgba(78, 158, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

/* Certificates Section */
.certificates-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.certificate-item {
    background: rgba(40, 40, 40, 0.5);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.certificate-icon {
    font-size: 2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.certificate-source {
    display: block;
    margin-top: 0.5rem;
    font-style: italic;
    color: #aaa;
}

/* References Section */
.references-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.reference-item {
    background: rgba(40, 40, 40, 0.5);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.reference-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background: rgba(45, 45, 45, 0.6);
}

.reference-item h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(78, 158, 255, 0.3);
    padding-bottom: 0.5rem;
}

.reference-item p {
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
}

.reference-item p i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.9) 0%, rgba(30, 30, 30, 0.9) 100%);
    padding: 2rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--light-text);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Animations and Responsive Design */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .profile-container {
        padding: 1rem;
    }
    
    .main-nav ul {
        padding: 0.5rem;
        justify-content: center;
        margin: 0 auto;
    }
    
    .section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    header {
        padding: 1rem 0.5rem;
    }
    
    .profile-container {
        gap: 1rem;
    }
    
    .profile-img {
        width: 120px;
        height: 120px;
    }
    
    .profile-info h1 {
        font-size: 2rem;
    }
    
    .profile-info h2 {
        font-size: 1.2rem;
    }
    
    .contact-info, .contact-details {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .contact-info a, .contact-details p {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .main-nav {
        padding: 0.5rem;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .main-nav ul {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .main-nav li {
        flex: 0 0 auto;
        min-width: auto;
    }
    
    .nav-button {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        letter-spacing: -0.2px;
    }
    
    .section-content {
        padding: 1.5rem 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .timeline-dot {
        width: 16px;
        height: 16px;
        left: 7px;
    }
    
    .timeline-date {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .about-content {
        gap: 1rem;
    }
    
    .animation-placeholder {
        height: 200px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
    
    .profile-container {
        text-align: center;
    }
    
    .profile-img {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .contact-info a, .contact-details p {
        width: 100%;
        margin-bottom: 0.5rem;
        text-align: center;
        justify-content: center;
    }
    
    .main-nav {
        padding: 0.3rem;
    }
    
    .nav-button {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .section-content {
        padding: 1rem 0.8rem;
    }
    
    .section-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
    
    .timeline-content h3 {
        font-size: 1rem;
    }
    
    .timeline-content h4 {
        font-size: 0.9rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    
    .education-item {
        gap: 1rem;
    }
    
    .education-year {
        padding: 0.3rem;
        font-size: 0.85rem;
    }
    
    .education-content h3 {
        font-size: 1rem;
    }
    
    .course-item, .reference-item {
        padding: 1rem;
    }
    
    .course-info h3, .reference-item h3 {
        font-size: 1rem;
    }
    
    .course-icon, .reference-item i {
        font-size: 1.5rem;
    }
    
    .animation-placeholder {
        height: 150px;
    }
}

/* Personal Info Section */
.personal-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.personal-info-item {
    background: rgba(40, 40, 40, 0.5);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.personal-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.personal-info-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.personal-info-item h3 i {
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .personal-info {
        grid-template-columns: 1fr;
    }
}

/* Language Section */
.language-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.language-item {
    background: rgba(40, 40, 40, 0.5);
    border-radius: 10px;
    padding: 1.5rem;
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.language-name {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
}

.language-level {
    display: flex;
    gap: 0.5rem;
}

.level-badge {
    background-color: rgba(78, 158, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Courses Section */
.courses-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.course-item {
    background: rgba(40, 40, 40, 0.5);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.course-icon {
    font-size: 2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-info {
    flex: 1;
}

.course-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .courses-container {
        grid-template-columns: 1fr;
    }
    
    .course-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Dokunmatik efektler */
.nav-touch {
    background: rgba(78, 158, 255, 0.5) !important;
    transform: scale(0.95) !important;
}

/* Yatay kaydırma çubuğunu gizle, sadece dokunmatik kaydırmaya izin ver */
.main-nav::-webkit-scrollbar {
    display: none;
}

.main-nav {
    -ms-overflow-style: none;  /* IE ve Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Kaydırma performansını iyileştir */
.section {
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* Mobil dokunma hedefleri için minimum boyut */
.nav-button, .contact-info a, .contact-details p {
    min-height: 44px; /* Apple'ın önerdiği minimum dokunma alanı */
    display: flex;
    align-items: center;
    justify-content: center;
} 