/* ========================================
   ESTILOS ESPECÍFICOS DE ABOUT SECTION
   ======================================== */

/* Carrusel de imágenes apiladas */
.stacked-images {
    display: flex;
    width: 100%;
    max-width: 350px;
    min-height: 420px;
}

.img-stacked {
    position: absolute;
    width: 100%;
    max-width: 300px;
    height: 240px;
    border-radius: 10px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, z-index 0.3s ease;
    object-fit: cover;
}

.img-stacked:hover {
    z-index: 99 !important;
}

/* Posicionamiento individual de las imágenes */
.img-1 {
    transform: rotate(-6deg) translateX(-80px) translateY(0);
    z-index: 1;
}

.img-2 {
    transform: rotate(3deg) translateX(110px) translateY(120px);
    z-index: 2;
}

.img-3 {
    transform: rotate(6deg) translateX(-80px) translateY(210px);
    z-index: 3;
}

.img-1:hover {
    transform: scale(1.05) rotate(0deg) translateX(-80px) translateY(0);
}

.img-2:hover {
    transform: scale(1.05) rotate(0deg) translateX(110px) translateY(120px);
}

.img-3:hover {
    transform: scale(1.05) rotate(0deg) translateX(-80px) translateY(210px);
}

/* Divisor vertical para estadísticas */
.divider-vertical {
    width: 1px;
    height: 50px;
    background-color: #ccc;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .about-image-mobile {
        position: static;
        width: 100%;
        height: 420px;
    }

    .stacked-images {
        position: static;
        width: 100%;
        height: 420px;
        gap: 10px;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 5px;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }

    .stacked-images::-webkit-scrollbar {
        display: none;
    }

    .img-stacked {
        position: static;
        max-width: 100%;
        width: 100%;
        height: auto;
        scroll-snap-align: center;
        flex-shrink: 0;
    }

    .img-1, .img-2, .img-3 {
        transform: none;
        z-index: 1;
    }

    .img-1:hover, .img-2:hover, .img-3:hover {
        transform: none;
    }
}

/* Responsive para tablets */
@media (min-width: 768px) and (max-width: 1280px) {
    .about-image-tablet {
        margin-left: 20px;
    }

    .img-stacked {
        max-width: 260px;
        height: 200px;
    }

    .img-1 {
        transform: rotate(-6deg) translateX(0) translateY(0);
    }

    .img-1:hover {
        transform: scale(1.05) rotate(0deg) translateX(0) translateY(0);
    }

    .img-2 {
        transform: rotate(3deg) translateX(80px) translateY(120px);
    }

    .img-2:hover {
        transform: scale(1.05) rotate(0deg) translateX(80px) translateY(120px);
    }

    .img-3 {
        transform: rotate(6deg) translateX(0) translateY(210px);
    }

    .img-3:hover {
        transform: scale(1.05) rotate(0deg) translateX(0) translateY(210px);
    }
}