/* Custom styles and overrides */
html {
    scroll-behavior: smooth;
}

body {
    /* Fallback for any smooth scroll issues */
    scroll-padding-top: 80px;
}

/* Reveal animation base state */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Active state for revealed elements */
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grid items */
.reveal-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.reveal-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.reveal-on-scroll:nth-child(4) { transition-delay: 0.3s; }

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

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

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

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

/* Mobile menu transitions */
#mobile-menu {
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #d6855a;
    outline-offset: 4px;
    border-radius: 4px;
}
