/* Contenedor principal */
.custom-container {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    height: 80vh;
    padding: 20px;
    position: relative;
    background-image: url('../img/fondo-linea.png'); 
    background-size: cover;
    background-position: center;
}

.custom-circle-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; 
    margin-right: 40px;
    height: 100%;
}
.custom-circle-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    position: relative;
    cursor: pointer;
}
.custom-circle {
    width: 12px;
    height: 12px;
    background-color: #000;
    border-radius: 50%;
    margin-right: 8px;
}
.custom-circle-item span {
    font-size: 14px;
    color: #000;
}
.custom-circle-item.active .custom-circle {
    background-color: #8e2c2d;
    width: 16px;
    height: 16px;
}
.custom-circle-item.active span {
    font-size: 16px; 
    font-weight: 600; 
    color: #8e2c2d;
}
.custom-content-text-container {
    display: none; 
    flex-direction: column;
    justify-content: center;
    width: 50%;
    position: relative;
    padding-left: 40px;
}
.custom-content-text-container.active {
    display: flex; 
    font-weight: 600;
}
.custom-content-text-container h2 {
    font-size: 36px;
    color: #8e2c2d;
    font-weight: 600;
}
.custom-content-text-container p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}
.custom-image-container {
    display: none;
    position: absolute;
    bottom: 0;
    right: 80px;
    height: 80%;
}
.custom-image-container.active {
    display: block;
}
.custom-image-container img {
    width: auto;
    height: 100%;
}

/* Estilos para las flechas de navegación */
.custom-navigation-buttons {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    z-index: 2;
}
.custom-nav-button {
    background: none;
    border: none;
    margin-bottom: 10px;
    cursor: pointer;
    transition: transform 0.3s ease; 
}
.custom-nav-button img {
    width: 50px;
    height: 50px;
}
.custom-nav-button:hover img {
    transform: scale(1.1); 
}

.franjaRed {
    position: absolute;
    top: 0; /* Comienza desde el top */
    right: 15%;
    height: 0%; /* Inicialmente no tiene altura */
    width: 15%;
    background: #8e2c2d;
    transition: height 0.5s ease; /* Solo animamos la propiedad height */
}

/* Responsive */
@media (max-width: 1100px) {
    .custom-image-container.active {
        height: 50vh; 
        position: absolute; 
        bottom: 0; 
        right: 0; 
    }

    .custom-content-text-container.active {
        width: 40%; 
        padding-left: 10px; 
    }
}

@media (max-width: 800px) {
    .custom-content-text-container.active {
        width: 60%;
        padding-left: 15px;
        position: absolute; 
        top: 10%; 
        left: 20%; 
        z-index: 2; 
        border-radius: 8px;
        padding: 0px 0px 0px 85px;
    }

    .custom-content-text-container.active h2 {
        font-size: 24px; 
        line-height: 1.2;
        color: #8e2c2d; 
    }

    .custom-content-text-container.active p {
        font-size: 12px; 
        line-height: 1.4; 
        color: #333; 
    }

    .custom-image-container.active {
        position: absolute;
        bottom: 0;
        right: 0;
        height: 50vh; 
        z-index: 1; 
    }

    .custom-circle-column {
        position: relative;
        z-index: 3;
    }
}

@media (max-width: 500px) {
    .custom-content-text-container.active h2 {
        font-size: 20px; 
        padding: 0px 0px 0px 97px;
    }
    .custom-image-container.active {
        height: 40vh;
    }

    .custom-content-text-container.active p {
        font-size: 10px; 
    }
}
