/* Animations CSS - All site animations */

/* Logo Animation */
@keyframes logoSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Text Animations */
@keyframes heroTitleSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroSubtitleSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroButtonSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Text Animation Classes */
.hero__title {
    animation: heroTitleSlideIn 0.8s ease-out 0.2s both;
}

.hero__subtitle {
    animation: heroSubtitleSlideIn 0.8s ease-out 0.4s both;
}

.hero__content .btn {
    animation: heroButtonSlideIn 0.8s ease-out 0.6s both;
}

/* Staggered animation for multiple elements */
.hero__content > * {
    animation-fill-mode: both;
}

/* Hover animations */
.btn:hover {
    /* Removed hover effects for consistent button styling */
}

/* Video control button animations */
.hero__control-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__control-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Fade in animation for general use */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Slide up animation for general use */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section Animations */
@keyframes servicesTitleSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes serviceItemSlideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes serviceIconScale {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Services Animation Classes - Initial Hidden State */
.services__title {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.services__grid {
    opacity: 0;
    transition: all 0.6s ease-out;
}

.service {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.service__icon {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition: all 0.6s ease-out;
}

/* Staggered animation delays for service items */
.service:nth-child(1) {
    transition-delay: 0.1s;
}

.service:nth-child(2) {
    transition-delay: 0.2s;
}

.service:nth-child(3) {
    transition-delay: 0.3s;
}

.service:nth-child(4) {
    transition-delay: 0.4s;
}

/* Animated state classes */
.services.animate .services__title {
    opacity: 1;
    transform: translateY(0);
}

.services.animate .services__grid {
    opacity: 1;
}

.services.animate .service {
    opacity: 1;
    transform: translateY(0);
}

.services.animate .service__icon {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Our Why Section Animations - Initial Hidden State */
.our-why__title {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s ease-out;
}

.our-why__text {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out 0.2s;
}

.our-why__content .btn {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.8s ease-out 0.4s;
}

.our-why__image {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s ease-out 0.3s;
}

/* Our Why Animated state classes */
.our-why.animate .our-why__title {
    opacity: 1;
    transform: translateX(0);
}

.our-why.animate .our-why__text {
    opacity: 1;
    transform: translateX(0);
}

.our-why.animate .our-why__content .btn {
    opacity: 1;
    transform: translateX(0);
}

.our-why.animate .our-why__image {
    opacity: 1;
    transform: translateX(0);
}

/* Our Why Mobile Text Animations - Initial Hidden State */
.our-why__mobile-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.our-why__mobile-text .our-why__paragraph {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.our-why__mobile-text .our-why__btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

/* Staggered animation delays for mobile text paragraphs */
.our-why__mobile-text .our-why__paragraph:nth-child(1) {
    transition-delay: 0.1s;
}

.our-why__mobile-text .our-why__paragraph:nth-child(2) {
    transition-delay: 0.2s;
}

.our-why__mobile-text .our-why__paragraph:nth-child(3) {
    transition-delay: 0.3s;
}

.our-why__mobile-text .our-why__btn {
    transition-delay: 0.4s;
}

/* Our Why Mobile Text Animated state classes */
.our-why.animate .our-why__mobile-text {
    opacity: 1;
    transform: translateY(0);
}

.our-why.animate .our-why__mobile-text .our-why__paragraph {
    opacity: 1;
    transform: translateY(0);
}

.our-why.animate .our-why__mobile-text .our-why__btn {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile-specific service animations - reduce movement */
@media (max-width: 768px) {
    .services__title {
        transform: translateY(10px);
    }
    
    .service {
        transform: translateY(10px);
    }
    
    .service__icon {
        transform: scale(0.9) translateY(10px);
    }
}

/* Service hover animations */
.service:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease-out;
}

.service:hover .service__icon {
    transform: scale(1.1);
    transition: transform 0.3s ease-out;
}

.service:hover .service__title {
    color: #FF9460;
    transition: color 0.3s ease-out;
}

/* Tiles Section Animations - Initial Hidden State */
.tiles__grid {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.tile {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.8s ease-out;
}

/* Tiles Animated state classes */
.tiles.animate .tiles__grid {
    opacity: 1;
    transform: translateY(0);
}

.tiles.animate .tile {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered animation delays for tiles */
.tile[data-animate-delay="0.1"] {
    transition-delay: 0.1s;
}

.tile[data-animate-delay="0.2"] {
    transition-delay: 0.2s;
}

/* CTA Image Section Animations - Initial Hidden State */
.cta-image__overlay {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.cta-image__text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.2s;
}

.cta-image__btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.4s;
}

/* CTA Image Animated state classes */
.cta-image.animate .cta-image__overlay {
    opacity: 1;
    transform: translateY(0);
}

.cta-image.animate .cta-image__text {
    opacity: 1;
    transform: translateY(0);
}

.cta-image.animate .cta-image__btn {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonials Section Animations - Initial Hidden State */
.testimonials__carousel {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.testimonials__navigation {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.3s;
}

.testimonials__indicators {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.4s;
}

/* Testimonials Animated state classes */
.testimonials.animate .testimonials__carousel {
    opacity: 1;
    transform: translateY(0);
}

.testimonials.animate .testimonials__navigation {
    opacity: 1;
    transform: translateY(0);
}

.testimonials.animate .testimonials__indicators {
    opacity: 1;
    transform: translateY(0);
}

/* Blog Page Animations - Initial Hidden State */
.blog-list__header {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.blog-list__search {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.blog-list__filters-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.blog-list__grid {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.blog-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* Blog Page Animated state classes */
.blog-list.animate .blog-list__header {
    opacity: 1;
    transform: translateY(0);
}

.blog-list.animate .blog-list__search {
    opacity: 1;
    transform: translateY(0);
}

.blog-list.animate .blog-list__filters-section {
    opacity: 1;
    transform: translateY(0);
}

.blog-list.animate .blog-list__grid {
    opacity: 1;
    transform: translateY(0);
}

.blog-list.animate .blog-card {
    opacity: 1;
    transform: translateY(0);
}

/* Events Page Animations - Initial Hidden State */
.events-list__header {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.events-list__search {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.events-list__filters-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.events-list__grid {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.event-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* Events Page Animated state classes */
.events-list.animate .events-list__header {
    opacity: 1;
    transform: translateY(0);
}

.events-list.animate .events-list__search {
    opacity: 1;
    transform: translateY(0);
}

.events-list.animate .events-list__filters-section {
    opacity: 1;
    transform: translateY(0);
}

.events-list.animate .events-list__grid {
    opacity: 1;
    transform: translateY(0);
}

.events-list.animate .event-card {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Page Animations - Initial Hidden State */
.contact-header {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.contact-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.contact-form-section {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.contact-info-section {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

/* Contact Page Animated state classes */
.contact-header.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-content.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-content.animate .contact-form-section {
    opacity: 1;
    transform: translateX(0);
}

.contact-content.animate .contact-info-section {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation delays for blog cards */
.blog-card[data-animate-delay="0"] {
    transition-delay: 0s;
}

.blog-card[data-animate-delay="0.1"] {
    transition-delay: 0.1s;
}

.blog-card[data-animate-delay="0.2"] {
    transition-delay: 0.2s;
}

/* Staggered animation delays for event cards */
.event-card[data-animate-delay="0"] {
    transition-delay: 0s;
}

.event-card[data-animate-delay="0.1"] {
    transition-delay: 0.1s;
}

.event-card[data-animate-delay="0.2"] {
    transition-delay: 0.2s;
}

/* Staggered animation delays for contact page */
.contact-form-section[data-animate-delay="0.1"] {
    transition-delay: 0.1s;
}

.contact-info-section[data-animate-delay="0.2"] {
    transition-delay: 0.2s;
}

/* Utility animation classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out;
}

/* About Us Page Animations - Initial Hidden State */
.about-us__header {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.about-us__mission-section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.about-us__andy-section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.about-us__andy-column--title {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s ease-out;
}

.about-us__andy-column--text {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s ease-out;
}

/* About Us Page Animated state classes */
.about-us.animate .about-us__header {
    opacity: 1;
    transform: translateY(0);
}

.about-us.animate .about-us__mission-section {
    opacity: 1;
    transform: translateY(0);
}

.about-us.animate .about-us__andy-section {
    opacity: 1;
    transform: translateY(0);
}

.about-us.animate .about-us__andy-column--title {
    opacity: 1;
    transform: translateX(0);
}

.about-us.animate .about-us__andy-column--text {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation delays for About Us page */
.about-us__header[data-animate-delay="0.1"] {
    transition-delay: 0.1s;
}

.about-us__mission-section[data-animate-delay="0.2"] {
    transition-delay: 0.2s;
}

.about-us__andy-section[data-animate-delay="0.3"] {
    transition-delay: 0.3s;
}

.about-us__andy-column--title {
    transition-delay: 0.4s;
}

.about-us__andy-column--text {
    transition-delay: 0.5s;
}

/* Mobile-specific About Us animations - reduce movement */
@media (max-width: 768px) {
    .about-us__header {
        transform: translateY(20px);
    }
    
    .about-us__mission-section {
        transform: translateY(20px);
    }
    
    .about-us__andy-section {
        transform: translateY(20px);
    }
    
    .about-us__andy-column--title {
        transform: translateY(20px);
    }
    
    .about-us__andy-column--text {
        transform: translateY(20px);
    }
}