/* Custom Styles for Cherohala Motorcycle Resort */

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

/* Custom Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Navbar Scroll Effect */
.nav-scrolled {
    background-color: rgba(250, 249, 247, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.nav-scrolled .font-serif,
.nav-scrolled .font-sans {
    color: #373026 !important;
}

.nav-scrolled a:not(.bg-terracotta-700) {
    color: #373026 !important;
}

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

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

::-webkit-scrollbar-thumb {
    background: #c06f58;
    border-radius: 4px;
}

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

/* Input Focus Styles */
input:focus,
textarea:focus {
    border-color: #b35a46 !important;
    box-shadow: 0 0 0 3px rgba(192, 111, 88, 0.1);
}

/* Image Hover Effects */
img {
    transition: transform 0.5s ease;
}

/* Section Spacing */
section {
    position: relative;
}

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Decorative Line */
.decorative-line {
    width: 60px;
    height: 1px;
    background-color: #dfb0a1;
}

/* Button Hover Effects */
button,
a {
    transition: all 0.3s ease;
}

/* Print Styles */
@media print {
    nav,
    #contact,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
