/* Custom styles for The Suite Cabin */

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

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal[data-reveal="hidden"] {
    opacity: 0;
    transform: translateY(30px);
}

/* Hero staggered reveals */
#hero .reveal {
    opacity: 1;
    transform: translateY(0);
}

#hero .reveal:nth-child(1) { transition-delay: 0.1s; }
#hero .reveal:nth-child(2) { transition-delay: 0.25s; }
#hero .reveal:nth-child(3) { transition-delay: 0.4s; }
#hero .reveal:nth-child(4) { transition-delay: 0.55s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal,
    .reveal[data-reveal="hidden"] {
        opacity: 1;
        transform: none;
        transition: none;
    }
    #hero .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .group img {
        transition: none;
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Selection color */
::selection {
    background: #99f6e4;
    color: #0f766e;
}
