/* Produk Section Gradient Overlay */
.produk-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, #f9b23344 0%, #fff0 70%);
    z-index: 0;
    pointer-events: none;
}
.produk-bg > * {
    position: relative;
    z-index: 1;
}

/* Animasi Produk */
.produk-item {
    animation: produkFadeIn 1s cubic-bezier(.4,0,.2,1) both;
}
.produk-item:nth-child(2) { animation-delay: 0.15s; }
.produk-item:nth-child(3) { animation-delay: 0.3s; }
@keyframes produkFadeIn {
    0% { opacity: 0; transform: translateY(40px) scale(0.95); }
    100% { opacity: 1; transform: none; }
}

/* Animasi Testimoni */
.testimoni-item {
    animation: testiPop 1s cubic-bezier(.4,0,.2,1) both;
}
.testimoni-item:nth-child(2) { animation-delay: 0.18s; }
.testimoni-item:nth-child(3) { animation-delay: 0.36s; }
@keyframes testiPop {
    0% { opacity: 0; transform: scale(0.8) rotate(-3deg); }
    100% { opacity: 1; transform: none; }
}

/* Hover Avatar Testimoni */
.testi-avatar {
    transition: transform 0.18s, box-shadow 0.18s;
}
.testimoni-item:hover .testi-avatar {
    transform: scale(1.12) rotate(-6deg);
    box-shadow: 0 4px 18px #f9b23355;
}
/* Produk Section Background */
.produk-bg {
    background: linear-gradient(120deg, #f7f9fa 80%, #f9b23322 100%);
    position: relative;
    overflow: hidden;
}

/* Testimoni Avatar */
.testi-avatar {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    margin-bottom: 12px;
    border: 2px solid #f9b233;
    background: #e0e0e0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* Trust strip under header */
.trust-strip {
    display:flex;
    gap:18px;
    justify-content:center;
    align-items:center;
    background:#fff;
    padding:8px 16px;
    border-bottom:1px solid #f0f0f0;
}
.trust-item { font-weight:700; color:#0d2235; font-size:0.95rem; }

/* Promo overlay inside slider */
.promo-banner { position:relative; }
.promo-slide { position:relative; }
.promo-overlay {
    position:absolute; left:18px; bottom:18px; right:18px;
    background: linear-gradient(180deg, rgba(13,34,53,0.0), rgba(13,34,53,0.65));
    color:#fff; padding:18px; border-radius:12px;
}
.promo-badge { display:inline-block; background:#f9b233; color:#0d2235; padding:6px 10px; border-radius:8px; font-weight:800; margin-bottom:8px; }
.promo-overlay h2 { margin:6px 0 8px 0; font-size:1.25rem; }
.promo-overlay p { margin:0 0 12px 0; opacity:0.95; }
.promo-ctas .cta-btn { padding:10px 18px; border-radius:8px; }

/* Promo cards */
.promo-cards .promo-grid { display:flex; gap:18px; justify-content:center; flex-wrap:wrap; }
.promo-card { background:#fff; padding:18px; border-radius:12px; box-shadow:0 6px 20px rgba(0,0,0,0.06); width:300px; text-align:center; }
.promo-card h3 { margin-top:0; color:#0d2235; }
.promo-price { font-weight:900; color:#f9b233; font-size:1.1rem; margin:10px 0; }
.old-price { text-decoration:line-through; color:#999; font-weight:600; font-size:0.9rem; margin-left:8px; }

/* Section head for promo/cards */
.section-head { text-align: center; margin-bottom: 18px; }
.section-head h2 { font-size: 1.6rem; margin: 0 0 6px 0; color: #0d2235; display:inline-flex; align-items:center; gap:10px; }
.section-sub { color: #4b5563; margin: 0 auto; max-width: 820px; font-size: 0.98rem; }

/* Small icon inside section heading */
.section-head .section-icon { display:inline-flex; width:28px; height:28px; align-items:center; justify-content:center; background:#f9b233; border-radius:6px; box-shadow:0 4px 12px rgba(0,0,0,0.08); padding:4px; }
.section-head .section-icon svg { display:block; width:16px; height:16px; }

/* Entry animations for section head and badge */
@keyframes headFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
@keyframes badgeIn {
    from { opacity: 0; transform: translateY(6px) scale(.96); }
    60% { transform: translateY(-2px) scale(1.03); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.section-head { animation: headFade 520ms ease both; }
.section-head .section-icon { animation: badgeIn 520ms cubic-bezier(.2,.9,.3,1) 120ms both; }

/* Hover / glow effect for the badge icon */
.section-head .section-icon {
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    will-change: transform, box-shadow;
}
.section-head .section-icon:hover,
.section-head .section-icon:focus {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 12px 32px rgba(249,178,51,0.28);
    background: linear-gradient(90deg, #f9b233 0%, #ffd27a 100%);
    outline: none;
}
.section-head .section-icon:focus {
    box-shadow: 0 12px 40px rgba(249,178,51,0.32), 0 0 0 6px rgba(249,178,51,0.10);
}

/* Promo card actions */
.promo-card .produk-btn { margin-top: 14px; margin-right: 8px; }
.promo-card .whatsapp-order { margin-top: 14px; margin-left: 6px; padding: 10px 18px; border-radius: 8px; }
.promo-card .promo-price { margin-bottom: 8px; }

/* Make promo grid responsive */
.promo-cards .promo-grid { gap: 22px; }
@media (max-width: 900px) {
    .promo-cards .promo-grid { flex-direction: column; align-items: center; }
    .promo-card { width: 92%; }
}

/* WhatsApp FAB label */
.whatsapp-fab { padding:0 14px; display:flex; gap:10px; align-items:center; }
.whatsapp-fab .wa-label { display:none; font-weight:700; }
@media(min-width:700px){ .whatsapp-fab { right:24px; bottom:80px; } .whatsapp-fab .wa-label { display:inline-block; } }
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;400&display=swap');

body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: linear-gradient(120deg, #f7f9fa 60%, #eaf1f7 100%);
    color: #222;
    min-height: 100vh;
}
header {
    background: #0d2235;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 10;
}
.logo {
    display: flex;
    align-items: center;
    gap: 6px;
}
.bjs-svg-logo {
    width: 64px;
    height: 64px;
    margin-right: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    background: transparent;
    object-fit: contain;
    padding: 0;
    display: block;
}
.company-name {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s, border-bottom 0.2s;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}
nav a:hover,
nav a.active {
    color: #f9b233;
    border-bottom: 2px solid #f9b233;
}
.section {
    max-width: 1100px;
    margin: 48px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 48px 36px;
    transition: box-shadow 0.2s;
}
.section h1, .section h2 {
    color: #0d2235;
    margin-top: 0;
}
.produk-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}
.produk-item {
    background: #f7f9fa;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 28px 18px 32px 18px;
    width: 290px;
    text-align: center;
    transition: transform 0.22s, box-shadow 0.22s;
    position: relative;
    overflow: hidden;
}
.produk-item img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 16px;
    background: #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Price badge on product card */
.price-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: #f9b233;
    color: #0d2235;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    font-size: 0.95rem;
}

/* WhatsApp floating CTA */
.whatsapp-fab {
    position: fixed;
    right: 18px;
    bottom: 80px;
    background: #25D366;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    z-index: 9999;
    text-decoration: none;
}
.whatsapp-fab img{ width:26px; height:26px; }

/* Promo banner on products page */
.promo-banner {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 18px;
}
.promo-slide {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    display: none;
}
.promo-slide.show { display:block; }

.produk-item.card-hover:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    z-index: 2;
}
.produk-btn {
    display: inline-block;
    margin-top: 18px;
    background: linear-gradient(90deg, #f9b233 60%, #f7c873 100%);
    color: #0d2235;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    padding: 10px 28px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.18s, color 0.18s;
}
.produk-btn:hover {
    background: #0d2235;
    color: #fff;
}
footer {
    background: #0d2235;
    color: #fff;
    text-align: center;
    padding: 18px 0;
    margin-top: 48px;
    font-size: 1rem;
    letter-spacing: 1px;
}
/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #0d2235 60%, #f9b233 100%);
    color: #fff;
    padding: 56px 8vw 56px 8vw;
    min-height: 340px;
    gap: 40px;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    margin-bottom: 32px;
}
.hero-content {
    max-width: 520px;
}
.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 18px;
    color: #f9b233;
    letter-spacing: 1px;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 28px;
}
.cta-btn {
    background: linear-gradient(90deg, #f9b233 60%, #f7c873 100%);
    color: #0d2235;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 14px 38px;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    transition: background 0.18s, color 0.18s;
}
.cta-btn:hover {
    background: #fff;
    color: #0d2235;
}
.hero-image img {
    width: 360px;
    height: 240px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.16);
    background: #e0e0e0;
}
/* Hero-specific promo slider sizing */
.hero .promo-banner {
    width: 360px;
    height: 240px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0,0,0,0.16);
}
.hero .promo-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    display: none;
}
.hero .promo-slide.show { display: block; }
/* Testimoni */
.testimoni-list {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 24px;
}
.testimoni-item {
    background: #f7f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    padding: 28px 22px 18px 22px;
    width: 320px;
    font-style: italic;
    color: #222;
    position: relative;
    margin-bottom: 12px;
}
.testimoni-item span {
    display: block;
    margin-top: 16px;
    font-style: normal;
    color: #0d2235;
    font-weight: 700;
    font-size: 1rem;
}
/* Kontak Form */
.kontak-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 420px;
    margin-bottom: 24px;
}
.kontak-form input, .kontak-form textarea {
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #d0d0d0;
    font-size: 1rem;
    font-family: inherit;
    resize: none;
}
.kontak-form textarea {
    min-height: 80px;
}
.kontak-form button {
    align-self: flex-start;
}
.kontak-info {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #222;
    font-size: 1.05rem;
}
.kontak-info li {
    margin-bottom: 6px;
}
/* Animasi Fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.fade-in.appear {
    opacity: 1;
    transform: none;
}
@media (max-width: 1100px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 4vw 40px 4vw;
        gap: 24px;
    }
    .hero-image img {
        width: 220px;
        height: 160px;
    }
}
@media (max-width: 900px) {
    .produk-list {
        flex-direction: column;
        align-items: center;
    }
    .section {
        padding: 28px 10px;
    }
    header {
        flex-direction: column;
        gap: 12px;
        padding: 18px 10px;
    }
}
@media (max-width: 600px) {
    .bjs-svg-logo {
        width: 32px;
        height: 32px;
    }
    .company-name {
        font-size: 1rem;
    }
    .section {
        margin: 18px 4px;
        padding: 14px 2px;
    }
    .hero {
        padding: 24px 2vw 24px 2vw;
        border-radius: 0 0 18px 18px;
    }
}

/* Reduce animation durations and remove heavy bounce on small devices for performance */
@media (max-width: 900px) {
    .section-head { animation-duration: 420ms; }
    .section-head .section-icon { animation-duration: 420ms; animation-delay: 80ms; }
    .section-head .section-icon:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 20px rgba(249,178,51,0.22); }
    .section-head .section-icon:focus { box-shadow: 0 8px 26px rgba(249,178,51,0.24), 0 0 0 4px rgba(249,178,51,0.08); }
    .fade-in { transition-duration: 480ms; }
}

@media (max-width: 600px) {
    .section-head { animation-duration: 320ms; }
    .section-head .section-icon { animation-duration: 320ms; animation-delay: 0ms; }
    /* make hover less pronounced on touch devices */
    .section-head .section-icon:hover, .section-head .section-icon:focus { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 18px rgba(249,178,51,0.18); }
    .fade-in { transition-duration: 360ms; transform: translateY(8px); }
    .produk-item { animation-duration: 680ms; }
}

/* Modal Quick View */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(5,10,18,0.6);
    z-index: 9999;
    padding: 24px;
}
.modal.show {
    display: flex;
}
.modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 960px;
    width: 100%;
    box-shadow: 0 12px 48px rgba(0,0,0,0.35);
    overflow: hidden;
    position: relative;
}
.modal-close {
    background: transparent;
    border: none;
    font-size: 20px;
    padding: 12px;
    position: absolute;
    right: 18px;
    top: 18px;
    cursor: pointer;
}
.modal-body {
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 28px;
}
.modal-body img {
    width: 320px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    background: #eaeaea;
}
.modal-info { flex: 1; }
.modal-info h3 { margin-top: 0; color:#0d2235; }
.modal-price { font-weight:800; color:#f9b233; margin-top:12px; }

/* Back to top button */
#backToTop {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #0d2235;
    color: #fff;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    z-index: 9998;
}
#backToTop.show { display: flex; }

/* Ensure footer always below modal */
footer { position: relative; z-index: 1; }
