/* ============================================
   Fiddlers Rest RV Park — Custom Styles
   Classic & Elegant | Terracotta + Sand
   ============================================ */

/* Base & Typography */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.font-serif {
    font-family: 'Lora', Georgia, serif;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9e8a74;
}

/* Navbar */
.nav-link {
    color: rgba(253, 249, 241, 0.85);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #f4e4c0;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #f4e4c0;
}

/* Navbar scrolled state */
.navbar-scrolled .nav-link,
.navbar-scrolled .mobile-link {
    color: #3d332c;
}

.navbar-scrolled .nav-link::after {
    background: #b95136;
}

.navbar-scrolled .nav-link:hover {
    color: #b95136;
}

/* Mobile menu */
.mobile-link {
    color: #f5f2ee;
}

/* Hero */
#hero {
    position: relative;
}

/* Site Cards */
.site-card {
    background: #fefdfb;
    border-radius: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid #e8e2d9;
}

.site-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(45, 74, 62, 0.1);
}

/* Activity Cards */
.activity-card {
    background: #f9f0dd;
    border-radius: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.activity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(45, 74, 62, 0.12);
}

/* Gallery */
.gallery-item {
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13, 28, 20, 0);
    transition: background 0.4s ease;
}

.gallery-item:hover::after {
    background: rgba(13, 28, 20, 0.15);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .site-card:hover,
    .activity-card:hover {
        transform: none;
    }
    
    .gallery-item::after {
        transition: none;
    }
}

/* Mobile menu active state */
.mobile-menu-active {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Menu lines animation */
.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 24px;
}

/* Form select arrow override */
select {
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%239e8a74" 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') !important;
}

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

/* Selection color */
::selection {
    background: #f5e6df;
    color: #3d1710;
}

/* Mobile menu backdrop */
#mobile-menu {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
