<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Portofolio Saya</title>
    <style>
        /* Warna utama */
        :root {
            --soft-blue: #a7c7e7;
            --darker-blue: #5b8fb9;
            --white: #ffffff;
            --gray: #f8f9fa;
        }

        body {
            font-family: 'Poppins', sans-serif;
            margin: 0;
            background-color: var(--gray);
            color: #333;
        }

        header {
            background-color: var(--soft-blue);
            text-align: center;
            padding: 50px 20px;
        }

        header img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--white);
        }

        header h1 {
            margin-top: 20px;
            font-size: 2em;
            color: var(--darker-blue);
        }

        header p {
            font-size: 1.1em;
            color: #555;
        }

        section {
            padding: 50px 20px;
            max-width: 1000px;
            margin: auto;
        }

        .section-title {
            text-align: center;
            font-size: 1.8em;
            color: var(--darker-blue);
            margin-bottom: 30px;
        }

        .about {
            text-align: center;
            line-height: 1.6;
            color: #444;
        }

        .works {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .work-item {
            background-color: var(--white);
            border-radius: 10px;
            box-shadow: 0 3px 6px rgba(0,0,0,0.1);
            overflow: hidden;
            text-align: center;
            transition: transform 0.3s;
        }

        .work-item:hover {
            transform: translateY(-5px);
        }

        .work-item img {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }

        .work-item h3 {
            margin: 10px 0;
            color: var(--darker-blue);
        }

        .contact {
            text-align: center;
        }

        .contact a {
            display: inline-block;
            margin: 10px;
            text-decoration: none;
            color: var(--white);
            background-color: var(--darker-blue);
            padding: 12px 25px;
            border-radius: 30px;
            transition: background-color 0.3s;
        }

        .contact a:hover {
            background-color: #41729f;
        }

        footer {
            background-color: var(--soft-blue);
            text-align: center;
            padding: 15px;
            color: #333;
            font-size: 0.9em;
        }
    </style>
</head>
<body>

    <header>
        <!-- Ganti foto.jpg dengan nama file fotomu -->
        <img src="foto.jpg" alt="Foto Profil">
        <h1>Nama Kamu</h1>
        <p>Desainer | Developer | Kreator Digital</p>
    </header>

    <section id="about">
        <h2 class="section-title">Tentang Saya</h2>
        <p class="about">
            Halo! Saya <strong>Nama Kamu</strong>, seorang profesional yang tertarik pada dunia desain dan teknologi. 
            Saya senang menciptakan karya yang tidak hanya estetis tetapi juga fungsional. 
            Portofolio ini berisi beberapa hasil karya terbaik saya.
        </p>
    </section>

    <section id="works">
        <h2 class="section-title">Hasil Karya</h2>
        <div class="works">
            <div class="work-item">
                <img src="karya1.jpg" alt="Karya 1">
                <h3>Judul Karya 1</h3>
            </div>
            <div class="work-item">
                <img src="karya2.jpg" alt="Karya 2">
                <h3>Judul Karya 2</h3>
            </div>
            <div class="work-item">
                <img src="karya3.jpg" alt="Karya 3">
                <h3>Judul Karya 3</h3>
            </div>
        </div>
    </section>

    <section id="contact">
        <h2 class="section-title">Kontak</h2>
        <div class="contact">
            <a href="https://wa.me/628123456789" target="_blank">WhatsApp</a>
            <a href="https://instagram.com/username" target="_blank">Instagram</a>
        </div>
    </section>

    <footer>
        &copy; 2025 Nama Kamu. Semua Hak Dilindungi.
    </footer>

</body>
</html>
