/* Custom Styles for Hampton Accommodations */

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

/* Navbar text color transition */
.navbar-text {
    transition: color 0.3s ease;
}

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

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

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

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

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

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #7f1b36;
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .group:hover img {
        transform: none;
    }
}

/* Print styles */
@media print {
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    #navbar {
        position: static;
    }
}
