/* Custom Styles for Lakeside RV Park */

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F5F5F0;
}
::-webkit-scrollbar-thumb {
    background: #0A1F3F;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #103156;
}

/* Hero Animations */
.hero-subtitle {
    animation: slideUp 0.8s ease forwards 0.2s;
}
.hero-title {
    animation: slideUp 0.8s ease forwards 0.4s;
}
.hero-desc {
    animation: slideUp 0.8s ease forwards 0.6s;
}
.hero-cta {
    animation: slideUp 0.8s ease forwards 0.8s;
}
.hero-card {
    animation: fadeIn 1s ease forwards 1s;
    opacity: 0;
}
.hero-image {
    animation: slideLeft 1s ease forwards 0.6s;
    opacity: 0;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Site Cards */
.site-card {
    transition: transform 0.4s ease;
}
.site-card:hover {
    transform: translateY(-4px);
}

/* Amenity Items */
.amenity-item {
    transition: transform 0.3s ease;
}
.amenity-item:hover {
    transform: translateX(4px);
}

/* Attraction Cards */
.attraction-card {
    position: relative;
}

/* Gallery Items */
.gallery-item {
    cursor: pointer;
}
.gallery-item:hover img {
    filter: brightness(0.85);
}

/* Navbar Scroll State */
.nav-scrolled {
    background: rgba(10, 31, 63, 0.95) !important;
    backdrop-blur: 12px;
    box-shadow: 0 1px 0 rgba(126, 200, 184, 0.1);
}

/* Mobile Menu */
.mobile-link {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 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; }

/* 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) {
    width: 24px;
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Intersection Observer Animations */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Focus Styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(126, 200, 184, 0.3);
}

/* Button Focus */
button:focus-visible {
    outline: 2px solid #7EC8B8;
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-title br {
        display: none;
    }
}

/* Print Styles */
@media print {
    nav, #contact, footer, .gallery-item {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
