/* Palet Warna:
   - Netral/Dasar: #FFFFFF (Putih), #333333 (Hitam/Teks)
   - Aksen Utama: #E85A4F (Merah Bata/Terakota)
   - Aksen Sekunder: #E98074 (Merah Muda Lembut)
*/

/* Reset Dasar & Font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #186b24; /* Warna latar belakang yang lembut */
    scroll-behavior: smooth;
}

/* Utilitas */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

h2, h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #186b24;
}

/* --- Header & Navigasi --- */
.header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky; /* Desain sticky */
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    font-size: 28px;
    font-weight: 700;
    color: #186b24;
    text-decoration: none;
}

.nav-link {
    text-decoration: none;
    color: #333333;
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #186b24;
}

.hamburger {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #186b24;
}

/* --- Bagian Beranda (Hero) --- */
.hero {
    background-color: #f3ede7;
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 48px;
    margin-bottom: 15px;
    text-align: left;
    color: #333333;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 50%; 
    width: 350px;       
    height: 350px;      
    object-fit: cover;  
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button {
    display: inline-block;
    background-color: #186b24;
    color: #FFFFFF;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: #006400;
    transform: translateY(-2px);
}

/* --- Bagian Profil Usaha --- */
.profil-section {
    background-color: #FFFFFF;
    text-align: center;
}

.profil-section p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 17px;
}

.nilai-inti {
    margin-top: 20px;
}

.nilai-inti h4 {
    color: #333333;
    margin-bottom: 10px;
}

.nilai-inti ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 0;
}

.nilai-inti li {
    font-weight: 600;
    color: #186b24;
}

/* --- Bagian Produk & Layanan --- */
.produk-section {
    background-color: #F8F4F1;
}

.produk-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Kolom untuk desktop */
    gap: 30px;
}

.produk-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s;
}

.produk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.produk-img {
    width: 100%;
    height: 200px; /* Tinggi gambar tetap */
    object-fit: cover;
    margin-bottom: 15px;
}

.produk-card h4 {
    color: #333333;
    margin-bottom: 5px;
    font-size: 18px;
}

.produk-card p {
    padding: 0 15px;
    font-size: 14px;
    color: #666;
}

/* --- Bagian Kontak --- */
.kontak-section {
    background-color: #FFFFFF;
}

.kontak-flex {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.kontak-info {
    flex: 1;
}

.kontak-info h3 {
    text-align: left;
    margin-bottom: 15px;
}

.kontak-info ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.kontak-info li {
    margin-bottom: 10px;
    font-size: 16px;
}

.kontak-form-wrapper {
    flex: 1;
    background-color: #F8F4F1;
    padding: 30px;
    border-radius: 8px;
}

.kontak-form-wrapper h3 {
    margin-top: 0;
    text-align: left;
}

.kontak-form input[type="text"],
.kontak-form input[type="email"],
.kontak-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
}

.kontak-form textarea {
    resize: vertical;
    min-height: 100px;
}

.kontak-form .cta-button {
    width: 100%;
    text-align: center;
}

/* --- Footer --- */
.footer {
    background-color: #333333;
    color: #FFFFFF;
    padding: 20px 0;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #186b24;
}

/* ================================== */
/* MEDIA QUERIES (Responsif) */
/* ================================== */

/* Tablet (Maks. 992px) */
@media (max-width: 992px) {
    .produk-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Kolom */
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h2 {
        text-align: center;
        font-size: 40px;
    }

    .hero-image-wrapper {
        order: -1; /* Pindahkan gambar ke atas di tampilan vertikal */
        margin-bottom: 30px;
    }

    .kontak-flex {
        flex-direction: column;
        gap: 30px;
    }
    
    .kontak-info h3, .kontak-form-wrapper h3 {
        text-align: center;
    }

    .kontak-info ul {
        text-align: center;
        margin-top: 10px;
    }
}

/* Ponsel (Maks. 600px) */
@media (max-width: 600px) {
    .nav-menu {
        display: none; /* Sembunyikan menu di mobile */
        flex-direction: column;
        width: 100%;
        background-color: #FFFFFF;
        position: absolute;
        top: 65px;
        left: 0;
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.05);
        padding-bottom: 10px;
    }
    
    .nav-menu.active {
        display: flex; /* Tampilkan menu saat aktif */
    }

    .nav-link {
        margin: 10px 0;
        padding: 10px 20px;
        border-bottom: 1px solid #eee;
    }
    
    .hamburger {
        display: block; /* Tampilkan tombol hamburger */
    }

    .produk-grid {
        grid-template-columns: 1fr; /* 1 Kolom */
    }

    .hero {
        padding: 50px 0;
    }

    .hero-text h2 {
        font-size: 32px;
    }
    
    .nilai-inti ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 10px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
}