/* Estilo para el indicador data-slide="3" - sin imagen de fondo */
.indicator[data-slide="3"] {
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator[data-slide="3"]:hover {
    background-color: #f29f05;
}

/* Modal/Pop-up profesional */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.image-modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    top: 50%;
    transform: translateY(-50%);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

.image-modal-content img {
    width: 100%;
    height: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: red;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.image-modal-close:hover {
    color: #f29f05;
    background: rgba(242, 159, 5, 0.8);
    transform: rotate(90deg);
}

.image-modal-caption {
    display: none;
}

/* Estilos específicos para el item con imagen */
.home-banner__slider__item--image {
    padding: 0;
}

.home-banner__slider__item--image .home-banner__slider__inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-banner__slider__item--image .home-banner__slider__image {
    width: 60%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Estilos para el enlace de la imagen en el modal */
.image-modal-content a {
    display: block;
}

.image-modal-content a img {
    transition: transform 0.3s ease;
}

.image-modal-content a:hover img {
    transform: scale(1.02);
}
