/* Custom Animations and Utilities */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Base Typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scroll Reveal Animation Classes */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up {
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(0);
}

/* Hidden state for JS-triggered animations (if needed, but we use CSS defaults for visibility) */
.js .reveal-up {
    transform: translateY(30px);
    opacity: 0;
}

.js .reveal-left {
    transform: translateX(-30px);
    opacity: 0;
}

.js .reveal-right {
    transform: translateX(30px);
    opacity: 0;
}

/* Active state for animations */
.js .reveal-up.active,
.js .reveal-left.active,
.js .reveal-right.active {
    transform: translateY(0) translateX(0);
    opacity: 1;
}

/* Delay utilities for staggered animations */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* Focus States for Accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid #c5a396;
    outline-offset: 2px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #93635a;
}
