/* Custom styles for Amber Inn Motel */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Scroll indicator animation */
@keyframes scrollIndicator {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

.animate-scroll-indicator {
    animation: scrollIndicator 1.5s ease-in-out infinite;
}

/* Hero animations - only for progressive enhancement */
.motion-ok .hero-tag {
    animation: slideUp 0.8s ease-out 0.2s both;
}

.motion-ok .hero-title {
    animation: slideUp 0.8s ease-out 0.4s both;
}

.motion-ok .hero-desc {
    animation: slideUp 0.8s ease-out 0.6s both;
}

.motion-ok .hero-cta {
    animation: slideUp 0.8s ease-out 0.8s both;
}

.motion-ok .hero-stats {
    animation: slideUp 0.8s ease-out 1s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal - progressive enhancement */
.motion-ok .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Navbar scroll state */
.navbar-scrolled {
    background-color: rgba(250, 250, 249, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(26, 26, 26, 0.1);
}

/* Mobile menu open state */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Smooth focus outlines */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Selection color */
::selection {
    background-color: #ff7a60;
    color: white;
}

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

::-webkit-scrollbar-track {
    background: #f5f5f4;
}

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

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

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

/* Print styles */
@media print {
    nav,
    .scroll-indicator,
    #contact-form {
        display: none;
    }
    
    body {
        color: #1a1a1a;
        background: white;
    }
}
