/* Estilos para el carrusel simplificado */
.simple-carousel {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: none;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 800px;
    background-color: #1a1a1a;
    overflow: hidden;
}

/* Estilos para cada slide */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background-color: #1a1a1a;
}

.carousel-slide.active {
    display: block;
    animation: fade-in 0.8s forwards;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Estilos para las imágenes */
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Producto slides */
.product-slide {
    background: linear-gradient(135deg, #1c1d26, #2e323d);
    text-align: center;
}

.product-slide img {
    max-width: 70%;
    max-height: 70%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

/* Estilos para captions */
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 80px 50px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.1), transparent);
    color: white;
    text-align: center;
}

.carousel-caption h3 {
    font-size: 3.5em;
    margin-bottom: 0.3em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.carousel-caption p {
    margin-bottom: 1.8em;
    max-width: 800px;
    font-size: 1.2em;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Botones */
.carousel-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    width: 100%;
}

.carousel-button .button {
    display: block;
    background-color: rgba(30, 30, 35, 0.7);
    color: #ffffff;
    padding: 0;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 400;
    font-size: 1em;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    text-align: center;
    min-width: 220px;
    width: 220px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    line-height: 45px;
    white-space: nowrap;
}

.carousel-button .button:hover {
    background-color: rgba(40, 40, 50, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Controles de navegación */
.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
    padding: 0 30px;
}

.carousel-control {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.carousel-control:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Indicadores */
.carousel-indicators {
    position: absolute;
    bottom: 35px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 10;
}

.carousel-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.carousel-indicator.active {
    background-color: white;
    transform: scale(1.3);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}

/* Adaptaciones para el tema específico */
section.wrapper.style2.special .simple-carousel {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: none;
}

section.wrapper.style2.special {
    padding: 0;
}

section.wrapper.style2.special.no-padding {
    padding: 0;
    margin: 0;
}

section.wrapper.style2.special header.major {
    background-color: #21232d;
    padding: 3em 0;
    margin: 0;
    color: white;
}

section.wrapper.style2.special header.major p {
    color: #aaa;
}

/* Adaptaciones para móvil */
@media screen and (max-width: 768px) {
    .carousel-container {
        height: 600px;
    }
    
    .carousel-caption h3 {
        font-size: 1.8em;
    }
    
    .carousel-caption p {
        font-size: 0.9em;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
    }
}
