/* Custom styles for Reed's Resort */

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

/* Scroll reveal base - always visible by default */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Scroll reveal when animated - only applied via JS */
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar transition states */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(192, 57, 43, 0.08);
}

.navbar-scrolled .nav-text {
    color: #7b241c !important;
}

.navbar-scrolled .nav-link {
    color: #922b21 !important;
}

.navbar-default .nav-logo-bg {
    fill: #c0392b;
}

.navbar-scrolled .nav-logo-bg {
    fill: #c0392b;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

#mobile-menu.open {
    max-height: 500px;
    padding-top: 0;
}

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

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

::-webkit-scrollbar-thumb {
    background: #c0392b;
    border-radius: 5px;
}

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

/* Selection color */
::selection {
    background: #c0392b;
    color: #fff;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: none;
    }
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.25rem;
    }

    .floating-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
    }
}
