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

body {
    /* Fallback for font rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: #c49b3e;
}

/* Animation utilities */
.scroll-trigger.visible {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) !important;
}

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

#mobile-menu.open {
    max-height: 400px;
}

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