/* ===============================================
   LÚMINA GUITARS - Animations
   =============================================== */

/* ============================================= 
   KEYFRAME ANIMATIONS
   ============================================= */

/* Loading Bar Animation */
@keyframes loadingBar {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Fade In */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Down */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale In */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Image Zoom */
@keyframes imageZoom {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}

/* Pulse */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* ============================================= 
   ENTRANCE ANIMATIONS
   ============================================= */

/* Hero Image Animation */
.hero-image {
    animation: scaleIn 1.5s ease-out;
}


/* Navigation Animation */
.navigation {
    animation: slideInLeft 1s ease-out 0.5s backwards;
}

/* Individual Navigation Links */
.nav-link:nth-child(1) {
    animation: slideInLeft 1s ease-out 0.6s backwards;
}

.nav-link:nth-child(2) {
    animation: slideInLeft 1s ease-out 0.7s backwards;
}

.nav-link:nth-child(3) {
    animation: slideInLeft 1s ease-out 0.8s backwards;
}

.nav-link:nth-child(4) {
    animation: slideInLeft 1s ease-out 0.9s backwards;
}

.nav-link:nth-child(5) {
    animation: slideInLeft 1s ease-out 1s backwards;
}

.nav-link:nth-child(6) {
    animation: slideInLeft 1s ease-out 1.1s backwards;
}

/* Page Indicator Animation */
.page-indicator {
    animation: fadeIn 1s ease-out 1.2s backwards;
}

/* Arrow Navigation Animation */
.arrow {
    animation: fadeIn 1s ease-out 1.3s backwards;
}

/* Mobile Menu Links Animation */
.mobile-menu.active .mobile-menu-links a:nth-child(1) {
    transition-delay: 0.2s;
}

.mobile-menu.active .mobile-menu-links a:nth-child(2) {
    transition-delay: 0.3s;
}

.mobile-menu.active .mobile-menu-links a:nth-child(3) {
    transition-delay: 0.4s;
}

.mobile-menu.active .mobile-menu-links a:nth-child(4) {
    transition-delay: 0.5s;
}

.mobile-menu.active .mobile-menu-links a:nth-child(5) {
    transition-delay: 0.6s;
}

.mobile-menu.active .mobile-menu-links a:nth-child(6) {
    transition-delay: 0.7s;
}

/* ============================================= 
   HOVER ANIMATIONS
   ============================================= */

/* Button Hover */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Link Underline Animation */
.link-underline {
    position: relative;
    transition: color 0.3s ease;
}

.link-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.link-underline:hover::after {
    width: 100%;
}

/* Image Hover Zoom */
.image-hover-zoom {
    overflow: hidden;
}

.image-hover-zoom img {
    transition: transform 0.5s ease;
}

.image-hover-zoom:hover img {
    transform: scale(1.05);
}

/* Logo Animation - COMENTADA PARA QUE NO SE ANIME */
/*
.logo {
    animation: fadeInDown 1s ease-out 0.3s backwards;
}
*/

/* O puedes sobrescribir la animación con esto: */

/* ============================================= 
   TRANSITION CLASSES
   ============================================= */

/* Fade Transition */
.fade-transition {
    transition: opacity 0.3s ease;
}

/* Transform Transition */
.transform-transition {
    transition: transform 0.3s ease;
}

/* All Transition */
.all-transition {
    transition: all 0.3s ease;
}

/* Slow Transition */
.slow-transition {
    transition: all 0.8s ease;
}

/* ============================================= 
   PAGE TRANSITIONS
   ============================================= */

/* Page Enter */
.page-enter {
    animation: fadeIn 0.5s ease;
}

/* Page Exit */
.page-exit {
    animation: fadeIn 0.5s ease reverse;
}

/* Content Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation */
.stagger-animation > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.stagger-animation.active > * {
    opacity: 1;
    transform: translateY(0);
}

.stagger-animation.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-animation.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-animation.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-animation.active > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-animation.active > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-animation.active > *:nth-child(6) { transition-delay: 0.6s; }