/* Custom Styles for Schein Properties */

:root {
    --forest-50: #f0f4f0;
    --forest-100: #e1e8e1;
    --forest-200: #c3d4c3;
    --forest-300: #95b895;
    --forest-400: #6a956a;
    --forest-500: #4d7a4d;
    --forest-600: #3d633d;
    --forest-700: #315031;
    --forest-800: #284228;
    --forest-900: #213721;
    --forest-950: #0f1c0f;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #fafaf8;
    color: #1f2937;
}

/* Off-white background utility */
.bg-off-white {
    background-color: #fafaf8;
}

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

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

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

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

/* Animation Classes */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

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

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #3d633d;
    outline-offset: 2px;
}

/* Button Hover Effects */
button,
a {
    transition: all 0.2s ease-in-out;
}

/* Image Loading Placeholder */
img {
    background-color: #e5e7eb;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}
