@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Fonts logic handled in HTML */

/* Soft Gradients */
body {
    background-color: #0c0a09; /* stone-950 */
}

/* Scrollbar Styling */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #1c1917; 
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #44403c; 
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #56534e; 
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Product Card Hover Effects */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -10px rgba(85, 107, 47, 0.15); /* olive-500 with opacity */
}

/* Modal Transitions */
#product-modal {
    transition: opacity 0.3s ease;
}

#product-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Button Utilities */
.btn-primary {
    @apply bg-olive-600 hover:bg-olive-500 text-white transition-colors;
}