/* Custom styles to supplement Tailwind */
html {
    scroll-behavior: smooth;
}

body {
    /* Prevent layout shift on fonts loading */
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* Custom scrollbar for webkit */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f2eb;
}
::-webkit-scrollbar-thumb {
    background: #d1a08a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a85138;
}

/* Animation utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure images don't cause layout shift */
img {
    max-width: 100%;
    height: auto;
}
