@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary: #5D4037;
    --secondary: #D7CCC8;
    --accent: #FF7043;
    --bg-light: #FDFBF7;
    --text-dark: #3E2723;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background-color: var(--bg-light); margin: 0; padding-bottom: 50px; color: var(--text-dark); }
a { text-decoration: none; color: inherit; transition: 0.3s; }

.container { max-width: 1100px; margin: 0 auto; padding: 20px; }

header { background-color: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
.nav-menu { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.nav-brand { font-size: 24px; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { font-weight: 500; font-size: 14px; color: #555; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.hero {
    background-color: var(--primary); 
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/banner.jpg');
    background-size: cover; 
    background-position: center; 
    height: 420px;
    display: flex; align-items: center; justify-content: center; text-align: center; 
    color: var(--white); 
    border-radius: 0 0 30px 30px; 
    margin-bottom: 50px; 
    margin-top: -20px;
    box-shadow: 0 10px 20px rgba(93, 64, 55, 0.4);
}
.hero h2 { font-size: 3rem; margin-bottom: 15px; font-weight: 700; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 30px; font-weight: 300; }

.btn { padding: 12px 30px; border: none; border-radius: 50px; cursor: pointer; font-weight: 600; font-size: 14px; transition: 0.3s; display: inline-block; text-align: center; color: var(--white) !important; }
.btn-primary { background: var(--primary); }
.btn-accent { background-color: var(--accent); box-shadow: 0 4px 15px rgba(255, 112, 67, 0.5); }
.btn-success { background: #2ecc71; }
.btn-danger { background: #e74c3c; }
.btn-warning { background: #f1c40f; color: #333 !important; }
.btn:hover { transform: translateY(-3px); opacity: 0.9; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.btn:disabled { background: #ccc; cursor: not-allowed; transform: none; box-shadow: none; }

.produk-grid { display: flex; flex-wrap: wrap; gap: 25px; justify-content: center; }
.produk-card { background: var(--white); width: 280px; border-radius: 15px; box-shadow: var(--shadow); overflow: hidden; transition: 0.3s; border: 1px solid #eee; display: flex; flex-direction: column; }
.produk-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--secondary); }
.produk-card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; text-align: center; }
.produk-card h3 { font-size: 18px; margin: 10px 0 5px; color: var(--primary); font-weight: 700; }
.harga { color: var(--accent); font-weight: 700; font-size: 18px; margin-bottom: 15px; }

.form-box, .filter-box { 
    background: var(--white); 
    padding: 40px; 
    border-radius: 15px; 
    box-shadow: var(--shadow); 
    margin: 40px auto; 
    max-width: 500px; 
}
.filter-box { max-width: 1000px; display: flex; gap: 15px; align-items: flex-end; }

input, select { 
    width: 100%; 
    padding: 12px; 
    margin: 8px 0 20px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    background: #f9f9f9; 
    outline: none; 
}
input:focus { border-color: var(--primary); background: #fff; }
label { font-weight: 600; font-size: 13px; color: #666; display: block; margin-bottom: 5px; }

table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); margin-top: 15px; }
th, td { padding: 15px; text-align: left; border-bottom: 1px solid #eee; }
th { background: var(--primary); color: white; }

footer { background: var(--primary); color: white; padding: 50px 0; margin-top: 60px; text-align: center; }
footer h3 { margin: 0 0 10px; font-weight: 700; letter-spacing: 1px; }

@media (max-width: 768px) {
    .nav-menu { flex-direction: column; height: auto; padding: 15px; }
    .nav-links { flex-direction: column; gap: 15px; margin-top: 15px; }
    .filter-box { flex-direction: column; align-items: stretch; }
    .hero { height: 320px; } 
    table { display: block; overflow-x: auto; }
}