/* --- RESET DASAR --- */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #EFEBE9; /* Warna krem muda */
    margin: 0;
    padding: 0;
    color: #333;
}

/* --- NAVIGASI --- */
nav {
    background-color: #5D4037; /* Coklat Tua */
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    /* Pastikan tidak ada position: fixed yang menutupi layar */
    position: relative; 
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

nav a:hover {
    color: #FFD54F; /* Warna Kuning Emas saat disorot */
}

/* --- LOGO --- */
.logo-img {
    height: 50px;
    width: auto;
    background-color: white;
    border-radius: 50%;
    padding: 2px;
    display: block;
}

/* --- CONTAINER UTAMA --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* --- TOMBOL --- */
.btn {
    background-color: #5D4037;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
}

.btn:hover {
    background-color: #8D6E63;
}

/* --- TABEL (KERANJANG & ADMIN) --- */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #5D4037;
    color: white;
}

/* --- FORM --- */
input, select, textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0 20px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* --- GRID PRODUK (KATALOG) --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}