/* ------------------------------
   RESET & GLOBAL
------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #fff;
    color: #111;
    line-height: 1.5;
}

/* ------------------------------
   HEADER / NAVIGATION
------------------------------ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #111;
    color: gold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 6%;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

header nav a {
    color: gold;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

header nav a:hover {
    color: #fff;
}

/* ------------------------------
   HERO SECTION
------------------------------ */
.hero {
    height: 70vh;
    background: url('https://takenupload.com/692e7eb3526ca') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin-top: 70px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 20px;
}

/* ------------------------------
   SECTION STYLES
------------------------------ */
section {
    padding: 60px 6%;
}

h2 {
    font-size: 32px;
    color: #111;
    margin-bottom: 30px;
    text-align: center;
}

/* ------------------------------
   PRODUK CONTAINER
------------------------------ */
.produk-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.card {
    background: #fafafa;
    width: 280px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.card h3 {
    margin: 15px 10px 5px;
    font-size: 20px;
}

.card p {
    margin: 0 10px 15px;
    font-size: 16px;
    color: #555;
}

.card .btn {
    margin: 0 10px 15px;
}

/* ------------------------------
   FILTER BUTTONS
------------------------------ */
.filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter button {
    background: #111;
    color: gold;
    border: none;
    padding: 10px 16px;
    margin: 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter button:hover {
    background: gold;
    color: #111;
}

/* ------------------------------
   TESTIMONI SECTION
------------------------------ */
.testimoni {
    background: #111;
    color: gold;
    text-align: center;
    padding: 60px 6%;
}

.testimoni .quote {
    font-size: 20px;
    font-style: italic;
}

/* ------------------------------
   KERANJANG / CART
------------------------------ */
.cart-section {
    background: #f7f7f7;
    padding: 60px 6%;
    border-radius: 15px;
}

.cart-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.cart-section li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
    font-size: 16px;
}

.cart-section li button {
    background: red;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.cart-section #cart-total {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 18px;
}

.cart-section select {
    padding: 8px 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* ------------------------------
   ADMIN PANEL
------------------------------ */
.admin-panel {
    background: #fafafa;
    padding: 40px 6%;
    border-radius: 15px;
    margin-top: 40px;
}

.admin-panel form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.admin-panel input {
    padding: 10px;
    flex: 1 1 180px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.admin-panel button {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    background: #111;
    color: gold;
    cursor: pointer;
    transition: all 0.3s;
}

.admin-panel button:hover {
    background: gold;
    color: #111;
}

#admin-product-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #ccc;
    font-size: 16px;
}

/* ------------------------------
   BUTTON UMUM
------------------------------ */
.btn {
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: gold;
    color: #111;
    font-weight: 600;
    transition: all 0.3s;
}

.btn:hover {
    background: #111;
    color: gold;
}

/* ------------------------------
   FOOTER
------------------------------ */
footer {
    background: gold;
    color: #111;
    text-align: center;
    padding: 20px;
    font-weight: bold;
}

/* ------------------------------
   ANIMASI SCROLL
------------------------------ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s, transform 0.7s;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------
   RESPONSIVE
------------------------------ */
@media(max-width: 768px){
    header {
        flex-direction: column;
        text-align: center;
    }

    .produk-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }

    .admin-panel form {
        flex-direction: column;
    }
}
