/* Custom styles for Gateway Motel */

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

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

/* Selection color */
::selection {
    background: rgba(94, 234, 212, 0.3);
    color: #f0fdfa;
}

/* Reveal animations - progressive enhancement, only when JS is available */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure reveal content is visible without JS */
.no-js .reveal,
.js-enabled .reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

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

/* Gold gradient text fallback */
.text-transparent.bg-clip-text.bg-gradient-to-r {
    background-clip: text;
    -webkit-background-clip: text;
}

/* Image aspect ratio helper */
.aspect-\[4\/3\] {
    aspect-ratio: 4 / 3;
}

/* Mobile menu transition */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#mobileMenu.open {
    max-height: 500px;
}

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

/* Button hover lift effect */
button:hover, a:hover {
    transform: translateY(-1px);
}
button:active, a:active {
    transform: translateY(0);
}
