/* Custom styles that extend Tailwind */

html {
    scroll-behavior: smooth;
}

body {
    /* Subtle texture or color base */
    background-color: #fafaf9; /* stone-50 */
}

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

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

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

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

/* Animation classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

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

/* Mobile menu transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 300px;
    opacity: 1;
}

/* Image aspect ratios */
img {
    vertical-align: middle;
}
