/* ******************************************************************************************************************** */
/* -------------------------------------------------------------------------------------------------------------------- */

/* ============================================
   ESTILOS PARA LA GALERÍA CON CARRUSEL HORIZONTAL
   ============================================ */

/* Contenedor principal del carrusel */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
    padding: 0 50px;
}

/* Contenedor con overflow oculto */
.carousel-container {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    border-radius: 20px;
}

/* Track que contiene todas las tarjetas */
.carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0.5rem 0;
}

/* Tarjeta individual del carrusel */
.carousel-card {
    flex: 0 0 300px;
    background: rgba(26, 26, 26, 0.9);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(204, 255, 0, 0.2);
    backdrop-filter: blur(2px);
}

.carousel-card:hover {
    transform: translateY(-8px);
    border-color: #ccff00;
    box-shadow: 0 20px 35px -15px rgba(204, 255, 0, 0.3);
}

.carousel-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Caption dentro de cada tarjeta */
.card-caption {
    padding: 1rem;
    text-align: center;
}

.card-caption h3 {
    color: #ccff00;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.card-caption p {
    color: #b0b0b0;
    font-size: 0.75rem;
}

/* Flechas de navegación */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border: none;
    color: #ccff00;
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.carousel-arrow:hover {
    background: #ccff00;
    color: #0a0a0a;
}

.carousel-arrow.prev {
    left: 0;
}

.carousel-arrow.next {
    right: 0;
}

/* Indicadores (dots) */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dot.active {
    background: #ccff00;
    width: 28px;
    border-radius: 20px;
}

/* Frase destacada */
.inline-quote {
    display: inline-block;
    background: rgba(204, 255, 0, 0.1);
    padding: 0.8rem 2rem;
    border-radius: 60px;
    border: 1px solid rgba(204, 255, 0, 0.3);
    font-size: 1.1rem;
}

/* Cita de cierre */
.closing-quote {
    border-left: 4px solid #ccff00;
    border-radius: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-wrapper {
        padding: 0 35px;
    }
    
    .carousel-card {
        flex: 0 0 250px;
    }
    
    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
    
    .inline-quote {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .card-caption h3 {
        font-size: 0.85rem;
    }
    
    .card-caption p {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .carousel-card {
        flex: 0 0 200px;
    }
    
    .carousel-arrow {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}