/* assets/css/main.css */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #333333;
}


/* Scroll Entrance Animations */

.fade-up {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* Backgrounds */

.hero-gradient {
    background: linear-gradient(160deg, #EAF3FC 0%, #FFFFFF 55%, #FFFFFF 100%);
}


/* Product Cards */

.product-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
}


/* WhatsApp Pulse Animation */

.wa-pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.45);
    animation: wa-pulse 2.2s infinite;
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.45);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(20, 184, 166, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(20, 184, 166, 0);
    }
}


/* Utilities */

::selection {
    background: #0F6CBD;
    color: #fff;
}

[data-nav-link].is-active {
    color: #0F6CBD;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .fade-up,
    .product-card,
    .wa-pulse::after {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}