/* ============================================
   Luxury Properties of Denver — Custom Styles
   ============================================ */

/* Base & Typography */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: #0a1628;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #d4b96a;
}

/* Navigation Link Colors */
.nav-link {
    color: rgba(10, 22, 40, 0.7);
}

.nav-link:hover {
    color: #b8941f;
}

.nav-link-color {
    color: #0a1628;
}

/* Navbar scrolled state */
.navbar-scrolled .nav-link {
    color: rgba(10, 22, 40, 0.7);
}

.navbar-scrolled .nav-link:hover {
    color: #b8941f;
}

.navbar-scrolled .nav-link-color {
    color: #0a1628;
}

/* Mobile Menu Link Colors */
.mobile-link {
    color: #0a1628;
}

/* Room Cards */
.room-card {
    transition: transform 0.4s ease;
}

.room-card:hover {
    transform: translateY(-4px);
}

/* Amenity Items */
.amenity-item {
    transition: transform 0.4s ease;
}

.amenity-item:hover {
    transform: translateY(-4px);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .room-card,
    .amenity-item {
        transform: none;
    }
    
    .room-card:hover,
    .amenity-item:hover {
        transform: none;
    }
}

/* Hero entrance - only for below-fold content */
.hero-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: heroEntrance 1s ease forwards;
    animation-delay: 0.3s;
}

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

/* Gold accent line animation */
@keyframes goldLine {
    from { width: 0; }
    to { width: 4rem; }
}

.gold-line-animated {
    animation: goldLine 0.8s ease forwards;
    animation-delay: 0.5s;
    width: 0;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

/* Image loading placeholder */
img {
    background-color: #f5f0e0;
}

/* Print styles */
@media print {
    header,
    #scroll-top,
    #mobile-menu {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-navy-900,
    .bg-navy-800 {
        background-color: #fff !important;
        color: #000 !important;
    }
}
