/* ===== Custom Styles for Smishek Lake Campground ===== */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #0D0D0D;
    color: #E8D5B7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Navbar ===== */
#navbar {
    background: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ===== Stat Cards (Hero) ===== */
.stat-card {
    animation: float 6s ease-in-out infinite;
}

.stat-card:nth-child(1) { animation-delay: 0s; }
.stat-card:nth-child(2) { animation-delay: 1.5s; }
.stat-card:nth-child(3) { animation-delay: 3s; }
.stat-card:nth-child(4) { animation-delay: 4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* ===== Amenity Cards ===== */
.amenity-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.amenity-card:hover {
    transform: translateY(-4px);
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .stat-card {
        animation: none;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .amenity-card,
    .testimonial-card {
        transform: none;
    }
    
    .amenity-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
}

/* ===== Gold Accent Divider ===== */
.gold-divider {
    background: linear-gradient(90deg, transparent, #C9A84C, transparent);
    height: 1px;
}

/* ===== Selection ===== */
::selection {
    background: rgba(198, 93, 62, 0.3);
    color: #E8D5B7;
}

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

::-webkit-scrollbar-track {
    background: #0D0D0D;
}

::-webkit-scrollbar-thumb {
    background: rgba(198, 93, 62, 0.4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(198, 93, 62, 0.6);
}

/* ===== Mobile Menu Animation ===== */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Mobile Menu Links ===== */
.mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

.mobile-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* ===== Image Hover Zoom ===== */
.rounded-2xl.overflow-hidden img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Button Focus ===== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #C65D3E;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .stat-card {
        animation: none;
    }
}
