/* Animation styles */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Apply animations */
.fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

.stagger-fade-in > * {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.stagger-fade-in > *:nth-child(1) {
    animation-delay: 0.1s;
}

.stagger-fade-in > *:nth-child(2) {
    animation-delay: 0.3s;
}

.stagger-fade-in > *:nth-child(3) {
    animation-delay: 0.5s;
}

.stagger-fade-in > *:nth-child(4) {
    animation-delay: 0.7s;
}

.stagger-fade-in > *:nth-child(5) {
    animation-delay: 0.9s;
}

.stagger-fade-in > *:nth-child(6) {
    animation-delay: 1.1s;
}

/* Button hover effect */
.button-hover {
    transition: all 0.3s ease;
}

.button-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Product reveal effect */
.product-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.product-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Text highlight */
.text-highlight {
    position: relative;
    color: #fff;
    font-weight: 700;
}

.text-highlight:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: -1;
}

/* Slider transition */
.hiSlider-item {
    transition: opacity 1s ease-in-out;
}

/* Slider caption animation */
.slider-caption {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: white;
    max-width: 50%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.slider-caption h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.slider-caption p {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .slider-caption {
        left: 5%;
        bottom: 10%;
        max-width: 80%;
    }

    .slider-caption h2 {
        font-size: 24px;
    }
}