/* Custom styles for Jackalyn Jacki Jones Real Estate */

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

/* Subtle fade-in for sections below the fold (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0) !important;
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF8F0;
}
::-webkit-scrollbar-thumb {
    background: #e88f78;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d44f32;
}

/* Input focus ring for accessibility */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(224, 79, 50, 0.15);
}

/* Floating card animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
.float-animation {
    animation: float 3s ease-in-out infinite;
}

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