/* Custom styles for Winston Motel */

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

/* Scroll reveal base — progressive enhancement, JS adds class */
.reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle gradient overlay for hero text readability */
.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(10, 22, 40, 0.55) 0%,
        rgba(10, 22, 40, 0.45) 50%,
        rgba(10, 22, 40, 0.75) 100%
    );
}

/* Gold accent line animation */
.gold-line {
    position: relative;
}
.gold-line::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #c9a84c, #d4b965);
    border-radius: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #1b3a68;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c9a84c;
}

/* Navbar transition */
.nav-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Card hover effects */
.room-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.room-card:hover {
    transform: translateY(-4px);
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #0a1628;
}
</style>
