/* Custom styles for 520 Park Ave Prop Mgmt */

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

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

::-webkit-scrollbar-track {
    background: #040a0e;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #2e5a6e;
}

/* Selection color */
::selection {
    background: rgba(212, 154, 36, 0.3);
    color: #fff;
}

/* Scroll reveal base - always visible, JS adds animation */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* Navbar glass effect when scrolled */
.navbar-scrolled {
    background: rgba(4, 10, 14, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Subtle card hover glow */
.group:hover .group-hover\:bg-gold-500\/20 {
    background-color: rgba(212, 154, 36, 0.2) !important;
}

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

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

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(212, 154, 36, 0.2);
}

/* Select dropdown styling */
select option {
    background: #0f232c;
    color: #fff;
}
