/* ===================================
   Dreamweaver — Gatlinburg Lodging
   Custom Styles
   =================================== */

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

/* --- Scroll Reveal --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* --- Navbar Transition --- */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(253, 252, 250, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(15, 23, 42, 0.06);
}

.nav-logo-text {
    color: #0F172A;
}

#navbar.scrolled .nav-logo-text {
    color: #0F172A;
}

/* --- Mobile Menu --- */
.mobile-nav-link {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

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

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

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* --- Selection --- */
::selection {
    background: #bbf7d0;
    color: #0F172A;
}

/* --- Focus Visible --- */
:focus-visible {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
}

/* --- Print --- */
@media print {
    #navbar, #hero, .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
