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

/* Temel Stiller */
:root {
    --primary-color: #00A3E1;
    --secondary-color: #25ca7f;
    --bg-dark-blue: #0c1220;
    --bg-navy-blue: #06101b;
    --text-white: #fff;
    --text-gray: #c5c5c5;
    --border-color: rgba(255, 255, 255, 0.1);
    --container-width: 1400px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom, var(--bg-dark-blue), var(--bg-navy-blue));
    color: var(--text-white);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: var(--text-white);
    transition: 0.3s;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn.primary {
    background-color: var(--primary-color);
    color: var(--text-white);
    border: 1px solid var(--primary-color);
}

.btn.secondary {
    border: 1px solid var(--primary-color);
    color: var(--text-white);
}

.btn.primary:hover {
    background-color: transparent;
    border: 1px solid var(--primary-color);
}

.btn.secondary:hover {
    background-color: var(--primary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    text-transform: uppercase;
    color: var(--text-white);
}

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

/* Header Stili */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    background-color: rgba(6, 16, 27, 0.9);
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-white);
}

nav ul li a.active, nav ul li a:hover {
    color: var(--primary-color);
}

/* Mobil Menü */
.hamburger-menu {
    display: none;
    font-size: 25px;
    cursor: pointer;
    color: var(--text-white);
    transition: 0.3s;
}

.hamburger-menu:hover {
    color: var(--primary-color);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-navy-blue);
    padding: 50px 20px;
    z-index: 999;
    transition: 0.5s;
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 25px;
    cursor: pointer;
    color: var(--text-white);
    transition: 0.3s;
}

.close-menu:hover {
    color: var(--primary-color);
}

.mobile-menu ul {
    margin-top: 50px;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-white);
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}

.mobile-menu ul li a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

/* Ana Bölüm Stili */
section {
    padding: 50px 0;
    position: relative;
}

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 0;
    margin-bottom: -20px;
    background-color: var(--bg-dark-blue);
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    max-width: var(--container-width);
    width: 100%;
    padding: 0 30px;
}

.hero-image {
    flex: 0.5;
    position: relative;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 30px;
}

.hero-profile-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary-color);
    position: relative;
    box-shadow: 0 0 25px rgba(0, 163, 225, 0.4);
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease-out;
}

.hero-profile-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 163, 225, 0.6);
}

.hero-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.hero-image img:hover {
    transform: none;
    box-shadow: none;
}

.hero-content {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--primary-color);
    display: inline-block;
}

.hero-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-gray);
}

.hero-content p {
    margin-bottom: 20px;
    max-width: 100%;
    line-height: 1.6;
    color: var(--text-gray);
}

.buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

/* Hakkımda Bölümü Stili */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.profile-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary-color);
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 25px rgba(0, 163, 225, 0.4);
    transition: all 0.3s ease;
}

.profile-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 163, 225, 0.6);
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Yolculuğum Bölümü Stili */
.journey-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-top: -10px;
}

.education-column, .experience-column {
    flex: 1;
}

.education-column h3, .experience-column h3 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
    left: 0;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 50px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 50%;
    left: -7px;
    top: 5px;
}

.timeline-item .date {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.timeline-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Yetenekler Bölümü Stili */
.skills-content {
    display: flex;
    gap: 50px;
}

.coding-skills, .professional-skills {
    flex: 1;
}

.coding-skills h3, .professional-skills h3 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

.skill-item {
    margin-bottom: 30px;
}

.skill-name {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
}

.skill-bar {
    width: 100%;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    position: relative;
    margin-bottom: 5px;
}

.skill-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
}

.skill-percentage {
    float: right;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
}

/* İletişim Bölümü */
.contact {
    position: relative;
    background-color: var(--bg-navy-blue);
    padding: 80px 0 160px;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 60px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-item {
    flex: 1;
    min-width: 250px;
    background-color: rgba(6, 16, 27, 0.5);
    border-radius: 10px;
    padding: 40px 30px;
    margin: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    background-color: rgba(0, 163, 225, 0.1);
}

.contact-info-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info-item h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-white);
}

