/* =========================================
   1. SETUP, FONTS & VARIABLES
   ========================================= */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Eczar:wght@700;800&family=Poppins:wght@400;600;700;900&display=swap');

:root {
    /* Color Palette */
    --red-primary: #c2201a; --red-dark: #991b1b; --red-darker: #7f1d1d;
    --green-primary: #15803d; --green-dark: #14532d;
    --yellow-pale: #fffde7; --yellow-light: #fef08a; --yellow-gold: #fbbf24;
    --gray-light: #f3f4f6; --gray-dark: #1f2937; --gray-text: #4b5563;
    --white: #ffffff;
    --bg-hero-light: #ede8e6;
    /* Effects */
    --shadow-card: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-float: 0 20px 50px rgba(0,0,0,0.3);
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; color: var(--gray-dark); line-height: 1.6; background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* =========================================
   2. UTILITY & COMPONENTS
   ========================================= */
/* Text Accent (HIJAU TEBAL) - BARU DITAMBAHKAN */
.text-accent { color: #28a745; font-weight: 700; }

/* Wave Separator */
.wave-separator, .wave-footer { width: 100%; line-height: 0; overflow: hidden; position: relative; z-index: 5; }
.wave-separator { background-color: #f7e7ce; margin-top: -1px; }
.wave-footer { background: var(--gray-light); margin-bottom: -1px; }
.wave-separator svg, .wave-footer svg { display: block; width: 100%; height: 100px; }

/* Buttons */
.btn-main, .btn-bold, .btn-cat-premium, .btn-fun { display: inline-block; border-radius: 50px; font-weight: 800; text-align: center; text-transform: uppercase; cursor: pointer; border: none; }

/* =========================================
   3. HEADER
   ========================================= */
header { background: var(--white); padding: 0.8rem 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo h1 { font-family: 'Eczar', serif; font-size: 1.2rem; color: var(--red-primary); line-height: 1.2; }
.logo span { color: var(--green-primary); display: block; font-size: 0.9em; }
.btn-main { background: var(--green-dark); color: var(--white); padding: 0.5rem 1.2rem; font-size: 0.9rem; }
.btn-main:hover { background: var(--green-primary); }

/* =========================================
   4. HERO SECTION (UPDATED)
   ========================================= */
.hero-bold { background: var(--bg-hero-light) !important; color: var(--gray-dark); padding: 3rem 1.5rem 8rem; position: relative; overflow: hidden; text-align: center; }
.bold-wrap { display: flex; flex-direction: column-reverse; gap: 2rem; max-width: 1200px; margin: 0 auto; position: relative; z-index: 10; }

/* Typography & Elements */
.bold-title { color: #000000; font-weight: 800; line-height: 1.2; margin-bottom: 1rem; font-size: 2rem; }
.bold-highlight { color: var(--red-primary); font-style: normal; font-weight: 900; display: block; }
.bold-desc { font-size: 1rem; color: #4b5563; margin-bottom: 1.5rem; }
.bold-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2rem; justify-content: center; }
.bold-badges span { background: var(--white); color: var(--green-dark); border: 1px solid var(--green-primary); padding: 5px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }

/* Image & Button */
.bold-img-box { width: 100%; position: relative; margin-bottom: 1rem; }
.bold-img { border-radius: 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); width: 100%; height: auto; }
.hero-action-container { width: 100%; position: relative; z-index: 20; margin: 0 auto; }
.btn-bold { background: var(--yellow-gold); color: #000000; padding: 0.8rem 1.5rem; font-size: 1rem; box-shadow: 0 4px 0 #b45309; width: 100%; display: block; }
.bold-trust { margin-top: 10px; font-size: 0.8rem; color: #555; background: rgba(255,255,255,0.5); padding: 5px; border-radius: 5px; }

/* Wave Bottom */
.wave-bottom { position: absolute; bottom: 0; left: 0; width: 100%; line-height: 0; z-index: 1; }
.wave-bottom svg { width: 100%; height: auto; min-height: 50px; display: block; }

/* Desktop Hero Override */
@media (min-width: 769px) {
    .hero-bold { padding-top: 5rem; text-align: left; }
    .bold-wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; flex-direction: row; }
    .bold-text-content { grid-column: 1; grid-row: 1; padding-right: 2rem; }
    .bold-img-box { grid-column: 2; grid-row: 1; margin-bottom: 0; }
    .bold-title { font-size: 3rem; }
    .bold-highlight { font-size: 1.1em; }
    .bold-desc { font-size: 1.1rem; margin-left: 0; }
    .bold-badges { justify-content: flex-start; }
    .bold-badges span { font-size: 0.9rem; padding: 6px 15px; }
    .hero-action-container { width: auto; display: inline-block; margin: 0; }
    .btn-bold { width: auto; display: inline-block; padding: 1rem 3rem; }
    .bold-trust { background: none; text-align: left; padding-left: 0; }
    .wave-bottom svg { min-height: 100px; }
}

/* =========================================
   5. VALUES SECTION (LAYOUT 8 ITEM, 2 KOLOM HP, FINAL REVISI)
   ========================================= */
.values-bold-section { 
    padding: 4rem 1.5rem; 
    text-align: center; 
    background: #ffffff;
}

.val-title-bold { 
    font-family: 'Eczar', serif; 
    font-size: 2rem; 
    color: var(--red-dark); /* Judul Besar tetap Merah */
    margin-bottom: 3rem; 
    text-transform: uppercase; 
    position: relative; 
    display: inline-block; 
}
.val-title-bold::after { 
    content: ''; display: block; width: 50%; height: 4px; 
    background: var(--yellow-gold); margin: 8px auto 0; border-radius: 4px; 
}

/* GRID SETUP */
.val-grid-bold { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); /* Desktop: 4 Kolom */
    gap: 1.5rem; 
}

/* CARD STYLE - ELEGAN & MINIMALIS */
.val-card-bold {
    background: #fff; 
    padding: 2rem 1rem; /* Padding sedikit ditambah biar lega */
    border-radius: 12px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); /* Shadow tipis */
    border: 1px solid #f3f4f6; 
    transition: transform 0.3s, box-shadow 0.3s;
}

.val-card-bold:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.08); 
    border-color: #e5e7eb; /* Saat hover, garis tepi sedikit lebih gelap */
}

/* ICON STYLE (HITAM & LEBIH BESAR) */
.val-icon-box { 
    /* UKURAN DIPERBESAR */
    width: 75px; height: 75px; 
    
    /* Background & Border Netral (Abu sangat terang) */
    background: #f9fafb; 
    border: 2px solid #e5e7eb; 
    
    /* WARNA IKON JADI HITAM */
    color: #000000; 
    
    border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    margin: 0 auto 1.2rem; 
    
    /* UKURAN FONT IKON DIPERBESAR */
    font-size: 2rem; 
}

/* TYPOGRAPHY */
.val-head-bold { 
    font-size: 1.15rem; 
    margin-bottom: 0.5rem; 
    /* Warna tetap Hijau */
    color: var(--green-primary); 
    
    /* KETEBALAN DIKURANGI (Tidak terlalu tebal) */
    font-weight: 600; 
    
    line-height: 1.3;
}
.val-desc-bold { 
    font-size: 0.9rem; 
    color: var(--gray-text); 
    line-height: 1.5; 
}

/* KHUSUS TAMPILAN HP (RESPONSIF 2 KOLOM) */
@media (max-width: 768px) {
    .val-grid-bold {
        grid-template-columns: repeat(2, 1fr); /* HP: 2 Kolom */
        gap: 1rem; 
    }
    
    .val-card-bold {
        padding: 1.5rem 0.8rem; 
    }
    
    /* Penyesuaian ukuran di HP agar tidak terlalu besar */
    .val-icon-box {
        width: 55px; height: 55px; 
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
        border-width: 1px;
    }
    
    .val-head-bold {
        font-size: 1rem; 
    }
    
    .val-desc-bold {
        font-size: 0.8rem; 
    }
}

/* =========================================
   6. CATALOG SECTION
   ========================================= */
.catalog-premium-section {
    /* HAPUS background lama: linear-gradient merah */
    
    /* GANTI DENGAN WARNA BARU (KREM) */
    background: #f7e7ce; 
    
    padding: 5rem 1.5rem 5rem; /* Padding bawah ditambah sedikit agar lega */
    text-align: center; 
    
    /* UBAH WARNA TEKS DARI PUTIH JADI GELAP (AGAR TERBACA DI BACKGROUND TERANG) */
    color: var(--gray-dark); 
}
/* Judul Katalog (Sesuaikan warna agar kontras) */
.cat-title-premium { 
    font-family: 'Eczar', serif; 
    font-size: 2.2rem; 
    margin-bottom: 3rem; 
    color: #5c4033; /* Warna Coklat Tua (Coffee) agar cocok dengan Krem */
}
.cat-title-premium span { 
    color: #c2410c; /* Highlight Orange Bata */
    font-style: italic; 
    border-bottom: 2px solid #c2410c; 
}
.cat-grid-premium { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.prod-card-premium { background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: var(--shadow-float); display: flex; flex-direction: column; }
.prod-card-premium:hover .prod-img-premium { transform: scale(1.1); }
.prod-img-box { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--gray-light); }
.prod-img-premium { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cat-badge { position: absolute; top: 10px; left: 10px; background: var(--red-primary); color: var(--white); padding: 5px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: 800; z-index: 2; }
.badge-green { background: var(--green-primary); }
.badge-orange { background: #ea580c; color: #000000; }
.badge-black { background: #451a03; }
.prod-info-premium { padding: 1.5rem; text-align: left; flex-grow: 1; display: flex; flex-direction: column; }
.prod-title-premium { font-family: 'Eczar', serif; font-size: 1.3rem; color: var(--gray-dark); margin-bottom: 0.5rem; }
.prod-desc-premium { font-size: 0.9rem; color: var(--gray-text); margin-bottom: 1.5rem; flex-grow: 1; }
.btn-cat-premium { width: 100%; padding: 0.8rem; font-size: 0.9rem; color: var(--white); display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-red-p { background: var(--red-primary); }
.btn-green-p { background: var(--green-primary); }
.btn-gray-p { background: #e5e7eb; color: #9ca3af; cursor: not-allowed; }
.stock-info { margin-top: 10px; font-size: 0.8rem; color: var(--green-primary); font-weight: 700; background: #f0fdf4; padding: 5px; text-align: center; border-radius: 6px; }

/* =========================================
   7. COD & FUN SECTION
   ========================================= */
.cod-fun-section { background: linear-gradient(180deg, var(--yellow-pale) 0%, var(--yellow-gold) 100%); padding: 1rem 1.5rem 5rem; }
.cod-fun-grid { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 3rem; max-width: 900px; margin: 0 auto; }
.cod-fun-img { width: 100%; max-width: 400px; transform: rotate(-3deg); filter: drop-shadow(10px 10px 0 rgba(0,0,0,0.1)); }
.cod-fun-content { flex: 1; text-align: left; }
.fun-headline { font-family: 'Eczar', serif; font-size: 2.2rem; line-height: 1.2; color: var(--gray-dark); margin-bottom: 1rem; }
.fun-highlight { background: var(--red-primary); color: var(--white); padding: 2px 10px; display: inline-block; transform: rotate(-2deg); }
.cod-fun-desc { font-size: 1rem; color: var(--gray-text); margin-bottom: 1.5rem; }
.fun-list li { margin-bottom: 10px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.fun-list i { color: var(--red-primary); }
.btn-fun { background: var(--red-primary); color: var(--white); padding: 1rem 2.5rem; font-size: 1.1rem; box-shadow: 0 6px 0 #7f1d1d; transform: rotate(-1deg); transition: 0.2s; }
.btn-fun:hover { transform: translateY(4px); box-shadow: 0 3px 0 #7f1d1d; }

/* =========================================
   8. SEO & FOOTER
   ========================================= */
.seo-section { background: var(--gray-light); padding: 3rem 0 0; }
.seo-section p { margin-bottom: 1rem; }
footer { background: var(--gray-dark); color: #9ca3af; padding: 3rem 0; text-align: center; }
.social-links { display: flex; justify-content: center; gap: 1.5rem; margin: 1.5rem 0; font-size: 1.5rem; }
.social-links a:hover { color: var(--white); }
.footer-copy { border-top: 1px solid #374151; margin-top: 2rem; padding-top: 1.5rem; font-size: 0.85rem; }

/* =========================================
   9. ANIMATIONS & MOBILE FIXES
   ========================================= */
@keyframes wiggle { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }

@media (max-width: 768px) {
    .wave-separator svg, .wave-footer svg { height: 40px; }
    .cod-fun-grid { flex-direction: column-reverse; gap: 2rem; text-align: center; }
    .cod-fun-content { text-align: center; }
    .fun-list { display: inline-block; text-align: left; }
    .btn-fun { width: 100%; padding: 1rem; }
}

/* =========================================
   STYLE UNTUK SECTION GROSIR
========================================= */
.grosir-section {
    padding: 4rem 0;
    background-color: #f8fafc;
    border-top: 4px solid #166534;
}
.grosir-header {
    text-align: center;
    margin-bottom: 3rem;
}
.grosir-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #14532d;
    margin-bottom: 0.5rem;
}
.grosir-subtitle {
    font-size: 1.1rem;
    color: #475569;
    font-weight: 500;
}
.grosir-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.grosir-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.grosir-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.grosir-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    background: #f1f5f9;
}
.grosir-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.grosir-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc2626;
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.grosir-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.grosir-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.5rem;
}
.grosir-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}
.grosir-price-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}
.price-strike {
    display: block;
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-align: right;
}
.price-tier {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid #e2e8f0;
}
.price-tier:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.tier-label {
    font-weight: 600;
    color: #334155;
    font-size: 0.95rem;
}
.tier-price {
    font-weight: 800;
    color: #166534;
    font-size: 1.05rem;
}
.tier-price.best {
    color: #b91c1c;
    font-size: 1.15rem;
}
.btn-grosir {
    display: block;
    text-align: center;
    background: #15803d;
    color: #fff;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}
.btn-grosir:hover {
    background: #14532d;
    color: #fff;
}





