@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Animations & Overrides */

/* Smooth Scroll behavior is strictly enforced */
html {
    scroll-behavior: smooth;
}

/* Float animation for Hero Image */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1px); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Glassmorphism utility for product cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F9F7F2; 
}

::-webkit-scrollbar-thumb {
    background: #76B947; 
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2F5233; 
}

/* Loader Styles (if needed later) */
.loader {
    border-top-color: #2F5233;
    -webkit-animation: spinner 1.5s linear infinite;
    animation: spinner 1.5s linear infinite;
}

@keyframes spinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
