/* Custom Styles for Cohoe Beach Campground */

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

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Subtle float animation for hero stats */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.stat-card:nth-child(1) {
    animation: float 6s ease-in-out infinite;
}

.stat-card:nth-child(2) {
    animation: float 6s ease-in-out infinite 1s;
}

.stat-card:nth-child(3) {
    animation: float 6s ease-in-out infinite 2s;
}

/* Form focus styles */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(66, 113, 66, 0.1);
}

/* Custom selection color */
::selection {
    background-color: #c5d6c5;
    color: #1a2c1a;
}

/* Transition for mobile menu */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 500px;
    opacity: 1;
}

/* Navbar transition */
#navbar {
    transition: all 0.3s ease;
}

#nav-bg {
    transition: opacity 0.3s ease;
}

/* Button hover effect */
button, a {
    transition: all 0.2s ease;
}
