/* Custom styles for Whispering Pines RV & Mobile Home Park */

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

/* Geometric shapes */
.geometric-shape {
    position: absolute;
    opacity: 0.06;
    pointer-events: none;
}

.shape-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: #fbbf24;
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #a855f7;
    bottom: 10%;
    left: -50px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #fbbf24;
    top: 40%;
    right: 5%;
    animation: rotate 25s linear infinite;
}

.shape-square {
    width: 120px;
    height: 120px;
    background: #a855f7;
    top: 20%;
    left: 8%;
    transform: rotate(45deg);
    animation: float 18s ease-in-out infinite;
}

.shape-ring {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 20px solid #fbbf24;
    bottom: 20%;
    right: 15%;
    animation: rotate 30s linear infinite reverse;
}

/* Floating cards */
.floating-card {
    position: absolute;
    animation: floatCard 6s ease-in-out infinite;
    z-index: 10;
}

.card-1 {
    top: -20px;
    right: -30px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 40px;
    left: -20px;
    animation-delay: 2s;
}

/* Feature cards */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #a855f7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

/* Amenity cards */
.amenity-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

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

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Scroll reveal animations (below the fold only) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Mobile menu */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .geometric-shape,
    .floating-card,
    .feature-card,
    .amenity-card {
        animation: none;
        transition: none;
    }
    
    .feature-card:hover,
    .amenity-card:hover {
        transform: none;
    }
    
    .feature-card::before {
        display: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

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

::-webkit-scrollbar-track {
    background: #1e1b4b;
}

::-webkit-scrollbar-thumb {
    background: #7e22ce;
    border-radius: 5px;
}

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

/* Selection color */
::selection {
    background: #fbbf24;
    color: #1e1b4b;
}
