/* Custom Styles - Premium Dark Luxury Real Estate */

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

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A1628;
}
::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, 0.5);
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
    }
    
    .reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
    .reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
    .reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }
    .reveal[data-reveal-delay="4"] { transition-delay: 0.4s; }
    .reveal[data-reveal-delay="5"] { transition-delay: 0.5s; }
}

/* Navbar styles */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(5, 13, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

/* Mobile menu */
#mobile-menu {
    z-index: 40;
}

/* Gold shimmer effect on hover for cards */
.group:hover .group-hover\:scale-105 {
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom select styling */
select option {
    background: #0A1628;
    color: #ffffff;
}

/* Form focus states */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.3);
}

/* Card hover lift */
.group {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hero asymmetric layout */
@media (min-width: 1024px) {
    #hero .lg\:block {
        animation: float 6s ease-in-out infinite;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

/* Subtle pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Loading state for buttons */
button:active {
    transform: scale(0.98);
}

/* Map dark mode override */
iframe[title="Office location map"] {
    border-radius: 0 0 0 0;
}
