/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide animations */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Bounce animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

.bounce {
    animation: bounce 2s infinite;
}

/* Pulse animation */
@keyframes pulse {
    0% {transform: scale(1);}
    50% {transform: scale(1.05);}
    100% {transform: scale(1);}
}

.pulse {
    animation: pulse 2s infinite;
}

/* Photo frame animations */
.photo-frame {
    border: 10px solid var(--white);
    box-shadow: var(--shadow-lg);
    transform: rotate(-2deg);
    transition: all 0.3s ease;
}

.photo-frame:hover {
    transform: rotate(0deg) scale(1.05);
}

.photo-frame-alt {
    border: 15px solid var(--gold);
    transform: rotate(2deg);
}

.photo-frame-alt:hover {
    transform: rotate(0deg) scale(1.05);
}

/* Additional Animation Styles */
.text-gold { color: var(--gold) !important; }
.text-maroon { color: var(--maroon) !important; }
.bg-maroon { background: var(--maroon) !important; }
.bg-gradient-primary { background: var(--gradient-primary) !important; }

/* Choir Cards */
.choir-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
}

.choir-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.choir-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--white);
}

/* Contact Elements */
.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-details {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.contact-details::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

/* Service Highlight */
.service-highlight {
    border-left: 5px solid var(--gold);
}

/* Badges and Tags */
.badge {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

/* Button Styles */
.btn-outline-maroon {
    border: 2px solid var(--maroon);
    color: var(--maroon);
    background: transparent;
    font-weight: 600;
}

.btn-outline-maroon:hover {
    background: var(--maroon);
    color: var(--white);
}

/* Text Effects */
.text-light-opacity {
    opacity: 0.8;
}

/* Border Colors */
.border-gold {
    border-color: var(--gold) !important;
}

/* Pulse Animation for CTA */
@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.pulse-animation {
    animation: pulse-gold 2s infinite;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Bounce In Animation */
@keyframes bounceIn {
    from, 20%, 40%, 60%, 80%, to {
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }
    0% {
        opacity: 0;
        transform: scale3d(.3, .3, .3);
    }
    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }
    40% {
        transform: scale3d(.9, .9, .9);
    }
    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }
    80% {
        transform: scale3d(.97, .97, .97);
    }
    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

.bounce-in {
    animation: bounceIn 1s;
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        transform: translate3d(-100px, 0, 0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

/* Slide In Right */
@keyframes slideInRight {
    from {
        transform: translate3d(100px, 0, 0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* Staggered Animation Delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Hover Effects */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}