/* Custom styles for Super 8 by Wyndham Rapid City */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d1f15;
}
::-webkit-scrollbar-thumb {
    background: #24523d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2d6b4f;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

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

.reveal.from-bottom {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.from-left {
    opacity: 0;
    transform: translateX(-30px);
}

.reveal.from-right {
    opacity: 0;
    transform: translateX(30px);
}

.reveal.scale-in {
    opacity: 0;
    transform: scale(0.95);
}

/* Gold shimmer on hover for cards */
.room-card::before,
.attraction-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(201,168,76,0.05) 0%, transparent 60%);
}

.room-card:hover::before,
.attraction-card:hover::before {
    opacity: 1;
}

/* Navbar glass effect */
.nav-scrolled {
    background: rgba(13, 31, 21, 0.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1), 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu link hover */
.mobile-link:hover {
    color: #d4af5a;
}

/* Active nav link */
.nav-link-active {
    color: #d4af5a !important;
}

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

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #1a3a2a 0%, #24523d 100%);
}

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

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: 2px;
}
