/* Pengaturan Dasar */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

/* Header */
header {
    background: #507C64; /* Hijau Tua */
    color: white;
    padding-top: 15px;
    min-height: 70px;
    border-bottom: #B9D2B2 3px solid;
}

header h1 {
    float: left;
    margin: 0;
}

header nav {
    float: right;
    margin-top: 10px;
}

header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 20px 0 20px;
}

header a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

/* Tombol */
.btn {
    display: inline-block;
    background: #E8491D; /* Oranye */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.btn:hover {
    background: #d4431a;
}

.btn-pesan {
    display: block;
    background: #507C64;
    color: white;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    text-align: center;
    transition: background-color 0.3s;
}
.btn-pesan:hover {
    background: #3c614b;
}

/* Bagian Hero (Beranda) */
.hero {
    background: url('img/hero_bg.jpg') no-repeat center center/cover; /* Ganti dengan gambar Anda */
    color: white;
    min-height: 400px;
    text-align: center;
    padding-top: 100px;
    margin-bottom: 30px;
}

/* Bagian Produk */
.produk, .galeri {
    padding: 20px 0;
    text-align: center;
}

.produk-list {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap; /* Agar responsif */
}

.produk-item {
    flex-basis: 30%; /* Setiap item mengambil sekitar 30% lebar */
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.produk-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
    max-height: 200px;
    object-fit: cover;
}

/* Bagian Galeri */
.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsif */
    gap: 15px;
    margin-top: 20px;
}

.galeri-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Memastikan gambar terpotong rapi */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.galeri-grid img:hover {
    transform: scale(1.03);
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
}

/* Tombol Floating */
.floating-btns {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-wa, .floating-tel {
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: white;
    border-radius: 50%;
    margin-bottom: 10px;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.floating-wa {
    background-color: #25D366; /* Hijau WhatsApp */
}

.floating-tel {
    background-color: #007bb5; /* Biru Telepon */
}

.floating-wa:hover, .floating-tel:hover {
    transform: scale(1.1);
}

/* Responsif (Contoh Sederhana) */
@media (max-width: 768px) {
    header h1, header nav {
        float: none;
        text-align: center;
    }

    header nav ul {
        padding: 10px 0;
    }

    header li {
        display: block;
        padding: 5px 0;
    }

    .produk-list {
        flex-direction: column;
    }

    .produk-item {
        flex-basis: 100%;
        margin-bottom: 20px;
    }
}