/* General Style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
header {
    background: #ffc107;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 span {
    color: #d32f2f;
}

.btn-wa {
    background: #25d366;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
}

/* Slider CSS Only */
.slider-section {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    background: #333;
}

.slides {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.slide1 { background: #d32f2f; }
.slide2 { background: #fbc02d; }
.slide3 { background: #388e3c; }
.slide4 { background: #1976d2; }

input[name="slider"] { display: none; }

#s1:checked ~ .slides { transform: translateX(0); }
#s2:checked ~ .slides { transform: translateX(-25%); }
#s3:checked ~ .slides { transform: translateX(-50%); }
#s4:checked ~ .slides { transform: translateX(-75%); }

.controls {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.controls label {
    display: inline-block;
    width: 15px;
    height: 15px;
    background: rgba(255,255,255,0.5);
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
}

#s1:checked ~ .controls label:nth-child(1),
#s2:checked ~ .controls label:nth-child(2),
#s3:checked ~ .controls label:nth-child(3),
#s4:checked ~ .controls label:nth-child(4) {
    background: white;
}

/* Products Grid */
.section-title {
    text-align: center;
    margin: 2rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 3rem;
}

.card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.img-placeholder {
    background: #eee;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #999;
}

.price {
    display: block;
    font-size: 1.2rem;
    color: #d32f2f;
    font-weight: bold;
    margin: 10px 0;
}

.btn-buy {
    display: block;
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-buy:hover {
    background: #128c7e;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsif */
@media (max-width: 600px) {
    header h1 { font-size: 1.2rem; }
    .slider-section { height: 200px; }
    .slide h2 { font-size: 1rem; }
}
