/* Custom styles for Grand Creekside Lodge */

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

/* Hero animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.hero-title {
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.hero-desc {
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Reveal on scroll */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar transition */
#navbar.scrolled #logo {
    opacity: 1;
}

#navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

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

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

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

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

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

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

/* Focus styles */
:focus-visible {
    outline: 2px solid #d97706;
    outline-offset: 2px;
}

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