<!doctype html>
<html lang="tr">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <title>Ayşenur Doğan — Portföy</title>
  <meta name="description" content="Ayşenur Doğan'ın kişisel portföy sayfası — projeler, yetenekler ve iletişim." />
  <!-- Tailwind CDN (kolay kurulum için). Üretimde kendi build'inizi kullanmanız önerilir. -->
  <script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-50 text-gray-900 antialiased">
  <header class="bg-white shadow-sm">
    <div class="container mx-auto px-6 py-6 flex items-center justify-between">
      <div>
        <h1 class="text-2xl font-bold">Ayşenur Doğan</h1>
        <p class="text-sm text-gray-600">Bilgisayar Mühendisliği Öğrencisi • Frontend & Fullstack</p>
      </div>
      <nav class="space-x-4 text-sm">
        <a href="#projects" class="hover:underline">Projeler</a>
        <a href="#skills" class="hover:underline">Yetenekler</a>
        <a href="#contact" class="hover:underline">İletişim</a>
      </nav>
    </div>
  </header>

  <main class="container mx-auto px-6 py-12">
    <!-- Hero -->
    <section class="grid grid-cols-1 md:grid-cols-3 gap-8 items-center mb-12">
      <div class="md:col-span-2">
        <h2 class="text-4xl font-extrabold leading-tight">Merhaba — Ben Ayşenur</h2>
        <p class="mt-4 text-gray-700">Bilgisayar mühendisliği öğrencisiyim. Web geliştirme, kullanıcı arayüzleri ve otomasyon üzerine projeler geliştiriyorum. TypeScript öğreniyorum ve sürekli yeni teknolojiler keşfetmeyi seviyorum.</p>

        <div class="mt-6 flex gap-3">
          <a href="#projects" class="inline-block px-4 py-2 bg-indigo-600 text-white rounded-lg shadow">Projelerime Bak</a>
          <a href="#" id="download-resume" class="inline-block px-4 py-2 border border-gray-300 rounded-lg">Özgeçmişi İndir</a>
        </div>

        <div class="mt-6 text-sm text-gray-500">
          <strong>Konum:</strong> Türkiye • <strong>E-posta:</strong> <a href="mailto:ornek@ornek.com" class="underline">ornek@ornek.com</a>
        </div>
      </div>

      <div class="flex items-center justify-center">
        <div class="w-48 h-48 rounded-2xl bg-gradient-to-tr from-indigo-500 to-purple-500 flex items-center justify-center text-white text-lg font-semibold">
          Profil Fotoğrafı
        </div>
      </div>
    </section>

    <!-- Projects -->
    <section id="projects" class="mb-12">
      <h3 class="text-2xl font-bold mb-4">Projeler</h3>

      <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
        <!-- Örnek proje kartları: bunları kendi projelerinle değiştir -->
        <article class="bg-white rounded-xl p-5 shadow-sm hover:shadow-md transition">
          <div class="h-36 rounded-md bg-gray-100 flex items-center justify-center text-gray-400">Resim/Önizleme</div>
          <h4 class="mt-4 font-semibold">Proje 1 — Web Uygulaması</h4>
          <p class="mt-2 text-sm text-gray-600">React + TypeScript ile geliştirilmiş, veri görselleştirmesi yapan uygulama.</p>
          <div class="mt-3 flex flex-wrap gap-2">
            <span class="text-xs px-2 py-1 border rounded text-gray-600">React</span>
            <span class="text-xs px-2 py-1 border rounded text-gray-600">TypeScript</span>
            <span class="text-xs px-2 py-1 border rounded text-gray-600">Charting</span>
          </div>
          <div class="mt-4">
            <a href="#" class="text-sm font-medium text-indigo-600 hover:underline">Detaylar</a>
          </div>
        </article>

        <article class="bg-white rounded-xl p-5 shadow-sm hover:shadow-md transition">
          <div class="h-36 rounded-md bg-gray-100 flex items-center justify-center text-gray-400">Resim/Önizleme</div>
          <h4 class="mt-4 font-semibold">Proje 2 — Mobil UI</h4>
          <p class="mt-2 text-sm text-gray-600">Figma prototipi ve responsive mobil arayüz tasarımı.</p>
          <div class="mt-3 flex flex-wrap gap-2">
            <span class="text-xs px-2 py-1 border rounded text-gray-600">Figma</span>
            <span class="text-xs px-2 py-1 border rounded text-gray-600">Responsive</span>
          </div>
          <div class="mt-4">
            <a href="#" class="text-sm font-medium text-indigo-600 hover:underline">Detaylar</a>
          </div>
        </article>

        <article class="bg-white rounded-xl p-5 shadow-sm hover:shadow-md transition">
          <div class="h-36 rounded-md bg-gray-100 flex items-center justify-center text-gray-400">Resim/Önizleme</div>
          <h4 class="mt-4 font-semibold">Proje 3 — Otomasyon Scripti</h4>
          <p class="mt-2 text-sm text-gray-600">Node.js ile yazılmış, tekrarlayan işleri otomatikleştiren script.</p>
          <div class="mt-3 flex flex-wrap gap-2">
            <span class="text-xs px-2 py-1 border rounded text-gray-600">Node.js</span>
            <span class="text-xs px-2 py-1 border rounded text-gray-600">Automation</span>
          </div>
          <div class="mt-4">
            <a href="#" class="text-sm font-medium text-indigo-600 hover:underline">Detaylar</a>
          </div>
        </article>
      </div>
    </section>

    <!-- Skills -->
    <section id="skills" class="mb-12">
      <h3 class="text-2xl font-bold mb-4">Yetenekler</h3>
      <div class="bg-white p-6 rounded-xl shadow-sm">
        <ul class="grid grid-cols-2 md:grid-cols-4 gap-3">
          <li class="text-sm text-gray-700">• JavaScript / TypeScript</li>
          <li class="text-sm text-gray-700">• React</li>
          <li class="text-sm text-gray-700">• HTML & CSS (Tailwind)</li>
          <li class="text-sm text-gray-700">• Node.js</li>
          <li class="text-sm text-gray-700">• Git & GitHub</li>
        </ul>
      </div>
    </section>

    <!-- Contact -->
    <section id="contact" class="mb-12">
      <h3 class="text-2xl font-bold mb-4">İletişim</h3>
      <div class="grid grid-cols-1 md:grid-cols-2 gap-6 items-start">
        <div class="bg-white p-6 rounded-xl shadow-sm">
          <p class="text-gray-700 mb-4">Benimle çalışmak veya projeler hakkında konuşmak istersen aşağıdan mesaj bırakabilirsin — ayrıca doğrudan e-posta gönderebilirsin.</p>
          <p class="text-sm text-gray-500"><strong>E-posta:</strong> <a href="mailto:ornek@ornek.com" class="underline">ornek@ornek.com</a></p>
          <p class="text-sm text-gray-500 mt-2"><strong>LinkedIn:</strong> <a href="#" class="underline">Profil</a></p>
        </div>

        <form class="bg-white p-6 rounded-xl shadow-sm" onsubmit="sendForm(event)">
          <label class="block text-sm">İsim</label>
          <input id="name" class="w-full mt-1 p-2 border rounded" placeholder="Adınız" required />

          <label class="block text-sm mt-4">E-posta</label>
          <input id="email" type="email" class="w-full mt-1 p-2 border rounded" placeholder="E-posta adresiniz" required />

          <label class="block text-sm mt-4">Mesaj</label>
          <textarea id="message" class="w-full mt-1 p-2 border rounded" rows="4" placeholder="Mesajınızı yazın..." required></textarea>

          <div class="mt-4">
            <button type="submit" class="px-4 py-2 bg-indigo-600 text-white rounded-lg">Gönder</button>
          </div>
        </form>
      </div>
    </section>

    <footer class="mt-12 text-center text-sm text-gray-500">
      © <span id="year"></span> Ayşenur Doğan. Tüm hakları saklıdır.
    </footer>
  </main>

  <script>
    document.getElementById('year').textContent = new Date().getFullYear();

    function sendForm(e) {
      e.preventDefault();
      // Basit demo: gerçek bir backend yoksa e-postayı mailto ile açar
      const name = document.getElementById('name').value;
      const email = document.getElementById('email').value;
      const message = document.getElementById('message').value;
      const subject = encodeURIComponent('Portföy - Mesaj: ' + name);
      const body = encodeURIComponent(message + '\n\nGönderen: ' + name + ' (' + email + ')');
      window.location.href = 'mailto:ornek@ornek.com?subject=' + subject + '&body=' + body;
    }
  </script>
</body>
</html>