/* Custom styles for Amanda Thompson Realtor */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A1628;
}
::-webkit-scrollbar-thumb {
    background: #1e2d48;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2c4264;
}

/* Selection color */
::selection {
    background: rgba(110, 200, 184, 0.3);
    color: #e0f5ec;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-hidden {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar glass effect */
.nav-scrolled {
    background: rgba(10, 22, 40, 0.92) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(110, 200, 184, 0.08);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #7ed3b0 0%, #5bb894 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0f1a2e inset !important;
    -webkit-text-fill-color: #e0e8f0 !important;
}

/* Custom select arrow */
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'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%236480b0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Subtle hover lift for cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
