/* ========================================
   LTS - Carousel Styles
   ======================================== */

.hero-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: var(--color-negro);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Carousel Caption */
.carousel-caption {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 40px 60px;
    color: white;
    z-index: 5;
    opacity: 0;
    transition: opacity 1s ease;
    border-radius: var(--border-radius);
}

.carousel-slide.active .carousel-caption {
    opacity: 1;
}

.carousel-caption h2 {
    font-size: 48px;
    margin-bottom: 10px;
    color: var(--color-crema);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.carousel-caption p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    pointer-events: auto;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
    background: var(--color-crema);
    color: var(--color-negro);
    transform: scale(1.1);
}

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.carousel-indicator.active {
    background: var(--color-crema);
    width: 50px;
}

.carousel-indicator:hover {
    background: var(--white);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-carousel {
        height: 500px;
    }

    .carousel-nav {
        padding: 0 20px;
    }

    .carousel-caption h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 400px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-caption {
        bottom: 60px;
        padding: 20px 30px;
    }

    .carousel-caption h2 {
        font-size: 28px;
    }

    .carousel-caption p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-carousel {
        height: 300px;
    }

    .carousel-nav {
        display: none;
    }
}
