:root {
    --primary: #1A3C28; 
    --accent: #4CAF50; 
    --bg: #F9FAF4; 
    --text: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    scroll-behavior: smooth;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- NAVBAR --- */
.navbar { padding: 20px 0; position: sticky; top: 0; background: rgba(249, 250, 244, 0.95); backdrop-filter: blur(5px); z-index: 100; border-bottom: 1px solid #eee; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.nav-links { display: flex; gap: 25px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.9rem; }

/* --- HERO --- */
.hero { padding: 60px 0; }
.hero-container { display: flex; align-items: center; gap: 50px; }
.hero-text { flex: 1; }
.hero-image { flex: 1; }
/* Gambar Hero tetap Cover biar cantik sebagai banner */
.hero-image img { width: 100%; border-radius: 20px; box-shadow: 20px 20px 0px #E8F5E9; object-fit: cover; height: 400px; }
h1 { font-size: 3rem; line-height: 1.2; margin: 20px 0; color: #111; }
h1 em { font-family: 'Playfair Display', serif; color: var(--primary); }
p { color: #666; margin-bottom: 30px; line-height: 1.6; }
.btn-primary { background: var(--primary); color: white; padding: 12px 30px; border-radius: 50px; text-decoration: none; font-weight: 600; display: inline-block; }

/* --- PRODUCTS GRID --- */
.products { padding: 80px 0; }
.section-header { margin-bottom: 40px; }
.section-header h2 { font-size: 2rem; margin-bottom: 10px; }
.section-header h2 em { font-family: 'Playfair Display', serif; color: var(--primary); }

.category-title {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 5px solid #4CAF50;
    background: linear-gradient(to right, #E8F5E9, transparent);
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 0 10px 10px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card:hover { transform: translateY(-10px); }

/* --- CARD IMAGE (INI YANG DIUBAH) --- */
.card-image {
    position: relative;
    width: 100%;
    /* Balik ke KOTAK (Square) biar rapi di grid */
    aspect-ratio: 1/1; 
    overflow: hidden;
    /* Background Putih: kalau foto portrait, sisa tempatnya jadi putih */
    background-color: #fff; 
}

.slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; 
    width: 100%;
    height: 100%;
    scrollbar-width: none; 
}

.slider-track::-webkit-scrollbar { display: none; }

.slider-track img {
    width: 100%; 
    flex: 0 0 100%; 
    height: 100%;
    /* CONTAIN: Paksa SELURUH gambar masuk kotak (gak ada yang dicrop) */
    object-fit: contain; 
    object-position: center;
}

/* INDIKATOR DOTS */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
    background: rgba(0,0,0,0.3);
    padding: 4px 8px;
    border-radius: 10px;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* CARD CONTENT */
.card-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.card-content h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--primary); }
.card-content p { font-size: 0.9rem; color: #777; margin-bottom: 20px; line-height: 1.5; flex-grow: 1; }

.card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #eee; padding-top: 15px; margin-top: auto; }
.price-box { display: flex; flex-direction: column; gap: 2px; }
.price { font-weight: 800; color: var(--primary); font-size: 1.1rem; }
.height-info { font-size: 0.75rem; color: #666; font-weight: 500; background-color: #f5f5f5; padding: 2px 6px; border-radius: 4px; display: inline-block; width: fit-content; }
.btn-wa-icon { background: #E8F5E9; color: var(--primary); border: none; padding: 10px 18px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 0.85rem; transition: 0.2s; }
.btn-wa-icon:hover { background: var(--primary); color: white; }

/* CONTACT */
.contact { padding: 80px 0; }
.contact-box { background: var(--primary); border-radius: 30px; padding: 50px; display: flex; gap: 50px; align-items: flex-start; overflow: hidden; position: relative; }
.contact-info { flex: 1; max-width: 100%; }
.contact-info h2 { color: white !important; font-size: 2rem; margin-bottom: 15px; }
.contact-info p { color: #e0e0e0 !important; margin-bottom: 25px; line-height: 1.6; }
.location-details { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); }
.info-item { color: white !important; margin-bottom: 20px; display: flex; gap: 15px; }
.info-item .icon { font-size: 1.2rem; }
.info-item strong { color: #4CAF50; display: block; margin-bottom: 5px; }
.map-container { margin-top: 25px; width: 100%; height: 250px; border-radius: 15px; overflow: hidden; border: 2px solid rgba(255, 255, 255, 0.3); background: #ddd; }
.map-container iframe { width: 100% !important; height: 100% !important; border: 0; display: block; }
.contact-form-wrapper { flex: 0.8; background: white; padding: 30px; border-radius: 20px; color: #333; }
.form-group { margin-bottom: 15px; }
.form-group label { font-size: 0.7rem; font-weight: bold; color: #aaa; }
.form-group input, .form-group select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; margin-top: 5px; outline: none; }
.btn-submit { width: 100%; background: var(--primary); color: white; border: none; padding: 15px; border-radius: 8px; font-weight: bold; cursor: pointer; margin-top: 10px; }

/* FOOTER */
footer { background-color: var(--primary); color: white; padding: 40px 0; text-align: center; margin-top: 50px; }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer-brand { font-size: 1.5rem; font-weight: bold; color: white; }
.social-links { display: flex; gap: 15px; justify-content: center; margin: 10px 0; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; background-color: rgba(255, 255, 255, 0.1); border-radius: 50%; color: white; transition: 0.3s; border: 1px solid rgba(255, 255, 255, 0.2); text-decoration: none; font-size: 0.8rem; }
.social-links a:hover { background-color: white; color: var(--primary); transform: translateY(-5px); }
.footer-copy { font-size: 0.8rem; opacity: 0.7; border-top: 1px solid rgba(255,255,255,0.1); width: 100%; padding-top: 20px; }

/* RESPONSIVE */
.menu-toggle { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.bar { width: 25px; height: 3px; background-color: var(--primary); border-radius: 3px; transition: 0.3s; }

@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: white; flex-direction: column; align-items: center; padding: 20px 0; box-shadow: 0 10px 10px rgba(0,0,0,0.1); border-top: 1px solid #eee; }
    .nav-links.active { display: flex; animation: slideDown 0.3s ease forwards; }
    .nav-links li { margin: 15px 0; }
    .menu-toggle { display: flex; }
    .hero-container, .contact-box { flex-direction: column; }
    .hero-image img { height: 300px; }
    .contact-box { padding: 30px 20px; gap: 40px; }
    .map-container { height: 200px; }
}

@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }