/* Custom styles for Oreyann Hilliard Real Estate */

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

/* Navigation active state */
.nav-link.active {
    color: #D49A00;
}

/* Mobile menu open state */
.mobile-menu-open #mobile-menu {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-open .menu-line:nth-child(3) {
    width: 24px;
    margin-left: 0;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Default visible state for progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal[data-reveal] {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #4A234A;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5C2E5C;
}

/* Selection color */
::selection {
    background: #D49A00;
    color: #240F24;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid #D49A00;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    header, #contact, footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
