/* Custom styles for All About Properties LLC */

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

/* Scroll reveal base - visible by default for no-JS */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Animated state - applied via JS */
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: translateY(0);
        transition: none;
    }
}

/* Navbar transitions */
.nav-logo-text {
    transition: color 0.3s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #33d6a3;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu */
.mobile-menu-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(13, 27, 42, 0.06);
}

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

/* Form select styling */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* Subtle gradient border on cards */
.group:hover .rounded-2xl {
    box-shadow: 0 20px 60px -15px rgba(13, 27, 42, 0.15);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #7c94b2;
}

/* Selection color */
::selection {
    background: #ccf5e5;
    color: #0d1b2a;
}
