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

body {
    /* Prevent layout shift on font load */
    font-feature-settings: 'cv11', 'ss01';
    font-optical-sizing: auto;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #7D2E4E;
}

/* Animation utility classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure images don't overflow rounded containers */
img {
    max-width: 100%;
    height: auto;
}

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