/* Custom styles that extend Tailwind */

html {
    scroll-behavior: smooth;
}

body {
    /* Prevent horizontal scroll on mobile */
    overflow-x: hidden;
}

/* Subtle fade-in animation for hero text */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #831443; /* plum-900 */
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #500724; /* plum-950 */
}

/* Glassmorphism effect for navbar if needed later */
.glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
}

/* Focus styles for accessibility */
a:focus, button:focus {
    outline: 2px solid #d97706; /* amber-500 */
    outline-offset: 2px;
}
