/* Custom styles that extend Tailwind */
html {
    scroll-behavior: smooth;
}

body {
    font-feature-settings: "cv11", "ss01";
}

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

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

::-webkit-scrollbar-thumb {
    background: #6B3F6B;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4A2C4A;
}

/* Animation classes */
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left.visible,
.reveal-right.visible,
.reveal-up.visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal-left,
    .reveal-right,
    .reveal-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
