/* Custom styles for A1 Realty, LLC */

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

/* Navigation text color based on scroll state */
.nav-text {
    color: #3d4a3c;
}

.nav-scrolled .nav-text {
    color: #284221;
}

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

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

/* Mobile menu link styles */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e3eddc;
}

.mobile-link:last-child {
    border-bottom: none;
}

.mobile-link:hover {
    color: #3d6631;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #74a160;
}

/* Selection color */
::selection {
    background: #c5d9b5;
    color: #21361b;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(82, 130, 66, 0.15);
}

/* Button hover effects */
button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* Print styles */
@media print {
    nav,
    #contact-form,
    .animate-bounce {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
