/* Custom styles for Red River Condos */

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

/* Hero animation */
.hero-content {
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal base — content visible by default, JS adds hidden state */
.section-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* When JS is active, add hidden state via .reveal-hidden class */
.reveal-hidden {
    opacity: 0;
    transform: translateY(40px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .section-reveal,
    .reveal-hidden {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-content {
        animation: none;
        opacity: 1;
        transform: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Navbar glass effect */
.nav-scrolled {
    background: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Gold shimmer accent line */
.gold-line {
    background: linear-gradient(90deg, transparent, #D4A853, transparent);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #2e2e2e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E8655B;
}

/* Selection color */
::selection {
    background: rgba(232, 101, 91, 0.3);
    color: #fff;
}
