/* Custom styles for M B's Properties */

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

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
#mobile-menu.open {
    max-height: 400px;
}

/* Navbar active state */
#navbar.scrolled {
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fff8f5;
}
::-webkit-scrollbar-thumb {
    background: #f39f6e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e85a14;
}

/* Selection color */
::selection {
    background: #f8c4a3;
    color: #732010;
}
