/* styles.css */
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
    .hide-scrollbar {
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
    }
    .hide-scrollbar::-webkit-scrollbar {
        display: none;
    }
}

/* Custom Hero Animations */
.hero-animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

/* Glassmorphism nav with backdrop blur */
.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.dark .glass-nav {
    background: rgba(15, 23, 42, 0.85); /* Slate 900 */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: theme('colors.slate.50');
}
.dark ::-webkit-scrollbar-track {
    background: theme('colors.slate.900');
}
::-webkit-scrollbar-thumb {
    background: theme('colors.slate.300');
    border-radius: 4px;
}
.dark ::-webkit-scrollbar-thumb {
    background: theme('colors.slate.700');
}
::-webkit-scrollbar-thumb:hover {
    background: theme('colors.primary');
}

/* Filter buttons visual transition fix */
.filter-btn {
    transition: all 0.2s ease-in-out;
}
.filter-btn.active {
    background-color: theme('colors.slate.900') !important;
    color: white !important;
    border-color: theme('colors.slate.900') !important;
}
.dark .filter-btn.active {
    background-color: white !important;
    color: theme('colors.slate.900') !important;
    border-color: white !important;
}

/* Base link transitions */
a {
    transition: all 0.2s;
}

/* Input focus unstyle hack */
input[type="text"]:focus {
    outline: none !important;
}
