/* ===================================
   Turkey Creek Campground
   Custom Styles
   =================================== */

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

/* Custom selection color */
::selection {
    background-color: #E07A5F;
    color: #FDFCFA;
}

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

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

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

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

/* Navbar scroll state */
nav.scrolled {
    background-color: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(44, 44, 44, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Mobile menu animation */
.mobile-menu-open #mobile-menu {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-open #bar1 {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-open #bar2 {
    opacity: 0;
}

.mobile-menu-open #bar3 {
    transform: translateY(-6px) rotate(-45deg);
    width: 1.5rem;
}

/* Mobile links animation */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* Back to top button */
#back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232C2C2C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem;
}

/* Image loading placeholder */
img {
    background-color: #F4F1EA;
}

/* Subtle hover lift for cards */
.group:hover {
    transform: translateY(-2px);
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #E07A5F;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, #back-to-top, form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .text-coral {
        color: #333 !important;
    }
}
