/* Terrace Motel — Custom Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f2eb;
}
::-webkit-scrollbar-thumb {
    background: #1a3c2a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2a5c37;
}

/* Floating animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* Scroll reveal base — content is visible by default */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .animate-float,
    .animate-float-delayed {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(250, 249, 246, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(26, 60, 42, 0.1);
}

.nav-scrolled .logo-text {
    color: #1a3c2a !important;
}

/* Selection color */
::selection {
    background: #1a3c2a;
    color: #faf9f6;
}
</style>
