/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= BODY ================= */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f6f8;
}

/* ================= TITLE ================= */
h1 {
    text-align: center;
    margin: 40px 0;
    font-size: 2.4rem;
    color: #222;
}

/* ================= GRID ================= */
.proyek-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 🔥 FIX 2 KOLOM */
    gap: 40px;
}

/* ================= CARD ================= */
.proyek-card {
    position: relative;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: transform .3s ease, box-shadow .3s ease;
    text-align: center;
}

.proyek-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

/* ================= IMAGE ================= */
.proyek-card img {
    width: 100%;
    height: 280px; /* 🔥 BESAR & JELAS */
    object-fit: cover;
}

/* ================= TITLE ================= */
.proyek-card h3 {
    font-size: 1.2rem;
    margin: 20px 15px 10px;
    color: #222;
}

/* ================= BADGE STATUS ================= */
.badge {
    display: inline-block;
    padding: 7px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 18px;
    color: white;
}

/* WARNA PER STATUS */
.badge.berjalan {
    background: #f59e0b;
}

.badge.desain {
    background: #6366f1;
}

.badge.selesai {
    background: #10b981;
}

/* ================= BUTTON ================= */
.proyek-card .btn {
    display: block;
    margin: 0 25px 28px;
    padding: 14px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: background .25s ease;
}

.proyek-card .btn:hover {
    background: #5563c1;
}

/* ================= WHY CHOOSE ================= */
.why-choose {
    background: #ffffff;
    padding: 80px 20px;
}

.why-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* LEFT */
.why-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #222;
}

.why-text p {
    color: #444;
    line-height: 1.7;
    margin-bottom: 18px;
}

.why-text .btn {
    display: inline-block;
    padding: 14px 28px;
    background: #667eea;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: background .25s ease;
}

.why-text .btn:hover {
    background: #5563c1;
}

/* RIGHT */
.why-points {
    display: grid;
    gap: 25px;
}

.point {
    background: #f8f9fb;
    padding: 22px 24px;
    border-radius: 14px;
}

.point h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #222;
}

.point p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .why-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .proyek-grid {
        grid-template-columns: 1fr; /* 🔥 MOBILE 1 KOLOM */
        gap: 25px;
    }

    .proyek-card img {
        height: 220px;
    }

    h1 {
        font-size: 2rem;
    }
}
