/* Custom styles for Maggie Lutz Real Estate */

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

/* Reveal animation - progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Default state: always visible */
.reveal {
    opacity: 1;
    transform: none;
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #14b8a6;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Ensure hero text is readable */
.hero-overlay {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.9) 0%, rgba(15, 33, 64, 0.8) 50%, rgba(22, 45, 84, 0.6) 100%);
}

/* Card hover effects */
.reveal:hover {
    transform: translateY(-4px);
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}
