<!DOCTYPE html>
<html lang="tr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Yusuf Akın - Kişisel Site</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            overflow-x: hidden;
        }
        .container {
            width: 80%;
            margin: 0 auto;
            overflow: hidden;
        }
        header {
            background: rgba(255, 255, 255, 0.8);
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 1rem 0;
            z-index: 1000;
            transition: background 0.3s ease;
        }
        header.scrolled {
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo {
            font-size: 1.5rem;
            font-weight: bold;
        }
        .nav-links {
            display: flex;
            list-style: none;
        }
        .nav-links li {
            margin-left: 2rem;
        }
        .nav-links a {
            text-decoration: none;
            color: #333;
            transition: color 0.3s ease;
        }
        .nav-links a:hover {
            color: #007bff;
        }
        #hero {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        }
        .hero-content h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
        }
        .hero-content p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
        }
        .btn {
            display: inline-block;
            background: #007bff;
            color: #fff;
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background 0.3s ease;
        }
        .btn:hover {
            background: #0056b3;
        }
        section {
            padding: 5rem 0;
        }
        h2 {
            text-align: center;
            margin-bottom: 3rem;
        }
        .about-content, .projects, .contact-form {
            max-width: 800px;
            margin: 0 auto;
        }
        .projects {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }
        .project-card {
            background: #fff;
            border-radius: 5px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            padding: 1.5rem;
            transition: transform 0.3s ease;
        }
        .project-card:hover {
            transform: translateY(-5px);
        }
        .contact-form input, .contact-form textarea {
            width: 100%;
            padding: 0.8rem;
            margin-bottom: 1rem;
            border: 1px solid #ddd;
            border-radius: 5px;
        }
        .contact-form textarea {
            height: 150px;
        }
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .fade-in-up {
            animation: fadeInUp 0.6s ease-out;
        }
    </style>
</head>
<body>
    <header>
        <nav class="container">
            <div class="logo">YA</div>
            <ul class="nav-links">
                <li><a href="#about">Hakkımda</a></li>
                <li><a href="#projects">Projeler</a></li>
                <li><a href="#contact">İletişim</a></li>
            </ul>
        </nav>
    </header>

    <section id="hero">
        <div class="hero-content fade-in-up">
            <h1>Merhaba, Ben Yusuf</h1>
            <p>Web Geliştirici & UI/UX Tasarımcı</p>
            <a href="#contact" class="btn">Benimle Çalışın</a>
        </div>
    </section>

    <section id="about">
        <div class="container">
            <h2>Hakkımda</h2>
            <div class="about-content fade-in-up">
                <p>5 yıllık deneyime sahip bir web geliştiricisi ve UI/UX tasarımcısıyım. Kullanıcı odaklı, estetik ve işlevsel web uygulamaları geliştirmek benim tutkum.</p>
                <p>Modern teknolojileri kullanarak, müşterilerimin ihtiyaçlarını en iyi şekilde karşılayan çözümler üretiyorum.</p>
            </div>
        </div>
    </section>

    <section id="projects">
        <div class="container">
            <h2>Projeler</h2>
            <div class="projects">
                <div class="project-card fade-in-up">
                    <h3>E-ticaret Platformu</h3>
                    <p>Modern bir e-ticaret çözümü.</p>
                </div>
                <div class="project-card fade-in-up">
                    <h3>Sosyal Medya Uygulaması</h3>
                    <p>Gerçek zamanlı bir sosyal platform.</p>
                </div>
                <div class="project-card fade-in-up">
                    <h3>Portföy Yönetim Aracı</h3>
                    <p>Yatırımcılar için portföy takip uygulaması.</p>
                </div>
            </div>
        </div>
    </section>

    <section id="contact">
        <div class="container">
            <h2>İletişim</h2>
            <form class="contact-form fade-in-up">
                <input type="text" placeholder="İsim" required>
                <input type="email" placeholder="E-posta" required>
                <textarea placeholder="Mesajınız" required></textarea>
                <button type="submit" class="btn">Gönder</button>
            </form>
        </div>
    </section>

    <script>
        // Scroll-aware header
        window.addEventListener('scroll', () => {
            const header = document.querySelector('header');
            if (window.scrollY > 50) {
                header.classList.add('scrolled');
            } else {
                header.classList.remove('scrolled');
            }
        });

        // Smooth scroll for navigation links
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function (e) {
                e.preventDefault();
                document.querySelector(this.getAttribute('href')).scrollIntoView({
                    behavior: 'smooth'
                });
            });
        });

        // Fade-in animation on scroll
        const fadeElems = document.querySelectorAll('.fade-in-up');
        const observer = new IntersectionObserver((entries) => {
            entries.forEach(entry => {
                if (entry.isIntersecting) {
                    entry.target.style.opacity = 1;
                    entry.target.style.transform = 'translateY(0)';
                }
            });
        }, { threshold: 0.1 });

        fadeElems.forEach(elem => {
            elem.style.opacity = 0;
            elem.style.transform = 'translateY(20px)';
            elem.style.transition = 'opacity 0.6s ease-out, transform 0.6s ease-out';
            observer.observe(elem);
        });
    </script>
</body>
</html>