/* Custom Fonts Setup */
.font-oswald {
    font-family: 'Oswald', sans-serif;
}
.font-sans {
    font-family: 'Inter', sans-serif;
}

/* Navbar Scroll Effect (Glassmorphism) */
#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}
#navbar:not(.scrolled) {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
}

/* Animations */
@keyframes pulse-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}
.animate-blob {
    animation: blob 7s infinite;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0; /* Start hidden */
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Product Card Styling Override */
.product-card {
    background: white !important;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

/* Gambar Produk */
.product-card img {
    transition: transform 0.6s ease;
}
.product-card:hover img {
    transform: scale(1.1);
}

/* Tombol Kategori Aktif */
button[data-category].active-category {
    background-color: #0f172a !important; /* Slate 900 */
    color: white !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

button[data-category]:not(.active-category) {
    background-color: #f1f5f9;
    color: #64748b;
}
button[data-category]:not(.active-category):hover {
    background-color: #e2e8f0;
    color: #0f172a;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9; 
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; 
}