/* Custom styles for Vacation Village at Weston */

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

/* Floating animation for hero shapes */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: float-delay 8s ease-in-out infinite;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #2d6740;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 3px solid #428554;
    outline-offset: 2px;
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

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

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

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

/* Smooth reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Navbar scroll effect */
nav.scrolled {
    box-shadow: 0 4px 20px rgba(28, 64, 39, 0.1);
}

/* Geometric shape decorations */
.geo-shape {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

/* Card hover lift effect */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #2d6740 0%, #65a775 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .shadow-hard {
        box-shadow: 4px 4px 0px 0px rgba(28, 64, 39, 0.2);
    }
    
    .shadow-hard-hover {
        box-shadow: 6px 6px 0px 0px rgba(28, 64, 39, 0.3);
    }
}

/* Print styles */
@media print {
    nav, .animate-float, .animate-float-delay, .animate-bounce {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
