/* style.css — Custom style tambahan di luar Bootstrap 5 */

body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    background-color: #f8f9fa;
}

/* Kartu produk */
.product-card img {
    height: 220px;
    object-fit: cover;
}
.product-card .price-old {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 0.85rem;
}
.product-card .price-new {
    color: #dc3545;
    font-weight: 700;
}

/* Hero / banner home */
.hero-banner {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #fff;
    border-radius: 0.5rem;
}

/* Gallery grid + lightbox sederhana */
.gallery-item img {
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.gallery-item img:hover {
    transform: scale(1.03);
}

/* Rating bintang testimoni */
.rating-stars {
    color: #ffc107;
}

/* ===== Our Clients / Customers — galeri berjalan otomatis ===== */
.clients-marquee {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.clients-track {
    display: flex;
    width: max-content;
    animation: clients-scroll-right 30s linear infinite;
}
.clients-track:hover {
    animation-play-state: paused;
}
.clients-item {
    flex: 0 0 auto;
    width: 160px;
    margin: 0 18px;
    text-align: center;
}
.clients-item img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: #fff;
    display: block;
    margin: 0 auto;
}
.clients-fallback {
    width: 140px;
    height: 140px;
    border-radius: 10px;
    background: #dee2e6;
    color: #495057;
    font-weight: 700;
    font-size: 1.4rem;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.clients-caption {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
}

/* Bergerak perlahan dari kiri ke kanan, menyambung tanpa putus (track digandakan 2x di HTML) */
@keyframes clients-scroll-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0%); }
}
