/* === WOW EFFECTS v2 — Non-breaking elegant transitions === */

/* Hero content — elegant fade up */
.hero-content {
    animation: heroReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}
@keyframes heroReveal {
    from { opacity: 0; transform: translateY(50px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Stats bar — slide up */
.stats-bar {
    animation: statsSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s both;
}
@keyframes statsSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Button hover — elegant lift + glow */
.btn, .btn-primary, .btn-outline, a.btn {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.btn:hover, .btn-primary:hover, a.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(181, 152, 90, 0.3);
}
.btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

/* Card hover — lift + shadow */
.card-overlay, .community-card, .listing-card, .service-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease !important;
}
.card-overlay:hover, .community-card:hover, .listing-card:hover, .service-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Image zoom on card hover */
.card-overlay img, .card-overlay-image,
.community-card img, .listing-card img,
.community-image {
    transition: transform 0.6s ease;
}
.card-overlay:hover img, .card-overlay:hover .card-overlay-image,
.community-card:hover img, .listing-card:hover img,
.community-card:hover .community-image {
    transform: scale(1.08);
}

/* Smooth page load */
main, .site-main {
    animation: pageIn 0.6s ease both;
}
@keyframes pageIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Preloader transitions */
.preloader.hidden, #preloader.hidden, #aurora-preloader.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Scroll reveal — ONLY applied via JS class, never hides by default */
.wow-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.wow-reveal.wow-visible {
    opacity: 1;
    transform: translateY(0);
}
.wow-reveal:nth-child(2) { transition-delay: 0.1s; }
.wow-reveal:nth-child(3) { transition-delay: 0.2s; }
.wow-reveal:nth-child(4) { transition-delay: 0.3s; }

/* Parallax sections */
.parallax-break {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
    .parallax-break { background-attachment: scroll; }
}
