/* Custom Styles for Adora Bed and Breakfast */

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

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

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-logo-text {
    color: #1e3513;
}

#navbar.scrolled .nav-logo-text {
    color: #1e3513;
}

.nav-link {
    color: #1e3513;
}

#navbar.scrolled .nav-link {
    color: #1e3513;
}

/* Mobile Menu */
.mobile-link {
    opacity: 1;
}

/* Hero Image Stack */
@media (max-width: 1023px) {
    #hero .grid > div:last-child {
        display: none;
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #6a9648;
}

/* Selection Color */
::selection {
    background: #dce8cc;
    color: #1e3513;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Focus Styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #4a7c2e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print Styles */
@media print {
    #navbar,
    .mobile-menu,
    .scroll-indicator {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
