/* Grasslands Homes — Custom Styles */

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

/* Base typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* No-underline utility for nav links */
.no-underline {
    text-decoration: none;
}

/* Scroll indicator */
.scroll-indicator {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.scroll-indicator span {
    width: 3px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.4; }
}

/* Stat cards */
.stat-card {
    transform: translateY(0);
}
.stat-card:hover {
    transform: translateY(-4px);
}

/* Service cards */
.service-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
    transform: translateY(-4px);
}

/* Listing cards */
.listing-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.listing-card:hover {
    transform: translateY(-4px);
}

/* Testimonial cards */
.testimonial-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu */
.mobile-link {
    transition: color 0.2s ease;
}

/* Header background on scroll */
#site-header.scrolled .absolute {
    background: rgba(9, 9, 11, 0.95);
}

/* Selection color */
::selection {
    background: rgba(240, 82, 46, 0.3);
    color: #f7f7f8;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    .scroll-indicator span {
        animation: none;
    }
}

/* Mobile responsive tweaks */
@media (max-width: 640px) {
    .stat-card {
        padding: 1.25rem;
    }
    .stat-card div:first-child {
        font-size: 1.75rem;
    }
}
