/* ==================== RESET & GLOBAL STYLES ==================== */
* {
    margin: 0;          /* Menghapus margin default browser */
    padding: 0;         /* Menghapus padding default */
    box-sizing: border-box; /* Memastikan padding dan border tidak menambah lebar total */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Font modern yang aman */
    line-height: 1.6;   /* Jarak antar baris agar mudah dibaca */
    color: #1a1a1a;     /* Warna teks gelap */
    background-color: #ffffff; /* Latar putih */
}

.container {
    max-width: 1200px;  /* Lebar maksimal konten */
    margin: 0 auto;     /* Tengah secara horizontal */
    padding: 0 20px;    /* Ruang di kiri-kanan untuk layar kecil */
}

/* ==================== TYPOGRAPHY & UTILITIES ==================== */
.section-title {
    font-size: 2.5rem;  /* Ukuran besar untuk judul bagian */
    margin-bottom: 2rem; /* Jarak bawah */
    text-align: center;  /* Rata tengah */
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

/* ==================== HERO SECTION (Bagian 1) ==================== */
.hero {
    background-color: #f8f9fa; /* Latar abu muda */
    padding: 4rem 0 2rem 0;    /* Padding atas besar, bawah kecil */
}

.hero .container {
    display: flex;              /* Flexbox untuk dua kolom */
    justify-content: space-between; /* Pisahkan kiri dan kanan */
    align-items: center;       /* Tengah secara vertikal */
    flex-wrap: wrap;           /* Jika layar kecil, turun ke bawah */
}

.hero-left .greeting {
    font-size: 1.2rem;
    color: #ff6b6b;            /* Warna aksen merah muda */
    margin-bottom: 0.5rem;
}

.hero-left .name {
    font-size: 4rem;           /* Nama besar */
    font-weight: 800;
    margin-bottom: 1rem;
}

.experience-badge {
    display: inline-block;
    background-color: #ff6b6b;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
}

.hero-right {
    display: flex;
    gap: 2rem;                 /* Jarak antar stat */
    text-align: center;
    background-image: url('gambarku.jpg');
    background-size: cover;    /* Gambar mengisi area */
    background-position: center; /* Gambar di tengah */
    background-repeat: no-repeat; /* Jangan ulangi gambar */
    padding: 3rem;             /* Ruang dalam untuk teks */
    border-radius: 15px;       /* Sudut melengkung */
    position: relative;
    min-height: 250px;         /* Tinggi minimum */
    flex-wrap: wrap;           /* Teks bisa turun ke bawah */
    justify-content: center;   /* Teks di tengah */
}

.hero-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.3); /* Overlay gelap agar teks lebih mudah dibaca */
    border-radius: 15px;
    z-index: 1;
}

.hero-right .stat {
    position: relative;
    z-index: 2;                /* Teks di atas overlay */
    color: white;              /* Teks putih agar kontras */
}

.stat h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.3rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b6b;
}

/* Bagian help (What do I help?) */
.help-section {
    margin-top: 3rem;
    background-color: white;
    padding: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.help-section .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.help-text {
    flex: 2;                   /* Lebih lebar */
}

.help-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.help-text p {
    color: #555;
}

.help-stats {
    flex: 1;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.stat-box {
    text-align: center;
}

.big-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff6b6b;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* ==================== EXPERIENCE SECTION ==================== */
.experience {
    padding: 4rem 0;
    background-color: #fff;
}

.exp-card {
    background: #f8f9fa;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.2s; /* Animasi halus saat hover */
}

.exp-card:hover {
    transform: translateY(-5px); /* Efek naik sedikit */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.exp-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.exp-date {
    color: #ff6b6b;
    font-weight: 500;
    font-size: 0.9rem;
}

.exp-role {
    color: #ff6b6b;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.exp-desc {
    color: #555;
    font-size: 0.95rem;
}

/* ==================== LATEST WORKS SECTION ==================== */
.latest-works {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsif grid */
    gap: 2rem;
    margin-top: 2rem;
}

.work-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;          /* Membuat gambar mengikuti border radius */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.work-card:hover {
    transform: scale(1.03);
}

.work-image img {
    width: 100%;              /* Gambar penuh lebar card */
    height: 250px;
    object-fit: cover;        /* Memastikan gambar proporsional dan memenuhi area */
    display: block;
}

.work-info {
    padding: 1rem;
}

.work-category {
    display: inline-block;
    background: #ff6b6b20;    /* Transparan merah */
    color: #ff6b6b;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.work-title {
    font-size: 1.2rem;
    font-weight: 600;
}

/* ==================== TESTIMONIAL SECTION ==================== */
.testimonials {
    padding: 4rem 0;
    background-color: #fff;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.testimonial-author {
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.testimonial-role {
    color: #ff6b6b;
    font-size: 0.9rem;
}

/* ==================== CTA SECTION ==================== */
.cta {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e); /* Gradasi merah */
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 30px;
    margin: 2rem auto;
    width: 90%;
    max-width: 1000px;
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: #ff6b6b;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    background-color: #fff5f5;
}

/* ==================== FOOTER ==================== */
footer {
    background-color: #1a1a1a;
    color: #aaa;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

footer .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: baseline;
}

.footer-name {
    font-weight: bold;
    color: #ff6b6b;
    font-size: 1.2rem;
}

.footer-copyright, .footer-credit {
    font-size: 0.9rem;
}

/* ==================== RESPONSIVE DESIGN ==================== */
/* Untuk tablet dan HP, menyesuaikan tata letak */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;   /* Tumpuk ke bawah */
        text-align: center;
        gap: 2rem;
    }

    .hero-right {
        justify-content: center;
    }

    .help-section .container {
        flex-direction: column;
        text-align: center;
    }

    .exp-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    footer .container {
        flex-direction: column;
        gap: 0.5rem;
    }
}