/* Custom styles for All Pro Real Estate */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050D1A;
}
::-webkit-scrollbar-thumb {
    background: #1D3557;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C9A84C;
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #C9A84C 0%, #E0CA7E 50%, #C9A84C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Service card stagger animation (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .service-card {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.5s ease, box-shadow 0.5s ease;
    }
}

/* Navbar glass effect when scrolled */
.navbar-scrolled {
    background: rgba(5, 13, 26, 0.92) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

/* Selection color */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #fff;
}

/* Mobile menu transitions */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .service-card {
        transition: none;
    }
    .service-card:hover {
        transform: none;
    }
    section img {
        transition: none;
    }
}

/* Form select arrow override for better styling */
select option {
    background: #0F1F36;
    color: #d1d5db;
}
