/* WIPAW Global Styles */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #FDFBF8;
}

::-webkit-scrollbar-thumb {
    background: #F8C8DC;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D1FAE5;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Product card hover effect */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Filter button active state */
.filter-btn.active {
    background-color: #F8C8DC;
    color: white;
    border-color: #F8C8DC;
}

/* Modal backdrop animation */
.modal-backdrop {
    animation: fadeIn 0.3s ease-out;
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(248, 200, 220, 0.3);
}

/* Mobile menu animation */
#mobileMenu {
    transition: max-height 0.3s ease-out;
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Chatbot popup animation */
#chatbotPopup {
    animation: popupIn 0.3s ease-out;
}

@keyframes popupIn {
    from { opacity: 0; transform: scale(0.9) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
