/* Custom styles for Heaven's View Rental Cabin */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf6ec;
}
::-webkit-scrollbar-thumb {
    background: #e06644;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c43a1e;
}

/* Selection color */
::selection {
    background: #f3bba8;
    color: #6c2315;
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

nav.scrolled .nav-link {
    color: #44403c !important;
}

nav.scrolled .nav-link:hover {
    color: #d44a28 !important;
}

nav.scrolled .logo-text {
    color: #44403c !important;
}

nav.scrolled .logo-sub {
    color: #78716c !important;
}

nav.scrolled .mobile-menu-btn {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

nav.scrolled .mobile-menu-btn svg {
    stroke: #44403c !important;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Image hover effects */
.rounded-2xl.overflow-hidden img,
.rounded-3xl.overflow-hidden img {
    display: block;
}

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #d44a28;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Prevent layout shift on images */
img {
    content-visibility: auto;
}
