/* ======== ANIMATIONS ======== */

/* Fade in on load */
@keyframes fadeUp{
    from{
        opacity: 0;
        transform: translateY(30px);
    }
    to{
        opacity: 1;
        transform: translateY(0)
    }
}

/* Navbar animation */

.navbar{
    animation: fadeUp 0.8s ease;
}

/* Sections entrance */

.hero,
.programs,
.trainers,
.membership,
.schedule,
.hours,
.contact {
    animation: fadeUp 1s ease;
}

/* Card hover glow */

.program-card,
.trainer-card,
.membership-card{
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover,
.trainer-card:hover,
.membership-card:hover{
    box-shadow: 0 10px 30px rgba(255, 60, 60, 0.25)
}

/* Button bounce */

@keyframes bounce{
    0%, 100% { transform: translateY(0);}
    50% {transform: translateY(-4px);}
}

.btn-primary:hover,
.join-btn:hover,
.links button:hover {
    animation: bounce 0.4s ease;
}

/*  Schedule table row animation */

.schedule-table tr{
    animation: fadeUp 0.6s ease both;
}

.schedule-table tr:nth-child(1)
{animation-delay: 0.1s;}
.schedule-table tr:nth-child(2)
{animation-delay: 0.2s;}
.schedule-table tr:nth-child(3)
{animation-delay: 0.3s;}
.schedule-table tr:nth-child(4)
{animation-delay: 0.4s}

/* Footer fade */

footer{
    animation: fadeUp 1.2s ease;
}