.contact-info-item p {
    color: var(--text-gray);
    font-size: 16px;
}

.contact-social {
    text-align: center;
    margin-bottom: 60px;
}

.contact-social h4 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-white);
}

.contact-social .social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.contact-social .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(6, 16, 27, 0.7);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 24px;
    transition: all 0.3s ease;
}

.contact-social .social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 163, 225, 0.4);
}

/* Footer Bölümü Stili */
footer {
    background-color: var(--bg-navy-blue);
    padding: 25px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scroll-top {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* Responsive Tasarım */
@media screen and (max-width: 991px) {
    .hero .container, 
    .about-content, 
    .journey-content, 
    .skills-content {
        flex-direction: column;
        gap: 30px;
    }

    .hero-image {
        margin-top: 30px;
    }
    
    .hero-profile-img {
        width: 250px;
        height: 250px;
    }

    .profile-img {
        margin-bottom: 30px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    nav ul {
        display: none;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content h2 {
        font-size: 20px;
    }
    
    .buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .buttons .btn {
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .project-item {
        flex-direction: column;
        padding: 20px;
    }
    
    .slider-container {
        height: 300px;
        margin-bottom: 20px;
    }
    
    .project-info {
        padding: 0;
        width: 100%;
    }
    
    .project-info .btn {
        align-self: center;
    }
    
    .project-video, .project-image {
        height: 0;
        padding-bottom: 56.25%; /* 16:9 oran */
        margin-bottom: 20px;
    }
    
    .project-image {
        padding-bottom: 0;
        height: auto;
        max-height: 350px;
    }
}

@media screen and (max-width: 576px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-profile-img {
        width: 220px;
        height: 220px;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation: fadeInUp 0.5s ease-out;
}

#education {
    padding-top: 0;
}

/* Projeler Bölümü Stili */
.projects-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.project-item {
    display: flex;
    gap: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-slider {
    flex: 1;
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 65%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.slide.active {
    opacity: 1;
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 5;
}

.prev-slide, .next-slide {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    margin: 0 10px;
}

.prev-slide:hover, .next-slide:hover {
    background-color: var(--primary-color);
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background-color: var(--primary-color);
}

.project-info {
    flex: 1;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.project-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.project-info p {
    margin-bottom: 15px;
    line-height: 1.6;
    max-width: 100%;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.project-tags span {
    background-color: rgba(0, 163, 225, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.project-info .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* YouTube video konteyneri için stil */
.project-video {
    flex: 1;
    position: relative;
    height: 0;
    padding-bottom: 56%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Tekli görsel projeleri için stil */
.project-image {
    flex: 1;
    position: relative;
    max-height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.project-image img:hover {
    transform: scale(1.02);
}

/* Özellik Listesi Stilleri */
.feature-list {
    margin: 15px 0 20px;
    padding-left: 10px;
}

.feature-list li {
    margin-bottom: 12px;
    list-style: none;
    padding-left: 5px;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
    color: var(--text-gray);
}

.feature-list li strong {
    color: var(--text-white);
    margin-right: 5px;
}

/* Responsive için proje düzenlemeleri */
@media screen and (min-width: 992px) {
    .project-item {
        gap: 30px;
        align-items: stretch;
    }
    
    .project-info {
        max-width: 55%;
        display: flex;
        flex-direction: column;
    }
    
    .project-slider, .project-video, .project-image {
        max-width: 45%;
        align-self: flex-start;
    }
}

/* Mobil cihazlar için ek düzenlemeler */
@media screen and (max-width: 991px) {
    .project-item {
        flex-direction: column;
        padding: 20px;
    }
    
    .slider-container {
        height: 300px;
        margin-bottom: 20px;
    }
    
    .project-info {
        padding: 0;
        width: 100%;
    }
    
    .project-info .btn {
        align-self: center;
    }
    
    .project-video, .project-image {
        height: 0;
        padding-bottom: 56.25%; /* 16:9 oran */
        margin-bottom: 20px;
    }
    
    .project-image {
        padding-bottom: 0;
        height: auto;
        max-height: 350px;
    }
} 